Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 72747

Summary: ghc on linux sparc
Product: Gentoo Linux Reporter: Duncan Coutts (RETIRED) <dcoutts>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 68930    

Description Duncan Coutts (RETIRED) gentoo-dev 2004-11-28 10:33:22 UTC
ghc-bin does not work on sparc-unknown-linux-gnu

The ebuild downloads http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-sparc-sun-solaris2.tar.bz2
and tries to build that. However on linux this will not work of course.

Assuming no-one has done this already, I'd like to provide a ghc-bin/ghc for linux sparc (seing as I've a new sparc machine). I'll keep this bug around for tracking purposes.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~sparc" emerge ghc

Actual Results:  
checking host system type... sparc-unknown-linux-gnu
checking target system type... sparc-unknown-linux-gnu
checking build system type... sparc-unknown-linux-gnu
Unrecognised platform: sparc-unknown-linux-gnu


Expected Results:  
it should "just work" :-)
Comment 1 Duncan Coutts (RETIRED) gentoo-dev 2004-11-28 10:38:11 UTC
Just noticed existing report on porting ghc to other archs
Comment 2 Duncan Coutts (RETIRED) gentoo-dev 2005-05-20 14:44:37 UTC
ghc-bin-6.2.2-r1 and ghc-6.2.2 are now in portage with ~sparc in KEYWORDS.

GHCi support however is disabled because it segfaults on 2.6 kernels (works fine
on 2.4 kernels).