
#10375: arm: ghci hits an illegal instruction -------------------------------------+--------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: GHCi | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: arm Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+--------------------------------- Comment (by erikd): By hacking `mk/config.mk.in` I was able to compile with `DYNAMIC_GHC_PROGRAMS` set to `NO` and create a `ghc-stage2` compiler that dynamically links only to the C libraries. It also crashes just in a different way. Regardless of whether a `.ghci` file exists, `ghc-stage2 --interactive` crashes with `Illegal instruction` as soon as it is run and before it even diplays a prompt: {{{ $ inplace/bin/ghc-stage2 --interactive GHCi, version 7.11.20150523: http://www.haskell.org/ghc/ :? for help Illegal instruction }}} Checking the settings file, I find that the `ld.gold` linker *is* being used. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10375#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler