From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30257 invoked by alias); 4 Jan 2002 16:16:10 -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 30208 invoked by uid 71); 4 Jan 2002 16:16:04 -0000 Resent-Date: 4 Jan 2002 16:16:04 -0000 Resent-Message-ID: <20020104161604.30207.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, Laszlo.Megyeri@eth.ericsson.se Received:(qmail 29581 invoked by uid 61); 4 Jan 2002 16:12:39 -0000 Message-Id:<20020104161239.29579.qmail@sources.redhat.com> Date: Fri, 04 Jan 2002 08:16:00 -0000 From: Laszlo.Megyeri@eth.ericsson.se Reply-To: Laszlo.Megyeri@eth.ericsson.se To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/5275: stat.h parse error in fdmatch.c on Solaris 2.8 X-SW-Source: 2002-01/txt/msg00154.txt.bz2 List-Id: >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: