/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/Release/bin/clang: error while loading shared libraries: libLLVM-3.3.so: cannot open shared object file: No such file or directory clang: error: unable to execute command: Program could not be executed clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.3 (tags/RELEASE_33/final) Target: i386-pc-linux-gnu Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. COMPILE: clang_linux/full-i386/i386: /var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src/projects/compiler-rt/lib/lshrti3.c /var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/Release/bin/clang -fPIC -Wall -Werror -O3 -fomit-frame-pointer -m32 --sysroot=/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src/projects/compiler-rt/SDKs/linux -c -o /var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/lshrti3.o /var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src/projects/compiler-rt/lib/lshrti3.c clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /var/tmp/portage/sys-devel/llvm-3.3-r1/temp/floatuntixf-1XWBV6.c clang: note: diagnostic msg: /var/tmp/portage/sys-devel/llvm-3.3-r1/temp/floatuntixf-1XWBV6.sh clang: note: diagnostic msg: ******************** make[5]: *** [/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/floatuntixf.o] Error 255 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory `/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src/projects/compiler-rt' make[4]: *** [BuildRuntimeLibraries] Error 2 rm /var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/Release/lib/clang/3.3/lib/linux/.dir make[4]: Leaving directory `/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools/clang/runtime/compiler-rt' make[3]: *** [compiler-rt/.makeall] Error 2 make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools/clang/runtime' make[2]: *** [all] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools/clang' make[1]: *** [clang/.makeall] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64/tools' make: *** [all] Error 1 [31;01m*[0m ERROR: sys-devel/llvm-3.3-r1::gentoo failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=sys-devel/llvm-3.3-r1::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.3-r1::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.3-r1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.3-r1/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src-amd64' [31;01m*[0m S: '/var/tmp/portage/sys-devel/llvm-3.3-r1/work/llvm-3.3.src'
Created attachment 362986 [details] Full build log
Created attachment 362988 [details] emerge --info output
Created attachment 362990 [details] floatuntixf-1XWBV6.c
Created attachment 362992 [details] floatuntixf-1XWBV6.sh
This error happens only in MAKEOPTS="-jN" where N>1 So looks like it is just race condition.
Could you try -9999? And possibly try to fix the build system for 3.3-r1? To be honest, I'd rather try to fix the issue than force -j1 for such a big package as llvm.
Could you try -3.3-r2, please?
Assuming it is fixed in -3.3-r2+. Feel free to reopen if that ain't true.