| Summary: | ghci b0rked on AMD64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Luke Maurer (Jyrinx) <Luke.Maurer> |
| Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | amd64 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Luke Maurer (Jyrinx)
2005-02-19 01:18:09 UTC
the RTS needs to be ported to AMD64. this is being worked on upstream. it probably won't be in 6.4 but it's a candidate for 6.4.1. this is not gentoo's problem or something that gentoo can reasonably fix. what can be done though is to add "GhcWithInterpreter=NO" to mk/build.mk on AMD64. this will cause it to give a somewhat nicer "not built for interactive use" message when you run ghci. Hrm ... yeah, I just reread the report I found of ghci working on an AMD64 box ... I failed to realize it only worked because the guy was installing it as a 32-bit i386 app (after installing 32-bit gmp and readline to go with it). In the meantime, is there any simple way to use multilib and/or emul-linux-x86-* stuff to have emerge build a 32-bit ghc and ghci that'll work, albeit handicapped? GHC looks at the uname output to determine what platform it's going to build for so I can't think of an easy way to build for i386 on an AMD64 box (without playing with the build system a little bit, anyway). I recommend just installing the binary package for i386. That should work. You can probably convince 'emerge ghc-bin' to do it with some minor ebuild hacking. BTW: For GHC, i386 performance will actually exceed amd64 performance (i386 is more fully registerised) so it's not handicapped to use the 32bit packages. i don't know why this bug is still open, using ghc-bin seems to be a reasonable solution |