[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 20:23 --- Can you try again? I think this was caused by the patch for PR 20155 which had to be reverted. -- What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From pluto at pld-linux dot org 2005-03-07 07:21 --- (In reply to comment #1) > Can you try again? I think this was caused by the patch for PR 20155 which had to be reverted. it didn't helped. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- 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 = 0x400;\ 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
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- 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 = 0x400;\ > 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? 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
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From aj at gcc dot gnu dot org 2005-03-25 13:02 --- This is defined on my x86-64 system: grep sigaction /usr/include/bits/syscall.h #define SYS_rt_sigaction __NR_rt_sigaction #define SYS_sigaction __NR_sigaction This looks like a problem on your side building glibc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From pluto at pld-linux dot org 2005-03-25 14:05 --- (In reply to comment #5) > This is defined on my x86-64 system: > grep sigaction /usr/include/bits/syscall.h > #define SYS_rt_sigaction __NR_rt_sigaction > #define SYS_sigaction __NR_sigaction > > This looks like a problem on your side building glibc. # egrep 'SYS.*sigaction' glibc* -R glibc-devel-2.3.4.amd64/usr/include/bits/syscall.h: #define SYS_rt_sigaction __NR_rt_sigaction glibc-devel-2.3.4.athlon/usr/include/bits/syscall.h: #define SYS_rt_sigaction __NR_rt_sigaction glibc-devel-2.3.4.i686/usr/include/bits/syscall.h: #define SYS_rt_sigaction __NR_rt_sigaction glibc-devel-2.3.4.i686/usr/include/bits/syscall.h: #define SYS_sigaction __NR_sigaction -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From schwab at suse dot de 2005-03-25 15:06 --- Linux/x86-64 does not have a sigaction syscall. But nevertheless /usr/include/sys/syscall.h should define SYS_sigaction for __WORDSIZE != 64 if you have the proper bi-arch headers installed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349
[Bug other/20349] [multilib] libjava(32) doesn't build.
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-25 17:10 --- This is not a GCC bug but a bug in your setup as explained by Andreas Schwab. -- What|Removed |Added Status|WAITING |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20349