Gentoo Archives: gentoo-alt

From: Jeremy O <jer.gentoo@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] bootstrapping gcc on AIX system - problems
Date: Wed, 17 Oct 2007 13:59:08
Message-Id: 90b936c0710170648w24946d2cpab56f20212687ba5@mail.gmail.com
In Reply to: Re: [gentoo-alt] bootstrapping gcc on AIX system - problems by Fabian Groffen
1 On 10/17/07, Fabian Groffen <grobian@g.o> wrote:
2 > On 17-10-2007 08:22:31 -0500, Jeremy O wrote:
3 > > Hello,
4 > > I'm trying to bootstrap myself a gcc from the bootstrap script on
5 > > a AIX 5.3 host. I have hit multiple hurdles and got around them so
6 > > far. However, I'm stuck now.
7 > >
8 > > I've been talking to haubi via b.g.o.
9 > > ([1]http://bugs.gentoo.org/show_bug.cgi?id=194635) but I hope to
10 > > get more exposure here.
11 > >
12 > > Does anyone know what this means and how I can avoid it. It
13 > > *looks* like gcc is trying to build a cross-compiler for some
14 > > reason.
15 >
16 > When using the bootstrap script, I always get warnings from configure
17 > that something is wrong with/for cross-compiling. I think the problem
18 > is that we only pass two of the three (host, build, target) to the
19 > configure call, whereas we should pass them all three. For what reason
20 > we pass them, is unknown to me. Maybe we also pass them to gcc, and I
21 > think gcc in particular is pretty sensitive to them. It may be best to
22 > remove the --host, --target and --build arguments to the gcc configure
23 > call, and let it sort it out itself.
24
25 I can try that. I only see the "host" getting passed to gcc's
26 configure on line 345 of the bootstrap-prefix.sh script. Should I
27 remove anything else?
28
29 >
30 > > --
31 > > checking for sin in -lm... configure: error: Link tests are not
32 > > allowed after GCC_NO_EXECUTABLES.
33 > > make[2]: *** [configure-target-libstdc++-v3] Error 1
34 > > --
35 > >
36 > > I called configure and make via the bootstrap-prefix.sh script -
37 > > using GNU make. Any ideas?
38 > >
39 > > Thanks,
40 > > Jeremy
41 >
42 > --
43 > Fabian Groffen
44 > Gentoo on a different level
45 > --
46 > gentoo-alt@g.o mailing list
47 >
48 >
49 --
50 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] bootstrapping gcc on AIX system - problems Fabian Groffen <grobian@g.o>