[Buildroot] svn commit: trunk/buildroot/toolchain/gcc
jacmet at uclibc.org
Sun Jan 18 08:37:36 UTC 2009
>>>>> "Shinya" == Shinya Kuribayashi <skuribay at ruby.dti.ne.jp> writes:
>> And 4.2.4 works for you?
Shinya> Yes (forgot to mention, sorry).
Shinya> As Frank pointed out, this problem seems to be related to the host gcc
Shinya> version. I'll check the config.log and let you know what internally
And what host GCC version are you using?
I just tried a build with HOSTCC=gcc-4.1 and it indeed fails for me
(but with another error):
gcc-4.1 -c -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H
/tmp/br/mips-4.1/toolchain_build_mips/gcc-4.3.2/fixincludes/fixincl.x:7947: 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: *** [fixincl.o] Error 1
make: Leaving directory
Which for a bit of testing seems to be caused by the combination of
-pedantic and -Wno-overlength-strings (any of the two are ok, but the
gcc-4.1 (GCC) 4.1.3 20080704 (prerelease) (Debian 4.1.2-24)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Bye, Peter Korsgaard
More information about the buildroot