[Bug ada/83027] program hangs when Ada.Text_IO is with'ed both in executable and shared library

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 07:29:00 GMT 2017


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
             Status|WAITING                     |NEW
            Summary|An innocent do-nothing      |program hangs when
                   |program hangs if linked     |Ada.Text_IO is with'ed both
                   |using shared library        |in executable and shared
                   |                            |library

--- Comment #18 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Created attachment 42666 [details]
> Minimal example reprising the bug
> 
> I've created the minimal example reprising the bug.
> 
> The bug is actually awful: Just four innocent (doing nothing) source files
> cause the program to hang infinitely despite it was asked to do none.
> 
> Note that the bug is triggered only for dynamic libraries.

Thanks for the small reproducer.  This has apparently never worked correctly...


More information about the Gcc-bugs mailing list