public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/10028: gcc 3.1 and later up to 3.2.2 included, does not boostrap on alpha Tru64 Unix 5.1B using the native Compaq C compiler
@ 2003-03-11 21:20 ro
0 siblings, 0 replies; 2+ messages in thread
From: ro @ 2003-03-11 21:20 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pagnin, ro
Synopsis: gcc 3.1 and later up to 3.2.2 included, does not boostrap on alpha Tru64 Unix 5.1B using the native Compaq C compiler
Responsible-Changed-From-To: unassigned->ro
Responsible-Changed-By: ro
Responsible-Changed-When: Tue Mar 11 21:20:58 2003
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->closed
State-Changed-By: ro
State-Changed-When: Tue Mar 11 21:20:58 2003
State-Changed-Why:
Duplicate of PR target/9671. Fixed for 3.2.3, 3.3, 3.4.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10028
^ permalink raw reply [flat|nested] 2+ messages in thread
* bootstrap/10028: gcc 3.1 and later up to 3.2.2 included, does not boostrap on alpha Tru64 Unix 5.1B using the native Compaq C compiler
@ 2003-03-11 15:26 pagnin
0 siblings, 0 replies; 2+ messages in thread
From: pagnin @ 2003-03-11 15:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10028
>Category: bootstrap
>Synopsis: gcc 3.1 and later up to 3.2.2 included, does not boostrap on alpha Tru64 Unix 5.1B using the native Compaq C compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 11 15:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Davide Pagnin
>Release: gcc version 3.2.2
>Organization:
>Environment:
uname -a
OSF1 V5.1 2650 alpha
CC = /bin/cc (native Compaq C compiler)
>Description:
In the 3.1 and subsequent series of gcc, a workaround for a fstat (and friends) class of function not properly exposed in Tru64 Unix has been introduced.
(Relevant PR ID number is: 6126)
The workaround, that applies to Tru64 Unix 5.1A (and to 5.1 as far as I know) is included in the os and platform specific file:
gcc/config/alpha/osf.h
as a define for CPP_SUBTARGET_SPEC:
-D__EXTERN_PREFIX
This workaround plays bad with fixes that Compaq (now HP) has introduced to Tru64 Unix 5.1B, and in particular with the new /usr/include/sys/stat.h file
By issuing a make bootstrap, after building the first stage, you get errors indicating that _F64__F64_ symbols aren't defined (this is due to the fact that both HP fixes and gcc osf workaround help in add a _F64_ symbol before *stat class of function and ending up in add that symbol twice!)
By removing -D__EXTERN_PREFIX the compilation completes cleanly (but then the old bug will return if you compile the source gcc on a Tru64 Unix 5.1A system)
>How-To-Repeat:
On a Tru64 Unix 5.1B alpha system:
setenv CC /bin/cc
./configure
make bootstrap
>Fix:
remove -D__EXTERN_PREFIX on 5.1B osf
perhaps a proper workaround can be generated by correctly fix the /usr/include/sys/stat.h file, through a fixinclude macro (tough I have not the knowledge do produce it)
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-11 21:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-11 21:20 bootstrap/10028: gcc 3.1 and later up to 3.2.2 included, does not boostrap on alpha Tru64 Unix 5.1B using the native Compaq C compiler ro
-- strict thread matches above, loose matches on Subject: below --
2003-03-11 15:26 pagnin
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).