On 30 Sep 2013, at 08:45, Paolo Bonzini wrote: > Il 27/09/2013 21:45, Gerald Pfeifer ha scritto: >> I believe this may be breaking all my testers on FreeBSD >> (i386-unknown-freebsd10.0 for example). The timing of when this >> patchset went in fits pretty much when my builds started to break >> and I am wondering about some code. >> >> Here is the failure mode: >> >> gmake[2]: Entering directory `/scratch/tmp/gerald/OBJ-0927-1848/gcc' >> g++ -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti >> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings >> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long >> -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common >> -DHAVE_CONFIG_H -I. -Ic -I/scratch/tmp/gerald/gcc-HEAD/gcc ...[-I >> options]... >> -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo >> /scratch/tmp/gerald/gcc-HEAD/gcc/c/c-lang.c >> cc1plus: error: unrecognized command line option "-Wno-narrowing" >> gmake[2]: *** [c/c-lang.o] Error 1 >> gmake[1]: *** [install-gcc] Error 2 >> gmake: *** [install] Error 2 >> >> The issue is the invocation of g++ (the old system compiler, not what >> we built) with -Wno-narrowing (a new option). > > Why is install building anything?
I don't know if the case above is related, but AFAICT, java always builds ec1 at install time (and I wonder what the reason for that is). Iain