On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Tue, 16 Sep 2025 16:12:26 +0000 (18:12 +0200)
committerPatrick Franz <deltaone@debian.org>
Tue, 16 Sep 2025 16:12:26 +0000 (18:12 +0200)
commit3f5992b117e4fc81e9bdbc6eb1ffc3aa286def9a
tree0ffc79e5199739fe86f6bcaa8ffbe8a0205bb9f5
parent4ac59edcda6648b69bff8b28beb7872a9e8fd4d2
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/ioslaves/file/ConfigureChecks.cmake