Skip to content

Compling on arm and getting "No native code generator, so using LLVM"

Compiling GHC on Arm and I get a constant stream of warnings like:

when making flags consistent: Warning:
    No native code generator, so using LLVM

This can be fixed with a simple patch to mk/build.mk.sample.

Trac metadata
Trac field Value
Version 7.9
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information