This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Failure compiling 2.0.96 on Alpha
- To: Delbert@Matlock.com
- Subject: Re: Failure compiling 2.0.96 on Alpha
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 26 Sep 1998 07:50:46 +0200
- Cc: libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <199809251802.OAA03764@nemesis.nowhere.net>
>>>>> Delbert writes:
> /usr/src/glibc-2.0.96/build/debug/segfault.os
> ../sysdeps/generic/segfault.c: In function nstall_handler':
> ../sysdeps/generic/segfault.c:179: `SA_ONSTACK' undeclared (first use in this function)
> ../sysdeps/generic/segfault.c:179: (Each undeclared identifier is reported only once
> ../sysdeps/generic/segfault.c:179: for each function it appears in.)
> make[2]: *** [/usr/src/glibc-2.0.96/build/debug/segfault.os] Error 1
> make[2]: Leaving directory /usr/src/glibc-2.0.96/debug'
> make[1]: *** [debug/others] Error 2
> make[1]: Leaving directory /usr/src/glibc-2.0.96'
> make: *** [all] Error 2
Use the appended patch.
Andreas
1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
Correct values of other SA_* macros according to kernel headers.
Index: sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
===================================================================
RCS file: /glibc/cvsfiles/libc/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sigaction.h 1997/11/26 04:09:39 1.4
+++ sigaction.h 1998/09/22 12:44:35 1.5
@@ -37,7 +37,7 @@
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 0x00000004 /* Don't send SIGCHLD when children stop. */
#ifdef __USE_MISC
-# define SA_STACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
+# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */
# define SA_INTERRUPT 0x20000000 /* Historical no-op. */
# define SA_NOMASK 0x00000008 /* Don't automatically block the signal
@@ -47,6 +47,7 @@
/* Some aliases for the SA_ constants. */
# define SA_NODEFER SA_NOMASK
# define SA_RESETHAND SA_ONESHOT
+# define SA_STACK SA_ONSTACK
#endif
/* Values for the HOW argument to `sigprocmask'. */
Index: sysdeps/unix/sysv/linux/mips/bits/sigaction.h
===================================================================
RCS file: /glibc/cvsfiles/libc/sysdeps/unix/sysv/linux/mips/bits/sigaction.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sigaction.h 1997/11/26 04:09:49 1.3
+++ sigaction.h 1998/09/22 12:44:47 1.4
@@ -45,16 +45,17 @@
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 1 /* Don't send SIGCHLD when children stop. */
#ifdef __USE_MISC
-# define SA_STACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
-# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
-# define SA_INTERRUPT 0x20000000 /* Historical no-op. */
-# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
+# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
+# define SA_RESTART 0x00000004 /* Restart syscall on signal return. */
+# define SA_INTERRUPT 0x00000000 /* Historical no-op. */
+# define SA_NODEFER 0x00000010 /* Don't automatically block the signal when
its handler is being executed. */
-# define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */
+# define SA_RESETHAND 0x00000002 /* Reset to SIG_DFL on entry to handler. */
/* Some aliases for the SA_ constants. */
# define SA_NOMASK SA_NODEFER
# define SA_ONESHOT SA_RESETHAND
+# define SA_STACK SA_ONSTACK
#endif
/* Values for the HOW argument to `sigprocmask'. */
Index: sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
===================================================================
RCS file: /glibc/cvsfiles/libc/sysdeps/unix/sysv/linux/sparc/bits/sigaction.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sigaction.h 1998/09/16 17:47:32 1.4
+++ sigaction.h 1998/09/22 12:44:55 1.5
@@ -43,7 +43,7 @@
#define SA_SIGINFO 0x00000200 /* Invoke signal-catching function with
three arguments instead of one. */
#ifdef __USE_MISC
-# define SA_STACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
+# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */
# define SA_INTERRUPT 0x00000010 /* Historical no-op. */
# define SA_NOMASK 0x00000020 /* Don't automatically block the signal when
@@ -53,6 +53,7 @@
/* Some aliases for the SA_ constants. */
# define SA_NODEFER SA_NOMASK
# define SA_RESETHAND SA_ONESHOT
+# define SA_STACK SA_ONSTACK
#endif
/* Values for the HOW argument to `sigprocmask'. */
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de