From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25762 invoked by alias); 8 Mar 2002 16:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25680 invoked by uid 71); 8 Mar 2002 16:56:00 -0000 Resent-Date: 8 Mar 2002 16:56:00 -0000 Resent-Message-ID: <20020308165600.25678.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, markcia@nortelnetworks.com Received:(qmail 19056 invoked by uid 61); 8 Mar 2002 16:51:33 -0000 Message-Id:<20020308165133.19055.qmail@sources.redhat.com> Date: Fri, 08 Mar 2002 08:56:00 -0000 From: markcia@nortelnetworks.com Reply-To: markcia@nortelnetworks.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/5884: RUSAGE/PRUSAGE Compile Error with gcc-3.0.4 source X-SW-Source: 2002-03/txt/msg00272.txt.bz2 List-Id: >Number: 5884 >Category: bootstrap >Synopsis: RUSAGE/PRUSAGE Compile Error with gcc-3.0.4 source >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Mar 08 08:56:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mark Cianfaglione >Release: upgrade from egcs-2.91.66 --> gcc-3.0.4 >Organization: >Environment: RH6.1 with kernel upgraded to 2.4.17 make at 3.79.1 stock libs of RH 6.1 >Description: Compilation of the latest GCC code (3.0.4) , upgrade from egcs-2.91.66, results in an several error messages `prus' has an incomplete type `RUSAGE_CHILDREN' undeclared Then compilation breaks down... I'm attaching the reported error >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="gcc_compile_error.txt" Content-Disposition: inline; filename="gcc_compile_error.txt" 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.4/gcc -I../../gcc-3.0.4/gcc/. -I../../gcc-3.0.4/gcc/config -I../../gcc-3.0.4/gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.0.4\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/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.4/gcc/gcc.c) ../../gcc-3.0.4/gcc/gcc.c: In function `execute': ../../gcc-3.0.4/gcc/gcc.c:2720: `prus' has an incomplete type ../../gcc-3.0.4/gcc/gcc.c:2721: `RUSAGE_CHILDREN' undeclared (first use in this function) ../../gcc-3.0.4/gcc/gcc.c:2721: (Each undeclared identifier is reported only once ../../gcc-3.0.4/gcc/gcc.c:2721: for each function it appears in.) ../../gcc-3.0.4/gcc/gcc.c:2722: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2722: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2723: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2723: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2726: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2726: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2727: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c:2727: invalid use of undefined type `struct rusage' ../../gcc-3.0.4/gcc/gcc.c: At top level: ../../gcc-3.0.4/gcc/gcc.c:220: storage size of `rus' isn't known ../../gcc-3.0.4/gcc/gcc.c:220: storage size of `prus' isn't known make[2]: *** [gcc.o] Error 1 make[2]: Leaving directory `/gcctemp/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/gcctemp/gcc' make: *** [bootstrap] Error 2 [root@labrat /gcctemp]#