Gentoo Archives: gentoo-alt

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

Replies

Subject Author
Re: [gentoo-alt] bootstrapping gcc on AIX system - problems Jeremy O <jer.gentoo@×××××.com>