
#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 edmund): You're quoting cases of ghc-stage2 segfaulting. Presumably that's because ghc-stage1 generated bad code. And I'm guessing both stage1 and stage2 are registerised. It would be nice if you could find a simple program that gets compiled incorrectly, and to get that you could either run the test suite with the stage1 compiler (bearing in mind that some tests are expected to fail with a stage1 compiler) or find a way of building a registerised stage2 using an unregisterised stage1 (which doesn't appear to be entirely straightforward with the way the build infrastructure works). What do you think? You can tell GDB "info reg" and "x/i 0x0000007fb6db8ca4" to find out how it got from there to 0x000006d6f9400288. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10383#comment:37 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler