[GHC] #8816: Make SPARC registerised again.
GHC
ghc-devs at haskell.org
Mon Apr 10 07:05:15 UTC 2017
#8816: Make SPARC registerised again.
------------------------------------+------------------------------
Reporter: kgardas | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Resolution: | Keywords:
Operating System: Solaris | Architecture: sparc
Type of failure: None/Unknown | Test Case:
Blocked By: 8847 | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
------------------------------------+------------------------------
Comment (by kgardas):
Hi Sergei,
I've just attached {{{git diff}}} in my sparc registerised build tree.
It's really old, so probably bit rotted more or less but perhaps you may
find it at least a little bit helpful. If I remember correctly, this was
able to get GHC running and the majority of failures were caused by bug in
show of double type -- hence my attempt to test this in
bindisttest/HelloWorld.lhs. The issue was in register mapping while
traversing calls from Haskell to C and back in showPrec function IIRC.
Otherwise it kind of worked at least somehow.
I'll not have time to resurrect my attempts on SPARC for a few upcoming
months at least but would be glad if you can have a look at it.
I'm surprised you are using sparc linux. I've thought Linux is not well
supported on SPARC. My reference hence was always Solaris, but due to
recent Oracle movements w.r.t. this OS I'm moving away from it to OpenBSD
land...
Thanks! Karel
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8816#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list