Index | Thread | Search

From:
Greg Steuck <gnezdo@openbsd.org>
Subject:
Re: GHC on OpenBSD/arm64 -> retguard fail?
To:
ports@openbsd.org
Date:
Mon, 18 Nov 2024 13:16:57 -0800

Download raw body.

Thread
Matthias Kilian <kili@outback.escape.de> writes:

> Hi,
>
> On Mon, Nov 18, 2024 at 07:06:35PM +0000, Stuart Henderson wrote:
>> It's possible there might have been some other way to workaround this
>> for ghc but it seemed an apt time to remind about it. Last time we did
>> this (for 64-bit time_t) we had to go through ghc-6.6.1 (buildable
>> without bootstrap), 6.10.4, 6.12.3, 7.0.4, 7.4.2. It wasn't very fun.
>
> Noone would try to do it that way again ;-)

I wholeheartedly agree. This was tour de force that few others would
contemplate doing.

>
> See cvs:~kili/ghc-bootstrap.sh,v
>
> or https://openbsd.dead-parrot.de/ghc-bootstrap.sh,v
>
> Looking at the history, it took me more than 7 months of *boring* work.
>
> So some documentation / scripts / hacks (however ugly they may be)
> to do cross-builds of ghc would be *really* helpful for the future.
>
> Ciao,
> 	Kili