Gentoo Archives: gentoo-hardened

From: Joshua Brindle <method@g.o>
To: gentoo-hardened@g.o, "Waters, Boyd" <bwaters+kde@××××××××.edu>
Subject: [gentoo-hardened] Re: Stack-Smashing GCC experiments (gcc-3.2.2-r3.ebuild)
Date: Thu, 10 Apr 2003 23:14:19
Message-Id: 20030410T180700Z_B95E00150000@gentoo.org
1 first, "-fstack-protector" should work fine..
2
3 second, just emerge rsync and try again with that ebuild..
4
5 if you still have problems write a bug and assign it to me or frogger..
6
7 we have several testers for propolice gcc already and am fixing
8 ebuilds where -fstack-protector isn't appropriate, but we are not done
9 if anyone wants to test this and tell us about ebuilds where it breaks
10 that would be great.. thanks
11
12 Joshua Brindle
13
14 >>> Boyd Waters <bwaters+kde@××××××××.edu> 04/10/03 03:53PM >>>
15 Thanks to Joshua and to "frogger", we have ProPolice stack-smashing
16 in the gcc-3.2.2 ebuild.
17
18 Curious thing is that when I tried to use the "-fprotect-stack"
19 CFLAG, gcc did not recognize it, even though gcc-3.2.2-r3 claimed to
20 be merged.
21
22 When I tried to ebuild gcc-3.2.2-r3.ebuild unpack, I got errors
23 regarding missing patch files:
24
25 * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
26 *
27 * /usr/portage/distfiles/gcc-3.2.2-branch-update-20030322.patch.bz2
28
29
30 * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
31 *
32 * /usr/portage/distfiles/gcc-3.2.2-tls-update2.patch.bz2
33
34
35 Hmm, performing "ebuild gcc-3.2.2-r3.ebuild fetch" didn't do
36 anything; ebuild thinks that all files are downloaded. Likewise
37 emerge.
38
39 I pulled these patch tarballs manually, and now I'm building gcc...
40
41 I will post results to this email forum.
42
43 -- boyd
44
45 watersb on Gentoo Forums
46
47
48
49
50 --
51 gentoo-hardened@g.o mailing list