This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/86211] GCC 8 ada cannot build GCC 7 ada
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jun 2018 12:27:58 +0000
- Subject: [Bug ada/86211] GCC 8 ada cannot build GCC 7 ada
- Auto-submitted: auto-generated
- References: <bug-86211-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211
--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 19 Jun 2018, charlet at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211
>
> Arnaud Charlet <charlet at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |charlet at gcc dot gnu.org
>
> --- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
> As you said, this combination isn't guaranteed to work, although I'm surprising
> by the gcc command line you showed, which doesn't include -Iada/libgnat or
> -I../../gcc/ada/libgnat as per ADA_INCLUDES in gcc-interface/Make-lang.in:
>
> ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada
> -I$(srcdir)/ada/gcc-interface -Iada/libgnat -I$(srcdir)/ada/libgnat
>
> So I'd suggest double checking your source tree here, maybe you have some local
> changes that are modifying ADA_INCLUDES?
I'm building the GCC 7 branch which has the following in
gcc-interface/Make-lang.in:
ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada
-I$(srcdir)/ada/gcc-interface
The GCC 7 branch doesn't seem to have a libgnat subdirectory under ada/