"Carlos O'Donell" <car...@systemhalted.org> writes: > On Sun, Dec 13, 2009 at 10:03 AM, Stephen Leake > <stephen_le...@stephe-leake.org> wrote: >> Frans Pop gave me access to his machine. I have some more information >> on the bug. >> >> If I compile from full GNADE source (not using the GNADE dynamic or >> static libraries), the code works. > > What does "from full GNADE source" mean?
Ludovic answered this nicely. >> With the dynamic library, I get a SIGSEGV, somewhere in the program >> startup, before any user code. > > Export LD_DEBUG=all, run the program, this will tell you what the > dynamic loader is doing every step of the way. This shows lots of symbols being resolved, nothing helpful. > If you see "transferring control:" then the dynamic loader has just > handed off control the real program, and any fault after that is > possibly related to the real program. That is there, although there are more symbols looked up after it. >> With the static library, I get a stack overflow (caught and reported >> by the Ada runtime), during elaboration of a compiler-provided >> container library. > > Could you please define "during elaboration?" Ludovic answered this nicely. Ludovic also suggested removing '-fstack-check' from the list of compiler options. I did that, rebuilt the static and dynamic libraries, and the bug went away; the test code works with both static and dynamic libraries. So I will leave hppa in the arch list, but remove the stack check option. -- -- Stephe -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org