| 17 Nov 2021 |
piegames | Okay, I'll try that. | 18:12:47 |
piegames | In reply to @sternenseemann:systemli.org piegames: so it fails because you are passing it a second time Well, it would, if clang had proper CLI argument error handling. Passing --target twice just does … something? | 18:13:13 |
piegames | In reply to @symphorien:xlumurb.eu Maybe try nix-shell -A pkgsCross.riscv32-embedded.rustc I already have that, thanks. I need a custom patched LLVM version within my rustc for $reasons. | 18:13:46 |
piegames | In reply to @sternenseemann:systemli.org you can use clang-unwrapped, but then you are back at square one and need to figure out everything manually Would have helped, but didn't: the list of supported targets is rather short (comparing to the binary from Arch) and it doesn't include any riscv | 18:26:22 |
sterni | llvmPackages_12.clang-unwrapped? | 18:27:27 |
piegames | Thank you, it works now (I had an outdated package) | 18:32:04 |
| 19 Nov 2021 |
| happyalu joined the room. | 04:21:35 |
| 20 Nov 2021 |
| nykw joined the room. | 11:08:02 |
sterni | hm has anyone been watching GHC cross builds? | 14:53:37 |
sterni | * hm has anyone been watching cross GHC builds? | 14:53:46 |
sterni | seems like there may have been regressions along the way | 14:53:58 |
| 21 Nov 2021 |
| kunrooted changed their profile picture. | 12:54:24 |
alexfmpe | sterni: huh which regressions? I fixed ghc 8.x for mingw a month ago or so, but haven't really looked at it since | 23:40:30 |
alexfmpe | does it make sense to add that to whatever that cross release file was? will that get it in CI? | 23:41:03 |
sterni | alexfmpe: pkgs/top-level/release-cross.nix describes this jobset: https://hydra.nixos.org/jobset/nixpkgs/cross-trunk | 23:44:24 |
sterni | if you look at a recent eval, you can check for the failures | 23:44:36 |
sterni | you'll find the 8.10.7 failures by searching for haskellPackages | 23:44:50 |
sterni | ghcHEAD is in a bit of a state as well, but I don't care too much atm, may be more interesting to replace it with ghc921 for now | 23:45:19 |
sterni | also the platform list in release-cross.nix is a bit weird, we should maybe sync it with lib.systems.examples | 23:45:48 |
alexfmpe | In reply to @sternenseemann:systemli.org you'll find the 8.10.7 failures by searching for haskellPackages did you mean cross builds of ghc or misc haskell packages? | 23:47:52 |
alexfmpe | I seem to remember ghc 9.x being broken on mingw upstream | 23:50:22 |
alexfmpe | https://gitlab.haskell.org/ghc/ghc/-/issues/18143 | 23:51:09 |
alexfmpe | and voila https://hydra.nixos.org/build/158165265/nixlog/1 | 23:51:37 |
alexfmpe | oh hmm two related PRs landed one week ago, that seems worth trying | 23:53:09 |
| 22 Nov 2021 |
alexfmpe | indeed, the current ghcHead build goes further now and hits some missing term.h error which seems to be fixed with an ncurses dep | 00:23:00 |
alexfmpe | build still going, here's hoping it actually works now | 00:23:27 |
alexfmpe | sterni: https://github.com/NixOS/nixpkgs/pull/146959 | 02:57:06 |
sterni | In reply to @alexfmpe:matrix.org did you mean cross builds of ghc or misc haskell packages? cross compilation of haskellPackages.hello is tested which also requires us to build a haskell cross compiler | 11:18:41 |
sterni | thanks a lot for the patch! | 11:19:06 |
sterni | John Ericson: interesting long term project could be improving the story with cc-wrapper and multi target compilers or in nixpkgs in general, given that GHC is projected to become multi target in the future as well | 11:19:47 |