Well, it did get fixed at some point. I remember using it and
there is a comment in the port history:

http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/ghc/Makefile

Fix GHCi for amd64 (s/EM_X86_64/EM_AMD64/ noticed by Don Steward)...

Thanks
Greg

On Tue, May 5, 2009 at 1:58 AM, Timo Myyrä <timo.my...@gmail.com> wrote:
> 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 <g...@nest.cx> 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
>>
>>
>



-- 
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

Reply via email to