GNU bug report logs - #53609
[PATCH] Add GHC 4 for the Haskell bootstrap

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Fri, 28 Jan 2022 17:44:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 53609 <at> debbugs.gnu.org
Subject: [bug#53609] [PATCH 2/2] gnu: Add ghc-4.
Date: Sat, 29 Jan 2022 19:56:39 +0100
There had to be a catch, and sure enough: there is one.  This ghc-4
package doesn’t include everything it should.  The good news is that the
RTS of GHC is included.  The bad news is that the standard library
doesn’t exist.

This old build system is a bit too optimistic and will ignore any build
failure.  There are two failures:

--8<---------------cut here---------------start------------->8---
make[3]: *** No rule to make target 'Array.o', needed by 'libHSstd.a'. Stop.
[…]
make[2]: *** No rule to make target 'utils/Argv.o', needed by 'hsc'.  Stop.
--8<---------------cut here---------------end--------------->8---

“Stop.” here is not to be taken literally, it seems.  The build
continues but libHSstd.a doesn’t make it to the finish line.  Array.o
would presumably be built from Haskell code.

This means that the vision I had during a fever dream is still worth
following: combine the GHC RTS with the Hugs interpreter to interpret
the Haskell code of GHC 4 to use it to compile the Haskell code of GHC 4.

-- 
Ricardo




This bug report was last modified 3 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.