This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/77986] Re-building from the toplevel doesn't work when Ada changes
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Oct 2016 08:45:58 +0000
- Subject: [Bug ada/77986] Re-building from the toplevel doesn't work when Ada changes
- Auto-submitted: auto-generated
- References: <bug-77986-4@http.gcc.gnu.org/bugzilla/>
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.