Re: [ada] help debugging acats failure

2009-09-06 Thread Dave Korn
Richard Guenther wrote: > On Fri, Sep 4, 2009 at 1:00 AM, Richard Henderson wrote: >> Can someone tell me how to debug this: >> >>> splitting >>> /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/tests/c3/c35502i.ada >>> FAIL: c35502i >> I haven't been able to figure out what command to issue

Re: [ada] help debugging acats failure

2009-09-05 Thread Richard Henderson
On 09/04/2009 02:51 AM, Eric Botcazou wrote: I haven't been able to figure out what command to issue from the command line to reproduce this. Cut and paste from the dejagnu log doesn't work, which is more than annoying... There is a blurb about this on http://gcc.gnu.org/wiki/DebuggingGCC Th

Re: [ada] help debugging acats failure

2009-09-04 Thread Eric Botcazou
> I haven't been able to figure out what command to issue from the command > line to reproduce this. Cut and paste from the dejagnu log doesn't > work, which is more than annoying... There is a blurb about this on http://gcc.gnu.org/wiki/DebuggingGCC -- Eric Botcazou

Re: [ada] help debugging acats failure

2009-09-04 Thread Richard Guenther
On Fri, Sep 4, 2009 at 1:00 AM, Richard Henderson wrote: > Can someone tell me how to debug this: > >> splitting >> /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/tests/c3/c35502i.ada >> into: >>   c35502i.adb >> BUILD c35502i.adb >> gnatmake --GCC="/home/rth/work/gcc/bld-sjlj/gcc/xgcc >> -B/

Re: [ada] help debugging acats failure

2009-09-03 Thread Arnaud Charlet
>> ./c35502i.o: In function `_ada_c35502i': >> c35502i.adb:(.text+0x156): undefined reference to `.L47' >> collect2: ld returned 1 exit status >> gnatlink: error when calling /home/rth/work/gcc/bld-sjlj/gcc/xgcc >> gnatmake: *** link failed. >> FAIL: c35502i > > I haven't been able to figure out

Re: [ada] help debugging acats failure

2009-09-03 Thread Geert Bosch
If you pass -v to gnatmake, it will output the gcc invocations. This should be sufficient to find the problem. Basically, just go to the directory containing c35502i.adb, and execute the gnatmake command as listed below, with -v added in. If you only have the 35502i.ada file available, use "gnatc

Re: [ada] help debugging acats failure

2009-09-03 Thread Dave Korn
Richard Henderson wrote: > Can someone tell me how to debug this: > >> splitting >> /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/tests/c3/c35502i.ada >> into: >>c35502i.adb >> BUILD c35502i.adb >> gnatmake --GCC="/home/rth/work/gcc/bld-sjlj/gcc/xgcc >> -B/home/rth/work/gcc/bld-sjlj/gcc

[ada] help debugging acats failure

2009-09-03 Thread Richard Henderson
Can someone tell me how to debug this: splitting /home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/tests/c3/c35502i.ada into: c35502i.adb BUILD c35502i.adb gnatmake --GCC="/home/rth/work/gcc/bld-sjlj/gcc/xgcc -B/home/rth/work/gcc/bld-sjlj/gcc/" -gnatws -O2 -I/home/rth/work/gcc/bld-sjlj/g