public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: 3.1 branch ada bootstrap fails
@ 2002-05-03 10:09 John David Anglin
  2002-05-03 10:32 ` Zack Weinberg
  2002-05-03 11:39 ` Alexandre Oliva
  0 siblings, 2 replies; 21+ messages in thread
From: John David Anglin @ 2002-05-03 10:09 UTC (permalink / raw)
  To: gcc; +Cc: gbsadler1

> 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)

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: 3.1 branch ada bootstrap fails
@ 2002-05-04 23:52 Simon Wright
  0 siblings, 0 replies; 21+ messages in thread
From: Simon Wright @ 2002-05-04 23:52 UTC (permalink / raw)
  To: gcc

(Sorry this isn't threaded, I've only just joined)

A "drill" solution might be to alter the GNAT section of the
installation instructions to recommend configuring with the old GNAT
compiler:

  CC=gnatgcc; export CC
  {srcdir}/configure --enable-languages=c,ada

^ permalink raw reply	[flat|nested] 21+ messages in thread
* 3.1 branch ada bootstrap fails
@ 2002-05-03  8:32 Gordon Sadler
  0 siblings, 0 replies; 21+ messages in thread
From: Gordon Sadler @ 2002-05-03  8:32 UTC (permalink / raw)
  To: gcc

2002-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>

        * Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.

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'
make[3]: *** [ada.o] Error 1


-- 
Gordon Sadler

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2002-05-08  2:43 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-03 10:09 3.1 branch ada bootstrap fails John David Anglin
2002-05-03 10:32 ` Zack Weinberg
2002-05-03 11:03   ` John David Anglin
2002-05-05 16:06     ` Zack Weinberg
2002-05-06  8:38       ` John David Anglin
2002-05-06 13:28         ` Zack Weinberg
2002-05-06 15:17           ` Mark Mitchell
2002-05-06 15:26             ` John David Anglin
2002-05-06 15:31               ` Mark Mitchell
2002-05-07 11:48                 ` John David Anglin
2002-05-07 17:02                   ` Alexandre Oliva
2002-05-07 17:54                     ` Alexandre Oliva
2002-05-07 20:06                     ` Mark Mitchell
2002-05-07 18:02                   ` Alexandre Oliva
2002-05-07 18:05                     ` John David Anglin
2002-05-03 11:39 ` Alexandre Oliva
2002-05-03 12:58   ` John David Anglin
2002-05-03 19:47   ` Geoff Keating
2002-05-03 21:33     ` Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2002-05-04 23:52 Simon Wright
2002-05-03  8:32 Gordon Sadler

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).