[Bug bootstrap/30541] Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 23 13:13:00 GMT 2007



------- Comment #8 from rguenth at gcc dot gnu dot org  2007-01-23 13:13 -------
Well, the obvious patch for the mainline is not working -- it looks like
GNATBIND is no longer "fixed" to use the staged ones:

/abuild/rguenther/obj/./prev-gcc/xgcc -B/abuild/rguenther/obj/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes     -fno-common  
-DHAVE_CONFIG_H -I. -Iada -I/space/rguenther/src/svn/trunk/gcc
-I/space/rguenther/src/svn/trunk/gcc/ada
-I/space/rguenther/src/svn/trunk/gcc/../include
-I/space/rguenther/src/svn/trunk/gcc/../libcpp/include 
-I/space/rguenther/src/svn/trunk/gcc/../libdecnumber -I../libdecnumber   
/space/rguenther/src/svn/trunk/gcc/ada/cuintp.c -o ada/cuintp.o
gnatbind-4.1 -C -I- -I. -Iada -I/space/rguenther/src/svn/trunk/gcc/ada -o
ada/b_gnatb.c ada/gnatbind.ali
fatal error: file gnatbind.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
10.  R nnnvnnnnnnnnvnnvnvnnnnvnnvnvnnnnnnnnvnvnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnn
                                                                              |
make[3]: *** [ada/b_gnatb.c] Error 4
make[3]: *** Waiting for unfinished jobs....
rm gcov.pod fsf-funding.pod gfdl.pod cpp.pod gpl.pod gcc.pod

so the toplevel Makefile.in needs to pass a "fixed" GNATBIND down.

Also GNATLINK is not used for building stage1, nor is GNATMAKE used after
building stage1.  So only GNATBIND needs full treatment.


-- 


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



More information about the Gcc-bugs mailing list