[llvm-dev] llvm/compiler-rt install path

Joel Winarske via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 21 11:12:27 PST 2018


I'm trying to use a cross-compiled compiler-rt with libcxxabi.

I'm seeing a conflict between what LLVM reports library location, and where
compiler-rt installs it.

Running this: ${toolchain}/bin/clang++ --rtlib=compiler-rt
--print-libgcc-file-name
Returns: ${toolchain}/lib/clang/8.0.0/lib/linux/libclang_rt.builtins-armhf.a
The .../8.0.0/lib folder doesn't exist, only .../8.0.0/include post install.

When cross-compiling compiler-rt, it installs to a different path:
${toolchain}/compiler-rt/lib/linux/libclang_rt.builtins-armhf.a
${toolchain}/compiler-rt/lib/linux/libclang_rt.profile-armhf.a

So which is correct, and which needs to change?

I'm working with tip of the tree on all components.

Thanks,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181221/265046ca/attachment.html>


More information about the llvm-dev mailing list