Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] gcc-4.3.3 on Centos 5.3 ~x86-linux
Date: Wed, 26 Aug 2009 20:31:58
Message-Id: 4A94F6C4.3020204@gentoo.org
In Reply to: [gentoo-alt] gcc-4.3.3 on Centos 5.3 ~x86-linux by Stelian Ionescu
1 Stelian Ionescu wrote:
2 > Is gcc-4.3.3 known to work on CentOS 5.3 ~x86-linux ? I keep getting
3 > these errors when trying to compile for instance findutils.
4 >
5 > From config.log:
6 >
7 > configure:7048: checking sys/param.h usability
8 > configure:7065: i686-pc-linux-gnu-gcc -std=gnu99 -c -O2 -pipe
9 > -march=pentium4 conftest.c >&5
10 > {standard input}: Assembler messages:
11 > {standard input}:93: Error: symbol `pread64' is already defined
12
13 > I'm not sure how much of this has to do with the fact that CentOS ships
14 > with a 2.6.18 kernel and glibc 2.5
15
16 Yes, >=gcc-4.3 does not work with <glibc-2.8 due to FORTIFY_SOURCE.
17
18 I had to p.mask >=gcc-4.3 on RHEL 5.2 here, which also has glibc-2.5.
19
20 But I'm not sure we should mask >=gcc-4.3 in general for x86-linux profile.
21
22 /haubi/
23 --
24 Michael Haubenwallner
25 Gentoo on a different level