public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5342: sparc-sun-solaris2.6 built 3.0.3 fails to bootstrap sparc-sun-solaris2.8 3.0.3: header problem
@ 2002-02-22 21:10 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-02-22 21:10 UTC (permalink / raw)
To: Laszlo.Megyeri, gcc-bugs, gcc-prs, llib, nobody
Synopsis: sparc-sun-solaris2.6 built 3.0.3 fails to bootstrap sparc-sun-solaris2.8 3.0.3: header problem
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Feb 22 21:05:24 2002
State-Changed-Why:
I know that the header files for some basic
types changed on Solaris
between 2.6 and 2.7, and between 2.7 and 2.8.
For this reason, I do not think a version of
gcc compiled under Solaris 2.6 will
work under Solaris 2.8, because when you
built gcc, the configure script made some
assumptions based on the Solaris 2.6 header files.
I'm not sure what the workaround is at this point.
There is a version of gcc 3.0.3 for
Solaris 2.8 at
http://www.sunfreeware.com.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5342
^ permalink raw reply [flat|nested] 2+ messages in thread
* bootstrap/5342: sparc-sun-solaris2.6 built 3.0.3 fails to bootstrap sparc-sun-solaris2.8 3.0.3: header problem
@ 2002-01-09 16:26 llib
0 siblings, 0 replies; 2+ messages in thread
From: llib @ 2002-01-09 16:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 5342
>Category: bootstrap
>Synopsis: sparc-sun-solaris2.6 built 3.0.3 fails to bootstrap sparc-sun-solaris2.8 3.0.3: header problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 16:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Bill Clarke
>Release: 3.0.3
>Organization:
>Environment:
sparc-sun-solaris2.6 and sparc-sun-solaris2.8
>Description:
[Note: not really "bootstrap" category, but there isn't a fixincludes category?]
The fixincludes for 3.0.3 on sparc-sun-solaris2.6 produces a sys/types.h that is invalid for use on sparc-sun-solaris2.8 (e.g., on sparc-sun-solaris2.8 it needs to typedef blksize_t). this makes it hard to use the sparc-sun-solaris2.6-built 3.0.3 to build anything that uses, e.g., fcntl.h, on sparc-sun-solaris2.8, including bootstrapping gcc 3.0.3.
this is the error i get:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic /home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c
In file included from /home/dcs/wpc/bullet/incoming/gcc-3.0.3/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
/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c: In function `fdmatch':
/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c:59: storage size of `sbuf1' isn't known
/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c:60: storage size of `sbuf2' isn't known
/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c:59: warning: unused variable `sbuf1'
/home/dcs/wpc/bullet/incoming/gcc-3.0.3/libiberty/fdmatch.c:60: warning: unused variable `sbuf2'
gmake[1]: *** [fdmatch.o] Error 1
>How-To-Repeat:
- build and install 3.0.3 on sparc-sun-solaris2.6
- export that directory to a sparc-sun-solaris2.8 host
- try and bootstrap 3.0.3 with the 2.6-built 3.0.3.
>Fix:
workaround is to build both 2.6 and 2.8 versions, using Sun's cc to bootstrap
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-23 5:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 21:10 bootstrap/5342: sparc-sun-solaris2.6 built 3.0.3 fails to bootstrap sparc-sun-solaris2.8 3.0.3: header problem rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-01-09 16:26 llib
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).