[GHC] #10383: AArch64: get GHC Calling convention working

GHC ghc-devs at haskell.org
Tue May 5 01:53:08 UTC 2015


#10383: AArch64: get GHC Calling convention working
-------------------------------------+-------------------------------------
              Reporter:  erikd       |             Owner:  erikd
                  Type:  feature     |            Status:  new
  request                            |         Milestone:  7.12.1
              Priority:  normal      |           Version:  7.11
             Component:  Compiler    |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  Building GHC
          Architecture:  aarch64     |  failed
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Building on AArch64 via the LLVM abckend has been working for some time.
 Its now time to get `("Unregisterised", "NO")` working as well.

 Enabling GHC calling convention can be done with this patch to
 `configure.ac`:

 {{{
 diff --git a/configure.ac b/configure.ac
 index d5d9ab3..a11e5af 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -241,7 +241,7 @@ AC_SUBST(SOLARIS_BROKEN_SHLD)
  dnl ** Do an unregisterised build?
  dnl --------------------------------------------------------------
  case "$HostArch" in
 -    i386|x86_64|powerpc|arm)
 +    i386|x86_64|powerpc|arm|aarch64)
          UnregisterisedDefault=NO
          ;;
      *)
 }}}

 but when building it this way, the stage2 compiler dies will `Illegal
 instructon`.

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


More information about the ghc-tickets mailing list