Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,830
    • Issues 4,830
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #11236

Closed
Open
Created Dec 16, 2015 by varosi@varosi

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking