- Package:
- linux-libc-dev
- Source:
- linux
- Description:
- Linux support headers for userspace development
- Submitter:
- Adam Borowski
- Date:
- 2025-05-03 13:48:02 UTC
- Severity:
- wishlist
Package: linux-libc-dev Version: 5.10.5-1 Severity: wishlist Hi! The kernel sources these days ship "nolibc.h", a stand-alone header that defines all syscalls and hides away per-arch differences. It's great for writing programs in libc-less situations and/or writing an ad-hoc minimal libc (and possibly eg. reducing 950KB /sbin/ldconfig to almost nothing). Thus, could you please install this file? Meow!
Hi This bug was filed for a (very) old kernel or the bug is old itself without resolution. Maybe it was for a feature enablement which nobody acted on. We are sorry we were not able to timely deal with this issue. There are many open bugs for the src:linux package and thus we are closing older bugs where it's unclear if they still occur in newer versions and are still relevant to the reporter. For an overview see: https://bugs.debian.org/src:linux . If you can reproduce your issue with - the current version in unstable/testing - the latest kernel from backports or, if it was a feature addition/wishlist and still consider it relevant, then: Please reopen the bug, see https://www.debian.org/Bugs/server-control for details. Please try to provide as much fresh details including kernel logs where relevant. In particular were an issue is coupled with specific hardware we might ask you to do additional debugging on your side as the owner of the hardware. Regards, Salvatore
Hi This bug was filed for a (very) old kernel or the bug is old itself without resolution. Maybe it was for a feature enablement which nobody acted on. We are sorry we were not able to timely deal with this issue. There are many open bugs for the src:linux package and thus we are closing older bugs where it's unclear if they still occur in newer versions and are still relevant to the reporter. For an overview see: https://bugs.debian.org/src:linux . If you can reproduce your issue with - the current version in unstable/testing - the latest kernel from backports or, if it was a feature addition/wishlist and still consider it relevant, then: Please reopen the bug, see https://www.debian.org/Bugs/server-control for details. Please try to provide as much fresh details including kernel logs where relevant. In particular were an issue is coupled with specific hardware we might ask you to do additional debugging on your side as the owner of the hardware. Regards, Salvatore
Control: reopen -1
nolibc.h has been greatly expanded since then, it's a set of 30 includes
now. It's also a lot more useful now.
I've checked experimental, as that's the branch relevant for forky.
Today I'd argue it _is_ a libc of sorts, thanks to scope creep.
Looking at the current state, I propose skipping this tool's Makefile which
introduces unneeded moving parts and makes the header arch-dependent. It
also has hardcoded assumptions like installing directly to
${OUTPUT}sysroot/include and so on. All of this just to avoid 5 files.
Thus, it'd be enough to install:
tools/include/nolibc/*.h /usr/include/nolibc/
Meow!