public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57059] New: Host configuration of loose_warn breaks for build components for Canadian crosses
@ 2013-04-24 18:07 rmansfield at qnx dot com
  2013-04-24 18:37 ` [Bug bootstrap/57059] [4.8/4.9 Regression] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rmansfield at qnx dot com @ 2013-04-24 18:07 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57059

             Bug #: 57059
           Summary: Host configuration of loose_warn breaks for build
                    components for Canadian crosses
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com


When the building a canadian cross with a build compiler that is gcc 4.6 or
older, the build cannot compile the build tools as configure will detect that
the cross compiler has support for -Wno-narrowing, and will try to pass it
along in the BUILD_CXXFLAGS. e.g.

g++ -c    -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -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   -DHAVE_CONFIG_H -DGENERATOR_FILE
-I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace  
 \
        -o build/genconstants.o ../../gcc/genconstants.c
cc1plus: error: unrecognized command line option "-Wno-narrowing"
make[3]: *** [build/genconstants.o] Error 1

$ grep acx_cv_prog_cc_warning__Wnarrowing gcc/config.log
acx_cv_prog_cc_warning__Wnarrowing=yes


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

end of thread, other threads:[~2015-03-11 18:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-24 18:07 [Bug bootstrap/57059] New: Host configuration of loose_warn breaks for build components for Canadian crosses rmansfield at qnx dot com
2013-04-24 18:37 ` [Bug bootstrap/57059] [4.8/4.9 Regression] " pinskia at gcc dot gnu.org
2013-05-15  6:15 ` pinskia at gcc dot gnu.org
2013-05-31 11:00 ` jakub at gcc dot gnu.org
2013-10-16  9:50 ` jakub at gcc dot gnu.org
2013-11-22 10:46 ` rguenth at gcc dot gnu.org
2014-05-22  9:06 ` [Bug bootstrap/57059] [4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:37 ` [Bug bootstrap/57059] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-03-11 17:19 ` aldyh at gcc dot gnu.org
2015-03-11 18:30 ` aldyh at gcc dot gnu.org

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).