------- Additional Comments From jakub at gcc dot gnu dot org 2005-01-17 12:48 ------- Seems if I recompile a-stunau.o with -O0 -fPIC as opposed to -O2 -fPIC and relink/reinstall libgnat-3.4.so.1, xnmake works, at least on my x86-64. When it is compiled with -O2 -fPIC, xnmake dies much earlier under LD_PRELOAD=libefence.so.0. >From my debugging so far it looks like if Ada.Strings.Unbounded.Aux.Get_String compiled with -O2 results in the freed Reference to be still used by subsequent users instead of the newly allocated one.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13470