-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
backend:Hexagonclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'release:backport
Milestone
Description
When linking programs with eld, we get a link error like below:
Error: /inst/clang+llvm-19.1.0-cross-hexagon-unknown-linux-musl/x86_64-linux-gnu/bin/../target/hexagon-unknown-linux-musl//usr/lib/libc.a(scalbn.lo)(.text.scalbn+0x3c): undefined reference to `__hexagon_muldf3'
libc has references to the clang_rt builtins library, so the order of the libraries should be reversed.
Metadata
Metadata
Assignees
Labels
backend:Hexagonclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'release:backport
Type
Projects
Status
Done