public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it
@ 2013-09-29 15:13 gerald at pfeifer dot com
  2013-09-30 10:14 ` [Bug bootstrap/58572] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2013-09-29 15:13 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-03-07 14:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
2013-09-30 10:14 ` [Bug bootstrap/58572] " rguenth at gcc dot gnu.org
2013-10-02 23:33 ` gary at intrepid dot com
2013-10-20 18:40 ` [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler) gerald at pfeifer dot com
2013-10-20 19:51 ` gerald at pfeifer dot com
2013-10-21 15:15 ` tromey at gcc dot gnu.org
2013-11-05 14:45 ` rguenth at gcc dot gnu.org
2013-11-15 18:18 ` tromey at gcc dot gnu.org
2013-11-15 18:20 ` tromey at gcc dot gnu.org
2014-03-06 12:12 ` jakub at gcc dot gnu.org
2014-03-06 15:29 ` jakub at gcc dot gnu.org
2014-03-07 12:59 ` jakub at gcc dot gnu.org
2014-03-07 13:03 ` jakub at gcc dot gnu.org
2014-03-07 14:32 ` mario.held at de dot ibm.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).