Skip to content

Out-of-tree clang and flang can't find compiler-rt #147738

Open
@DavidTruby

Description

@DavidTruby

If either clang or flang are built out-of-tree against an already compiled LLVM, they are unable to find compiler-rt when linking. This is due to the path to compiler-rt being hard-coded to the same install tree as the clang driver, meaning that if compiler-rt is installed elsewhere it doesn't get picked up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'flang:driver

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions