On Wed, Nov 12, 2008 at 07:26:14AM +1100, Greg Schafer wrote: > Tobias Gasser wrote: > > > i had to add ABI=32 as my system was identified ad 64bit. > > > > ./configure ABI=32 --prefix=/usr --enable-cxx --enable-mpbsd > > > > i'm using CFLAGS="-O3 -march=i486" as a global setting, overwritten for > > some special cases mentionned in the book. > > > > any idea why i have to add ABI=32 ??? > > You're on 64-bit capable hardware? I brought this up here about a month > ago, and over 2 years ago on the GCC list. I'm surprised more people > haven't hit it: > > http://article.gmane.org/gmane.linux.lfs.devel/7762 > My box built gmp and the first part of chapter 6 during the night without any apparent problem. The host system was LFS-6.3 with a current kernel.
[EMAIL PROTECTED] ~ $uname -a Linux ac30 2.6.27.5 #1 Sun Nov 9 19:53:29 GMT 2008 i686 AMD Athlon(tm) 64 Processor 4000+ AuthenticAMD GNU/Linux From the build log for gmp: checking build system type... athlon64-pc-linux-gnu checking host system type... athlon64-pc-linux-gnu checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -O2 -m64 ... no checking ABI=32 checking compiler gcc -m32 -O2 -fomit-frame-pointer ... yes ... using ABI="32" CC="gcc" CFLAGS="-m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8" CPPFLAGS="" CXX="g++" CXXFLAGS="-m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8" MPN_PATH=" x86/k7/mmx x86/k7 x86 generic" checking for function prototypes... yes (etc) This implies Tobias has both a compiler and libc in chroot that are able to handle -m64. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page