[GHC] #10863: "hello world" produces illegal instruction error
GHC
ghc-devs at haskell.org
Mon Sep 14 02:47:48 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 erikd):
I grabbed the same compiler from
http://ftp.us.debian.org/debian/pool/main/g/ghc/ghc_7.10.2-2_armhf.deb and
compiled up a "hello world" program. The compiler worked fine as did the
resulting executable.
I inspected the file `/usr/lib/ghc/settings` and found:
{{{
("C compiler link flags", " -fuse-ld=gold -Wl,-z,noexecstack"),
("ld command", "/usr/bin/ld.gold"),
("LLVM llc command", "llc-3.5"),
("LLVM opt command", "opt-3.5")
}}}
which is exactly as I expected.
Here are the versions of llvm/binutils/gcc that I have on my machine:
{{{
llvm-3.5 1:3.5.2-1 armhf Modular compiler and toolchain
technologies
binutils 2.25.1-1 armhf GNU assembler, linker and binary
utilities
gcc 4:4.9.2-4 armhf GNU C compiler
}}}
@Ansible, please check your versions of the above.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10863#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list