Gentoo Archives: gentoo-alt

From: "François Bissey" <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Prefix bootstrap state
Date: Tue, 18 Feb 2014 02:49:50
Message-Id: 1725889.PqVh9TG7bf@qcd-nzi3
In Reply to: Re: [gentoo-alt] Prefix bootstrap state by "François Bissey"
1 I got the bootstrap script from files.redlizard.nl and it is going much
2 better.
3 I passed gcc at least so I am assuming things will be OK.
4 I got complaints that the sandbox binary has problems however.
5
6 Francois
7
8 On Tue, 18 Feb 2014 09:38:08 François Bissey wrote:
9 >
10 > Where is the current bootstrap script? I tried the one at
11 > dev.gentoo.org/~heroxbd/boostrap-rap.sh
12 > on a SLES11SP1 ppc64 install and it failed while emerging gcc, strangely
13 > it build gcc all right during the initial bootstrap.
14 > The failure is something I have seen numerous times while building gcc
15 > (not in a prefix) on that hardware (both aix and linux). Namely stage 2
16 > of gcc fails over because it fails to find on the library stage 1 gcc
17 > was built against:
18 >
19 > make[3]: Leaving directory `/hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
20 > devel/gcc-4.7.3/work/build/gcc'
21 > mkdir -p -- powerpc64-pc-linux-gnu/libgcc
22 > Checking multilib configuration for libgcc...
23 > Configuring stage 1 in powerpc64-pc-linux-gnu/libgcc
24 > configure: creating cache ./config.cache
25 > checking build system type... powerpc64-pc-linux-gnu
26 > checking host system type... powerpc64-pc-linux-gnu
27 > checking for --enable-version-specific-runtime-libs... no
28 > checking for a BSD-compatible install... /usr/bin/install -c
29 > checking for gawk... gawk
30 > checking for powerpc64-pc-linux-gnu-ar...
31 > /hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/bin/ar
32 > checking for powerpc64-pc-linux-gnu-lipo... lipo
33 > checking for powerpc64-pc-linux-gnu-nm...
34 > /hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
35 > devel/gcc-4.7.3/work/build/./gcc/nm
36 > checking for powerpc64-pc-linux-gnu-ranlib...
37 > /hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/bin/ranlib
38 > checking for powerpc64-pc-linux-gnu-strip...
39 > /hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/bin/strip
40 > checking whether ln -s works... yes
41 > checking for powerpc64-pc-linux-gnu-gcc...
42 > /hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
43 > devel/gcc-4.7.3/work/build/./gcc/xgcc -
44 > B/hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
45 > devel/gcc-4.7.3/work/build/./gcc/ -B/hpc/scratch/frb15/gentoo/usr/powerpc64-
46 > pc-linux-gnu/bin/
47 > -B/hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/lib/ -isystem
48 > /hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/include -isystem
49 > /hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/sys-include
50 > checking for suffix of object files... configure: error: in
51 > `/hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
52 > devel/gcc-4.7.3/work/build/powerpc64-pc-linux-gnu/libgcc':
53 > configure: error: cannot compute suffix of object files: cannot compile
54 > See `config.log' for more details.
55 >
56 >
57 > And when you look at config.log in build/powerpc64-pc-linux-gnu/libgcc
58 > you find this:
59 > configure:3562: checking for suffix of object files
60 > configure:3584: /hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
61 > devel/gcc-4.7.3/work/build/./gcc/xgcc -B/hpc/scratch/frb15/gentoo/var/tmp/p
62 > ortage/sys-devel/gcc-4.7.3/work/build/./gcc/ -
63 > B/hpc/scratch/frb15/gentoo/usr/powerpc64-pc-linux-gnu/bin/ -
64 > B/hpc/scratch/frb15/gentoo/usr/
65 > powerpc64-pc-linux-gnu/lib/ -isystem
66 > /hpc/scratch/frb15/gentoo/usr/powerpc64- pc-linux-gnu/include -isystem
67 > /hpc/scratch/frb15/gentoo/usr/
68 > powerpc64-pc-linux-gnu/sys-include -c -g -O2 -pipe conftest.c >&5
69 > /hpc/scratch/frb15/gentoo/var/tmp/portage/sys-
70 > devel/gcc-4.7.3/work/build/./gcc/cc1: error while loading shared libraries:
71 > libmpc.so.3: ca
72 > nnot open shared object file: No such file or directory
73 >
74 >
75 > I have seen this so many time while building gcc on that hardware that I
76 > have taken to build it against static gmp/mpfr/mpc/{ppl,isl}/cloog.
77 >
78 > Francois

Replies

Subject Author
Re: [gentoo-alt] Prefix bootstrap state Jeremy Olexa <darkside@g.o>
Re: [gentoo-alt] Prefix bootstrap state Ruud Koolen <redlizard@g.o>