Gentoo Archives: gentoo-hardened

From: Gordon Malm <gengor@g.o>
To: gentoo-hardened@l.g.o
Cc: "Kārlis Repsons" <karlis.repsons@×××××.com>
Subject: Re: [gentoo-hardened] GCC upgrading from 3.4.6-r2 to 4.3.4 dies
Date: Mon, 01 Feb 2010 20:02:26
Message-Id: 201002011114.35568.gengor@gentoo.org
In Reply to: [gentoo-hardened] GCC upgrading from 3.4.6-r2 to 4.3.4 dies by "Kārlis Repsons"
1 On Monday, February 1, 2010 06:46:32 Kārlis Repsons wrote:
2 > People,
3 > perhaps someone has an idea of why that happens (or what should I check):
4 >
5 > # emerge gcc
6 > throws out: "i686-pc-linux-gnu-gcc: Internal error: Killed (program cc1)"
7 > (for a wider sample see the bottom of this mail)
8 >
9 > Looking through archives of this list [0], I understood, that, as per [1] I
10 > should start with a gcc upgrade... Also I wonder, if I did as per [2] and
11 > proceed with vanilla gcc as: # USE="-hardened" emerge --oneshot
12 > =sys-libs/glibc-2.5
13 > # USE="-hardened" emerge --oneshot =sys-devel/gcc-4.1.2
14 > isn't there a risk, that I've compiled a whole system for hardened glibc
15 > and recompiling and replacing it just crashes the whole thing?
16 >
17 > If you know, please let me know too...
18 >
19 >
20 > [0]
21 > http://archives.gentoo.org/gentoo-hardened/msg_bc73e13380fcad0c682047dd5cb0
22 >29e3.xml [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml#doc_chap2
23 > [2] http://www.gentoo.org/proj/en/hardened/toolchain-upgrade-guide.xml
24 >
25 >
26 > ======================================================
27 > i686-pc-linux-gnu-gcc -c -O -DIN_GCC -W -Wall -Wwrite-strings
28 > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
29 > -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I. -
30 > I/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc
31 > -I/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/.
32 > -I/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../include -
33 > I/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../libcpp/include
34 > -I/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../libdecnumber
35 > -I/var/tmp/portage/sys-
36 > devel/gcc-4.3.4/work/gcc-4.3.4/gcc/../libdecnumber/bid -I../libdecnumber
37 > insn-attrtab.c -o insn-attrtab.o i686-pc-linux-gnu-gcc: Internal error:
38 > Killed (program cc1)
39 > Please submit a full bug report.
40 > See <URL:http://bugs.gentoo.org/> for instructions.
41 > make[3]: *** [insn-attrtab.o] Error 1
42 > make[3]: Leaving directory
43 > `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/gcc' make[2]: ***
44 > [all-stage1-gcc] Error 2
45 > make[2]: Leaving directory
46 > `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build' make[1]: ***
47 > [stage1-bubble] Error 2
48 > make[1]: Leaving directory
49 > `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build' make: ***
50 > [bootstrap-lean] Error 2
51 > * ERROR: sys-devel/gcc-4.3.4 failed:
52 > * emake failed with bootstrap-lean
53 > *
54 > * Call stack:
55 > * ebuild.sh, line 54: Called src_compile
56 > * environment, line 4988: Called toolchain_src_compile
57 > * environment, line 5550: Called gcc_src_compile
58 > * environment, line 3173: Called gcc_do_make
59 > * environment, line 2963: Called die
60 > * The specific snippet of code:
61 > * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
62 > LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die
63 > "emake failed with ${GCC_MAKE_TARGET}";
64 > ======================================================
65
66 emerge --info please.
67
68
69 Gordon Malm (gengor)

Replies

Subject Author
Re: [gentoo-hardened] GCC upgrading from 3.4.6-r2 to 4.3.4 dies "Kārlis Repsons" <karlis.repsons@×××××.com>