public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Laszlo.Megyeri@eth.ericsson.se
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/5275: stat.h parse error in fdmatch.c on Solaris 2.8
Date: Fri, 04 Jan 2002 08:16:00 -0000	[thread overview]
Message-ID: <20020104161239.29579.qmail@sources.redhat.com> (raw)


>Number:         5275
>Category:       bootstrap
>Synopsis:       stat.h parse error in fdmatch.c on Solaris 2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 04 08:16:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Laszlo.Megyeri@eth.ericsson.se
>Release:        gcc 3.0.3
>Organization:
>Environment:
SunOS duna261 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-5_10
>Description:
I would have like to compile gcc 3.0.3 on Solaris 8:
config command was:
/mnt/adm/gnuowner/w1/gcc-3.0.2/configure --prefix=/usr/local/gnu/gcc3.0.3_test  --with-local-prefix=/usr/local/gnu/gcc3.0.3_test --srcdir=/mnt/adm/gnuowner/w1/gcc-3.0.2 --enable-shared --with-as=/usr/local/gnu/bin/as --with-ld=/usr/local/gnu/bin/ld --enable-threads --disable-target-optspace
Then the bootstrap command:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
It stoped with this massage:

make[1]: Entering directory `/mnt/adm/gnuowner/w1-obj/libiberty'
if [ x"`case '-g -O2 -g -O2 -fno-implicit-templates' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/../include  -W -Wall -Wtraditional -pedantic `case '-g -O2 -g -O2 -fno-implicit-templates' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` /mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
In file included from /mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c:53:
/usr/include/sys/stat.h:258: parse error before "blksize_t"
/usr/include/sys/stat.h:262: parse error before '}' token
/usr/include/sys/stat.h:318: parse error before "blksize_t"
/usr/include/sys/stat.h:319: conflicting types for `st_blocks'
/usr/include/sys/stat.h:259: previous declaration of `st_blocks'
/usr/include/sys/stat.h:322: parse error before '}' token
/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c: In function `fdmatch':
/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c:59: storage size of `sbuf1' isn't known
/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c:60: storage size of `sbuf2' isn't known
/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c:59: warning: unused variable `sbuf1'
/mnt/adm/gnuowner/w1/gcc-3.0.2/libiberty/fdmatch.c:60: warning: unused variable `sbuf2'
make[1]: *** [fdmatch.o] Error 1
make[1]: Leaving directory `/mnt/adm/gnuowner/w1-obj/libiberty'
make: *** [all-libiberty] Error 2
>How-To-Repeat:
It is reproducable.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-01-04 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04  8:16 Laszlo.Megyeri [this message]
2002-01-04 10:26 rodrigc
2002-01-05  1:26 Laszlo Megyeri
2002-01-05 12:46 Craig Rodrigues
2002-01-09 23:06 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=20020104161239.29579.qmail@sources.redhat.com \
    --to=laszlo.megyeri@eth.ericsson.se \
    --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).