[Bug ada/6661] gcc can't bootstrap gcc with -O3

larssj at nospam dot dk gcc-bugzilla@gcc.gnu.org
Fri Jun 20 06:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6661



------- Additional Comments From larssj at nospam dot dk  2003-06-20 06:27 -------
I did an email reply on the question but sources.redhat.com say that I am
spammer -- I did not look at it because it was from  @sources.redhat.com!

Here is the reply:
 
To: 	email addresse removed
Subject: 	Re: ada/6661: gcc can't bootstrap gcc with -O3
Date: 	11 May 2003 22:29:21 +0200
Short version the current GCC-CVS HEAD is working with -O3 -- so this
bug can be closed. 

Long version:

The current GCC-CVS HEAD can't bootstrap because of a error:
http://gcc.gnu.org/ml/gcc/2003-05/msg00971.html

I have bootstrap the GCC-CVS HEAD in the last months with -O3 (gcc-3.4)
and that is also my current bootstrap gcc/gnat compiler.

I can't create a compiler from the build description for GCC-3.2.3. I
try with a version from the current GCC-cvs (GCC) 3.4 20021228 and and
newer.  (experimental) It failed:
 
make[3]: Entering directory `/mnt/home3/lasj/Work/GCC/work/gcc/ada'
gcc -c -march=athlon -pipe -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long    -W -Wall -gnatpg -gnata -I- -I.
-I../../../gcc-3.2.3/gcc/ada ../../../gcc-3.2.3/gcc/ada/ada.ads
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Divide_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Backend_Overflow_Checks
fatal error: system.ads is incorrectly formatted
missing line for parameter: Fractional_Fixed_Ops
compilation abandoned
make[3]: *** [ada.o] Error 1

And when I tries with gnat-3.14p using ADAC= it will not create the ada
part. Is the instruction for creating the ada compiler right, last time
I bootstrap gcc-ada via gnat-3.xx was it quit complicated?



More information about the Gcc-bugs mailing list