1 |
2006/1/9, Daiajo Tibdixious <daiajo@×××××.com>: |
2 |
> |
3 |
> On 1/9/06, Daiajo Tibdixious <daiajo@×××××.com> wrote: |
4 |
> > On 1/9/06, Harm Geerts <harmgeerts@××××.nl> wrote: |
5 |
> > > On Monday 09 January 2006 10:51, Daiajo Tibdixious wrote: |
6 |
> > > > # emerge --ask --verbose gcc |
7 |
> > > > |
8 |
> > > > These are the packages that I would merge, in order: |
9 |
> > > > |
10 |
> > > > Calculating dependencies ...done! |
11 |
> > > > [ebuild N ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap |
12 |
> > > > -boundschecking -build +fortran -gcj +gtk -hardened -ip28 -mudflap |
13 |
> > > > (-multilib) +multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc |
14 |
> > > > -objc-gc -vanilla 0 kB |
15 |
> > > > |
16 |
> > > > fails with this error |
17 |
> > > > /usr/x86_64-pc-linux-gnu/bin/ld: cannot find |
18 |
> > > > /emul/linux/x86/lib/libc.so.6 |
19 |
> > > > |
20 |
> > > > # equery belongs libc.so.6 |
21 |
> > > > Searching for file 'libc.so.6' in *... |
22 |
> > > > sys-libs/glibc-2.3.5-r2 (/lib/libc.so.6 -> libc-2.3.5.so) |
23 |
> > > > # ls -l /lib/libc.so.6 |
24 |
> > > > lrwxrwxrwx 1 root root 13 Jan 3 20:27 /lib/libc.so.6 -> |
25 |
> libc-2.3.5.so |
26 |
> > > > |
27 |
> > > > I tried linking this file into the emul directory - it is ignored |
28 |
> > > > since its 64 bit |
29 |
> > > > # file /lib/libc-2.3.5.so |
30 |
> > > > /lib/libc-2.3.5.so: ELF 64-bit LSB shared object, AMD x86-64, |
31 |
> version |
32 |
> > > > 1 (SYSV), stripped |
33 |
> > > > |
34 |
> > > > I expected to find the file in one of the emul-linux-x86-* I emerged |
35 |
> > > > baselibs, glibc, gtklibs, & qtlibs with no joy. |
36 |
> > > > Googling turned up similar problems but no solution. |
37 |
> > > |
38 |
> > > |
39 |
> http://www.mail-archive.com/gentoo-amd64@l.g.o/msg02747.html |
40 |
> > > They weren't kidding ;) |
41 |
> > > -- |
42 |
> > |
43 |
> > When I ugraded to 2005.0, gcc 3.4.4-r1 was working fine. |
44 |
> > Yours truely did the most stupid thing and ummerged gcc, crippling |
45 |
> > python and hence all of portage. I recoverd via the how-to |
46 |
> > specifically for this. Of cousrse there was no binary for gcc 3.4.4 so |
47 |
> > I immediately tried to emerge it. |
48 |
> > |
49 |
> > This is not an upgrade problem, its a dufus admin (me) problem. |
50 |
> > |
51 |
> > BTW the emul-linux-x86-glibc ebuild says "32bit libc is now provided |
52 |
> > by sys-libs/glibc." |
53 |
> > however I can't emerge glibc because it depends on gcc 3.4.4 which needs |
54 |
> > glibc. |
55 |
> > A catch 22. |
56 |
> > |
57 |
> > I need a binary glibc 2.3.5-r2 |
58 |
> |
59 |
> Found a binary |
60 |
> |
61 |
> http://chinstrap.alternating.net/files/2005.0/grp/i686/glibc-2.3.5-r2.tbz2 |
62 |
> (no 386 there) |
63 |
> only needed 2 files |
64 |
> libc-2.3.5.so |
65 |
> # ln -s libc-2.3.5.so libc.so.6 |
66 |
> libc_nonshared.a |
67 |
> now gcc fails with |
68 |
> checking for library containing gettext... configure: error: Link |
69 |
> tests are not allowed after GCC_NO_EXECUTABLES. |
70 |
> make[1]: *** [configure-target-libstdc++-v3] Error 1 |
71 |
> make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build' |
72 |
> make: *** [profiledbootstrap] Error 2 |
73 |
> |
74 |
> !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. |
75 |
> !!! Function gcc_do_make, Line 1319, Exitcode 2 |
76 |
> !!! emake failed with profiledbootstrap |
77 |
> |
78 |
> Anyway 23:30 here, probably obvious in the morning. |
79 |
> |
80 |
> -- |
81 |
> gentoo-amd64@g.o mailing list |
82 |
> |
83 |
> Try to find a an amd64 package, not i686. And also take a look at |
84 |
http://www.gentoo.org/doc/en/gcc-upgrading.xml , there are things to take |
85 |
care about with libstdc++ |