[GHC] #12726: GHC 8.0.1: ghc --make broken on Raspberry Pi
GHC
ghc-devs at haskell.org
Mon Oct 17 14:54:26 UTC 2016
#12726: GHC 8.0.1: ghc --make broken on Raspberry Pi
-------------------------------------+-------------------------------------
Reporter: robjhen | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: raspberry pi | Operating System: Linux
Architecture: arm | Type of failure: GHC doesn't work
| at all
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
== System and compiler version ==
System: Raspberry Pi 2 running Raspbian Jessie (September 2016 release);
LLVM 3.7 installed.
GHC: GHC 8.0.1 ARMv7 binary downloaded from GHC webpage
(ghc-8.0.1-armv7-deb8-linux.tar.xz).
GCC version 4.9.2 (Raspbian 4.9.2-10)
== Details ==
GHCi works perfectly, however 'ghc --make' does not work at all. The
following minimal test program fails to compile:
{{{#!hs
main :: IO ()
main = putStrLn "Hello!"
}}}
Here are the first few lines of the compiler output:
{{{
pi at raspberrypi:~/haskell/test $ ~/opt/ghc-8.0.1/bin/ghc --make test.hs
[1 of 1] Compiling Main ( test.hs, test.o )
/tmp/ghc2094_0/ghc_6.s: Assembler messages:
/tmp/ghc2094_0/ghc_6.s:40:0: error:
Error: selected processor does not support ARM mode `movw
r7,:lower16:stg_bh_upd_frame_info'
}}}
See attachment for full compiler output with '-v'.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12726>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list