
#8910: cross compiling for x86_64 solaris2 ----------------------------------+---------------------------------- Reporter: maeder | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Solaris | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------+---------------------------------- Comment (by kgardas): Well, I've also got that far IIRC in the past and then was blocked by segfaults everywhere. Anyway, back in my head one idea started to appear and that is. Perhaps we don't have ABI right in RTS? Have a look into rts/StgCRun.c -- scroll to x86_64 part and you will see different regs being pushed/poped for MinGW (so Windows). I would seriously suggest to check Solaris AMD64 ABI and check that StgCRun.c is written in correct way for it. If not, then fix it first there. Also if it's over your head now, perhaps you can at least give a try to testsuite. You can run testsuite with stage1 compiler with IIRC: {{{ make stage=1 }}} and let's see if you get at least few tests passing. See http://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running for more information about running the testsuite. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8910#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler