public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/10019: Can't bootstrap gcc on AIX with Ada enabled
@ 2003-03-31 17:49 dje
0 siblings, 0 replies; 2+ messages in thread
From: dje @ 2003-03-31 17:49 UTC (permalink / raw)
To: bosch, gcc-bugs, gcc-prs, laurent.goujon, nobody
Synopsis: Can't bootstrap gcc on AIX with Ada enabled
Responsible-Changed-From-To: unassigned->bosch
Responsible-Changed-By: dje
Responsible-Changed-When: Mon Mar 31 17:48:48 2003
Responsible-Changed-Why:
Ada
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10019
^ permalink raw reply [flat|nested] 2+ messages in thread
* ada/10019: Can't bootstrap gcc on AIX with Ada enabled
@ 2003-03-10 17:26 laurent.goujon
0 siblings, 0 replies; 2+ messages in thread
From: laurent.goujon @ 2003-03-10 17:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10019
>Category: ada
>Synopsis: Can't bootstrap gcc on AIX with Ada enabled
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 10 17:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Laurent Goujon
>Release: gcc version 3.2.2
>Organization:
>Environment:
OS : IBM AIX 5.1.0
ARCH : RS6000
>Description:
When bootstrapping gcc with ada-language enabled, there's a conflit in the declaration of the function nanosleep in ada/init.c
It seems that AIX 5L provides some "linux" functions like nanosleep...
>How-To-Repeat:
$ cd (builddir)
$ ./configure --enable-languages=all
$ cd (srcdir)/gcc/ada
$ touch treeprs.ads [es]info.h nmake.ad[bs]
$ cd (buildir)
$ make bootstrap
result :
gcc -c -DIN_GCC `echo -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` \
-I- -I. -I.. -I../../../gcc-3.2.2/gcc/ada -I../../../gcc-3.2.2/gcc/ada/.. -I../../../gcc-3.2.2/gcc/ada/../config -I../../../gcc-3.2.2/gcc/ada/../../include -fexceptions ../../../gcc-3.2.2/gcc/ada/init.c
../../../gcc-3.2.2/gcc/ada/init.c:205:1: warning: "SA_NODEFER" redefined
In file included from /usr/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.2.1/include/sys/wait.h:48,
from /usr/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.2.1/include/stdlib.h:231,
from ../../../gcc-3.2.2/gcc/system.h:134,
from ../../../gcc-3.2.2/gcc/ada/init.c:56:
/usr/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.2.1/include/sys/signal.h:389:1: warning: this is the location of the previous definition
../../../gcc-3.2.2/gcc/ada/init.c:211: conflicting types for `nanosleep'
/usr/include/time.h:210: previous declaration of `nanosleep'
../../../gcc-3.2.2/gcc/ada/init.c: In function `nanosleep':
../../../gcc-3.2.2/gcc/ada/init.c:218: warning: implicit declaration of function `nsleep'
>Fix:
add #ifdef ! defined(_AIX51) above the nanosleep definition in init.c and #endif below !
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-31 17:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-31 17:49 ada/10019: Can't bootstrap gcc on AIX with Ada enabled dje
-- strict thread matches above, loose matches on Subject: below --
2003-03-10 17:26 laurent.goujon
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).