Skip to content

[Flang] [Driver] ResourceDir changes cause lit failures on AIX #94266

Open
@madanial0

Description

@madanial0

ResourceDir changes from #90886, change the ResourceDir from: ~/build/lib/clang/19 to ~/build/bin/.. which cause linking issues on AIX as ppc builtins are not found in ~/build/bin/../lib/aix/libclang_rt.builtins-powerpc64.a which were previously accessible in ~/build/lib/clang/19/lib/aix/libclang_rt.builtins-powerpc64.a. This causes issues with the following 2 lit test cases:

  Flang :: Driver/ctofortran.f90
  Flang :: Driver/exec.f90

Does this happen for any other platforms besides AIX? Is there a functional reason behind the change for ResourceDir in flang? I saw @mjklemm comments about "have it point to where the MODULE files live." but it seems there was some functionality associated with the ResourceDir. It might seem that we may need another ResourceDir for flang.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions