This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/6483: ada fails to build under hppa*-hp-hpux*
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: danglin at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 30 Apr 2002 17:46:03 -0000
- Subject: Re: ada/6483: ada fails to build under hppa*-hp-hpux*
- Reply-to: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
The following reply was made to PR ada/6483; it has been noted by GNATS.
From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: dave.anglin@nrc.ca, gcc-gnats@gcc.gnu.org, mark@codesourcery.com,
zack@codesourcery.com
Subject: Re: ada/6483: ada fails to build under hppa*-hp-hpux*
Date: Tue, 30 Apr 2002 13:11:21 -0400 (EDT)
> dave.anglin@nrc.ca writes:
>
> > The PR has been marked high-priority because it is a
> > regression.
>
> I don't think it's a regression, from the FSF point of view.
Then, I don't understand the FSF point of view on what's a regression.
The following patch broke native builds of the ada compiler under hpux:
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.
This patch was made after the release of 3.0. If my patch is not
acceptable, then I request that the above patch be reverted or
corrected.
This first came to light when Matthew Wilcox did a cross build to
a hppa-linux target and found T_ADAFLAGS was incorrectly defined.
In the ensuing discussion, it became clear that "-mdisable-indxing"
needed to used in host builds for both C and ADA files. T_ADAFLAGS
is only used for ADA files. We had the correct behaviour in native
builds before Zack's patch using ADA_CFLAGS. However, this is not
a proper target or host define, so I can see why Zack applied the
above patch.
I personally believe the makefile infrastructure should be fixed on
the 3.1 branch. Without it being fixed, ada will not build under
hpux. hppa2.0w-hp-hpux11.00 is one of the primary evaluation
targets for the release.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)