public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: laurent.goujon@online.fr To: gcc-gnats@gcc.gnu.org Subject: ada/10019: Can't bootstrap gcc on AIX with Ada enabled Date: Mon, 10 Mar 2003 17:26:00 -0000 [thread overview] Message-ID: <20030310171707.21658.qmail@sources.redhat.com> (raw) >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:
next reply other threads:[~2003-03-10 17:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-10 17:26 laurent.goujon [this message] 2003-03-31 17:49 dje
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=20030310171707.21658.qmail@sources.redhat.com \ --to=laurent.goujon@online.fr \ --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: linkBe 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).