Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] C compiler cannot create executables
Date: Mon, 05 Nov 2007 23:51:55
Message-Id: 1194306650.13461.5.camel@hangover.linbsd.net
In Reply to: Re: [gentoo-embedded] C compiler cannot create executables by Peter Stuge
1 On Mon, 2007-11-05 at 23:41 +0100, Peter Stuge wrote:
2 > The error message in subject is fairly good.
3 >
4 >
5 > On Mon, Nov 05, 2007 at 01:55:37PM -0500, Jean-Claude Gervais wrote:
6 > > I installed Gentoo on an AMD Geode by chrooting its flashcard hard-disk
7 > > on a pentium4 machine.
8 > >
9 > > After installing everything and booting the system, I have exported
10 > > the /usr/portage folder on my workstation so the Geode can continue to
11 > > emerge programs without being taken offline and chrooted.
12 >
13 > ..
14 >
15 > > configure:1790: checking for C compiler default output file name
16 > > configure:1793: i586-gentoo-linux-uclibc-gcc -Os conftest.c >&5
17 > > i586-gentoo-linux-uclibc-gcc: Internal error: Segmentation fault
18 > > (program as)
19 >
20 > as crashes.
21 >
22 >
23
24
25 > > CHOST="i586-gentoo-linux-uclibc"
26 >
27 > Is this really right?
28
29 Nothing wrong with that.. It's a perfectly valid CHOST= combo on Gentoo.
30
31 > How was binutils built? Perhaps try a different version.
32
33 Good suggestion. binutils-2.18 may be the cause of the problem..
34
35 >
36 > Try pc instead of gentoo?
37 >
38 > Try gnu instead of uclibc?
39
40 These two would probably be a complete waste of his time/resources.
41
42 >
43 > //Peter
44 --
45 Ned Ludd <solar@g.o>
46 Gentoo Linux
47
48 --
49 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] C compiler cannot create executables Jean-Claude Gervais <jc.gervais@×××××××××.ca>