Re: Ada compile with -fvar-tracking

Tom Tromey
2023-11-15T15:05:15Z

>>>>> "Carl" == Carl Love <cel@linux.ibm.com> writes:

Carl> I have attached the patch, followed by the entire log file. Hopefully
Carl> you can see something I am missing. Thanks for the help.

Well, it is definitely a mystery to me.

A pretty normal failure mode is that the compiler emits some warning or
something, and dejagnu thinks this is an error. This doesn't seem to be
happening in your case.

Carl> compilation failed: gcc -c -I./ -fvar-tracking -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -I- /home/carll/GDB/binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large/p.adb

I wonder if this is exiting with a non-zero status.

It's hard to imagine what else it could be. Like could there be a
message but dejagnu isn't putting it into the log?

What happens if you 'cd' into the appropriate subdir in the source tree
and invoke gnatmake yourself? I think earlier you said this worked, but
it's good to start with a clean build tree (hence srcdir -- you can 'git
clean .' to nuke the build artifacts)

Tom