On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 8 Jun 2025 12:42:29 +0000 (14:42 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 8 Jun 2025 12:42:29 +0000 (14:42 +0200)
commit3b48227edbb0cac96128c2c5ac7ed83d8ce8b29a
treeaea91e5a6ef40ae9bb7c076e863591e78d208051
parent5a509409f2c98f03ad48cdbd02b56fbc24306468
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2024-05-09
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/kioworkers/file/ConfigureChecks.cmake