After much debugging, I've put up a new version of my ARM linker support
patchset on Github[1]. While the relocation code seems to work insofar
as it gets past linking and begins running code without SIGILL or
SIGSEGV, clearly something is amiss,

$ inplace/bin/ghc-stage2 -Binplace/lib --interactive      GHCi, version 
7.3.20111018: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
ghc-stage2: main thread exited (uncaught exception)
ghc-stage2: internal error: invalid closure, info=0x404fc010
    (GHC version 7.3.20111018 for arm_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted

Any ideas what might be behind this? Looks nasty.

Karel, do you see this as well?

Cheers,

- Ben


[1] https://github.com/bgamari/ghc/tree/arm-ghci

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to