Gentoo Archives: gentoo-alt

From: Matt Michalowski <me@××××××××.au>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix] broken bootstrap-prefix.sh for amd64-linux
Date: Wed, 16 May 2007 08:41:53
Message-Id: 464AC3B7.7050601@mattm.id.au
In Reply to: Re: [gentoo-alt] [prefix] broken bootstrap-prefix.sh for amd64-linux by Fabian Groffen
1 Fabian Groffen wrote:
2 > On 07-05-2007 11:08:26 +1000, Matt Michalowski wrote:
3 >
4 >> Fabian,
5 >>
6 >> Would it also be possible to add the amd64 no-multilib profile under the
7 >> default-prefix/linux/amd64 directory again?
8 >>
9 >
10 > Matt, could you explain to me what the difference is? I don't get the
11 > problem, which is probably mainly due to my ignorance with regard to
12 > multilib.
13 >
14 > Thanks
15 >
16 >
17 The actual difference in the profile itself? Just a make.defaults file
18 with 'MULTILIB_ABIS="amd64"' (and the usual parent file).
19
20 I'm not very experienced with this either, just that I had troubles
21 bootstrapping with multilib (Under Debian Etch AMD64 - I realize now
22 that it's probably because I didn't have Debian's libc6-dev-i386 package
23 installed at the time). But then again, I only really want a pure x84_64
24 prefix - I'm not planning to run pre-compiled 32-bit software with my
25 prefix :)
26
27 The main problem is that I can't get GCC to compile using the multilib
28 profile:
29 ---
30 mv 'libgcc/32/tmp-libgcc.map' libgcc/32/libgcc.map
31 ./xgcc -B./ -B/opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ -isystem
32 /opt/hwbp/usr/x86_64-pc-linux-gnu/include -isystem
33 /opt/hwbp/usr/x86_64-pc-linux-gnu/sys-include
34 -L/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/../ld
35 -O2 -O2 -O2 -pipe -fno-stack-protector -DIN_GCC -W -Wall
36 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
37 -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT
38 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs
39 -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.map -o
40 32/libgcc_s.so.1.tmp -m32 libgcc/32/_muldi3_s.o libgcc/32/_negdi2_s.o
41 libgcc/32/_lshrdi3_s.o libgcc/32/_ashldi3_s.o libgcc/32/_ashrdi3_s.o
42 libgcc/32/_cmpdi2_s.o libgcc/32/_ucmpdi2_s.o libgcc/32/_clear_cache_s.o
43 libgcc/32/_enable_execute_stack_s.o libgcc/32/_trampoline_s.o
44 libgcc/32/__main_s.o libgcc/32/_absvsi2_s.o libgcc/32/_absvdi2_s.o
45 libgcc/32/_addvsi3_s.o libgcc/32/_addvdi3_s.o libgcc/32/_subvsi3_s.o
46 libgcc/32/_subvdi3_s.o libgcc/32/_mulvsi3_s.o libgcc/32/_mulvdi3_s.o
47 libgcc/32/_negvsi2_s.o libgcc/32/_negvdi2_s.o libgcc/32/_ctors_s.o
48 libgcc/32/_ffssi2_s.o libgcc/32/_ffsdi2_s.o libgcc/32/_clz_s.o
49 libgcc/32/_clzsi2_s.o libgcc/32/_clzdi2_s.o libgcc/32/_ctzsi2_s.o
50 libgcc/32/_ctzdi2_s.o libgcc/32/_popcount_tab_s.o
51 libgcc/32/_popcountsi2_s.o libgcc/32/_popcountdi2_s.o
52 libgcc/32/_paritysi2_s.o libgcc/32/_paritydi2_s.o libgcc/32/_powisf2_s.o
53 libgcc/32/_powidf2_s.o libgcc/32/_powixf2_s.o libgcc/32/_powitf2_s.o
54 libgcc/32/_mulsc3_s.o libgcc/32/_muldc3_s.o libgcc/32/_mulxc3_s.o
55 libgcc/32/_multc3_s.o libgcc/32/_divsc3_s.o libgcc/32/_divdc3_s.o
56 libgcc/32/_divxc3_s.o libgcc/32/_divtc3_s.o libgcc/32/_fixunssfsi_s.o
57 libgcc/32/_fixunsdfsi_s.o libgcc/32/_fixunsxfsi_s.o
58 libgcc/32/_fixsfdi_s.o libgcc/32/_fixunssfdi_s.o
59 libgcc/32/_floatdisf_s.o libgcc/32/_fixdfdi_s.o
60 libgcc/32/_fixunsdfdi_s.o libgcc/32/_floatdidf_s.o
61 libgcc/32/_fixxfdi_s.o libgcc/32/_fixunsxfdi_s.o
62 libgcc/32/_floatdixf_s.o libgcc/32/_fixtfdi_s.o
63 libgcc/32/_fixunstfdi_s.o libgcc/32/_floatditf_s.o libgcc/32/_divdi3_s.o
64 libgcc/32/_moddi3_s.o libgcc/32/_udivdi3_s.o libgcc/32/_umoddi3_s.o
65 libgcc/32/_udiv_w_sdiv_s.o libgcc/32/_udivmoddi4_s.o
66 libgcc/32/unwind-dw2_s.o libgcc/32/unwind-dw2-fde-glibc_s.o
67 libgcc/32/unwind-sjlj_s.o libgcc/32/gthr-gnat_s.o libgcc/32/unwind-c_s.o
68 -lc && rm -f 32/libgcc_s.so && if [ -f 32/libgcc_s.so.1 ]; then mv -f
69 32/libgcc_s.so.1 32/libgcc_s.so.1.backup; else true; fi && mv
70 32/libgcc_s.so.1.tmp 32/libgcc_s.so.1 && ln -s libgcc_s.so.1 32/libgcc_s.so
71 /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
72 /usr/lib64/libc.so when searching for -lc
73 /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
74 /usr/lib64/libc.a when searching for -lc
75 /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
76 /usr/lib/libc.so when searching for -lc
77 /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
78 /usr/lib/libc.a when searching for -lc
79 /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
80 collect2: ld returned 1 exit status
81 make[3]: *** [32/libgcc_s.so] Error 1
82 make[3]: Leaving directory
83 `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
84 make[2]: *** [stmp-multilib] Error 2
85 make[2]: Leaving directory
86 `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
87 make[1]: *** [stage1_build] Error 2
88 make[1]: Leaving directory
89 `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
90 make: *** [profiledbootstrap] Error 2
91
92 !!! ERROR: sys-devel/gcc-4.1.2 failed.
93 Call stack:
94 ebuild.sh, line 1561: Called dyn_compile
95 ebuild.sh, line 913: Called qa_call 'src_compile'
96 ebuild.sh, line 44: Called src_compile
97 gcc-4.1.2.ebuild, line 96: Called gcc_src_compile
98 toolchain.eclass, line 1563: Called gcc_do_make
99 toolchain.eclass, line 1435: Called die
100
101 !!! emake failed with profiledbootstrap
102 !!! If you need support, post the topmost build error, and the call
103 stack if relevant.
104 ---
105
106 Adding my own no-multilib profile (which ensures that GCC gets
107 configured with "--disable-multilib") fixes this.
108
109
110 Matt.
111
112 --
113 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [prefix] broken bootstrap-prefix.sh for amd64-linux Fabian Groffen <grobian@g.o>