[lfs-support] gcc build error

Sandeep Singh mrigtrishna74 at gmail.com
Mon Jun 15 05:05:43 PDT 2015

I am using Arch Linux as the host system which is dual booting with windows
following the lfs version 7.7 of the book.

In file included from ./tm.h:35:0,
/mnt/lfs/sources/gcc-4.9.2/gcc/c-family/c-cppbuiltin.c: In function 'void
/mnt/lfs/sources/gcc-4.9.2/gcc/config/i386/linux-common.h:25:39: error:
'GNU_USER_TARGET_OS_CPP_BUILTINS' was not declared in this scope
/mnt/lfs/sources/gcc-4.9.2/gcc/c-family/c-cppbuiltin.c:1062:3: note: in
expansion of macro 'TARGET_OS_CPP_BUILTINS'
Makefile:1058: recipe for target 'c-family/c-cppbuiltin.o' failed
make[2]: *** [c-family/c-cppbuiltin.o] Error 1
make[2]: Leaving directory '/mnt/lfs/gcc-build/gcc'
Makefile:3977: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/mnt/lfs/gcc-build'
Makefile:862: recipe for target 'all' failed
make: *** [all] Error 2

These are the errors that I recieve.
How to go about rectifying these errors.

thank you
best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20150615/360b78a6/attachment.html>

More information about the lfs-support mailing list