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

GHC ghc-devs at haskell.org
Fri Oct 23 03:12:41 UTC 2015


#10383: AArch64: get GHC Calling convention working
----------------------------------------+-------------------------------
        Reporter:  erikd                |                Owner:  erikd
            Type:  feature request      |               Status:  new
        Priority:  normal               |            Milestone:  8.0.1
       Component:  Compiler             |              Version:  7.11
      Resolution:                       |             Keywords:
Operating System:  Unknown/Multiple     |         Architecture:  aarch64
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
       Wiki Page:                       |
----------------------------------------+-------------------------------

Comment (by erikd):

 Have a simple Make script that passes on x86_64/linux and fails on
 arm64/linux:

 {{{
 #!/usr/bin/make -f

 GHC = inplace/bin/ghc-stage1
 GHCFLAGS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output \
                 -no-user-package-db -rtsopts  -fno-warn-tabs \
                 -fno-warn-missed-specialisations -optc-Dlinux_HOST_OS=1
 -v0

 TESTDIR = testsuite/tests/rts

 all :
         rm -f *.o
         $(GHC) $(GHCFLAGS) -c $(TESTDIR)/T5435_asm.c -o T5435_load_v_asm.o
         $(GHC) $(GHCFLAGS) $(TESTDIR)/T5435.hs -o T5435_v_asm
         ./T5435_v_asm v ./T5435_load_v_asm.o

 }}}

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


More information about the ghc-tickets mailing list