Index | Thread | Search

From:
Matthias Kilian <kili@outback.escape.de>
Subject:
Re: GHC on OpenBSD/arm64 -> retguard fail?
To:
حبيب محمد الأمين محمد الهادي <ha.alamin@gmail.com>, Greg Steuck <gnezdo@openbsd.org>, ports@openbsd.org
Date:
Mon, 18 Nov 2024 21:31:08 +0100

Download raw body.

Thread
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 ;-)

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