This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.2] Can ada/6160 be cured from 3.3 or trunk?


On Tue, 28 Jan 2003, Christian Cornelssen wrote:

> On "my" platform (doko's i686-pc-linux-gnu / Debian):
>
> $ gnatgcc -v -x ada /dev/null
> Reading specs from /usr/lib/gcc-lib/i486-linux/2.8.1/specs
> gcc version 2.8.1
> [...]
> $ gnatbind -v /dev/null
>
> GNATBIND 3.14p (20010503) Copyright 1995-2001 Free Software Foundation, Inc.
>
> I have also checked that gnatgcc and gnatbind belong to the same
> Debian gnat package, and verified the md5sums.
>
> Anything invalid?  Note that bootstrapping Ada works for GCC >= 3.3.

My idea was that `gnat1drv.ali' had not been regenerated by the stage1
compiler, but the following log excerpts proved me wrong:

gnatgcc -c -march=i686 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional     -W -Wall -gnatpg -gnata -I- -I. -I/home/other/ccorn/SOURCES/gcc/gcc/ada /home/other/ccorn/SOURCES/gcc/gcc/ada/gnat1drv.adb
gnatbind -C -I- -I. -I/home/other/ccorn/SOURCES/gcc/gcc/ada -o b_gnat1.c -n gnat1drv.ali
[...no problems...]
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -march=i686 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long    -W -Wall -gnatpg -gnata -I- -I. -I/home/other/ccorn/SOURCES/gcc/gcc/ada /home/other/ccorn/SOURCES/gcc/gcc/ada/gnat1drv.adb
stage1/gnatbind -C -I- -I. -I/home/other/ccorn/SOURCES/gcc/gcc/ada -o b_gnat1.c -n gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted

I have not looked at the particular contents of `gnat1drv.ali'.
(Meanwhile, I have deleted the build tree to free space for other test
builds.)  Do you have an idea what might be wrong, though?

Regards,

Christian Cornelssen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]