-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Tom G. Christensen on 9/1/2008 12:04 PM: >> I just noticed that the c-stack.m4 file doesn't check the return >> status from sigaction. I suspect it worked for you, but just to be sure, >> could you retry this with this patch to the program in config.log: >> >> @@ -85,8 +85,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], >> setrlimit (RLIMIT_STACK, &rl); >> #endif >> >> - - c_stack_action (); >> - - return recurse ("\1"); >> + return c_stack_action () && recurse ("\1"); >> } >> > I think you hit the nail on the head.
Shoot. I got the logic backwards. We want the test to exit with non-zero status if c_stack_action fails (returns non-zero), or if recurse returns (which should be impossible). The conditional should be written with ||, not &&. At any rate, it confirms that c_stack_action is succeeding. So, with my typo fixed, can you once again try those debugging steps, to see if the breakpoint in overflow_handler trips? > > I can replicate this on Irix 6.2 so probably the same issue there. That's what I've been figuring too - if we can get Irix 5.3 to work, then all newer Irix will probably fall into place. > > <snip rest of debugging instructions> > I'll return to this if you still need it. The issue still isn't resolved, no thanks to my typo... - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki8VRQACgkQ84KuGfSFAYAqcgCeLj0t+IisSvIcoAgFDazJ3xkQ ecQAoMmm8MnvU3xjwAKA1Ef5DlBgdv78 =4rnp -----END PGP SIGNATURE-----