[LFS 6.7] 5.10. GCC-4.5.1 - Pass 2 compile error

Andre Keller ak at list.ak.cx
Tue Nov 30 17:18:51 PST 2010


On 01.12.2010 00:28, schrieb Mateusz Kaźmierczak:
> Hello,
>
> When I compile gcc I have that error:
>
> /mnt/lfs/sources/gcc-build/./gcc/xgcc
> -B/mnt/lfs/sources/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    -g -O2 -O2  -g -O2 -DIN_GCC
> -DCROSS_DIRECTORY_STRUCTURE -fomit-frame-pointer -W -Wall
> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition  -isystem ./include  -fPIC -g
> -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -Dinhibit_libc  -I. -I. -I../.././gcc -I../../../gcc-4.5.1/libgcc
> -I../../../gcc-4.5.1/libgcc/. -I../../../gcc-4.5.1/libgcc/../gcc
> -I../../../gcc-4.5.1/libgcc/../include
> -I../../../gcc-4.5.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
> -DHAVE_CC_TLS  -DUSE_TLS -o bid_decimal_globals.o -MT
> bid_decimal_globals.o -MD -MP -MF bid_decimal_globals.dep -c
> ../../../gcc-4.5.1/libgcc/config/libbid/bid_decimal_globals.c
> ../../../gcc-4.5.1/libgcc/config/libbid/bid_decimal_globals.c:47:18:
> fatal error: fenv.h: No such file or directory
> compilation terminated.
> make[2]: *** [bid_decimal_globals.o] Error 1
> make[2]: Leaving directory
> `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
> make[1]: *** [all-target-libgcc] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
> make: *** [all] Error 2
>
> I run command the same as in book.
> What's wrong?
>
>   

In chapter 5? Are all host packages installed (See host system
requirements...)








More information about the lfs-support mailing list