| 7 Jun 2026 |
dramforever | this is a kernel config option | 04:56:08 |
dramforever | * | 04:56:16 |
dramforever | so you don't need this stopgap generally if you're using the nixos kernel config | 04:57:00 |
dramforever | so please for the love of whatever don't go about adding this to every riscv64 nixos config you see | 04:57:20 |
matthewcroughan | Ah so it's only a problem because of the vendor kernel I'm using probably? | 04:57:40 |
dramforever | CONFIG_DEFAULT_MMAP_MIN_ADDR | 04:57:58 |
matthewcroughan | https://github.com/sifiveinc/riscv-linux/blob/dev/pritesh/upstream-6.18/arch/riscv/configs/hifive-premier-p550_defconfig#L123 | 04:59:14 |
matthewcroughan | yeah they hardcode it to 65536 here | 04:59:38 |
dramforever | weirdly, i've never seen anyone else complain about this | 05:00:44 |
dramforever | even though there's definitely non-nix users of patchelf | 05:00:53 |
matthewcroughan | total riscv users on planet right now: 1 | 05:01:07 |
dramforever | maybe they only do shared libraries which by definition cannot be PDEs | 05:01:10 |
dramforever | depends on your definition of "user" i guess | 05:01:37 |
matthewcroughan | so if I set override this value in the kernel, it should be the right approach | 05:02:05 |
matthewcroughan | once we find out what the right value is | 05:02:11 |
dramforever | the nixos config is 4096 | 05:03:49 |
dramforever | which is also the default on mainline | 05:04:00 |
matthewcroughan | huh, so how does my laptop have a much larger value? | 05:04:15 |
matthewcroughan | I don't change defaults usually | 05:04:22 |
dramforever | i mean for riscv64 | 05:05:22 |
dramforever | pkgsCross.riscv64.linux.configfile | 05:05:30 |
dramforever | oh because it's set in pkgs/os-specific/linux/kernel/common-config.nix duh... | 05:07:48 |
dramforever | lol | 05:07:50 |
dramforever | of course it is | 05:08:00 |
matthewcroughan | > [100%] Built target openssl
> Running phase: checkPhase
> /nix/store/bvv4izk26fbk208xhq4yji8y36w38h4l-stdenv-linux/setup: line 269: objdump: command not found
For full logs, run:
| 17:46:31 |
matthewcroughan | libressl cross broken ?
| 17:46:43 |
| zimward changed their display name from zimward @GPN24 to zimward. | 21:08:10 |
| 8 Jun 2026 |
matthewcroughan | Is there faster riscv hardware than the p550 even? | 01:16:13 |
matthewcroughan | ah yeah, the p570 | 01:16:55 |
dramforever | k3 should be faster, and sg2044 is blazing fast but it's probably unobtanium | 02:04:07 |