------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-23 05:35 ------- This looks like a bug in your installation of glibc. #define INIT_SEGV \ do \ { \ struct old_i386_kernel_sigaction kact; \ kact.k_sa_handler = catch_segv; \ kact.k_sa_mask = 0; \ kact.k_sa_flags = 0x4000000; \ kact.sa_restorer = restore; \ syscall (SYS_sigaction, SIGSEGV, &kact, NULL); \ } \ while (0)
This works on a "native" 32bit compiler with a "native" 32bit glibc. Can you confirm that this is your bug in your installation of glibc? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349