This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 2002-04-28's 3.1 branch's libjava won't build on GNU/Linux/sparc


On Wed, May 01, 2002 at 04:15:59AM -0700, David S. Miller wrote:
>    From: Jakub Jelinek <jakub@redhat.com>
>    Date: Wed, 1 May 2002 11:13:16 +0200
>    
>    I'll make a patch for glibc to add -fexceptions to pthread_sighandler*
>    routines, but in the mean time, something like:
>    libc_handle = dlopen (LIBC_SO_NAME, RTLD_LAZY);
>    libc_sigaction = dlsym (libc_handle, "sigaction");
>    dlclose (libc_handle);
> 
> No, forget this, using the SYSCALL(sigaction ...) method
> works fine and that is what I am going to use as the fix
> at least for 3.1

You have copied the magic from libc/sysdeps/sparc/sparc32/sigaction.c
there (like using negative signal number)?
Does it work for sparc64, which only has rt_sigaction, thus needs the
return stub etc.? What about IA-64 (likewise, does have only rt_sigaction,
but doesn't need the return stub)?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]