sys-devel/llvm-3.9.1 fails to emerge Reproducible: Always Steps to Reproduce: 1. emerge =sys-devel/llvm-3.9.1
Created attachment 457140 [details] sys-devel:llvm-3.9.1:20161222-192359.log.zip
Created attachment 457142 [details] emerge --info
This may be a local problem... FAILED: lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCompares.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Transforms/InstCombine -I/var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/lib/Transforms/InstCombine -Iinclude -I/var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/include -DNDEBUG -march=native -Ofast -mvzeroupper -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fPIC -MD -MT lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCompares.cpp.o -MF lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCompares.cpp.o.d -o lib/Transforms/InstCombine/CMakeFiles/LLVMInstCombine.dir/InstCombineCompares.cpp.o -c /var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/lib/Transforms/InstCombine/InstCombineCompares.cpp /var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/lib/Transforms/InstCombine/InstCombineCompares.cpp: In member function ‘llvm::Instruction* llvm::InstCombiner::visitICmpInstWithInstAndIntCst(llvm::ICmpInst&, llvm::Instruction*, llvm::ConstantInt*)’: /var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/lib/Transforms/InstCombine/InstCombineCompares.cpp:2371:1: εσωτεÏικό σφάλμα μεταγλωττιστή: Σφάλμα κατάτμησης (segmentation fault) } ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions.
Looks like segfault in GCC.
Got a different segfault: /var/tmp/portage/sys-devel/llvm-3.9.1/work/llvm-3.9.1.src/lib/Target/X86/X86MCInstLower.cpp:1686:1: internal compiler error: Segmentation fault (gcc 5.4.0)
Cancel my last comment: I found one of my 4 memory modules to be faulty, thus causing the segmentation fault.
*** This bug has been marked as a duplicate of bug 20600 ***