Gentoo Archives: gentoo-dev

From: Simon Strandman <simon.strandman@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] toolchain.eclass and gcc 4.1 snapshots
Date: Sat, 25 Mar 2006 13:15:21
1 It seems like toolchain.eclass does something wrong when configuring gcc
2 4.1 snapshots. I decided to try gcc 4.1 on my server so I created a
3 gcc- ebuild and defined the SNAPSHOT variable in it
4 (current cvs has a lot of bugfixes since the release). This is the way
5 I've done it with gcc 4.0 and I never had any problems then. The ebuild
6 emerges without problems but it installs files in both
7 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1-20060324 and
8 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1. So when I try to emerge anything
9 it always fails with errors like this:
11 configure:2239: i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe
12 -fomit-frame-pointer -D_FORTIFY_SOURCE=1 conftest.c >&5
13 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
14 cannot find -lgcc_s
15 collect2: ld returned 1 exit status
17 Just copying over the files from one dir to the other and then
18 symlinking it works around the problems. Any ideas?
19 --
20 gentoo-dev@g.o mailing list


Subject Author
[gentoo-dev] Re: toolchain.eclass and gcc 4.1 snapshots R Hill <×××××.com>