Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601788 - bootstrap-prefix.sh fails on OSX 10.11.6 during stage3 llvm-3.8.1 emerge with segmentation fault.
Summary: bootstrap-prefix.sh fails on OSX 10.11.6 during stage3 llvm-3.8.1 emerge with...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-06 08:34 UTC by drahmany.gentoo
Modified: 2020-12-13 11:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
console output from emerge llvm (ran from command line, same error as bootstrap-prefix.sh) (llvm-build-failure.txt.bz2,31.14 KB, application/x-bzip2)
2016-12-06 08:34 UTC, drahmany.gentoo
Details
/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp (ParallelCG-a7d27c.cpp.bz2,534.74 KB, application/x-bzip2)
2016-12-06 08:39 UTC, drahmany.gentoo
Details
/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.sh (ParallelCG-a7d27c.sh.bz2,647 bytes, application/x-bzip2)
2016-12-06 08:42 UTC, drahmany.gentoo
Details
/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/ParallelCG-a7d27c.cpp (ParallelCG-a7d27c.cpp.bz2,533.95 KB, application/x-bzip2)
2016-12-06 08:43 UTC, drahmany.gentoo
Details
/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/build.log (build.log.bz2,30.83 KB, application/x-bzip2)
2016-12-06 08:48 UTC, drahmany.gentoo
Details
emerge --info llvm (llvm-emerge-info.txt,4.52 KB, text/plain)
2016-12-06 17:06 UTC, drahmany.gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drahmany.gentoo 2016-12-06 08:34:01 UTC
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.
Comment 1 drahmany.gentoo 2016-12-06 08:39:21 UTC
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:
Comment 2 drahmany.gentoo 2016-12-06 08:42:15 UTC
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:
Comment 3 drahmany.gentoo 2016-12-06 08:43:18 UTC
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:
Comment 4 drahmany.gentoo 2016-12-06 08:48:58 UTC
Created attachment 455254 [details]
/Users/user/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/build.log

build.log
Comment 5 drahmany.gentoo 2016-12-06 08:52:49 UTC
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
Comment 6 drahmany.gentoo 2016-12-06 17:06:44 UTC
Created attachment 455270 [details]
emerge --info llvm
Comment 7 Fabian Groffen gentoo-dev 2018-01-30 12:33:05 UTC
If you haven't try 3.9.1 or 5.0.1
Comment 8 Fabian Groffen gentoo-dev 2020-12-13 11:59:35 UTC
we've shifted gears here, and use FSF GCC now.