Erich Schulman (KT4VOL/KTN4CA) wrote:
> *The version of the book being used (in this case 7.3)
> *The host distribution and version being used to create LFS
> Debian squeeze, i386, under VirtualBox 4.2.16
> *The output from the Section vii, “Host System Requirements”
> $ bash version-check.sh

This is OK.

>      *The package or section the problem was encountered in
> 5.9.1. Installation of GCC

> config.status: executing libtool commands
> configure: summary of build options:
> 
>    Version:           GNU MP 5.1.1
>    Host type:         none-pc-linux-gnu
>    ABI:               standard
>    Install prefix:    /tools
>    Compiler:          i686-lfs-linux-gnu-gcc -std=gnu99
>    Static libraries:  yes
>    Shared libraries:  no
> 
> make[2]: Entering directory `/LFS/sources/gcc-build/gmp'
> i686-lfs-linux-gnu-gcc `test -f 'gen-fac.c' || echo
> '../../gcc-4.7.2/gmp/'`gen-fac.c -o gen-fac
> ./gen-fac 32 0 >fac_table.h || (rm -f fac_table.h; exit 1)
> i686-lfs-linux-gnu-gcc `test -f 'gen-fib.c' || echo
> '../../gcc-4.7.2/gmp/'`gen-fib.c -o gen-fib
> ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
> ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
> i686-lfs-linux-gnu-gcc `test -f 'gen-bases.c' || echo
> '../../gcc-4.7.2/gmp/'`gen-bases.c -o gen-bases -lm
> ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1)
> /bin/sh: line 1: 29603 Segmentation fault      ./gen-bases header 32 0
>> mp_bases.h
> make[2]: *** [mp_bases.h] Error 1

Segmentation faults are often memory problems.  How much memory does the
virtualbox system have allocated?  How much swap space do you have?

>      *Note whether you have deviated from the book at all
> Using /LFS instead of /mnt/lfs
> Using kernel sources 3.8.13 instead of 3.8.1

That is OK.

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to