[Bug ada/38832] Main program runs fine but hangs on exit when linked with Ada shared lib

charlet at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 30 09:37:00 GMT 2010



------- Comment #6 from charlet at gcc dot gnu dot org  2010-04-30 09:36 -------
The bug is in your manual build procedure (the patch to
s-finimp.adb is a kludge that would only hide the wrong build procedure) which
is
bypassing the gnat toolset normal operations.

I would suggest using stand alone library project files which are designed
for exactly this purpose, and will create a proper executable without calling
elaboration twice, see the GNAT documentation for more details.


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38832



More information about the Gcc-bugs mailing list