-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
1.severity: significantNovel ideas, large API changes, notable refactorings, issues with RFC potential, etc.Novel ideas, large API changes, notable refactorings, issues with RFC potential, etc.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: muslRunning or building packages with musl libcRunning or building packages with musl libc
Description
Seen with tdesktop, and recently libreoffice-fresh, on x86_64-unknown-linux-musl.
musl has 128K ARG_MAX limit, darwin has 256K.
Once these limits are reached (can check with printenv | wc -c), all find ... -exec will fail.
We are the only distro running into this, because our nix store path names (in PATH, etc.) bloat the environment variables size quite a bit.
After some discussions in musl irc, for musl-linux it would be possible to patch findutils to ignore the limit, since the kernel actually has a significantly higher limit (which is dynamically calculated relatively to the process stack size).
But even if we can use this workaround for musl, we might eventually run into this on darwin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1.severity: significantNovel ideas, large API changes, notable refactorings, issues with RFC potential, etc.Novel ideas, large API changes, notable refactorings, issues with RFC potential, etc.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: muslRunning or building packages with musl libcRunning or building packages with musl libc