RISC-V/GHC: Difference between revisions

Refine information about which GHC versions can boot which other ones. Remove a line that was mistakenly linked to xmonad, even though I didn't originally wrote it for GHC not xmonad.
Pigs (talk | contribs)
m Add category haskell
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Current status ==
== Current status ==
We can cross-compile ([https://github.com/NixOS/nixpkgs/pull/305392 #305392]) but we are missing bootstrap tarballs for native builds.


<code>cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')</code>
<code>cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')</code>


* [https://gitlab.haskell.org/ghc/ghc/-/issues/16783 Main issue]
* [https://gitlab.haskell.org/ghc/ghc/-/issues/23179 NCG]
* [https://gitlab.haskell.org/ghc/ghc/-/commit/31e265c1df948d1bcc82d08affe995fd1d1c1438 LLVM backend]
* '''[https://gitlab.haskell.org/ghc/ghc/-/issues/23519 Binary tarballs] (needed for bootstrap)'''
* [https://gitlab.haskell.org/ghc/ghc/-/issues/?label_name%5B%5D=RISC-V RISC-V Label]
* [https://gitlab.haskell.org/ghc/ghc/-/issues/?label_name%5B%5D=RISC-V RISC-V Label]
* [https://gitlab.haskell.org/ghc/ghc/-/issues/16783 Main issue] ✅
* [https://gitlab.haskell.org/ghc/ghc/-/issues/23179 NCG] ✅
* [https://gitlab.haskell.org/ghc/ghc/-/commit/31e265c1df948d1bcc82d08affe995fd1d1c1438 LLVM backend] ✅
* '''[https://gitlab.haskell.org/ghc/ghc/-/issues/23519 Binary tarballs]'''


Some popular affected packages are:
Some popular affected packages are:
Line 162: Line 164:


* [https://github.com/NixOS/nixpkgs/pull/243619 Nixpkgs PR 243619 (fix cross-built native GHC)]
* [https://github.com/NixOS/nixpkgs/pull/243619 Nixpkgs PR 243619 (fix cross-built native GHC)]
* [https://github.com/NixOS/nixpkgs/pull/305392 Nixpkgs PR 305392 (fix cross-built native GHC, version 2)]
[[Category:Haskell]]