Created attachment 373112 [details] minimal c++ program to trigger the gcc bug g++ segfaults during compilation of tools/llvm-readobj/Error.cpp seems to be a bug in the compiler, gcc-4.8.2 doesn't have that problem, so I guess it's fixed upstream (or has been fixed in the total rewrite of gcc). test this bug in your own gcc-version (with the sources attached): gcc -O -march=atom -c Error.cpp -o Error.o -fexpensive-optimizations -freorder-blocks solution would be to either make gcc-4.8.2 the standard compiler by removing the ~amd64 mask, or warn 64-bit users about this bug...
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire sys-devel/llvm build log to this bug report.
This seems to be a duplicate of Bug 500032, and as Piotr already mentioned, a compiler bug, not llvm. I was able to successfully emerge llvm on my Atom using gcc-4.6.3 and 4.8.2, only 4.7.3-r1 failes.
Created attachment 373276 [details] emerge --info =llvm-3.3-r3
Created attachment 373278 [details] build_llvm-3.3-r3.log.gz
Indeed, this is the same error as in #500032. Though thanks a lot Piotr for digging the reduced test case here! I'll move this to the older bug to keep everything in one place, but this should help :) *** This bug has been marked as a duplicate of bug 500032 ***