1 |
(This is the continuation of a thread started in gentoo-user). |
2 |
|
3 |
I'm not clear on this... Did you bootstrap twice then? Once from vanilla |
4 |
Gentoo CD gcc-2.95.3 to gcc-3.1 and then once more to rebuild glibc with |
5 |
gcc-3.1? |
6 |
|
7 |
If you did I'm a bit surprised as I did try that as well with those very flags |
8 |
(-march=i686 -O3 -pipe) and it still crapped out in the same place?? |
9 |
|
10 |
If you didn't then you have a glibc that was built by gcc-2.95.3. I'm not |
11 |
fully up to speed on potential abi incompatibilities but isn't that asking |
12 |
for trouble? |
13 |
|
14 |
While we're on the issue, I have another questions in relation to this: |
15 |
|
16 |
I have seen comments in various places (incl. the LFS source Wilbert was |
17 |
refering to) that glibc should be built with a plain vanilla gcc without any |
18 |
optimization at all but then you see others who seem to be running quite |
19 |
happily with glibcs that have been optimized. This seems a particularly |
20 |
thorny issue as some optimizations affect the abi (-msse -mfpmath=sse on |
21 |
athlons for example) and certainly this could lead to all sorts of troubles |
22 |
the day you try to install a binary package, couldn't it? |
23 |
|
24 |
If that's correct then the logical conclusion would be not to do any |
25 |
optimization or at least take care to make sure that the abi is unaffected? |
26 |
|
27 |
While we're on the subject am I correct in stating that any binary package in |
28 |
widespread use today (Opera. JBuilder) will not run under a gcc-3.1 system |
29 |
because of changes in the abi between 2.95.3 and 3.1? (Until the vendors |
30 |
release new versions compiled with gcc-3.1 that is). Or is there some sort of |
31 |
compatibility layer that handles this? |
32 |
|
33 |
Sorry for the length... |
34 |
|
35 |
/Lasse |
36 |
|
37 |
|
38 |
On Wed, 22 May 2002 00:56, Spider wrote: |
39 |
> Okay, |
40 |
> I've succesfully bootstrapped gcc 3.1 on my system ( ahtlon-tbird ) but, |
41 |
> i used i686 optimizations in the boostrap process (-march=i686 -O3 |
42 |
> -pipe) and it works (even better with the 3.1-r1 that doesn't have the |
43 |
> texinfo overhead) |
44 |
> |
45 |
> Now, Ive seen the same problem here if you compile the three with |
46 |
> ahtlon-tbird, then any succeeding compile of glibc will break with the |
47 |
> broken pipe, so this seems to be either binutils, glibc gettext or gcc |
48 |
> bug... hard to tell which, isn't it? ;) |
49 |
> |
50 |
> since it works with i686 I'd just suggest that you stay with that for |
51 |
> now. |
52 |
> |
53 |
> perl still breaks (use --buildpkg and --usepkg if you want it to work |
54 |
> nicely for you) |
55 |
> |
56 |
> xfree86 is still to be fixed. ( I want a faster machine, 82 minutes |
57 |
> between ebuild change and result isn't my idea of fun :p ;) |
58 |
> |
59 |
> the most recent ncurses will break (use the older snapshot and you're |
60 |
> ok) |
61 |
> |
62 |
> |
63 |
> well.. thats it for now. |
64 |
> //Spider |
65 |
> |
66 |
> |
67 |
> begin quote |
68 |
> On Tue, 21 May 2002 12:34:16 +1200 |
69 |
> |
70 |
> Lars Pechan <lars.pechan@××××××××××××.nz> wrote: |
71 |
> > Hello, |
72 |
> > has anybody successfully boostrapped based on gcc-3.1? I tried this |
73 |
> > over the weekend by starting from scratch on a new partition, emerging |
74 |
> > gcc-3.1 and then bootstrapping. (For details see |
75 |
> > http://forums.gentoo.org/viewtopic.php?t=2902 ). |
76 |
> > |
77 |
> > The build would consistently fail with a broken pipe when compiling |
78 |
> > glibc (sorry don't have the details on hand). |
79 |
> > |
80 |
> > And yes, I realise this probably wasn't going to work but one has to |
81 |
> > try these things... |
82 |
> > |
83 |
> > I'm sure other people haven't managed to keep away from doing the same |
84 |
> > so I'm curious to see if they've had the same problem. |
85 |
> > |
86 |
> > |
87 |
> > Regards, |
88 |
> > |
89 |
> > /Lasse |
90 |
> > |
91 |
> > _______________________________________________ |
92 |
> > gentoo-user mailing list |
93 |
> > gentoo-user@g.o |
94 |
> > http://lists.gentoo.org/mailman/listinfo/gentoo-user |