IIRC it has been like that for a while. GHCi won't work on amd64 for some reason. The plain GHC should work though.
I found following with Google: http://www.nabble.com/Making-GHC-work-on-BSD-td19370901.html It apppears the problem is not limited to OpenBSD. Timo On Tue, May 5, 2009 at 9:00 AM, Greg Steuck <[email protected]> wrote: > It seems like we lost ghci somewhere on the way from 4.4 to 4.5. > > % ghci > ___ ___ _ > / _ \ /\ /\/ __(_) > / /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98. > / /_\\/ __ / /___| | http://www.haskell.org/ghc/ > \____/\/ /_/\____/|_| Type :? for help. > > ghc-6.6.1: internal error: R_X86_64_PC32 relocation out of range: > environ = 0xfffffffdf5f6d40e > (GHC version 6.6.1 for x86_64_unknown_openbsd) > Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug > [1] 3789 abort (core dumped) ghci > % pkg_info ghc > Information for inst:ghc-6.6.1p2 > ... > % uname -mrspv > OpenBSD 4.5 GENERIC#2052 amd64 AMD Athlon(tm) 64 Processor 2800+ > > -- > nest.cx is Gmail hosted, use PGP for anything private. Key: > http://tinyurl.com/ho8qg > Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 4D50 0B15 42BD 8DF5 A1B0 > >
