Skip to content

ghc-options -threaded present but -N option unrecognised on ARM

When compiling a program on ARM (Raspberry PI 3, OS: Raspbian Jessi) with ghc it is possible to specify as runtime options

-threaded -rtsopts -with-rtsopts=-N

However when running the program with -N, -N is not a recognised option. See output here http://pastebin.com/sKjfkRtq

Running with --info gives the following http://pastebin.com/q36Ef7y4 showing that ("RTS way", "rts_thr") is available.

Investigation already done here: https://www.reddit.com/r/haskell/comments/5j0u36/getting_haskell_and_stack_on_a_rapsberry_pi_3/dbcgbht/

Steps used to get ghc on the system: http://allocinit.io/haskell/haskell-on-raspberry-pi-3/

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