http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Bug ID: 58572 Summary: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: gerald at pfeifer dot com Created attachment 30926 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30926&action=edit Build log for a non-parallel build and install that shows the failure On i386-unknown-freebsd10.0, amd64-unknown-freebsd8.3, and I assume any system that has a sufficiently old version of GCC as the system compiler installation now fails as follows: 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 g++ here is GCC 4.2 which does not know about -Wnarrowing. And configuring for and building stage 1 we correctly identify that checking whether gcc supports -Wnarrowing... no and this flag was not used during stage 1. This works until and including r202892 | law | 2013-09-25 15:33:34.