GNU bug report logs -
#42014
[PATCH] WIP: Bootstrap GHC on ARM systems.
Previous Next
To reply to this bug, email your comments to 42014 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#42014
; Package
guix-patches
.
(Tue, 23 Jun 2020 01:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Griffin <a <at> ajgrf.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 23 Jun 2020 01:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This patch replaces the GHC 7.8.4 bootstrap binaries with binaries of GHC 8.2.2, with an eye towards supporting ARM systems. I have not yet succeeded in bootstrapping GHC on ARM, but 8.2.2 is the first release with official binary distributions for both armv7 and aarch64.
--
Alex Griffin
[0001-gnu-Re-bootstrap-Haskell-with-GHC-8.2.2-binaries.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42014
; Package
guix-patches
.
(Sat, 27 Jun 2020 21:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 42014 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Here's the second patch. I'm making some progress on bootstrapping Haskell on ARM. Currently it builds the stage1 compiler just fine, then panics while building the stage2 compiler.
Progress is super slow, mainly because long compilation times mean I can only try 1 change per day.
--
Alex Griffin
[0002-gnu-ghc-8.4-Support-32-and-64-bit-ARM-systems.patch (text/x-patch, attachment)]
Changed bug title to '[PATCH] WIP: Bootstrap GHC on ARM systems.' from '[PATCH] WIP: gnu: Re-bootstrap Haskell with GHC 8.2.2 binaries.'
Request was from
Alex Griffin <a <at> ajgrf.com>
to
control <at> debbugs.gnu.org
.
(Sat, 27 Jun 2020 21:19:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42014
; Package
guix-patches
.
(Sat, 27 Jun 2020 21:22:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 42014 <at> debbugs.gnu.org (full text, mbox):
Alex Griffin via Guix-patches via <guix-patches <at> gnu.org> writes:
> This patch replaces the GHC 7.8.4 bootstrap binaries with binaries of
> GHC 8.2.2, with an eye towards supporting ARM systems. I have not yet
> succeeded in bootstrapping GHC on ARM, but 8.2.2 is the first release
> with official binary distributions for both armv7 and aarch64.
Can we do this only for armhf and aarch64? I wouldn’t like to replace
the bootstrap binary for the other architectures with a newer version
without a good reason. (We should aim to remove the binary completely,
not replace it with newer and newer versions.)
--
Ricardo
Information forwarded
to
guix-patches <at> gnu.org
:
bug#42014
; Package
guix-patches
.
(Sat, 27 Jun 2020 22:11:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 42014 <at> debbugs.gnu.org (full text, mbox):
Hi Ricardo,
I actually had the same thought, and asked about it on IRC with no response. So I just did the simplest thing I could to get started. Once we have a working compiler on ARM, it should be pretty easy to restore the old x86 bootstrap path.
In particular, the complexities of having the GHC 8.4 package bootstrapped from upstream binaries on some architectures vs a previous package on others, just seemed like an unnecessary distraction until we can work through the build problems on ARM.
--
Alex Griffin
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, June 27, 2020 9:21 PM, Ricardo Wurmus <rekado <at> elephly.net> wrote:
>
>
> Alex Griffin via Guix-patches viaguix-patches <at> gnu.org writes:
>
> > This patch replaces the GHC 7.8.4 bootstrap binaries with binaries of
> > GHC 8.2.2, with an eye towards supporting ARM systems. I have not yet
> > succeeded in bootstrapping GHC on ARM, but 8.2.2 is the first release
> > with official binary distributions for both armv7 and aarch64.
>
> Can we do this only for armhf and aarch64? I wouldn’t like to replace
> the bootstrap binary for the other architectures with a newer version
> without a good reason. (We should aim to remove the binary completely,
> not replace it with newer and newer versions.)
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Ricardo
This bug report was last modified 4 years and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.