[Bug debuginfod/34016] elfutils-0.194 with --enable-libdebuginfod: fails to build on Hurd ("error: linux/limits.h: No such file or directory")
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Thu Mar 26 12:36:33 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34016
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit d13e0dba6dc77020bfb35a8fd1641428458f1a65
Author: Mark Wielaard <mark@klomp.org>
Date: Thu Mar 26 13:32:18 2026 +0100
debuginfod: Make sure PATH_MAX exists in debuginfod-client.c
Some systems (Hurd) don't define PATH_MAX (which is optional according
to POSIX). Make sure it is defined and no special linux specific
headers are used in debuginfod-client.c.
* debuginfod/debuginfod-client.c: Include limits.h instead of
linux/limits. If PATH_MAX isn't define it to 4K (the default
on GNU/Linux).
https://sourceware.org/bugzilla/show_bug.cgi?id=34016
Signed-off-by: Mark Wielaard <mark@klomp.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list