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]

[Bug ada/77986] Re-building from the toplevel doesn't work when Ada changes


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77986

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Now I have
> 
> make[3]: Entering directory
> `/home/abuild/rguenther/obj-early-lto-debug-g/gcc/ada/tools'
> ../../gnatbind -I- -I../rts -I.
> -I/space/rguenther/src/svn/early-lto-debug/gcc/ada -o b_gnatm.adb
> gnatmake.ali
> error: "s-stalib.adb" and "gnatmake.adb" compiled with different exception
> handling mechanisms
> error: "s-secsta.adb" and "gnatmake.adb" compiled with different exception
> handling mechanisms
> ...

Just remove the gnattools directory and do 'make all-gnattools'.

> Oh, and that I can't cut&paste from gnat.dg testsuite logs and add -v
> -save-temps to see and debug subcommands invoked is another thing.

Add "-cargs -save-temps -v" to the gnatmake command line.

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