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: [ada] help debugging acats failure


>> ./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 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...

After a make install, you can use something like

cd /home/rth/work/gcc/bld-sjlj/gcc/testsuite/tests/c3
gnatmake c35502i.adb -I/home/rth/work/gcc/bld-sjlj/gcc/testsuite/ada/acats0/support

The command line used by the test suite is very complex and requires
env vars just because it needs to use the uninstalled compiler.

Once your compiler is installed, using it is a simple matter of doing
gnatmake with appropriate -I switches if needed.

Arno


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