Created attachment 455246 [details] console output from emerge llvm (ran from command line, same error as bootstrap-prefix.sh) Potentially same issue as https://bugs.gentoo.org/601046 When running bootstrap-prefix.sh, llvm-3.8.1 fails compilation phase with Segmentation Fault. I am running OSX 10.11.6. This issue happens every time i kick off an llvm emerge so it is reproducible on my machine. I do not have MacPorts or Homebrew installed.
Created attachment 455248 [details] /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp File mentioned in output: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.sh x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg:
Created attachment 455250 [details] /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.sh File mentioned in output: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.sh x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg:
Created attachment 455252 [details] /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp File mentioned in output: PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg: /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.sh x86_64-apple-darwin15-clang-3.5.2: note: diagnostic msg:
Created attachment 455254 [details] /Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/build.log build.log
If its helpful, here is my env: TERM_PROGRAM=Apple_Terminal SHELL=/bin/bash TERM=xterm CLICOLOR=1 TMPDIR=/var/folders/d1/ky7sdcy51cz7wcgqw_tl_h3sm6brz5/T/ Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.lF41EFCETv/Render TERM_PROGRAM_VERSION=361.1 OLDPWD=/Users/user TERM_SESSION_ID=7437CE45-53D6-4441-927A-DBF835EA81B4 USER=user SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.LGpNwhi1w4/Listeners __CF_USER_TEXT_ENCODING=0x6865E3E5:0x0:0x0 LSCOLORS=ExGxFxDxCxDxDxhbhdacEc PATH=/usr/local/sbin:/usr/local/bin:/local/home/user/prefix/bin:/local/home/user/prefix/usr/bin:/local/home/user/prefix/usr/local/bin:/Users/user/*nix:/usr/bin:/local/home/user/bin/jdk1.8.0_65/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin PWD=/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp EDITOR=/usr/bin/vim LANG=en_US.UTF-8 XPC_FLAGS=0x0 PS1=\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] XPC_SERVICE_NAME=0 SHLVL=1 HOME=/Users/user LOGNAME=user DISPLAY=/private/tmp/com.apple.launchd.OWD0wXAqx1/org.macosforge.xquartz:0 SECURITYSESSIONID=186a6 WORKSPACE_LOCATION=/Volumes/development/ _=/usr/bin/env
Created attachment 455270 [details] emerge --info llvm
If you haven't try 3.9.1 or 5.0.1
we've shifted gears here, and use FSF GCC now.