public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: dave.anglin@nrc.ca To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com Subject: ada/6483: ada fails to build under hppa*-hp-hpux* Date: Fri, 26 Apr 2002 16:46:00 -0000 [thread overview] Message-ID: <20020426234010.32017.qmail@sources.redhat.com> (raw) >Number: 6483 >Category: ada >Synopsis: ada fails to build under hppa*-hp-hpux* >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Apr 26 16:46:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dave Anglin >Release: gcc 3.1 and 3.2 >Organization: >Environment: hppa*-hp-hpux* >Description: Segmentation fault in gnat compiling ada.ads in stage 2. The problem is caused by not specify "-mdisable-indexing" when building the C files comprising the ada compiling. The build configuration was changed last October by this patch: 2001-10-08 Zack Weinberg <zack@codesourcery.com> * aclocal.m4 (gcc_AC_PROG_GNAT): New. * configure.in: Use it. * configure: Regenerated. * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS. ADA_CFLAGS is used in building both c and ada files in the ada compiler. T_ADAFLAGS is only used when compiling ada files. The above option needs to be specified for both c and ada files for correct operation of gnat. A further problem is that T_ADAFLAGS is a target configuration flag. The "-mdisable-indexing" option needs to be specified for the host not the target. This was observed recently when a cross compiler was used to port ada to hppa-linux. The PR has been marked high-priority because it is a regression. >How-To-Repeat: >Fix: <http://gcc.gnu.org/ml/gcc-patches/2002-04/msg01625.html> >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-04-26 23:46 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-04-26 16:46 dave.anglin [this message] 2002-04-26 16:50 danglin 2002-04-30 8:36 Florian Weimer 2002-04-30 10:26 Mark Mitchell 2002-04-30 10:36 John David Anglin 2002-04-30 10:46 John David Anglin 2002-04-30 11:06 zack 2002-04-30 11:16 John David Anglin 2002-04-30 11:26 Mark Mitchell 2002-04-30 12:21 danglin 2002-04-30 14:56 Mark Mitchell 2002-04-30 14:56 zack 2002-04-30 14:56 John David Anglin
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=20020426234010.32017.qmail@sources.redhat.com \ --to=dave.anglin@nrc.ca \ --cc=gcc-gnats@gcc.gnu.org \ --cc=mark@codesourcery.com \ /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).