Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] hardened gcc-4.1 and uclibc
Date: Sat, 23 Sep 2006 22:34:17
Message-Id: 1159051614.14902.5.camel@studio
In Reply to: Re: [gentoo-embedded] hardened gcc-4.1 and uclibc by Mike Frysinger
1 On Sat, 2006-09-23 at 10:55 -0400, Mike Frysinger wrote:
2 > On Saturday 23 September 2006 10:40, Natanael Copa wrote:
3 > > I get this:
4 > >
5 > > Calculating dependencies... done!
6 > > [ebuild NS ] sys-devel/gcc-4.1.1 USE="(-altivec) -bootstrap -build
7 > > -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib)
8 > > -multislot (-n32) (-n64) (-nls) -nocxx -objc -objc++ -objc-gc -test
9 > > -vanilla" 0 kB
10 >
11 > prob because i added gcc/hardened to default-linux/package.use.mask
12 >
13 > should be fixed now
14
15 Its still not fixed. Note the (-hardened)
16
17 al-1.5 / # emerge -pv gcc
18
19 These are the packages that would be merged, in order:
20
21 Calculating dependencies... done!
22 [ebuild NS ] sys-devel/gcc-4.1.1 USE="(-altivec) -bootstrap -build
23 -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib)
24 -multislot (-n32) (-n64) (-nls) -nocxx -objc -objc++ -objc-gc -test
25 -vanilla" 0 kB
26
27 Total size of downloads: 0 kB
28 al-1.5 / # emerge -pv \<gcc-4
29
30 These are the packages that would be merged, in order:
31
32 Calculating dependencies... done!
33 [ebuild R ] sys-devel/gcc-3.4.6-r1 USE="(-altivec) -bootstrap
34 -boundschecking -build -doc -fortran -gcj -gtk (-hardened*) -ip28
35 -ip32r10k (-multilib) -multislot (-n32) (-n64) (-nls) -nocxx -nopie
36 -nossp -objc -test% -vanilla" 12,330 kB
37
38 Total size of downloads: 12,330 kB
39
40
41 I removed it from default-linux/package.use.mask manually but the
42 compile died with a stacksmashing attack. I'm not sure if I should
43 report it on bugzilla, since it says that its not supported.
44
45 stage1/xgcc -Bstage1/ -B/usr/i386-gentoo-linux-uclibc/bin/ -c -march=i386 -pipe -O2 -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include genrtl.c -o genrtl.o
46 stage1/xgcc -Bstage1/ -B/usr/i386-gentoo-linux-uclibc/bin/ -c -march=i386 -pipe -O2 -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/ggc-common.c -o ggc-common.o
47 stage1/cc1: stack smashing attack in function ix86_split_to_parts()
48 xgcc: Internal error: Killed (program cc1)
49 Please submit a full bug report.
50 See <URL:http://bugs.gentoo.org/> for instructions.
51 make[2]: *** [ggc-common.o] Error 1
52 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
53 make[1]: *** [stageprofile_build] Error 2
54 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc'
55 make: *** [profiledbootstrap] Error 2
56
57
58 --
59 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] hardened gcc-4.1 and uclibc Mike Frysinger <vapier@g.o>
Re: [gentoo-embedded] hardened gcc-4.1 and uclibc "Peter S. Mazinger" <ps.m@×××.net>