| 23 Jan 2024 |
Alex | In reply to @rdg:matrix.org https://github.com/NixOS/nixpkgs/blob/15ff1758e7816331033baa14eebbea68626128f3/pkgs/build-support/cc-wrapper/default.nix#L601 I think it's because isGccArchSupported "rv64g" is false and you have to patch nixpkgs so that it doesn't think the arch isn't supported.
That whole function is a nightmare for RISC-V's highly customisable ISA... | 15:55:39 |
rdg | the flag arrives to cc-cflags-before | 15:57:33 |
rdg | the problem is that some packages inject their own -march, overriding it | 15:57:55 |
rdg | that's why I used NIX_CFLAGS_COMPILE_riscv64_unknown_linux_gnu, as it gets added after | 15:58:20 |
rdg | but it doesn't work for musl (required for the security wrappers) or rust | 15:58:48 |
Alex | In reply to @rdg:matrix.org the problem is that some packages inject their own -march, overriding it Oh, I think I might have encountered one of those.
But I didn't really need it, so I replaced it with a package that worked (or patched it? I can't remember). | 15:59:10 |
rdg | I'm testing with gcc.arch again, and I will see if I can instead patch the broken packages | 15:59:39 |
rdg | as it seems to be a better solution | 15:59:56 |
| Guilhem left the room. | 16:00:23 |
Alex | Don't forget to look at the wiki page linked in the room description and update it if you find anything new. ^.^ | 16:00:58 |
| 26 Jan 2024 |
rdg | Using gcc.arch = "rv64g" works mostly okay, except for security wrappers that are compiled with pkgsStatic and the flag is not propagated there | 13:48:56 |
rdg | I had to also modify the kernel configuration to disable EFI | 13:49:21 |
rdg | I opened a PR to address the security wrappers issue: https://github.com/NixOS/nixpkgs/pull/283460 | 13:49:39 |
rdg | Now I'm trying to fix the rustc compiler, as it doesn't seem to have any target configuration without compressed instructions | 13:50:04 |
| 27 Jan 2024 |
| Sam Lehman removed their profile picture. | 16:59:32 |
| Sam Lehman set a profile picture. | 16:59:35 |
| Sam Lehman removed their display name Sam Lehman. | 17:03:17 |
| Sam Lehman left the room. | 17:06:46 |
| 29 Jan 2024 |
| Sam Lehman joined the room. | 11:03:20 |
| Sam Lehman set a profile picture. | 11:06:03 |
| hxr404 ✨ [it/she] joined the room. | 19:30:00 |
| 30 Jan 2024 |
| erremilia left the room. | 19:55:24 |
| 31 Jan 2024 |
| Federico Damián Schonborn changed their profile picture. | 03:36:16 |
| Federico Damián Schonborn changed their profile picture. | 06:21:52 |
| 2 Feb 2024 |
fgaz | Just so we don't duplicate too much work, let it be known that I'm bisecting the native meson failure on master | 09:07:41 |
fgaz | and there's a staging merge in the middle... I'm at the the fourth bootstrap | 09:08:59 |
| 3 Feb 2024 |
Steven Keuchel | fgaz: What failure are you investigating? I have no trouble natively building meson from master. | 09:10:53 |
| abbe joined the room. | 20:56:29 |
| 5 Feb 2024 |
| KREYREN ⚡️🦀 (TH1520 in Licheepi 4A) joined the room. | 07:54:54 |
fgaz | In reply to @skeuchel:matrix.org fgaz: What failure are you investigating? I have no trouble natively building meson from master. I was consistently experiencing 4 test failures that were not related to time. Today I tried again the same exact commit and it built 😐 | 09:01:37 |