On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 15 Nov 2025 18:26:09 +0000 (19:26 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sat, 15 Nov 2025 18:26:09 +0000 (19:26 +0100)
commit6704fb59cdc7c95d42186e642add055d02b19679
tree9ae84a51b4f591c93078b9762ff3df859f3eb374
parentaa6b1dd4c2d5d726a46af51ba9045b76be6f904a
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