This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/9583: bootstrap of gcc-3.2.2 fails on undeclared identifier in Solaris 9 x86
- From: michaud dot bernard at ic dot gc dot ca
- To: gcc-gnats at gcc dot gnu dot org
- Date: 5 Feb 2003 12:55:48 -0000
- Subject: bootstrap/9583: bootstrap of gcc-3.2.2 fails on undeclared identifier in Solaris 9 x86
- Reply-to: michaud dot bernard at ic dot gc dot ca
>Number: 9583
>Category: bootstrap
>Synopsis: bootstrap of gcc-3.2.2 fails on undeclared identifier in Solaris 9 x86
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 05 12:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Bernard Michaud
>Release: gcc 3.2.2
>Organization:
>Environment:
Pentium III 933MHz running Solaris 9 x86 12/02
>Description:
Bootstrap of gcc-3.2.2 fails on undeclared identifier `DEFAULT_PCC_STRUCT_RETURN' in function `ix86_save_reg'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gcc-bug.txt"
Content-Disposition: inline; filename="gcc-bug.txt"
env CC=gcc \
BOOT_CFLAGS="-O9 -march=pentium3 -mcpu=pentium3 -msse -mfpmath=sse -L/usr/local/lib -R/usr/local/lib" \
CFLAGS="-O9 -march=pentium3 -mcpu=pentium3 -msse -mfpmath=sse -L/usr/local/lib -R/usr/local/lib" \
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \
/home/sysdevl/build/gcc-3.2.2/configure --build=i686-sun-solaris2.9 \
--host=i686-sun-solaris2.9 \
--enable-shared \
--enable-haifa \
--enable-threads \
--prefix=/opt/gcc-3.2.2 \
--srcdir=/home/sysdevl/build/gcc-3.2.2 \
--with-system-zlib \
--without-gnu-as \
--without-gnu-ld \
--disable-nls
...
...
gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include \
-DTARGET_NAME=\"i686-sun-solaris2.9\" \
-c /home/sysdevl/build/gcc-3.2.2/gcc/toplev.c -o toplev.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/tree.c -o tree.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/tree-dump.c -o tree-dump.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/tree-inline.c -o tree-inline.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/unroll.c -o unroll.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/varasm.c -o varasm.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/varray.c -o varray.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/vmsdbgout.c -o vmsdbgout.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/xcoffout.c -o xcoffout.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include /home/sysdevl/build/gcc-3.2.2/gcc/ggc-page.c -o ggc-page.o
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/sysdevl/build/gcc-3.2.2/gcc -I/home/sysdevl/build/gcc-3.2.2/gcc/. -I/home/sysdevl/build/gcc-3.2.2/gcc/config -I/home/sysdevl/build/gcc-3.2.2/gcc/../include \
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c -o i386.o
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c: In function `override_options':
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c:927: `DEFAULT_PCC_STRUCT_RETURN' undeclared (first use in this function)
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c:927: (Each undeclared identifier is reported only once
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c:927: for each function it appears in.)
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c: In function `ix86_save_reg':
/home/sysdevl/build/gcc-3.2.2/gcc/config/i386/i386.c:3982: warning: comparison between signed and unsigned
make[2]: *** [i386.o] Error 1
make[2]: Leaving directory `/home/sysdevl/build/gccbuild/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/sysdevl/build/gccbuild/gcc'
make: *** [bootstrap] Error 2
$ gcc -v
Reading specs from /opt/gcc-3.2.1/lib/gcc-lib/i686-sun-solaris2.9/3.2.1/specs
Configured with: /home/sysdevl/build/gcc-3.2.1/configure --build=i686-sun-solaris2.8 --host=i686-sun-solaris2.8 --enable-shared --enable-haifa --enable-threads --prefix=/opt/gcc-3.2.1 --srcdir=/home/sysdevl/build/gcc-3.2.1 --with-system-zlib --without-gnu-as --without-gnu-ld --disable-nls : (reconfigured) /home/sysdevl/build/gcc-3.2.1/configure --build=i686-sun-solaris2.9 --host=i686-sun-solaris2.9 --enable-shared --enable-haifa --enable-threads --prefix=/opt/gcc-3.2.1 --srcdir=/home/sysdevl/build/gcc-3.2.1 --with-system-zlib --without-gnu-as --without-gnu-ld --disable-nls
Thread model: posix
gcc version 3.2.1