[GHC] #16151: GHC 8.6 build failure on ARM
GHC
ghc-devs at haskell.org
Tue Jan 8 18:37:50 UTC 2019
#16151: GHC 8.6 build failure on ARM
--------------------------------+----------------------------------------
Reporter: dustin | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Keywords: | Operating System: Linux
Architecture: arm | Type of failure: Building GHC failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+----------------------------------------
I'm attempting to build the ghc-8.6 branch on ARM linux. I have GHC 8.2.2
and LLVM 6.0.1 installed.
My only build.mk change is to set BuildFlavour=quick
I've made it as far as "final phase" where I get the following failure:
{{{
===--- building final phase
/usr/bin/make --no-print-directory -f ghc.mk phase=final all
"inplace/bin/ghc-stage1" -static -O0 -H64m -Wall -Iincludes
-Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS
-DFS_NAMESPACE=rts -this-unit-id rts -optc-D
NOSMP -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build
-irts/dist/build/./autogen -Irts/dist/build/./autogen -O2
-Wcpp-undef -Wnoncanonical-monad-instances -c rts/StgStartup.cmm -o
rts/dist/build/StgStartup.o
/tmp/ghc154171_0/ghc_8.s: Assembler messages:
/tmp/ghc154171_0/ghc_8.s:32:0: error:
Error: selected processor does not support `movw
r7,:lower16:stg_enter_info' in ARM mode
|
32 | movw r7, :lower16:stg_enter_info
| ^
/tmp/ghc154171_0/ghc_8.s:33:0: error:
Error: selected processor does not support `movt
r7,:upper16:stg_enter_info' in ARM mode
|
33 | movt r7, :upper16:stg_enter_info
| ^
/tmp/ghc154171_0/ghc_8.s:231:0: error:
Error: selected processor does not support `movw r2,#32512' in ARM
mode
|
231 | movw r2, #32512
| ^
/tmp/ghc154171_0/ghc_8.s:233:0: error:
Error: selected processor does not support `movt r2,#640' in ARM mode
|
233 | movt r2, #640
| ^
`gcc' failed in phase `Assembler'. (Exit code: 1)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16151>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list