This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/13470] 64bits Ada bootstrap failure:xnmake etc. crash generating nmake.adb etc.
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2005 12:48:09 -0000
- Subject: [Bug ada/13470] 64bits Ada bootstrap failure:xnmake etc. crash generating nmake.adb etc.
- References: <20031222212004.13470.ro@techfak.uni-bielefeld.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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