[GHC] #13007: ghc-options -threaded present but -N option unrecognised on ARM

#13007: ghc-options -threaded present but -N option unrecognised on ARM -------------------------------------+------------------------------------- Reporter: tmpz | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.0.1 System | Keywords: arm, | Operating System: Linux raspberrypi, raspbian, rts, | threaded | Type of failure: Incorrect result Architecture: arm | at runtime Test Case: | Blocked By: http://allocinit.io/haskell | /haskell-on-raspberry-pi-3/ | Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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_o... Steps used to get ghc on the system: http://allocinit.io/haskell/haskell- on-raspberry-pi-3/ -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13007 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13007: ghc-options -threaded present but -N option unrecognised on ARM -------------------------------------+------------------------------------- Reporter: tmpz | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Runtime System | Version: 8.0.1 Resolution: duplicate | Keywords: arm, | raspberrypi, raspbian, rts, | threaded Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: at runtime | http://allocinit.io/haskell | /haskell-on-raspberry-pi-3/ Blocked By: | Blocking: Related Tickets: 12981 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => duplicate * related: => 12981 Comment: The threaded runtime is a different matter from supporting executing Haskell on multiple OS threads (SMP, or the -N option). Confusing I know! The build system was accidentally disabling SMP for all ARM builds, even when targeting a version of ARM that supports the atomic operations needed to support multiprocessing. Recently reported and fixed in #12981. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13007#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13007: ghc-options -threaded present but -N option unrecognised on ARM -------------------------------------+------------------------------------- Reporter: tmpz | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Runtime System | Version: 8.0.1 Resolution: duplicate | Keywords: arm, | raspberrypi, raspbian, rts, | threaded Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: at runtime | http://allocinit.io/haskell | /haskell-on-raspberry-pi-3/ Blocked By: | Blocking: Related Tickets: 12981 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by tmpz): Thank you very much, I could not find the other ticket. Sorry for the duplicate. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13007#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC