Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Tracking: packages broken on larger pagesize kernels (like rpi5-kernel)
@ 2024-01-17 19:34 classabbyamp
  2024-01-17 21:20 ` dkwo
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ 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] 7+ 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
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ 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] 7+ 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
  2024-06-24 17:25 ` Calandracas606
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ 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] 7+ 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
@ 2024-06-24 17:25 ` Calandracas606
  2024-08-25 11:14 ` dkwo
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Calandracas606 @ 2024-06-24 17:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/issues/48260#issuecomment-2187060905

Comment:
AFAIK F2FS still won't work, since it requires userspace support from f2fs-tools, which hasn't had a release yet.

^ permalink raw reply	[flat|nested] 7+ 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
                   ` (2 preceding siblings ...)
  2024-06-24 17:25 ` Calandracas606
@ 2024-08-25 11:14 ` dkwo
  2024-08-25 16:22 ` Calandracas606
  2025-02-07 17:29 ` dkwo
  5 siblings, 0 replies; 7+ messages in thread
From: dkwo @ 2024-08-25 11:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/48260#issuecomment-2308785895

Comment:
Surprisingly, river from void's repo works fine on apple silicon (16k kernel), even though zig is broken. How is this possible??

^ permalink raw reply	[flat|nested] 7+ 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
                   ` (3 preceding siblings ...)
  2024-08-25 11:14 ` dkwo
@ 2024-08-25 16:22 ` Calandracas606
  2025-02-07 17:29 ` dkwo
  5 siblings, 0 replies; 7+ messages in thread
From: Calandracas606 @ 2024-08-25 16:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/issues/48260#issuecomment-2308913221

Comment:
> Surprisingly, river from void's repo works fine on apple silicon (16k kernel), even though zig is broken. How is this possible??

this makes sense, and works for the same reason that any cross compiled binaries work.

the zig ***compiler*** may be broken when using a 16k build machine, but binaries built by the compiler may work just fine.

this is exactly the same as why cross compilers work. the aarch64 gcc cross compiler runs on a x86_64 build machine, and outputs binaries which run on an aarch64 machine

^ permalink raw reply	[flat|nested] 7+ 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
                   ` (4 preceding siblings ...)
  2024-08-25 16:22 ` Calandracas606
@ 2025-02-07 17:29 ` dkwo
  5 siblings, 0 replies; 7+ messages in thread
From: dkwo @ 2025-02-07 17:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/48260#issuecomment-2643557420

Comment:
zig pr implementing runtime page size detect has been merged into master :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-02-07 17:29 UTC | newest]

Thread overview: 7+ 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
2024-06-24 17:25 ` Calandracas606
2024-08-25 11:14 ` dkwo
2024-08-25 16:22 ` Calandracas606
2025-02-07 17:29 ` 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).