This is the mail archive of the gcc-bugs@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 Fri, 31 Jan 2003, Geert Bosch wrote:

> For troubleshooting these kind of problems, I would definitely recommend
> that you use "-gnatv", as that will give you the definite version of the
> gnat1 executable used to build the .o and .ali files.

ccorn@smile:gcc/ada$ 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 -gnatv -I- -I. -I/home/other/ccorn/SOURCES/gcc/gcc/ada /home/other/ccorn/SOURCES/gcc/gcc/ada/gnat1drv.adb

GNAT 3.2.2 20030201 (prerelease) Copyright 1992-2001 Free Software
Foundation, Inc.

Compiling: /home/other/ccorn/SOURCES/gcc/gcc/ada/gnat1drv.adb (source file time stamp: 2002-05-04 03:28:06)
 633 lines: No errors
ccorn@smile:gcc/ada$ 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
make sure you are using consistent versions of gcc/gnatbind
1.
     |
ccorn@smile:gcc/ada$ ls -l gnat1drv.ali
-rw-r--r--    1 ccorn    other           1 Feb  1 19:03 gnat1drv.ali
ccorn@smile:gcc/ada$ od -t c gnat1drv.ali
0000000  \n
0000001
ccorn@smile:gcc/ada$

A single linefeed?!

Before you have to ask: No, there is no disk space/quota restriction,
and the source file (the source tree's `gcc/ada/gnat1drv.adb') is not
empty or trivial.  Note that it's the bootstrapped gnat1 which produces
that `gnat1drv.ali'.

Startled,

Christian Cornelssen


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