[Various] glibc-2.1: sigstack doesn't work
Andreas Jaeger
aj@arthur.rhein-neckar.de
Sun Apr 18 04:00:00 GMT 1999
Hi,
Urs Thuermann reported a problem that might be a autoconf or m4
problem. Could anybody look into this in more detail and tell us if
everything works as expected?
The essence of his report is: He installed glibc 2.1 with Linux 2.2.5
headers and uses ix86/Linux 2.0.36.
With Linux 2.2.5 headers, glibc will use sigstack and sigaltstack.
But those functions are not implemented in Linux 2.0.36. glibc
doesn't generate stub macros in <gnu/stubs.h> for these functions
since they should exist.
Now the problem is m4 which uses autoconf to check for sigstack and
sigaltstack. I don't have m4 sources handy but guess the configure
program just checks for those functions and doesn't check for
errno==ENOSYS.
Now, the question is, should autoconf check the errno value? Or what
should happen to detect the existence of sigstack/sigaltstack in this
situation?
Btw. the <siginfo.h> problem he also reported is IMO a bug in m4.
Andreas
More information about the Libc-alpha
mailing list