[Clfs-support] Error when compiling GCC for x86_64

Jim Gifford clfs at jg555.com
Mon Feb 16 10:35:34 PST 2009


Antony Derham wrote:
> 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?
>
> ------------------------------------------------------------------------
> Get Hotmail on your mobile from Vodafone Try it Now 
> <http://clk.atdmt.com/UKM/go/111354028/direct/01/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>   
    Please use proper reporting, your missing a lot of important 
information.
   http://cross-lfs.org/view/svn/x86/introduction/askforhelp.html



More information about the Clfs-support mailing list