From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14535 invoked by alias); 15 Jan 2002 19:36: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 14503 invoked by uid 71); 15 Jan 2002 19:36:01 -0000 Resent-Date: 15 Jan 2002 19:36:01 -0000 Resent-Message-ID: <20020115193601.14502.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, jonathanpaton@yahoo.com Received:(qmail 12842 invoked by uid 61); 15 Jan 2002 19:33:44 -0000 Message-Id:<20020115193344.12839.qmail@sources.redhat.com> Date: Tue, 15 Jan 2002 11:36:00 -0000 From: jonathanpaton@yahoo.com Reply-To: jonathanpaton@yahoo.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/5392: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system X-SW-Source: 2002-01/txt/msg00569.txt.bz2 List-Id: >Number: 5392 >Category: bootstrap >Synopsis: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jan 15 11:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jonathan Paton >Release: GCC-3.0.3 >Organization: >Environment: SuSE 6.2 Linux distribution with Linux kernel v2.4.14. AMDK2/266 (on a cheap MB), >Description: Trying to bootstrap build GCC according to the instructions at: www.linuxfromscratch.org these were given for 2.95.3 release, however nothing appears too exotic and hence adapted for latest stable version. They are upto and including configure: $ mkdir ../gcc-build $ cd ../gcc-build $ ../gcc-3.0.3/configure --prefix=/usr --enable-languages=c,c++ -disable-nls --disable-shared --enable-threads=posix Giving just the two (seemingly irrelevent) warnings/errors: --- ./configure [snippet] --- *** This configuration is not supported in the following subdirectories: target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) --- ./configure [snippet] --- configure: warning: *** Makeinfo is missing or too old. *** Info documentation will not be built. Now, simply bootstrap with: make BOOT_LDFLAGS=-static bootstrap And dies after some time (about 30 minutes, remembering it is a 266) leaving the following information spewed over my terminal: --- output tail from make --- 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.3/gcc -I../../gcc-3.0.3/gcc/. -I../../gcc-3.0.3/gcc/config -I../../gcc-3.0.3/gcc/../include \ -DTARGET_MACHINE=\"i586-pc-linux-gnu\" \ -c ../../gcc-3.0.3/gcc/collect2.c gcc -c -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.3/gcc -I../../gcc-3.0.3/gcc/. -I../../gcc-3.0.3/gcc/config -I../../gcc-3.0.3/gcc/../include ../../gcc-3.0.3/gcc/tlink.c -o tlink.o /bin/sh ../../gcc-3.0.3/gcc/genmultilib \ "`test yes != yes || echo `" \ "`test yes != yes || echo `" \ "`test yes != yes || echo `" \ "`test yes != yes || echo `" \ "`test yes != yes || echo `" \ "`test yes != yes || echo `" \ > tmp-mlib.h /bin/sh ../../gcc-3.0.3/gcc/move-if-change tmp-mlib.h multilib.h echo timestamp > s-mlib (SHLIB_LINK='./xgcc -B./ -B/usr/i586-pc-linux-gnu/bin/ -isystem /usr/i586-pc-linux-gnu/include -isystem /usr/i586-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DHAVE_GTHR_DEFAULT -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.3/gcc -I../../gcc-3.0.3/gcc/. -I../../gcc-3.0.3/gcc/config -I../../gcc-3.0.3/gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.0.3\" -DDEFAULT_TARGET_MACHINE=\"i586-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "no" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c ../../gcc-3.0.3/gcc/gcc.c) ../../gcc-3.0.3/gcc/gcc.c: In function `execute': ../../gcc-3.0.3/gcc/gcc.c:2717: `prus' has an incomplete type ../../gcc-3.0.3/gcc/gcc.c:2718: `RUSAGE_CHILDREN' undeclared (first use in this function) ../../gcc-3.0.3/gcc/gcc.c:2718: (Each undeclared identifier is reported only once ../../gcc-3.0.3/gcc/gcc.c:2718: for each function it appears in.) ../../gcc-3.0.3/gcc/gcc.c:2719: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2719: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2720: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2720: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2723: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2723: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2724: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c:2724: invalid use of undefined type `struct rusage' ../../gcc-3.0.3/gcc/gcc.c: At top level: ../../gcc-3.0.3/gcc/gcc.c:217: storage size of `rus' isn't known ../../gcc-3.0.3/gcc/gcc.c:217: storage size of `prus' isn't known ../../gcc-3.0.3/gcc/gcc.c:1301: warning: `init_gcc_specs' defined but not used make[2]: *** [gcc.o] Error 1 make[2]: Leaving directory `/mnt/backup/LFS/usr/src/gcc-build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/mnt/backup/LFS/usr/src/gcc-build/gcc' make: *** [bootstrap] Error 2 Thank you for your time, Jonathan Paton >How-To-Repeat: Unknown cause, GCC-2.95.3 is known to compile on a *similar* configuration to this. Willing to compile earlier versions upon request, if appropriate. Completely repeatable from clean extract of GCC3.0.3 tarball. >Fix: >Release-Note: >Audit-Trail: >Unformatted: