This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/4710: Cannot Build 3.0.2 on Linux 2.4.5 using 2.95.2
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/4710: Cannot Build 3.0.2 on Linux 2.4.5 using 2.95.2
- From: georgek at netwrx1 dot com
- Date: 27 Oct 2001 19:17:20 -0000
- Reply-To: georgek at netwrx1 dot com
>Number: 4710
>Category: bootstrap
>Synopsis: Cannot Build 3.0.2 on Linux 2.4.5 using 2.95.2
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 27 12:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: George R. Kasica
>Release: gcc version 2.95.3 20010315 (release)
>Organization:
>Environment:
linux 2.4.5 running gcc 2.95.3
>Description:
cannot compile gcc 3.0.2 running linux 2.4.5 and gcc 2.95.2
gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prot
otypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../.
./gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/
lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.0.2\" -DDEFAULT_TARGET_MACHINE=\"i68
6-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PRE
FIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo
"-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED
_LIBGCC_MULTILIB"` \
-c ../../gcc/gcc.c)
../../gcc/gcc.c: In function `execute':
../../gcc/gcc.c:2714: `prus' has an incomplete type
../../gcc/gcc.c:2715: `RUSAGE_CHILDREN' undeclared (first use in this function)
../../gcc/gcc.c:2715: (Each undeclared identifier is reported only once
../../gcc/gcc.c:2715: for each function it appears in.)
../../gcc/gcc.c:2716: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2716: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2717: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2720: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc/gcc.c:2721: invalid use of undefined type `struct rusage'
../../gcc/gcc.c: At top level:
../../gcc/gcc.c:214: storage size of `rus' isn't known
../../gcc/gcc.c:214: storage size of `prus' isn't known
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory `/mnt/scsi-1/Linux/gcc-3.0.2/i686-pc-linux-gnu/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/scsi-1/Linux/gcc-3.0.2/i686-pc-linux-gnu/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
./configure
make bootstrap
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: