Gentoo Archives: gentoo-hardened

From: "Joseph C. Lininger" <jbahm@××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] gcc 4.5.3 doesn't build on x86 hardened profile
Date: Mon, 06 Feb 2012 08:00:45
Message-Id: 4F2F887B.7020607@pcdesk.net
In Reply to: Re: [gentoo-hardened] gcc 4.5.3 doesn't build on x86 hardened profile by "Tóth Attila"
1 As promised, here's the point in the build log where things fail.
2
3 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./prev-gcc/xgcc
4 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./prev-gcc/
5 -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/bin/
6 -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
7 -isystem /usr/i686-pc-linux-gnu/sys-include -DEFAULT_RELRO
8 -DEFAULT_BIND_NOW -DEFAULT_PIE_SSP -O2 -march=i686 -pipe -gtoggle
9 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
10 -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
11 -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
12 -Wc++-compat -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genattrtab \
13 build/genattrtab.o build/rtl.o build/read-rtl.o build/ggc-none.o
14 build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
15 build/errors.o .././libiberty/libiberty.a
16 build/genattrtab
17 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md
18 \
19 insn-conditions.md > tmp-attrtab.c
20 /bin/sh
21 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/../move-if-change
22 tmp-attrtab.c insn-attrtab.c
23 echo timestamp > s-attrtab
24 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./prev-gcc/xgcc
25 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./prev-gcc/
26 -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/bin/
27 -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
28 -isystem /usr/i686-pc-linux-gnu/sys-include -c -DEFAULT_RELRO
29 -DEFAULT_BIND_NOW -DEFAULT_PIE_SSP -O2 -march=i686 -pipe -gtoggle
30 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
31 -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
32 -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
33 -Wc++-compat -DHAVE_CONFIG_H -I. -I.
34 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc
35 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/.
36 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/../include
37 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/../libcpp/include
38
39 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/../libdecnumber
40 -I/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/../libdecnumber/bid
41 -I../libdecnumber insn-attrtab.c -o insn-attrtab.o
42 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:
43 In function 'internal_dfa_insn_code':
44 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1:
45 internal compiler error: Bus error
46 Please submit a full bug report,
47 with preprocessed source if appropriate.
48 See <http://bugs.gentoo.org/> for instructions.
49 make[3]: *** [insn-attrtab.o] Error 1
50 make[3]: Leaving directory
51 `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc'
52 make[2]: *** [all-stage2-gcc] Error 2
53 make[2]: Leaving directory
54 `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
55 make[1]: *** [stage2-bubble] Error 2
56 make[1]: Leaving directory
57 `/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
58 make: *** [bootstrap-lean] Error 2
59 emake failed
60 * ERROR: sys-devel/gcc-4.5.3-r1 failed (compile phase):
61 * emake failed with bootstrap-lean
62 *
63 * Call stack:
64 * ebuild.sh, line 85: Called src_compile
65 * environment, line 4015: Called toolchain_src_compile
66 * environment, line 4670: Called gcc_do_make
67 * environment, line 2348: Called die
68 * The specific snippet of code:
69 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
70 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} ||
71 die "emake failed with ${GCC_MAKE_TARGET}";
72 *
73 * If you need support, post the output of 'emerge --info
74 =sys-devel/gcc-4.5.3-r1',
75 * the complete build log and the output of 'emerge -pqv
76 =sys-devel/gcc-4.5.3-r1'.
77 *
78 * Please include
79 /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc-build-logs.tar.bz2 in
80 your bug report
81 *
82 * The complete build log is located at
83 '/var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/build.log'.
84 * The ebuild environment file is located at
85 '/var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/environment'.
86 * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
87 --
88 "All models are wrong, but some are useful." George E. P. Box
89 Joseph C. Lininger, <jbahm@××××××.net>

Replies

Subject Author
Re: [gentoo-hardened] gcc 4.5.3 doesn't build on x86 hardened profile Alexander Tsoy <puleglot@××.ru>
Re: [gentoo-hardened] gcc 4.5.3 doesn't build on x86 hardened profile "Anthony G. Basile" <basile@××××××××××××××.edu>
Re: [gentoo-hardened] gcc 4.5.3 doesn't build on x86 hardened profile "Francisco Blas Izquierdo Riera (klondike)" <klondike@g.o>