1 |
Hi, |
2 |
|
3 |
I tried to upgrade clang from 3.7.1 to 3.8.1 but got the following error message. Did anyone install clang 3.8.1 successfully? |
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
[1213/3091] /Users/abc/gentoo/usr/bin/x86_64-apple-darwin15-clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/IR -I/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/work/llvm-3.8.1.src/lib/IR -Iinclude -I/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/work/llvm-3.8.1.src/include -DNDEBUG -march=native -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fcolor-diagnostics -fPIC -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/Function.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/Function.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/Function.cpp.o -c /Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/work/llvm-3.8.1.src/lib/IR/Function.cpp |
19 |
ninja: build stopped: subcommand failed. |
20 |
* ERROR: sys-devel/llvm-3.8.1::gentoo_prefix failed (compile phase): |
21 |
* (no error message) |
22 |
* |
23 |
* Call stack: |
24 |
* ebuild.sh, line 133: Called __call-ebuildshell 'src_compile' |
25 |
* ebuild.sh, line 542: Called src_compile |
26 |
* environment, line 5001: Called multilib-minimal_src_compile |
27 |
* environment, line 3065: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' |
28 |
* environment, line 3296: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' |
29 |
* environment, line 3000: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' |
30 |
* environment, line 2998: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' |
31 |
* environment, line 602: Called multilib-minimal_abi_src_compile |
32 |
* environment, line 3059: Called multilib_src_compile |
33 |
* environment, line 3508: Called cmake-utils_src_compile |
34 |
* environment, line 1180: Called _cmake_execute_optionally 'src_compile' |
35 |
* environment, line 329: Called enable_cmake-utils_src_compile |
36 |
* environment, line 1475: Called cmake-utils_src_make |
37 |
* environment, line 1195: Called _cmake_ninja_src_make |
38 |
* environment, line 385: Called die |
39 |
* The specific snippet of code: |
40 |
* "$@" || die |
41 |
* |
42 |
* If you need support, post the output of `emerge --info '=sys-devel/llvm-3.8.1::gentoo_prefix'`, |
43 |
* the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.8.1::gentoo_prefix'`. |
44 |
* The complete build log is located at '/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/build.log'. |
45 |
* The ebuild environment file is located at '/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/temp/environment'. |
46 |
* Working directory: '/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/work/llvm-3.8.1.src-abi_x86_64.amd64' |
47 |
* S: '/Users/abc/gentoo/var/tmp/portage/sys-devel/llvm-3.8.1/work/llvm-3.8.1.src' |
48 |
|
49 |
|
50 |
|
51 |
$ emerge --info =sys-devel/llvm-3.8.1::gentoo_prefix |
52 |
Portage 2.2.28-prefix (python 3.5.1-final-0, prefix/darwin/macos/10.11/x64, clang-3.7.1, unavailable, 15.6.0 x86_64) |
53 |
================================================================= |
54 |
System Settings |
55 |
================================================================= |
56 |
System uname: Darwin-15.6.0-x86_64-i386-64bit |
57 |
Timestamp of repository gentoo_prefix: Wed, 24 Aug 2016 14:27:55 +0000 |
58 |
sh bash 4.3_p39 |
59 |
app-shells/bash: 4.3_p39::gentoo_prefix |
60 |
dev-lang/perl: 5.24.0-r1::gentoo_prefix |
61 |
dev-lang/python: 2.7.11-r2::gentoo_prefix, 3.4.3-r5::gentoo_prefix, 3.5.1-r3::gentoo_prefix |
62 |
dev-util/cmake: 3.6.1::gentoo_prefix |
63 |
dev-util/pkgconfig: 0.29.1::gentoo_prefix |
64 |
sys-devel/autoconf: 2.69::gentoo_prefix |
65 |
sys-devel/automake: 1.14.1::gentoo_prefix, 1.15::gentoo_prefix |
66 |
sys-devel/libtool: 2.4.6-r1::gentoo_prefix |
67 |
sys-devel/make: 4.2.1::gentoo_prefix |
68 |
Repositories: |
69 |
|
70 |
gentoo_prefix |
71 |
location: /Users/abc/gentoo/usr/portage |
72 |
sync-type: rsync |
73 |
sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix |
74 |
priority: -1000 |
75 |
aliases: gentoo |
76 |
|
77 |
science |
78 |
location: /Users/abc/gentoo/var/lib/layman/science |
79 |
masters: gentoo_prefix |
80 |
priority: 0 |
81 |
|
82 |
sage-on-gentoo |
83 |
location: /Users/abc/gentoo/var/lib/layman/sage-on-gentoo |
84 |
masters: gentoo_prefix science |
85 |
priority: 1 |
86 |
|
87 |
ACCEPT_KEYWORDS="~x64-macos" |
88 |
ACCEPT_LICENSE="* -@EULA" |
89 |
CBUILD="x86_64-apple-darwin15" |
90 |
CC="x86_64-apple-darwin15-clang" |
91 |
CFLAGS="-march=native -O2 -pipe" |
92 |
CHOST="x86_64-apple-darwin15" |
93 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
94 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" |
95 |
CXX="x86_64-apple-darwin15-clang++" |
96 |
CXXFLAGS="-march=native -O2 -pipe" |
97 |
DISTDIR="/Users/abc/gentoo/usr/portage/distfiles" |
98 |
FCFLAGS="" |
99 |
FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged userfetch userpriv usersandbox usersync" |
100 |
FFLAGS="" |
101 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
102 |
LDFLAGS="-Wl,-dead_strip_dylibs" |
103 |
MAKEOPTS="-j5" |
104 |
PKGDIR="/Users/abc/gentoo/usr/portage/packages" |
105 |
PORTAGE_CONFIGROOT="/Users/abc/gentoo/" |
106 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" |
107 |
PORTAGE_TMPDIR="/Users/abc/gentoo/var/tmp" |
108 |
USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
109 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |