public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: chris@bingosnet.co.uk
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3262: Problem compiling GCC-3.0 on i586-pc-linux-gnu with gcc-2.95.2
Date: Tue, 19 Jun 2001 09:26:00 -0000	[thread overview]
Message-ID: <20010619162420.4656.qmail@sourceware.cygnus.com> (raw)

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


             reply	other threads:[~2001-06-19  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19  9:26 chris [this message]
2001-10-20 22:37 rodrigc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010619162420.4656.qmail@sourceware.cygnus.com \
    --to=chris@bingosnet.co.uk \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).