Gentoo Archives: gentoo-amd64

From: Branko Badrljica <brankob@××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Can not compile gcc
Date: Fri, 14 Nov 2008 18:38:58
Message-Id: 491DD204.1010509@avtomatika.com
In Reply to: Re: [gentoo-amd64] Can not compile gcc by Justin
1 Justin wrote:
2 > Barry Schwartz schrieb:
3 >
4 >> Mansour Al Akeel <mansour.alakeel@×××××.com> skribis:
5 >>
6 >>
7 >>> Any idea ?
8 >>>
9 >>>
10 >> If you use ccache, try emptying it.
11 >>
12 >>
13 >>
14 >>
15 >>
16 > I think there is something else wrong, because it fails in the configure
17 > phase.
18 >
19 > Send us an emerge --info output, please.
20 >
21 >
22
23 I'm not an expert, but it seems that it was trying to compile 64-bit
24 test code with -m32 flag:
25
26 >The log file:
27 >checking for x86_64-pc-linux-gnu-gcc...
28 /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc
29 -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/
30 -B/usr/x86_64-pc-linux-gnu/bin/ >-B/usr/x86_64-pc-linux-gnu/lib/
31 -isystem /usr/x86_64-pc-linux-gnu/include -isystem
32 /usr/x86_64-pc-linux-gnu/sys-include -m32
33
34
35 Perhaps he should check his make.conf for CHOST and CLAGS ?

Replies

Subject Author
Re: [gentoo-amd64] Can not compile gcc Justin <justin@×××××××××.net>