Gentoo Archives: gentoo-alt

From: Matt Michalowski <me@××××××××.au>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix] broken for amd64-linux
Date: Wed, 16 May 2007 08:41:53
In Reply to: Re: [gentoo-alt] [prefix] broken for amd64-linux by Fabian Groffen
Fabian Groffen wrote:
> On 07-05-2007 11:08:26 +1000, Matt Michalowski wrote: > >> Fabian, >> >> Would it also be possible to add the amd64 no-multilib profile under the >> default-prefix/linux/amd64 directory again? >> > > Matt, could you explain to me what the difference is? I don't get the > problem, which is probably mainly due to my ignorance with regard to > multilib. > > Thanks > >
The actual difference in the profile itself? Just a make.defaults file with 'MULTILIB_ABIS="amd64"' (and the usual parent file). I'm not very experienced with this either, just that I had troubles bootstrapping with multilib (Under Debian Etch AMD64 - I realize now that it's probably because I didn't have Debian's libc6-dev-i386 package installed at the time). But then again, I only really want a pure x84_64 prefix - I'm not planning to run pre-compiled 32-bit software with my prefix :) The main problem is that I can't get GCC to compile using the multilib profile: --- mv 'libgcc/32/' libgcc/32/ ./xgcc -B./ -B/opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ -isystem /opt/hwbp/usr/x86_64-pc-linux-gnu/include -isystem /opt/hwbp/usr/x86_64-pc-linux-gnu/sys-include -L/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/../ld -O2 -O2 -O2 -pipe -fno-stack-protector -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl, -Wl,--version-script=libgcc/32/ -o 32/ -m32 libgcc/32/_muldi3_s.o libgcc/32/_negdi2_s.o libgcc/32/_lshrdi3_s.o libgcc/32/_ashldi3_s.o libgcc/32/_ashrdi3_s.o libgcc/32/_cmpdi2_s.o libgcc/32/_ucmpdi2_s.o libgcc/32/_clear_cache_s.o libgcc/32/_enable_execute_stack_s.o libgcc/32/_trampoline_s.o libgcc/32/__main_s.o libgcc/32/_absvsi2_s.o libgcc/32/_absvdi2_s.o libgcc/32/_addvsi3_s.o libgcc/32/_addvdi3_s.o libgcc/32/_subvsi3_s.o libgcc/32/_subvdi3_s.o libgcc/32/_mulvsi3_s.o libgcc/32/_mulvdi3_s.o libgcc/32/_negvsi2_s.o libgcc/32/_negvdi2_s.o libgcc/32/_ctors_s.o libgcc/32/_ffssi2_s.o libgcc/32/_ffsdi2_s.o libgcc/32/_clz_s.o libgcc/32/_clzsi2_s.o libgcc/32/_clzdi2_s.o libgcc/32/_ctzsi2_s.o libgcc/32/_ctzdi2_s.o libgcc/32/_popcount_tab_s.o libgcc/32/_popcountsi2_s.o libgcc/32/_popcountdi2_s.o libgcc/32/_paritysi2_s.o libgcc/32/_paritydi2_s.o libgcc/32/_powisf2_s.o libgcc/32/_powidf2_s.o libgcc/32/_powixf2_s.o libgcc/32/_powitf2_s.o libgcc/32/_mulsc3_s.o libgcc/32/_muldc3_s.o libgcc/32/_mulxc3_s.o libgcc/32/_multc3_s.o libgcc/32/_divsc3_s.o libgcc/32/_divdc3_s.o libgcc/32/_divxc3_s.o libgcc/32/_divtc3_s.o libgcc/32/_fixunssfsi_s.o libgcc/32/_fixunsdfsi_s.o libgcc/32/_fixunsxfsi_s.o libgcc/32/_fixsfdi_s.o libgcc/32/_fixunssfdi_s.o libgcc/32/_floatdisf_s.o libgcc/32/_fixdfdi_s.o libgcc/32/_fixunsdfdi_s.o libgcc/32/_floatdidf_s.o libgcc/32/_fixxfdi_s.o libgcc/32/_fixunsxfdi_s.o libgcc/32/_floatdixf_s.o libgcc/32/_fixtfdi_s.o libgcc/32/_fixunstfdi_s.o libgcc/32/_floatditf_s.o libgcc/32/_divdi3_s.o libgcc/32/_moddi3_s.o libgcc/32/_udivdi3_s.o libgcc/32/_umoddi3_s.o libgcc/32/_udiv_w_sdiv_s.o libgcc/32/_udivmoddi4_s.o libgcc/32/unwind-dw2_s.o libgcc/32/unwind-dw2-fde-glibc_s.o libgcc/32/unwind-sjlj_s.o libgcc/32/gthr-gnat_s.o libgcc/32/unwind-c_s.o -lc && rm -f 32/ && if [ -f 32/ ]; then mv -f 32/ 32/; else true; fi && mv 32/ 32/ && ln -s 32/ /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/ when searching for -lc /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/ when searching for -lc /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /opt/hwbp/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc collect2: ld returned 1 exit status make[3]: *** [32/] Error 1 make[3]: Leaving directory `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/opt/hwbp/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.2 failed. Call stack:, line 1561: Called dyn_compile, line 913: Called qa_call 'src_compile', line 44: Called src_compile gcc-4.1.2.ebuild, line 96: Called gcc_src_compile toolchain.eclass, line 1563: Called gcc_do_make toolchain.eclass, line 1435: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. --- Adding my own no-multilib profile (which ensures that GCC gets configured with "--disable-multilib") fixes this. Matt. -- gentoo-alt@g.o mailing list


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