Hi Peter, I need this small patch to get udev to compile against the latest klibc. I'm not sure if this is the right thing to do, but it fixes the compile. thanks mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296 # This is a BitKeeper generated patch for the following project: # Project Name: The kernel C library # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.245 -> 1.246 # klibc/arch/ia64/include/klibc/archsignal.h 1.1 -> 1.2 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/11/21 mort@green.i.bork.org 1.246 # A hack for compiling udev against klibc on ia64 # -------------------------------------------- # diff -Nru a/klibc/arch/ia64/include/klibc/archsignal.h b/klibc/arch/ia64/include/klibc/archsignal.h --- a/klibc/arch/ia64/include/klibc/archsignal.h Fri Nov 21 14:30:38 2003 +++ b/klibc/arch/ia64/include/klibc/archsignal.h Fri Nov 21 14:30:38 2003 @@ -28,4 +28,6 @@ #define sa_handler _u._sa_handler #define sa_sigaction _u._sa_sigaction +typedef int sig_atomic_t; + #endif
H. Peter Anvin
2003-Nov-24 10:30 UTC
[klibc] [PATCH] small addition to ia64's archsignal.h
Martin Hicks wrote:> Hi Peter, > > I need this small patch to get udev to compile against the latest > klibc. I'm not sure if this is the right thing to do, but it fixes the > compile. >I would assume that on ia64 you could have a 64-bit sig_atomic_t. (I *think* sig_atomic_t is supposed to be the biggest integer which can be atomically written in a signal handler.) -hpa
On Mon, Nov 24, Martin Hicks wrote:> > Hi Peter, > > I need this small patch to get udev to compile against the latest > klibc. I'm not sure if this is the right thing to do, but it fixes the > compile.why did you define sig_atomic_t only for ia64? It seems glibc defines sig_atomic_t just to an int, so why is it not for all archs? tdb in udev requires a sig_atomic_t. -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG
Reasonably Related Threads
- [PATCH] Link breaks for large NR_CPUS
- [klibc:ia64-signal-fix] ia64: Fix definition of struct sigaction
- [klibc:ia64-signal-fix] ia64: Fix definition of struct sigaction
- [klibc:master] ia64: Fix definition of struct sigaction
- [PATCH 2/2] ia64: Fix sigaction struct layout and function implementation