Has anyone been able to build LFS on a 64bit system?

Bruce Dubbs bruce.dubbs at gmail.com
Wed Feb 3 22:19:25 PST 2010

Justin P. Mattock wrote:
> On 02/03/10 20:25, brown wrap wrote:
>> Yesterday I thought I had made it through pass one. That was probably
>> because any of the compiles I made didn't require the tests being run.
>> So today I started off with pass 2, and the I think it was glibc failed
>> right off the bat. So when I saw the new release of 6.6, I thought I'd
>> start all over with it. Now I can't get gcc to compile:
>> checking for x86_64-lfs-linux-gnu-gcc...
>> /mnt/lfs/sources/6.6/gcc-build/./gcc/xgcc
>> -B/mnt/lfs/sources/6.6/gcc-build/./gcc/
>> -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/
>> -isystem /tools/x86_64-lfs-linux-gnu/include -isystem
>> /tools/x86_64-lfs-linux-gnu/sys-include
>> checking for suffix of object files... configure: error: in
>> `/mnt/lfs/sources/6.6/gcc-build/x86_64-lfs-linux-gnu/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>> See `config.log' for more details.
>> make[1]: *** [configure-target-libgcc] Error 1
>> make[1]: Leaving directory `/mnt/lfs/sources/6.6/gcc-build'
>> make: *** [all] Error 2

> if your wanting to build an x86_64 look at clfs
> there you choose if you want pure64 or multilib

No, that's not necessary.  You only need to follow those instructions if 
you are trying to do 32->64 or want to build a multi-lib system.

I'm currently building 6.6-rc1 as a pure 64-bit system, its working on 
Chapter 6 GCC now. The GCC build was fine.  It's doing the tests.  There 
are no problems so far.  The only requirement is to start from a 64-bit 
distro (and to follow directions).

   -- Bruce

More information about the lfs-support mailing list