public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5392: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system
@ 2002-01-17 21:37 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-17 21:37 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jonathanpaton, nobody

Synopsis: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Jan 17 21:37:12 2002
State-Changed-Why:
    Duplicate of PR 4856:
    http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4856

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5392


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bootstrap/5392: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system
@ 2002-01-15 11:36 jonathanpaton
  0 siblings, 0 replies; 2+ messages in thread
From: jonathanpaton @ 2002-01-15 11:36 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-18  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-17 21:37 bootstrap/5392: Bootstrap failure building GCC3.0.3 from SuSE6.2 system for LFS system rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2002-01-15 11:36 jonathanpaton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).