On 20.12.11 23:35, Eric Botcazou wrote:
So, the patch causing this was reverted and bootstrap worked again(?),
and now it is broken again with the same failure mode:
cc1: error: unrecognized command line option "-Wno-narrowing"
Actually, not the same, now it is invoking system gcc instead of
system g++:
gcc -I/scratch/tmp/gerald/gcc-HEAD/libcpp -I.
-I/scratch/tmp/gerald/gcc-HEAD/libcpp/../include -I./../intl
-I/scratch/tmp/gerald/gcc-HEAD/libcpp/include -g -f keep-inline-functions
-W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wc++-compat -pedantic -Wno-long-long
-I/scratch/tmp/gerald/gcc-HEAD/libcpp -I.
-I/scratch/tmp/gerald/gcc-HEAD/libcpp/../include -I./../intl
-I/scratch/tmp/gerald/gcc-HEAD/libcpp/include -c -o identifiers.o -MT
identifiers.o -MMD -MP -MF .deps/identifiers.Tpo
/scratch/tmp/gerald/gcc-HEAD/libcpp/identifiers.c
And it happens in stage1 (stage1-bubble).
This looks like a different problem though, as naked 'gcc' is supposed to be
invoked during stage1. I'll try to reproduce...
Fyi, there was an issue on FreeBSD with this commit:
http://gcc.gnu.org/viewcvs?view=revision&revision=182478
See at the bottom of:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51388
Andreas fixed the issue and committed a fix:
http://gcc.gnu.org/ml/gcc-cvs/2011-12/msg00686.html
After this commit I was able to succesfully bootstrap (r182546) on
x86_64-unknown-freebsd10.0.
Right now building 182566.
If this is not related, pls ignore.
Andreas