This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.1 branch ada bootstrap fails
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc at gcc dot gnu dot org
- Cc: gbsadler1 at lcisp dot com
- Date: Fri, 3 May 2002 13:09:47 -0400 (EDT)
- Subject: Re: 3.1 branch ada bootstrap fails
> 2002-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.
I don't think that the patch is the cause of the problem:
gcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wt
raditional -pedantic -Wno-long-long -mdisable-indexing -W -Wall -gnatpg -gnata
-I- -I. -I../../../gcc/gcc/ada ../../../gcc/gcc/ada/ada.ads
does not cause an error in my builds and CFLAGS has always been used in
compiling ada files, except for a couple of days.
> This change causes ada to fail as of today as follows:
>
> gnatgcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -W -Wall
> -gnatpg -gnata -I- -I. -I/usr/src/cvs/gcc-3.1/
> gcc/ada /usr/src/cvs/gcc-3.1/gcc/ada/ada.ads
> gnat1: Invalid option `-Wno-long-long'
I believe that you have an incompatibility between the GCC driver used
for your build and gnatgcc. There is this configure check:
checking whether gcc accepts -Wno-long-long... yes
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)