1 |
checking assembler for --debug-prefix-map option... yes |
2 |
checking assembler for .lcomm with alignment... no |
3 |
checking assembler for gnu_unique_object... yes |
4 |
ldd (Gentoo 2.20-r2 p4) 2.20 |
5 |
Copyright (C) 2014 Free Software Foundation, Inc. |
6 |
This is free software; see the source for copying conditions. There is NO |
7 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
8 |
Written by Roland McGrath and Ulrich Drepper. |
9 |
checking assembler for tolerance to line number 0... yes |
10 |
checking linker PT_GNU_EH_FRAME support... yes |
11 |
checking linker position independent executable support... yes |
12 |
checking linker EH-compatible garbage collection of sections... yes |
13 |
checking linker EH garbage collection of sections bug... no |
14 |
checking linker --as-needed support... yes |
15 |
checking linker --build-id support... yes |
16 |
checking linker *_sol2 emulation support... no |
17 |
checking linker --sysroot support... yes |
18 |
checking __stack_chk_fail in target C library... (cached) yes |
19 |
checking sys/sdt.h in the target C library... no |
20 |
checking dl_iterate_phdr in target C library... unknown |
21 |
checking whether to enable maintainer-specific portions of Makefiles... no |
22 |
Links are now set up to build a native compiler for x86_64-pc-linux-gnu. |
23 |
checking for exported symbols... yes |
24 |
checking for -rdynamic... yes |
25 |
checking for library containing dlopen... -ldl |
26 |
checking for -fPIC -shared... yes |
27 |
checking if x86_64-pc-linux-gnu support esp... yes |
28 |
checking checking for crtbeginP.o support... yes |
29 |
configure: updating cache ./config.cache |
30 |
configure: creating ./config.status |
31 |
config.status: creating as |
32 |
config.status: creating collect-ld |
33 |
config.status: creating nm |
34 |
config.status: creating Makefile |
35 |
config.status: creating ada/gcc-interface/Makefile |
36 |
config.status: creating ada/Makefile |
37 |
config.status: creating auto-host.h |
38 |
config.status: executing default commands |
39 |
make[3]: Entering directory '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/gcc' |
40 |
TARGET_CPU_DEFAULT="" \ |
41 |
HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/i386/biarch64.h config/i386/i386.h config/linux-android.h config/i386/unix.h config/i386/att.h config/dbxelf.h config/elfos.h config/gnu-user.h config/glibc-stdint.h config/i386/x86-64.h config/i386/gnu-user-common.h config/i386/gnu-user64.h config/linux.h config/i386/linux-common.h config/i386/linux64.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 DEFAULT_LIBC=LIBC_GLIBC ANDROID_DEFAULT=0" \ |
42 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/mkconfig.sh tm.h |
43 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DEFAULT_PIE_SSP -fno-PIE -m64 -O2 -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wn |
44 |
o-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/build -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../libcpp/include \ |
45 |
-DBASEVER="\"4.8.4\"" -DDATESTAMP="\"\"" \ |
46 |
-DREVISION="\"\"" \ |
47 |
-DDEVPHASE="\"\"" -DPKGVERSION="\"(Gentoo Hardened 4.8.4 p1.4, pie-0.6.1) \"" \ |
48 |
-DBUGURL="\"<https://bugs.gentoo.org/>\"" -o build/version.o /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/version.c |
49 |
rm -f tmp-all-tree.def |
50 |
echo '#include "tree.def"' > tmp-all-tree.def |
51 |
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def |
52 |
echo '#include "c-family/c-common.def"' >> tmp-all-tree.def |
53 |
ltf="/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/ada/gcc-interface/ada-tree.def /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/cp/cp-tree.def /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/java/java-tree.def /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/objc/objc-tree.def"; for f in $ltf; do \ |
54 |
echo "#include \"$f\""; \ |
55 |
done | sed 's|/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/||' >> tmp-all-tree.def |
56 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../move-if-change tmp-all-tree.def all-tree.def |
57 |
echo timestamp > s-alltree |
58 |
if test no = yes \ |
59 |
|| test -n "m64=../lib64 m32=../lib mx32=../libx32"; then \ |
60 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/genmultilib \ |
61 |
"m64" \ |
62 |
" 64" \ |
63 |
"" \ |
64 |
"" \ |
65 |
"" \ |
66 |
"" \ |
67 |
"m64=../lib64 m32=../lib mx32=../libx32" \ |
68 |
"" \ |
69 |
"" \ |
70 |
"" \ |
71 |
"no" \ |
72 |
> tmp-mlib.h; \ |
73 |
else \ |
74 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/genmultilib '' '' '' '' '' '' '' '' \ |
75 |
"" '' no \ |
76 |
> tmp-mlib.h; \ |
77 |
fi |
78 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../move-if-change tmp-mlib.h multilib.h |
79 |
echo timestamp > s-mlib |
80 |
lsf="/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/cp/lang-specs.h /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/lto/lang-specs.h"; for f in $lsf; do \ |
81 |
echo "#include \"$f\""; \ |
82 |
done | sed 's|/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/||' > tmp-specs.h |
83 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../move-if-change tmp-specs.h specs.h |
84 |
echo timestamp > s-specs |
85 |
echo "/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -DEFAULT_PIE_SSP -fno-PIE -m64 -O2 -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall |
86 |
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc " > checksum-options.tmp \ |
87 |
&& /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../move-if-change checksum-options.tmp checksum-options |
88 |
gawk -f /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/config/i386/i386-builtin-types.awk /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/config/i386/i386-builtin-types.def > tmp-bt.inc |
89 |
/bin/sh /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../move-if-change tmp-bt.inc i386-builtin-types.inc |
90 |
echo timestamp > s-i386-bt |
91 |
cp /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gcc-ar.c gcc-nm.c |
92 |
cp /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gcc-ar.c gcc-ranlib.c |
93 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DEFAULT_PIE_SSP -fno-PIE -DHOST_GENERATOR_FILE -m64 -O2 -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwin |
94 |
d-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../libbacktrace /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c -o gengtype.o |
95 |
In file included from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c:26:0: |
96 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:500:34: error: declaration of C function 'const char* strsignal(int)' conflicts with |
97 |
extern const char *strsignal (int); |
98 |
^ |
99 |
In file included from /var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/cstring:42:0, |
100 |
from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:205, |
101 |
from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c:26: |
102 |
/usr/include/string.h:563:14: error: previous declaration 'char* strsignal(int)' here |
103 |
extern char *strsignal (int __sig) __THROW; |
104 |
^ |
105 |
In file included from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:645:0, |
106 |
from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c:26: |
107 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/../include/libiberty.h:110:36: error: new declaration 'char* basename(const char*)' |
108 |
extern char *basename (const char *); |
109 |
^ |
110 |
In file included from /var/tmp/portage/sys-devel/gcc-4.8.4/work/build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/cstring:42:0, |
111 |
from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:205, |
112 |
from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c:26: |
113 |
/usr/include/string.h:600:26: error: ambiguates old declaration 'const char* basename(const char*)' |
114 |
extern "C++" const char *basename (const char *__filename) |
115 |
^ |
116 |
In file included from /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.c:26:0: |
117 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:289:56: error: 'CHAR_BIT' was not declared in this scope |
118 |
? ~ (t) 0 << (sizeof(t) * CHAR_BIT - 1) : (t) 0)) |
119 |
^ |
120 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:290:44: note: in expansion of macro 'INTTYPE_MINIMUM' |
121 |
#define INTTYPE_MAXIMUM(t) ((t) (~ (t) 0 - INTTYPE_MINIMUM (t))) |
122 |
^ |
123 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/system.h:294:20: note: in expansion of macro 'INTTYPE_MAXIMUM' |
124 |
# define UCHAR_MAX INTTYPE_MAXIMUM (unsigned char) |
125 |
^ |
126 |
/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4/gcc/gengtype.h:455:23: note: in expansion of macro 'UCHAR_MAX' |
127 |
CHAR_TOKEN_OFFSET = UCHAR_MAX + 1, |
128 |
^ |
129 |
Makefile:1070: recipe for target 'gengtype.o' failed |
130 |
make[3]: *** [gengtype.o] Error 1 |
131 |
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build/gcc' |
132 |
Makefile:4193: recipe for target 'all-stage2-gcc' failed |
133 |
make[2]: *** [all-stage2-gcc] Error 2 |
134 |
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build' |
135 |
Makefile:17046: recipe for target 'stage2-bubble' failed |
136 |
make[1]: *** [stage2-bubble] Error 2 |
137 |
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build' |
138 |
Makefile:17252: recipe for target 'bootstrap-lean' failed |
139 |
make: *** [bootstrap-lean] Error 2 |
140 |
* ERROR: sys-devel/gcc-4.8.4::gentoo failed (compile phase): |
141 |
* emake failed |
142 |
* |
143 |
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.8.4::gentoo'`, |
144 |
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.8.4::gentoo'`. |
145 |
* The complete build log is located at '/var/log/portage/sys-devel:gcc-4.8.4:20150413-090817.log'. |
146 |
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gcc-4.8.4/temp/build.log'. |
147 |
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.8.4/temp/environment'. |
148 |
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build' |
149 |
* S: '/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4' |
150 |
* |
151 |
* Please include /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-build-logs.tar.bz2 in your bug report. |
152 |
* |
153 |
* Messages for package sys-libs/glibc-2.20-r2: |
154 |
* Defaulting /etc/host.conf:multi to on |
155 |
* Generating all locales; edit /etc/locale.gen to save time/space |
156 |
* Messages for package sys-libs/timezone-data-2015a: |
157 |
* You do not have TIMEZONE set in /etc/timezone. |
158 |
* Skipping auto-update of /etc/localtime. |
159 |
* Messages for package sys-devel/gcc-4.8.4: |
160 |
* ERROR: sys-devel/gcc-4.8.4::gentoo failed (compile phase): |
161 |
* emake failed |
162 |
* |
163 |
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.8.4::gentoo'`, |
164 |
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.8.4::gentoo'`. |
165 |
* The complete build log is located at '/var/log/portage/sys-devel:gcc-4.8.4:20150413-090817.log'. |
166 |
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gcc-4.8.4/temp/build.log'. |
167 |
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.8.4/temp/environment'. |
168 |
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.8.4/work/build' |
169 |
* S: '/var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-4.8.4' |
170 |
* |
171 |
* Please include /var/tmp/portage/sys-devel/gcc-4.8.4/work/gcc-build-logs.tar.bz2 in your bug report. |
172 |
* |
173 |
|
174 |
|
175 |
|
176 |
|
177 |
|
178 |
|
179 |
|
180 |
!!! catalyst: run script failed. |
181 |
|
182 |
|
183 |
Traceback (most recent call last): |
184 |
File "modules/generic_stage_target.py", line 1253, in run_local |
185 |
"run script failed.",env=self.env) |
186 |
File "/usr/lib64/catalyst//modules/catalyst_support.py", line 541, in cmd |
187 |
raise CatalystError,myexc |
188 |
CatalystError |
189 |
None |
190 |
|
191 |
!!! catalyst: Stage build aborting due to error. |
192 |
|
193 |
Traceback (most recent call last): |
194 |
File "/usr/lib64/catalyst/catalyst", line 218, in build_target |
195 |
mytarget.run() |
196 |
File "modules/generic_stage_target.py", line 1333, in run |
197 |
apply(getattr(self,x)) |
198 |
File "modules/generic_stage_target.py", line 1258, in run_local |
199 |
raise CatalystError,"Stage build aborting due to error." |
200 |
CatalystError |
201 |
!!! catalyst: Error encountered during run of target stage1 |
202 |
Catalyst aborting.... |
203 |
lockfile does not exist '/home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20150413/.catalyst_lock' |
204 |
|
205 |
|
206 |
|
207 |
Full build log at /home/release/tmp/run/catalyst-auto.QOixqE/log/hardened_stage1-selinux-nomultilib.log |