1 |
I've found that using gcc-3.4.4-r1 made a lot of python modules going with |
2 |
"unresolved symbols", even when they compiled shamelessly |
3 |
|
4 |
I switched to gcc-3.3.6 and then everything went right! |
5 |
|
6 |
Just some food for thought. |
7 |
|
8 |
Cheers |
9 |
|
10 |
Douglas |
11 |
|
12 |
|
13 |
On 1/13/06, Natanael Copa <mlists@××××××.org> wrote: |
14 |
> |
15 |
> On man, 2006-01-09 at 17:20 +0100, Peter S. Mazinger wrote: |
16 |
> > On Sat, 7 Jan 2006, Mike Frysinger wrote: |
17 |
> > |
18 |
> > > On Saturday 07 January 2006 02:30, Natanael Copa wrote: |
19 |
> > > > On lør, 2006-01-07 at 00:44 -0500, Mike Frysinger wrote: |
20 |
> > > > > On Wednesday 04 January 2006 03:52, Natanael Copa wrote: |
21 |
> > > > > > I got a report from someone who experienced lockups when using |
22 |
> > > > > > gentoo-embedded built system (2.6.14-hardened-r1) |
23 |
> |
24 |
> > > > When I disabled "Configure standard kernel features (for small |
25 |
> > > > systems)" (gcc -Os) the problem magically went away. |
26 |
> > > |
27 |
> > > the kernel can be pretty sensitive to optimizations |
28 |
> > |
29 |
> > if kernel is built w/ gcc-3.4.4 and -Os (at least I had that for 2.4.x |
30 |
> > kernels) it "optimizes away" memcmp and the kernels have gotten a patch |
31 |
> > to overcome this, the same problem does not occur w/ gcc-3.3.x. |
32 |
> > |
33 |
> > > > So I think its a bug in gcc version 3.4.4 (Gentoo Hardened 3.4.4-r1, |
34 |
> > > > ssp-3.4.4-1.0, pie-8.7.8) |
35 |
> > > > |
36 |
> > > > Makes me nervous because I have built everything with -Os. |
37 |
> > |
38 |
> > I have built everything w/ -Os and do not have trouble w/ it |
39 |
> |
40 |
> I have researched this and found out that it is not the -Os itself that |
41 |
> causes this, but it is something else under "Configure standard kernel |
42 |
> features (for small systems)". I'm not sure of exactly what but I know |
43 |
> at least that it is not "Optimize for size". I have turned all options |
44 |
> under "Configure standard kernel features (for small systems)" except |
45 |
> "Load all symbols for debugging/kksymoops" (including optimize for size |
46 |
> (-Os)) and done the netload test all night. This morning the computer |
47 |
> was still up. When I have an unstable kernel it hangs after an hour or |
48 |
> two. |
49 |
> |
50 |
> I have tried to flip the "futex support" and that did not make any |
51 |
> difference (anyone who know how this affects uclibc based apps btw? Do I |
52 |
> need futex support?) |
53 |
> |
54 |
> I think I have narrowed down the problem to one of those: |
55 |
> * BUG() support |
56 |
> * Enable full-sized data structures for core |
57 |
> * Enable eventpoll support |
58 |
> |
59 |
> But exactly what, I dont know. If anyone here have had any problems with |
60 |
> disabling one of those, I'm very interested to hear. |
61 |
> |
62 |
> Lots of bla bla here, I just thought it could be good for you guys to |
63 |
> know that turning off of those might make your kernel unstable, while |
64 |
> -Os should be ok with current gcc. |
65 |
> |
66 |
> |
67 |
> -- |
68 |
> Natanael Copa |
69 |
> |
70 |
> -- |
71 |
> gentoo-embedded@g.o mailing list |
72 |
> |
73 |
> |