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
22.09.2011, 23:39, "Martin Luessi" <mluessi@×××××.com>:
> 2011/9/22 Konstantin Tokarev <annulen@××××××.ru>: > >> š22.09.2011, 23:32, "Martin Luessi" <mluessi@×××××.com>: >>> šOn Thu, Sep 22, 2011 at 10:45 AM, Ricky Egeland <ricky.egeland@×××××.com> wrote: >>>> ššOn Sep 22, 2011, at 8:35 AM, Martin Luessi wrote: >>>>> ššHi, >>>>> >>>>> ššDid you ever figure out how to fix this? I have the same problem on >>>>> ššCentOS 5.6. I was able to install 4.5.2-r00.1 using the "vanilla" use >>>>> ššfalg, but it seems like this creates trouble later on (things being >>>>> ššlinked to system libraries instead the ones in prefix). >>>> ššNo, I never got it working. šI had to give up and move on. >>>> >>>> šš-- Ricky >>> šRicky, >>> >>> šI am sorry to hear that. I belive the problem is that CentOS uses a >>> švery old glibc version (2.5), which isn't compatible with newer gcc >>> šversions. >> šHow can it be incompatible with gcc 4.4 if CentOS has 4.4.0 in repositories which >> šworks perfectly. > > I don't know.. all I know is that my workstation at work uses CentOS > 5.6 with gcc 4.1.2 and glibc 2.5, which is consistent with > http://distrowatch.com/table.php?distribution=centos
Maybe you should try RedHat branch of GCC (or just deceive portage and use binary 4.4.0 from CentOS repositories to build prefix) -- Regards, Konstantin