bootstrap/3262: Problem compiling GCC-3.0 on i586-pc-linux-gnu with gcc-2.95.2

chris@bingosnet.co.uk chris@bingosnet.co.uk
Tue Jun 19 09:26:00 GMT 2001


>Number:         3262
>Category:       bootstrap
>Synopsis:       Problem compiling GCC-3.0 on i586-pc-linux-gnu with gcc-2.95.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 19 09:26:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Williams
>Release:        GCC-3.0
>Organization:
>Environment:
uname -a
Linux penguin 2.4.3 #2 SMP Mon Apr 2 08:50:53 BST 2001 i586 unknown
Glibc-2.1.2
gcc -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Binutils-2.9.1
Distribution Slackware 7.0.0
../gcc-3.0/configure --prefix=/usr/gnu --enable-languages=c,c++
>Description:
Whilst running "make bootstrap" the following error is encountered during compilation:
<snip>
make[2]: Entering directory `/data/build/gcc-build/gcc'
(cd intl && make all)
make[3]: Entering directory `/data/build/gcc-build/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/data/build/gcc-build/gcc/intl'
(cd po && make all)
make[3]: Entering directory `/data/build/gcc-build/gcc/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/data/build/gcc-build/gcc/po'
(SHLIB_LINK='./xgcc -B./ -B/usr/gnu/i586-pc-linux-gnu/bin/ -isystem /usr/gnu/i586-pc-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=@shlib_base_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so.1 && ln -s @shlib_base_name@.so @shlib_base_name@.so.1' \
SHLIB_MULTILIB=''; \
gcc  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/gnu/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.0\" -DDEFAULT_TARGET_MACHINE=\"i586-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/gnu/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
  -c ../../gcc-3.0/gcc/gcc.c)
../../gcc-3.0/gcc/gcc.c: In function `execute':
../../gcc-3.0/gcc/gcc.c:2714: `prus' has an incomplete type
../../gcc-3.0/gcc/gcc.c:2715: `RUSAGE_CHILDREN' undeclared (first use in this function)
../../gcc-3.0/gcc/gcc.c:2715: (Each undeclared identifier is reported only once
../../gcc-3.0/gcc/gcc.c:2715: for each function it appears in.)
../../gcc-3.0/gcc/gcc.c:2716: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2716: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc-3.0/gcc/gcc.c: At top level:
../../gcc-3.0/gcc/gcc.c:214: storage size of `rus' isn't known
../../gcc-3.0/gcc/gcc.c:214: storage size of `prus' isn't known
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory `/data/build/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/data/build/gcc-build/gcc'
make: *** [bootstrap] Error 2
</snip>
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list