apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject warning for Linux packagers
Date Wed, 12 Nov 2003 09:51:15 GMT

If your build machines run glibc/kernel combinations which implement
sem_open and pthread_mutexattr_setpshared (which were implemented along
with the NPTL stuff, IIRC), then APR will detect this and use pthread
mutexes as the default cross-process locking implementation.

If those APR binaries are subsequently run on glibc/kernel combinations
which do *not* support sem_open and pthread_mutexattr_setpshared, the
default APR locking will be broken.

IIRC, on x86 glibc will only support these functions if built for i686
and running on an NPTL-savvy kernel: so if using an i386 glibc or an
older kernel version, the functions will return ENOSYS.

The trick is to just force APR to not detect these functions by


before running configure.



View raw message