This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/20349] [multilib] libjava(32) doesn't build.
- From: "pluto at pld-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2005 12:37:53 -0000
- Subject: [Bug other/20349] [multilib] libjava(32) doesn't build.
- References: <20050306201934.20349.pluto@pld-linux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pluto at pld-linux dot org 2005-03-25 12:37 -------
(In reply to comment #3)
> 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?
<bits/syscall.h> from i386 defines SYS_sigaction.
x86_64 doesn't define SYS_sigaction (even for -m32 abi).
it looks like a bug in dual arch glibc headers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349