From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31823 invoked by alias); 4 Sep 2003 22:36:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31813 invoked by alias); 4 Sep 2003 22:36:00 -0000 Date: Thu, 04 Sep 2003 22:36:00 -0000 From: "gcc-bugzilla at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20030904223557.12173.ro@techfak.uni-bielefeld.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12173] New: IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning X-Bugzilla-Reason: CC X-SW-Source: 2003-09/txt/msg00347.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12173 Summary: IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: critical Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ro at techfak dot uni-bielefeld dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: mips-sgi-irix6.5o32 GCC host triplet: mips-sgi-irix6.5o32 GCC target triplet: mips-sgi-irix6.5o32 Between 20030703 and 20030808, bootstrap of mips-sgi-irix6.5o32 (with native as) started to fail configuring libf2c and libobjc. configure: error: Can't find stdio.h. You must have a usable C system for the target already installed, at least including headers and, preferably, the library, before you can configure the G77 runtime system. If necessary, install gcc now with `LANGUAGES=c', then the target library, then build with `LANGUAGES=f77'. make[1]: *** [configure-target-libf2c] Error 1 Looking at config.log, one finds the following: configure:2442: checking for stdio.h configure:2452: /vol/gcc/obj/gcc-3.4-20030808/6.5o32-cc-as/gcc/xgcc -B/vol/gcc/obj/gcc-3.4-20030808/6.5o32-cc-as/gcc/ -B/vol/gcc/share/mips-sgi-irix6.5o32/bin/ -B/vol/gcc/share/mips-sgi-irix6.5o32/lib/ -isystem /vol/gcc/share/mips-sgi-irix6.5o32/include -isystem /vol/gcc/share/mips-sgi-irix6.5o32/sys-include -E -O2 -g conftest.c >/dev/null 2>conftest.out cc1: warning: target system does not support debug output configure: failed program was: #line 2447 "configure" #include "confdefs.h" #include Comparing this with the old (good) bootstrap, the difference is in the cc1 warning. This boils down to the following minimal testcase: touch test.c ./xgcc -B./ -E -O2 -g test.c > /dev/null cc1: warning: target system does not support debug output I get this warning as of 20030808, but there is no output on 20030703. This is most certainly due to Neil's option processing rewrite. The warning happened before when compiling: ./xgcc -B./ -c -g test.c cc1: warning: `-g': unknown or unsupported -g option The wording is changed now: cc1: warning: target system does not support debug output Environment: System: IRIX sculptor 6.5 07141608 IP32 host: mips-sgi-irix6.5o32 build: mips-sgi-irix6.5o32 target: mips-sgi-irix6.5o32 configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls mips-sgi-irix6.5o32 How-To-Repeat: Bootstrap gcc as above.