> On Mon, Dec 14, 2009 at 07:46:52AM -0500, Stephen Leake wrote: > ... > > 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. > > Dave, Carlos, > Would this imply something might be broken in the stack unwinding?
Possibly. An off by one error was recently fixed on GCC head. This affects Ada but not Java. Java had code to adjust the program counter by one instruction when catching signals. The change could be backported to 4.4, but I don't intend to do it because the behavior isn't a regression and it changes the behavior of libgcc_s.so. We need a version bump for libgcc_s.so in 4.5. We don't have any backend support for '-fstack-check'. Eric Botcazou has recently done some updates which I think fix some issues with generic stack checking. See for example, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20548 So, it might help to try a recent 4.5.0 snapshot. The fact that the stack grows upwards on hppa is a bit unusual and might be a source of problems. It is possible that we could add backend support for stack checking using the probe instruction, etc, but I don't have time to look into it until we finish moving. There's still a few remaining issues for 4.5.0 to be addressed. > Or is this more likely to be something specific to Gnu ADA? Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org