sys-devel/llvm-3.8.1-r2 on x86 failed to compile source code as per the following error: $ cat > conftest.c << EOF /* confdefs.h */ #define PACKAGE_NAME "terminology" #define PACKAGE_TARNAME "terminology" #define PACKAGE_VERSION "0.9.99" #define PACKAGE_STRING "terminology 0.9.99" #define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net" #define PACKAGE_URL "" #define PACKAGE "terminology" #define VERSION "0.9.99" /* end confdefs.h. */ int main () { ; return 0; } EOF $ clang ./conftest.c /usr/bin/i686-pc-linux-gnu-ld: cannot find /usr/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-i686.a: No such file or directory i686-pc-linux-gnu-clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation) clang is looking for libclang_rt.builtins-i686.a but only libclang_rt.builtins-i386.a exist: $ qlist llvm | fgrep libclang_rt.builtins /usr/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-i386.a Reproducible: Always
please paste or attach output of emerge --info.
Created attachment 445872 [details] emerge --info
I think it's unhappy with our i686- CHOST. The code for finding clangrt is kinda poor in the driver. Could you paste 'clang --version' to confirm? I will try to find some solution upstream when I have time for it but can't promise that'd happen anytime soon.
(In reply to Michał Górny from comment #3) > I think it's unhappy with our i686- CHOST. The code for finding clangrt is > kinda poor in the driver. Could you paste 'clang --version' to confirm? I > will try to find some solution upstream when I have time for it but can't > promise that'd happen anytime soon. $ clang --version clang version 3.8.1 (tags/RELEASE_381/final) Target: i686-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin
This is fixed in 5.0.1+.