* [ISSUE] Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) @ 2024-01-17 19:34 classabbyamp 2024-01-17 21:20 ` dkwo 2024-05-13 20:08 ` dkwo 0 siblings, 2 replies; 3+ messages in thread From: classabbyamp @ 2024-01-17 19:34 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 751 bytes --] New issue by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/issues/48260 Description: Some programs have issues when running on kernels with larger pagesizes. ### jemalloc One common case is programs (especially rust programs) that use jemalloc. this was fixed in #48194 for the jemalloc package itself and all rust packages built in the future. This often manifests itself like this: ``` <jemalloc>: Unsupported system page size <jemalloc>: Unsupported system page size memory allocation of 5 bytes failed ``` ### Probably bad *as yet untested, based on https://github.com/AsahiLinux/docs/wiki/Broken-Software#broken-packages* - [ ] qt5-webengine - [ ] qt6-webengine (qt6-pdf?) - [ ] zig ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) 2024-01-17 19:34 [ISSUE] Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) classabbyamp @ 2024-01-17 21:20 ` dkwo 2024-05-13 20:08 ` dkwo 1 sibling, 0 replies; 3+ messages in thread From: dkwo @ 2024-01-17 21:20 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 260 bytes --] New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/issues/48260#issuecomment-1896777508 Comment: zig was definitely broken last year on 16k, the relevant pr's are in progress https://github.com/ziglang/zig/pull/17382 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) 2024-01-17 19:34 [ISSUE] Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) classabbyamp 2024-01-17 21:20 ` dkwo @ 2024-05-13 20:08 ` dkwo 1 sibling, 0 replies; 3+ messages in thread From: dkwo @ 2024-05-13 20:08 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 643 bytes --] New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/issues/48260#issuecomment-2108707715 Comment: For zig, we may consider this patch to mem.zig: ``` pub const page_size = switch (builtin.cpu.arch) { .wasm32, .wasm64 => 64 * 1024, .aarch64 => switch (builtin.os.tag) { + .macos, .ios, .watchos, .tvos, .linux => 16 * 1024, - .macos, .ios, .watchos, .tvos, => 16 * 1024, else => 4 * 1024, }, .sparc64 => 8 * 1024, else => 4 * 1024, }; ``` I don't know how many aarch64 machines this would break, but at least it could be usable on rpi5 and apple. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-13 20:08 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-01-17 19:34 [ISSUE] Tracking: packages broken on larger pagesize kernels (like rpi5-kernel) classabbyamp 2024-01-17 21:20 ` dkwo 2024-05-13 20:08 ` dkwo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).