From 6c9c0f6ad6f8f1d106931a4cfdd3214db60501c7 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Thu, 15 May 2025 09:00:54 +0200 Subject: [PATCH 1/2] GHC team update 46 --- blog/2025-05-15-ghc-update-46.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 blog/2025-05-15-ghc-update-46.md diff --git a/blog/2025-05-15-ghc-update-46.md b/blog/2025-05-15-ghc-update-46.md new file mode 100644 index 00000000..559dac03 --- /dev/null +++ b/blog/2025-05-15-ghc-update-46.md @@ -0,0 +1,31 @@ +--- +slug: 2025-05-15-ghc-update +title: "IOG GHC Update #46" +authors: [sylvain,luite] +tags: [ghc,ghc-update] +--- + +Triweekly update from the GHC DevX team at IOG. + + + +Previous updates can be found [here](https://engineering.iog.io/tags/ghc-update). + +Sylvain: continued the experimentation with using `zig cc/c++` as a C/C++ +cross-compiler with GHC to build boot libraries. I manage to cross-build libffi (a +dependency of the RTS) with a [libffi fork](https://github.com/vezel-dev/libffi) +that supports Zig's build system. + +Sylvain: experimented with the addition of a `--target` flag to GHC to select a +target. Also added `--list-targets` to list the available targets. This is not +ready to be upstreamed yet. +[stable-GHC#30](https://github.com/stable-haskell/ghc/issues/30#issuecomment-2851324370) + +Luite: Working on more efficient packing of heap objects by reordering +smaller-than-word fields and reducing the size of tag fields of unboxed sums and +unpacked constructors. + +Sylvain: deprecated an internal module exposed from `base`. +[GHC#23432](https://gitlab.haskell.org/ghc/ghc/-/issues/23432) +[CLC!329](https://github.com/haskell/core-libraries-committee/issues/329) +[GHC!14296](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/14296). From 68f2174033b6561a714de79ee64c48ea204430c4 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Thu, 15 May 2025 09:23:24 +0200 Subject: [PATCH 2/2] Update 2025-05-15-ghc-update-46.md --- blog/2025-05-15-ghc-update-46.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog/2025-05-15-ghc-update-46.md b/blog/2025-05-15-ghc-update-46.md index 559dac03..b339330b 100644 --- a/blog/2025-05-15-ghc-update-46.md +++ b/blog/2025-05-15-ghc-update-46.md @@ -25,6 +25,8 @@ Luite: Working on more efficient packing of heap objects by reordering smaller-than-word fields and reducing the size of tag fields of unboxed sums and unpacked constructors. +Sylvain: worked on a fix for the compilation of C files with GHC when no RTS unit is present. [GHC#26018](https://gitlab.haskell.org/ghc/ghc/-/issues/26018), [GHC!14300](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/14300) + Sylvain: deprecated an internal module exposed from `base`. [GHC#23432](https://gitlab.haskell.org/ghc/ghc/-/issues/23432) [CLC!329](https://github.com/haskell/core-libraries-committee/issues/329)