[GHC] #9935: Can't compile rts/StgCRun.c for aarch64-linux
GHC
ghc-devs at haskell.org
Mon Dec 29 09:17:44 UTC 2014
#9935: Can't compile rts/StgCRun.c for aarch64-linux
----------------------------------------+----------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Linux | Architecture: aarch64
Type of failure: Building GHC failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions: D599
----------------------------------------+----------------------------------
Description changed by erikd:
Old description:
> When cross-compiling from x86_64-linux to aarch64-linux I get:
>
> {{{
> rts/StgCRun.c: In function ‘StgRun’:
>
> rts/StgCRun.c:756:5:
> error: unknown register name ‘%lr’ in ‘asm’
> __asm__ volatile (
> }}}
>
> It seems the asm code here is for iOS and does not work for Linux. Have a
> patch in progress.
New description:
When building an x86_64-linux to aarch64-linux cross-compiling I get:
{{{
rts/StgCRun.c: In function ‘StgRun’:
rts/StgCRun.c:756:5:
error: unknown register name ‘%lr’ in ‘asm’
__asm__ volatile (
}}}
It seems the asm code here is for iOS and does not work for Linux. Have a
patch in progress.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9935#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list