| 12 Nov 2025 |
dramforever | i cba to check rn but you can dig around to see if all the non-PIEs have 0xf000 | 06:34:20 |
Tristan Ross | So the fix would be to disable PIE on RISC-V? Or actually fix whatever the hell is going on? | 06:34:22 |
Tristan Ross | I already did, they do... | 06:34:39 |
dramforever | yeah so only PIEs will work lmao | 06:34:56 |
dramforever | or you set vm.mmap_min_addr and ignore this problem | 06:35:05 |
Tristan Ross | Great... | 06:35:18 |
dramforever | it's set in the kernel in CONFIG_DEFAULT_MMAP_MIN_ADDR | 06:35:57 |
dramforever | so presumably ubuntu is doing something to their binutils to match | 06:36:06 |
Tristan Ross | Oh neat | 06:36:17 |
dramforever | or maybe they just all have full on PIEs | 06:36:28 |
Tristan Ross | I checked gcc -V and they do have default PIE set | 06:36:43 |
dramforever | you can try to check a -no-pie thing on ubuntu and see if the base address is different | 06:36:48 |
dramforever | how has nobody ever noticed this problem | 06:37:22 |
Tristan Ross | I don't really feel like checking lol. I'm glad to have a solution right now lol. My head hurts after working on this for 3 days. | 06:37:28 |
dramforever | are you the first person to every try to use nixpkgs on ubuntu on riscv64 | 06:37:39 |
Tristan Ross | Because not many people use RISC-V I assume lol | 06:37:46 |
dramforever | * are you the first person to ever try to use nixpkgs on ubuntu on riscv64 | 06:37:47 |
Tristan Ross | Probably lol | 06:37:52 |
dramforever | clearly this isn't a problem on the nixos kernel | 06:38:06 |
Tristan Ross | Oh good, the vendor kernel does not set CONFIG_DEFAULT_MMAP_MIN_ADDR | 06:38:59 |
Tristan Ross | Well, time to let it build down to the stdenv | 06:40:30 |
Tristan Ross | I wonder how fast this'll build | 06:42:09 |
Tristan Ross | Dang, so much faster than the VisionFive 2 lol | 06:45:04 |
dramforever | eic7702x should have much better io and memory bw in addition to faster cores | 06:48:41 |
dramforever | and twice as many cores | 06:48:46 |
dramforever | well it's literally just better at all regards except price | 06:49:00 |
Tristan Ross | Yeah lol, I can at least use GNOME on it and it's not lagging | 06:49:51 |
Tristan Ross | I was able to play SuperTuxCart just fine | 06:50:03 |
dramforever | currently twiddling thumbs waiting for zhihe a210 and spacemit k3 | 06:52:56 |
Tristan Ross | Nice, I wonder what has the most performance in the consumer space | 06:54:08 |