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

GHC ghc-devs at haskell.org
Mon Sep 14 03:37:45 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 Ansible):

 Ok I installed the binutils, but no dice it seems...

 {{{
 bburdette at jessie-rpi:~/code/ghcbug$ sudo dpkg -i
 binutils_2.25.1-1_armhf.deb
 [sudo] password for bburdette:
 (Reading database ... 38788 files and directories currently installed.)
 Preparing to unpack binutils_2.25.1-1_armhf.deb ...
 Unpacking binutils (2.25.1-1) over (2.25-5) ...
 Setting up binutils (2.25.1-1) ...
 Processing triggers for man-db (2.7.0.2-5) ...
 Processing triggers for libc-bin (2.19-18) ...
 bburdette at jessie-rpi:~/code/ghcbug$ ls
 a.out                        core   hello     hello.hs  install_log
 binutils_2.25.1-1_armhf.deb  frout  hello.hi  hello.o   main.cpp
 bburdette at jessie-rpi:~/code/ghcbug$ ghc -fforce-recomp hello.hs
 [1 of 1] Compiling Main             ( hello.hs, hello.o )
 Linking hello ...
 bburdette at jessie-rpi:~/code/ghcbug$ ./hello
 Illegal instruction
 bburdette at jessie-rpi:~/code/ghcbug$
 }}}

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


More information about the ghc-tickets mailing list