[Bug bootstrap/12677] New: build fails when compiling backspace.c

sfeehan at sbb dot uvm dot edu gcc-bugzilla@gcc.gnu.org
Sun Oct 19 02:26:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: build fails when compiling backspace.c
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfeehan at sbb dot uvm dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5

Building gcc-3.3.2 on IRIX 6.5.19m fails when compiling backspace.c.

The bootstrap compiler is gcc-3.2.1. The configure command is:

../gcc-3.3.2/configure --prefix=/usr/local --disable-multilib \
    --enable-languages=c,c++,f77 --disable-nls && make

The error is:

/bin/sh ../libtool --mode=compile /home/sfeehan/Download/gcc-build/gcc/xgcc
-B/home/sfeehan/Download/gcc-build/gcc/ -B/usr/local/mips-sgi-irix6.5/bin/
-B/usr/local/mips-sgi-irix6.5/lib/ -isystem /usr/local/mips-sgi-irix6.5/include
-c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../gcc-3.3.2/libf2c/libI77
-I.. -I../../../../gcc-3.3.2/libf2c/libI77/..  -DHAVE_CONFIG_H -W -Wall -O2 -g
-O2 ../../../../gcc-3.3.2/libf2c/libI77/backspace.c
/home/sfeehan/Download/gcc-build/gcc/xgcc
-B/home/sfeehan/Download/gcc-build/gcc/ -B/usr/local/mips-sgi-irix6.5/bin/
-B/usr/local/mips-sgi-irix6.5/lib/ -isystem /usr/local/mips-sgi-irix6.5/include
-c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../gcc-3.3.2/libf2c/libI77
-I.. -I../../../../gcc-3.3.2/libf2c/libI77/.. -DHAVE_CONFIG_H -W -Wall -O2 -g
-O2 ../../../../gcc-3.3.2/libf2c/libI77/backspace.c   -DPIC -o .libs/backspace.o
In file included from /home/sfeehan/Download/gcc-build/gcc/include/stdio.h:18,
                 from ../../../../gcc-3.3.2/libf2c/libI77/fio.h:2,
                 from ../../../../gcc-3.3.2/libf2c/libI77/backspace.c:4:
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h: In function
`snprintf':
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h:310: error:
`va_list' undeclared (first use in this function)
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h:310: error:
(Each undeclared identifier is reported only once
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h:310: error:
for each function it appears in.)
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h:310: error:
parse error before "_ap"
/home/sfeehan/Download/gcc-build/gcc/include/internal/stdio_core.h:313: error:
`_ap' undeclared (first use in this function)
make[2]: *** [backspace.lo] Error 1
make[2]: Leaving directory
`/home/sfeehan/Download/gcc-build/mips-sgi-irix6.5/libf2c/libI77'
make[1]: *** [i77] Error 2
make[1]: Leaving directory
`/home/sfeehan/Download/gcc-build/mips-sgi-irix6.5/libf2c'
make: *** [all-target-libf2c] Error 2


This is my first bug submission. If there is any other information I can
provide, please let me know.

--
Steve Feehan



More information about the Gcc-bugs mailing list