Gentoo Archives: gentoo-alt

From: Konstantin Tokarev <annulen@××××××.ru>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] emerge gcc 4.4.x/4.5.x fails on CentOS 5.5
Date: Thu, 22 Sep 2011 19:47:11
Message-Id: 115521316720814@web11.yandex.ru
In Reply to: Re: [gentoo-alt] emerge gcc 4.4.x/4.5.x fails on CentOS 5.5 by Martin Luessi
1 22.09.2011, 23:39, "Martin Luessi" <mluessi@×××××.com>:
2 > 2011/9/22 Konstantin Tokarev <annulen@××××××.ru>:
3 >
4 >> š22.09.2011, 23:32, "Martin Luessi" <mluessi@×××××.com>:
5 >>> šOn Thu, Sep 22, 2011 at 10:45 AM, Ricky Egeland <ricky.egeland@×××××.com> wrote:
6 >>>> ššOn Sep 22, 2011, at 8:35 AM, Martin Luessi wrote:
7 >>>>> ššHi,
8 >>>>>
9 >>>>> ššDid you ever figure out how to fix this? I have the same problem on
10 >>>>> ššCentOS 5.6. I was able to install 4.5.2-r00.1 using the "vanilla" use
11 >>>>> ššfalg, but it seems like this creates trouble later on (things being
12 >>>>> ššlinked to system libraries instead the ones in prefix).
13 >>>> ššNo, I never got it working. šI had to give up and move on.
14 >>>>
15 >>>> šš-- Ricky
16 >>> šRicky,
17 >>>
18 >>> šI am sorry to hear that. I belive the problem is that CentOS uses a
19 >>> švery old glibc version (2.5), which isn't compatible with newer gcc
20 >>> šversions.
21 >> šHow can it be incompatible with gcc 4.4 if CentOS has 4.4.0 in repositories which
22 >> šworks perfectly.
23 >
24 > I don't know.. all I know is that my workstation at work uses CentOS
25 > 5.6 with gcc 4.1.2 and glibc 2.5, which is consistent with
26 > http://distrowatch.com/table.php?distribution=centos
27
28 Maybe you should try RedHat branch of GCC (or just deceive portage and use binary
29 4.4.0 from CentOS repositories to build prefix)
30
31 --
32 Regards,
33 Konstantin