1 |
I upgraded to gcc-3.3.6 today and when recompiling the drivers (kernel |
2 |
modules in the portage tree) I got some warnings and the modules fails |
3 |
to load: |
4 |
|
5 |
* Updating module dependencies for 2.6.11-hardened-r15 ... |
6 |
WARNING: //lib/modules/2.6.11-hardened-r15/fs/fuse.ko needs unknown |
7 |
symbol __sta ck_smash_handler |
8 |
WARNING: //lib/modules/2.6.11-hardened-r15/fs/fuse.ko needs unknown |
9 |
symbol __gua rd |
10 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wireless/ipw2200.ko needs |
11 |
unknown symbol __stack_smash_handler |
12 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wireless/ipw2200.ko needs |
13 |
unknown symbol __guard |
14 |
WARNING: |
15 |
//lib/modules/2.6.11-hardened-r15/net/ieee80211/ieee80211_crypt_tkip.ko |
16 |
needs unknown symbol __stack_smash_handler |
17 |
WARNING: |
18 |
//lib/modules/2.6.11-hardened-r15/net/ieee80211/ieee80211_crypt_wep.ko |
19 |
needs unknown symbol __stack_smash_handler |
20 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ieee80211/ieee80211.ko |
21 |
needs unkn own symbol __stack_smash_handler |
22 |
WARNING: |
23 |
//lib/modules/2.6.11-hardened-r15/net/ieee80211_crypt_wep-r8180.ko need |
24 |
s unknown symbol __stack_smash_handler |
25 |
WARNING: |
26 |
//lib/modules/2.6.11-hardened-r15/net/ieee80211_crypt_wep-r8180.ko need |
27 |
s unknown symbol __guard |
28 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ieee80211_crypt-r8180.ko |
29 |
needs un known symbol __stack_smash_handler |
30 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ieee80211_crypt-r8180.ko |
31 |
needs un known symbol __guard |
32 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ieee80211-r8180.ko needs |
33 |
unknown symbol __stack_smash_handler |
34 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ieee80211-r8180.ko needs |
35 |
unknown symbol __guard |
36 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/r8180.ko needs unknown |
37 |
symbol __s tack_smash_handler |
38 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/r8180.ko needs unknown |
39 |
symbol __g uard |
40 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/rt2500.ko needs unknown |
41 |
symbol __ stack_smash_handler |
42 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/rt2500.ko needs unknown |
43 |
symbol __ guard |
44 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ath_pci.ko needs unknown |
45 |
symbol _ _stack_smash_handler |
46 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ath_rate_onoe.ko needs |
47 |
unknown sy mbol __stack_smash_handler |
48 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ath_rate_amrr.ko needs |
49 |
unknown sy mbol __stack_smash_handler |
50 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wlan_xauth.ko needs |
51 |
unknown symbo l __stack_smash_handler |
52 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wlan_wep.ko needs unknown |
53 |
symbol __stack_smash_handler |
54 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wlan_tkip.ko needs |
55 |
unknown symbol __stack_smash_handler |
56 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/wlan.ko needs unknown |
57 |
symbol __st ack_smash_handler |
58 |
WARNING: //lib/modules/2.6.11-hardened-r15/net/ath_hal.ko needs unknown |
59 |
symbol _ _stack_smash_handler |
60 |
WARNING: //lib/modules/2.6.11-hardened-r15/usb/video/spca5xx.ko needs |
61 |
unknown sy mbol __stack_smash_handler |
62 |
WARNING: //lib/modules/2.6.11-hardened-r15/usb/video/spca5xx.ko needs |
63 |
unknown sy mbol |
64 |
__guard [ ok ] |
65 |
* Adding module to moduledb. |
66 |
>>> Regenerating /etc/ld.so.cache... |
67 |
>>> sys-fs/fuse-2.3.0 merged. |
68 |
|
69 |
So I guess there is something wrong with my gcc upgrade. I guess I need |
70 |
to do a proper toolchain upgrade? |
71 |
|
72 |
I have already compiled those (in specified order): |
73 |
gcc (3.3.5 -> 3.3.6) uclibc binutils |
74 |
|
75 |
But it still fails to find the SSP symbols. |
76 |
What can I do to fix it? Do I have to recompile the world? (like |
77 |
described in http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml) |
78 |
|
79 |
Are there any shortcuts? |
80 |
|
81 |
|
82 |
# gcc-config -l |
83 |
[1] i386-gentoo-linux-uclibc-3.3.5-20050130-hardened |
84 |
[2] i386-gentoo-linux-uclibc-3.3.6 * |
85 |
[3] i386-gentoo-linux-uclibc-3.3.6-hardenednopie |
86 |
[4] i386-gentoo-linux-uclibc-3.3.6-hardenednopiessp |
87 |
[5] i386-gentoo-linux-uclibc-3.3.6-hardenednossp |
88 |
[6] i386-gentoo-linux-uclibc-3.3.6-vanilla |
89 |
|
90 |
|
91 |
-- |
92 |
Natanael Copa |
93 |
|
94 |
-- |
95 |
gentoo-embedded@g.o mailing list |