Illegal instruction on ARMv7 with official build and simple program (IMX53 board)
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |