[GHC] #9935: Can't compile rts/StgCRun.c for aarch64-linux

GHC ghc-devs at haskell.org
Mon Dec 29 06:55:22 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
       Keywords:            |        Operating System:  Linux
   Architecture:  Other     |         Type of failure:  Building GHC failed
     Difficulty:  Unknown   |               Test Case:
     Blocked By:            |                Blocking:
Related Tickets:            |  Differential Revisions:
----------------------------+----------------------------------------------
 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.

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


More information about the ghc-tickets mailing list