| 23 Nov 2025 |
Tristan Ross | So mmap wouldn't EPERM? | 20:34:31 |
dramforever | that can't be the general solution though | 20:37:05 |
dramforever | because random stuff just doesn't work built as PIE | 20:37:14 |
dramforever | last time i checked this list includes gcc itself i think | 20:37:37 |
Tristan Ross | Oh, so how would GCC get fixed so it doesn't EPERM? | 20:38:05 |
dramforever | i have no idea why ubuntu doesn't have this problem | 20:53:02 |
dramforever | is their gcc a pie? | 20:53:07 |
Tristan Ross | Idk | 20:54:12 |
dramforever | why is ubuntu not just a big monorepo that i can search anything i want in 🫠| 21:06:45 |
Tristan Ross | lol | 21:09:44 |
dramforever | eh nevermind i think we build gcc as pie now | 21:12:19 |
kwinz | https://cache.ztier.in riscv binary cache is only for unstable, correct? is there a binary cache for stable? | 22:01:05 |
Tristan Ross | I've only known a few exist but idk the reliability | 22:16:02 |
Tristan Ross | Or the state of them | 22:16:11 |
Tristan Ross | Though, as a member of the HW team, we have been looking into things but it'll be some time before we can give any good news. | 22:16:48 |
kwinz | we can only dream of some official support :-) | 22:17:16 |
Tristan Ross | I really do want us to be able to do that | 22:18:30 |
Tristan Ross | However, I see Arm having a higher tier support first before RISC-V | 22:18:42 |
Tristan Ross | The problem is the HW is just now starting to get better performance. Like the ESWIN EIC7700X is significantly better than the JH7110 but still quite lacking. | 22:19:26 |
kwinz | sorry for the beginner questionL to summarize i have those options right now to do a nixos-rebuild:
- build 25.05 or staging myself which takes probably 3 days to finish
- cross compile staging or 25.05
- wait until the PIE fix for go from staging is merged into unstable and ztier starts caching it.
| 22:19:34 |
kwinz | * sorry for the beginner question: to summarize i have those options right now to do a nixos-rebuild:
- build 25.05 or staging myself which takes probably 3 days to finish
- cross compile staging or 25.05
- wait until the PIE fix for go from staging is merged into unstable and ztier starts caching it.
| 22:19:45 |
Tristan Ross | I think 2 is the safest option you have | 22:19:55 |
Tristan Ross | I do not recommend native compilation unless you actually need it | 22:20:07 |
kwinz | appreciate it! | 22:20:28 |
kwinz | HiFive Premier P550 is probably twice as fast as the JH7110, but nothing ground breaking it seems | 22:22:32 |
Tristan Ross | Actually, the Sifive P550 cores are actually pretty good imo. It's nothing to scoff at. It's actually got some nice features like branch prediction and out of order execution. | 22:23:58 |
Tristan Ross | It's just when you compare it to non RISC-V cores, it's not as exciting in terms of performance. | 22:24:29 |
| 24 Nov 2025 |
Alex | In reply to @rosscomputerguy:matrix.org I think 2 is the safest option you have Depends on what you have installed.
For a bare system, it works fine, but various random things just don't work in cross. | 00:55:17 |
Tristan Ross | That is true, but I've also ran into various things being broken natively | 00:56:04 |
dramforever | In reply to @dramforever:matrix.org it will be fixed when this lands https://github.com/NixOS/nixpkgs/pull/458867 landed | 04:35:35 |