1 |
Hi, |
2 |
|
3 |
I'm not able to emerge gcc-4.2.3 on amd64-linux (on RHEL4). It |
4 |
fails both during a bootstrap process and when re-emerging within an |
5 |
already existing installation. The problem seems to be located somewhere |
6 |
in the multilib area: |
7 |
|
8 |
The gcc-4.2.3/libstdc++v3/configure script, called within |
9 |
build/x86_64-pc-linux-gnu/32/libstdc++-v3, is setting "gcc_no_link" in |
10 |
line 2664 depending on the result of: |
11 |
|
12 |
> configure:2664: $EPREFIX/var/tmp/portage/sys-devel/gcc-4.2.3/work/build/./gcc/xgcc -B$EPREFIX/var/tmp/portage/sys-devel/gcc-4.2.3/work/build/./gcc/ -B$EPREFIX/usr/x86_64-pc-linux-gnu/bin/ -B$EPREFIX/usr/x86_64-pc-linux-gnu/lib/ -isystem $EPREFIX/usr/x86_64-pc-linux-gnu/include -isystem $EPREFIX/usr/x86_64-pc-linux-gnu/sys-include -m32 -o conftest conftest.c >&5 |
13 |
|
14 |
Unfortunately, this fails with: |
15 |
|
16 |
> $EPREFIX/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible $EPREFIX/var/tmp/portage/sys-devel/gcc-4.2.3/work/build/./gcc/libgcc.a when searching for -lgcc |
17 |
> $EPREFIX/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc |
18 |
> collect2: ld returned 1 exit status |
19 |
> configure:2667: $? = 1 |
20 |
|
21 |
Due to this failed run, "gcc_no_link" is set to "yes". |
22 |
|
23 |
It's obvious that work/build/gcc/libgcc.a is incompatible due to 64bit, |
24 |
but work/build/gcc/32/libgcc.a has been created. |
25 |
|
26 |
|
27 |
Later on, |
28 |
> checking for ld that supports -Wl,--gc-sections... |
29 |
fails with |
30 |
> configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. |
31 |
due to "gcc_no_link" set to "yes". |
32 |
|
33 |
|
34 |
Any hints are appreciated! |
35 |
|
36 |
|
37 |
Best regards, |
38 |
Stefan |
39 |
|
40 |
-- |
41 |
gentoo-alt@l.g.o mailing list |