[Clfs-support] Error when compiling GCC for x86_64

Antony Derham antonyderham at hotmail.co.uk
Mon Feb 16 08:56:31 PST 2009


I am on Chapter 5.8 of the CLFS book, and I cannot get GCC to compile. Can someone help me please?

This is a print-out of my error:

root at Ant-PC:/mnt/clfs/sources/gcc-build# make all-gcc   
make[1]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty'
make[2]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty'
make[1]: Entering directory `/mnt/clfs/sources/gcc-build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/intl'
make[1]: Entering directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'
make[1]: Entering directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.2.4/fixincludes -I../include -I../../../gcc-4.2.4/fixincludes/../include ../../../gcc-4.2.4/fixincludes/fixincl.c
In file included from ../../../gcc-4.2.4/fixincludes/fixincl.c:101:
../../../gcc-4.2.4/fixincludes/fixincl.x:72: warning: string length '4756' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:224: warning: string length '552' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:269: warning: string length '532' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:313: warning: string length '808' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:399: warning: string length '5139' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:2499: warning: string length '729' is greater than the length '509' ISO C89 compilers are required to support
../../../gcc-4.2.4/fixincludes/fixincl.x:7684: warning: string length '575' is greater than the length '509' ISO C89 compilers are required to support
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[1]: *** [fixincl.o] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'
make: *** [all-build-fixincludes] Error 2

I've tried searching he internet for answers, but no luck. Can anyone help with this?

_________________________________________________________________
Discover Bird's Eye View now with Multimap from Live Search
http://clk.atdmt.com/UKM/go/111354026/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090216/0165e60f/attachment.html>


More information about the Clfs-support mailing list