Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] upgrading to gcc-3.3.6
Date: Mon, 26 Sep 2005 10:44:35
Message-Id: 4337D0E0.3040006@tanael.org
In Reply to: Re: [gentoo-embedded] upgrading to gcc-3.3.6 by "Peter S. Mazinger"
1 Peter S. Mazinger wrote:
2
3 >On Thu, 22 Sep 2005, Natanael Copa wrote:
4 >
5 >
6 >
7 >>I upgraded to gcc-3.3.6 today and when recompiling the drivers (kernel
8 >>modules in the portage tree) I got some warnings and the modules fails
9 >>to load:
10 >>
11 >>
12 >>WARNING: //lib/modules/2.6.11-hardened-r15/fs/fuse.ko needs unknown
13 >>symbol __sta ck_smash_handler
14 >>
15 >>
16 ...
17
18 >>So I guess there is something wrong with my gcc upgrade. I guess I need
19 >>to do a proper toolchain upgrade?
20 >>
21 >>
22 >
23 >no, your module build process (Makefiles) does not add -D__KERNEL__ to the
24 >build, so ssp will be enabled on the built modules (not supported by any
25 >gentoo kernel).
26 >Nothing in the kernel and module build process is allowed to enable
27 >-fstack-protector (either by CFLAGS or any other method)
28 >Rebuild one of the above modules and paste your compiler line.
29 >
30 >
31
32 I worked around it by selecting the nossp gcc profile, compiled all the
33 modules and switched back to the standard hardened gcc profile. Now I
34 cannot reproduce it.
35
36 Could it have been a bug in portage that have been fixed? (I did a
37 emerge -ssync today to get that gdbm update)
38
39 Thanks!
40
41 --
42 Natanael Copa
43
44 --
45 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] upgrading to gcc-3.3.6 "Peter S. Mazinger" <ps.m@×××.net>