Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574656

Summary: sys-devel/llvm-3.7.1 - x86_64-apple-darwin15-clang-3.5.2: error: unable to execute command: Segmentation fault: 11
Product: Gentoo/Alt Reporter: * <rfc469>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.bz2

Description * 2016-02-13 20:25:58 UTC
My system is OS X El Capitan (10.11.3).
I'm using the latest bootstrap-prefix.sh (as I write, PV=20160211).
The bootstrap gets almost all the way through stage3, with only sys-devel/llvm-3.7.1 and sys-devel/clang-3.7.1 remaining, and segfaults at line 790 during llvm:

x86_64-apple-darwin15-clang-3.5.2: error: unable to execute command: Segmentation fault: 11

The error is similar to Bug 573176.

Reproducible: Always

Steps to Reproduce:
emerge -v --oneshot =sys-devel/llvm-3.7.1
Comment 1 * 2016-02-13 20:26:44 UTC
Created attachment 425422 [details]
build.log.bz2
Comment 2 Fabian Groffen gentoo-dev 2016-02-14 09:10:03 UTC
Can you confirm this:

% grep "Merging \(sys-libs/libcxx-\|sys-devel/llvm-\)" stage*
stage2.log:>>> Merging sys-devel/llvm-3.4.2 to /
stage2.log:>>> Merging sys-libs/libcxx-headers-3.7.1 to /
stage2.log:>>> Merging sys-libs/libcxx-3.7.1 to /
stage3.log:>>> Merging sys-libs/libcxx-headers-3.7.1 to /
stage3.log:>>> Merging sys-libs/libcxx-3.7.1 to /
stage3.log:>>> Merging sys-devel/llvm-3.5.2 to /

which is the problem (again) ...
Comment 3 Fabian Groffen gentoo-dev 2016-02-14 09:34:26 UTC
ok, this is epic fail, in stage2 we don't use portage's depsystem because we have to pull outself out of the mudd, so we just pulled in latest versions of libcxx.  Trying with fix now.
Comment 4 Fabian Groffen gentoo-dev 2016-02-14 14:57:08 UTC
I just committed what I think is the fix, llvm-3.7.1 compilation is still busy on my system.
Comment 5 Fabian Groffen gentoo-dev 2016-02-14 16:54:45 UTC
It seems my fix did the trick