mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
* fix: don't use fast-llvm for aarch32 fast-llvm bypasses the GHC LLVM mangler and the GNU assembler. The latter is currently required when using the gold linker for valid relocation sections. * feat: remove usage of the fast-llvm flag The fast-llvm flag was intented to avoid potential incompatibilities between LLVM and the assembler/linker toolchain by making LLVM responsible for machine-code generation. It bypasses necessary code transformation and prevents valid program generation in some cases (e.g. cross-compilation to armv6l). It is planned for removal from GHC. References: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3120 Co-authored-by: Michivi <webmaster@michvi.com>