Gentoo Archives: gentoo-alt

From: Galaxy <galaxy001@×××××.com>
To: Jeremy Olexa <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] How to make prefix using new glibc ?
Date: Wed, 18 Aug 2010 05:01:20
Message-Id: 1304473363.20100818130101@gmail.com
In Reply to: Re: [gentoo-alt] How to make prefix using new glibc ? by Jeremy Olexa
1 I ran qdepends on the main Gentoo tree.
2 Since glibc is not a part of the prefix tree, of course it will not contains dependence on glibc there.
3
4 $ ldd /usr/bin/gcc
5 linux-vdso.so.1 => (0x00007fff4ab7e000)
6 libc.so.6 => /lib/libc.so.6 (0x00007fc0e5e34000)
7 /lib64/ld-linux-x86-64.so.2 (0x00007fc0e6190000)
8
9 Since gcc do linked to libc,
10 and the version required is >2.8 from the main tree,
11 and I did failed on emerge gcc and binutils at the link step under glibc-2.4.
12 I come to the answer that without glibc-2.8, it cannot be done for gcc-4.4 .
13
14 It will be helpful if someone can make list on foreach glibc version, which highest version of gcc and binutils can be compiled.
15
16 Well, I should make more searching or read the document of GNU libc.
17 Still, I do think this should be a common problem for cluster users.
18
19 > On Wed, 18 Aug 2010 10:55:08 +0800, Galaxy <galaxy001@×××××.com> wrote:
20 >> qdepends gcc-4.4
21 >> sys-devel/gcc-4.4.3-r2: >=sys-libs/zlib-1.1.4
22 >> >=sys-devel/gcc-config-1.4 virtual/libiconv >=dev-libs/gmp-4.2.1
23 >> >=dev-libs/mpfr-2.3.2 >=sys-libs/ncurses-5.2-r2 sys-devel/gettext
24 >> >=sys-apps/texinfo-4.8 >=sys-devel/bison-1.875 >=sys-libs/glibc-2.8
25 >> >=sys-devel/binutils-2.15.94 sys-devel/gnuconfig >=sys-apps/sed-4
26 >>
27 >> The '>=sys-libs/glibc-2.8' indicate that I can never run gcc-4.4
28 >> under glibc-2.4.
29 >> That is why I need to prefix another glibc.
30
31 > uh..are you using a Gentoo Prefix portage tree, right? We've been
32 > avoiding that glibc dep for ages now...
33
34 > %% qdepends gcc-4.4
35 > sys-devel/gcc-4.4.4-r1: >=sys-libs/zlib-1.1.4
36 >>=sys-devel/gcc-config-1.4 virtual/libiconv >=dev-libs/gmp-4.2.1
37 >>=dev-libs/mpfr-2.3.2 >=sys-libs/ncurses-5.2-r2 sys-devel/gettext
38 >>=sys-apps/texinfo-4.8 >=sys-devel/bison-1.875
39 >>=sys-devel/binutils-2.15.94 sys-devel/gnuconfig >=sys-apps/sed-4
40
41 > Anyway, I'm going to gracefully bow out from this thread because it
42 > doesn't make sense anymore. Try to build glibc, please report back when
43 > successful.
44
45 > Good luck,
46 > -Jeremy

Replies