Closed PHHargrove closed 10 years ago
The logic in libupc/autoconf/configure.ac also appears to be constructed incorrectly such that shm_open()
will not be found unless it is in librt
. However, the probe is conditional on enabling Portals4, so I have not even been able to verify that the probe work correctly on Linux.
Both Mac OS X and OpenBSD have support for
shm_open()
(POSIX Shared Memory).However, both fail the corresponding CMake probe, with something like the following in CMakeFiles/CMakeError.log:
While the version Mac OS X I test one lacks
clock_gettime(),
that function is present on OpenBSD. However, the corresponding CMake probe also fails withld: library not found for -lrt
In these cases (
shm_open()
on 2 platforms andclock_gettime()
on 1) the corresponding symbols are in the standard library and there is nolibrt
.With an autoconf-based build on OpenBSD, it looks like neither
clock_gettime()
norshm_open()
is located correctly. I'll investigate and enter a distinct issue for that or add the details here, depending which seems appropriate when I have the details.