[GHC] #11236: Illegal instruction on ARMv7 with official build and simple program (IMX53 board)
GHC
ghc-devs at haskell.org
Wed Dec 16 09:47:16 UTC 2015
#11236: Illegal instruction on ARMv7 with official build and simple program (IMX53
board)
-------------------------------------+-------------------------------------
Reporter: varosi | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Keywords: ARMv7 | Operating System: Linux
Architecture: arm | Type of failure: Incorrect result
| at runtime
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
On IMX53 Quick Start board
http://www.nxp.com/products/interface-and-connectivity/interface-and-
system-management/switch-monitoring-ics/i.mx53-quick-start-board:IMX53QSB
With Debian Jessie I'm installing:
https://www.haskell.org/ghc/download_ghc_7_10_2#linux_armv7
ghc-7.10.2-arm-unknown-linux.tar.xz (108 MB)
When I compile simple program as:
import System.IO
main = putStrLn "Hello World in ARM!"
and then compile and run I got:
"Illegal instruction" message
When we debug it it seems that there is missing end of function and going
straight into main function without changing to ARM Thumb instructions.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11236>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list