CC="gcc-4.1" GNATMAKE="gnatmake-4.1" ../configure --enable-languages=ada

...

checking whether gcc-4.1 accepts -g... yes
checking for gnatbind... gnatbind-4.1
checking whether compiler driver understands Ada... yes
...

(everything ok until)

gcc-4.1 -c   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wold-style-definition
-Wmissing-format-attribute    -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I../../gcc -I../../gcc/build -I../../gcc/../include
-I../../gcc/../libcpp/include     -o build/gencheck.o ../../gcc/gencheck.c
gnatbind -C -I- -I. -Iada -I../../gcc/ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
9.   
     |
make[2]: *** [ada/b_gnat1.c] Error 4
make[2]: *** Waiting for unfinished jobs....
rm gcov.pod fsf-funding.pod gfdl.pod cpp.pod gcc.pod gpl.pod
make[2]: Leaving directory
`/usr/src/packages/BUILD/gcc-4.1.2-20070115/obj-i586-suse-linux/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/usr/src/packages/BUILD/gcc-4.1.2-20070115/obj-i586-suse-linux/gcc'


because in ada/Make-lang.in we have

GNATBIND = $(STAGE_PREFIX)gnatbind


-- 
           Summary: Ada bootstrap fails, stage1 binding does not honor
                    GNATMAKE
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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

Reply via email to