You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile an existing project with Clang-LLVM instead of GCC. Compilation works fine, but fails at Linker.
The toolchain was downloaded from the releases on GitHub.
Compilation works fine, but I am unable to figure out why libclang_rt.builtins.a is required.
Linker error
clang: warning: argument unused during compilation: '--specs=picolib.specs' [-Wunused-command-line-argument]
ld.lld: error: cannot open /home/navin/Downloads/LLVM-ET-Arm-19.1.5-Linux-x86_64/lib/clang/19/lib/arm-unknown-none-eabi/libclang_rt.builtins.a: No such file or directory
clang: error: ld.lld command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
It is not a supported use case to use LLVM Embedded Toolchain for Arm with Arm GNU Toolchain libraries directly as specified by --sysroot and -isystem above.
Hi,
I am trying to compile an existing project with Clang-LLVM instead of GCC. Compilation works fine, but fails at Linker.
The toolchain was downloaded from the releases on GitHub.
Compilation works fine, but I am unable to figure out why
libclang_rt.builtins.a
is required.Linker error
Linker options
CMake toolchain file
The text was updated successfully, but these errors were encountered: