Hi Paul, Am 30.10.2012 um 19:32 schrieb Paul Eggert <egg...@cs.ucla.edu>: > Unfortunately the stack traces that you sent do not provide enough > info for me to see what the problem is on Solaris 9 with test-raise > and with test-sigaction. Perhaps you can try again, compiling with > -g and without -O, and get more info that way. You can run > './configure CFLAGS=-g; make clean; make; make check' to do that.
I ran them in the debugger and got > unstable9s% gdb test-sigaction > GNU gdb (GDB) 7.4.1 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "sparc-sun-solaris2.9". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from > /home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/diffutils-3.2.37-f0b0/gnulib-tests/test-sigaction...done. > (gdb) run > Starting program: > /home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/diffutils-3.2.37-f0b0/gnulib-tests/test-sigaction > > > Program received signal SIGABRT, Aborted. > 0xff3dc738 in ?? () > (gdb) list > 85 ASSERT (0); > 86 } > 87 } > 88 > 89 int > 90 main (void) > 91 { > 92 struct sigaction sa; > 93 struct sigaction old_sa; > 94 sa.sa_handler = handler; > unstable9s% gdb test-raise > GNU gdb (GDB) 7.4.1 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "sparc-sun-solaris2.9". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from > /home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/diffutils-3.2.37-f0b0/gnulib-tests/test-raise...done. > (gdb) run > Starting program: > /home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/diffutils-3.2.37-f0b0/gnulib-tests/test-raise > > test-raise.c:45: assertion failed > > Program received signal SIGABRT, Aborted. > 0xff3dc738 in ?? () > (gdb) list > 32 handler (int sig) > 33 { > 34 exit (0); > 35 } > 36 > 37 int > 38 main (void) > 39 { > 40 /* Test behaviour for invalid argument. */ > 41 ASSERT (raise (-1) != 0); > (gdb) > 42 ASSERT (raise (199) != 0); > 43 > 44 /* Test behaviour for SIGINT. */ > 45 ASSERT (signal (SIGINT, handler) != SIG_ERR); > 46 > 47 raise (SIGINT); > 48 > 49 /* We should not get here, because the handler takes away the > control. */ > 50 exit (1); > 51 } Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896