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
Created attachment 425422 [details] build.log.bz2
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) ...
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.
I just committed what I think is the fix, llvm-3.7.1 compilation is still busy on my system.
It seems my fix did the trick