[GHC] #10863: "hello world" produces illegal instruction error

GHC ghc-devs at haskell.org
Mon Sep 14 01:17:47 UTC 2015


#10863: "hello world" produces illegal instruction error
----------------------------------+---------------------------------
        Reporter:  Ansible        |                   Owner:
            Type:  bug            |                  Status:  new
        Priority:  normal         |               Milestone:
       Component:  Compiler       |                 Version:  7.10.2
      Resolution:                 |                Keywords:
Operating System:  Linux          |            Architecture:  arm
 Type of failure:  Runtime crash  |               Test Case:
      Blocked By:                 |                Blocking:
 Related Tickets:                 |  Differential Revisions:
----------------------------------+---------------------------------

Comment (by rwbarton):

 Ok so here CPSR is `0x60000030` which has the T bit set (`0x20`). So the
 CPU knows it is executing Thumb instructions.

 I don't understand what is different about what we are doing though... I
 mean we are presumably linking against the same libc that contains the
 call to `main`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10863#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list