[Git][ghc/ghc][wip/backports-9.6] 15 commits: ci: Add ubuntu18_04 nightly and release jobs

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Thu Jan 26 20:50:39 UTC 2023



Ben Gamari pushed to branch wip/backports-9.6 at Glasgow Haskell Compiler / GHC


Commits:
61f0657e by Matthew Pickering at 2023-01-26T15:42:26-05:00
ci: Add ubuntu18_04 nightly and release jobs

This adds release jobs for ubuntu18_04 which uses glibc 2.27 which is
older than the 2.28 which is used by Rocky8 bindists.

Ticket #22268

(cherry picked from commit 0a022207a3204c8952a2564ed88c83f748e8cac1)

- - - - -
55c37c5f by Matthew Pickering at 2023-01-26T15:42:27-05:00
rel-eng: Add missing rocky8 bindist

We intend to release rocky8 bindist so the fetching script needs to know
about them.

(cherry picked from commit 2e3dbafa57013b250c92b031ce50962d4f5e13a3)

- - - - -
7aaa4909 by Matthew Pickering at 2023-01-26T15:42:58-05:00
Store dehydrated data structures in CgModBreaks

This fixes a tricky leak in GHCi where we were retaining old copies of
HscEnvs when reloading. If not all modules were recompiled then these
hydrated fields in break points would retain a reference to the old
HscEnv which could double memory usage.

Fixes #22530

(cherry picked from commit 1262d3f8c03799a04d3c5fcf33d4d4db715ca9a1)

- - - - -
a76494dd by Matthew Pickering at 2023-01-26T15:42:59-05:00
Force more in NFData Name instance

Doesn't force the lazy `OccName` field (#19619) which is already known
as a really bad source of leaks.

When we slam the hammer storing Names on disk (in interface files or the
like), all this should be forced as otherwise a `Name` can easily retain
an `Id` and hence the entire world.

Fixes #22833

(cherry picked from commit e27eb80cc7e0c82e07fbd8d9ae8112d9070c4355)

- - - - -
80efba9c by Matthew Pickering at 2023-01-26T15:43:00-05:00
Force OccName in tidyTopName

This occname has just been derived from an `Id`, so need to force it
promptly so we can release the Id back to the world.

Another symptom of the bug caused by #19619

(cherry picked from commit 3d004d5a961fbbbe11da1050b725468a970bee4b)

- - - - -
f4f49e80 by Matthew Pickering at 2023-01-26T15:43:01-05:00
Strict fields in ModNodeKey (otherwise retains HomeModInfo)

Towards #22530

(cherry picked from commit f2a0fea09a88693d876fb891ea7c8c97373c4aa6)

- - - - -
ba19a414 by Alexis King at 2023-01-26T15:44:54-05:00
Handle top-level Addr# literals in the bytecode compiler

Fixes #22376.

(cherry picked from commit 476d98d4fcccb54a37ec2d9c0fed79696237c166)

- - - - -
387b9354 by Simon Peyton Jones at 2023-01-26T15:46:29-05:00
Fix in-scope set in specImports

Nothing deep here; I had failed to bring some
floated dictionary binders into scope.

Exposed by -fspecialise-aggressively

Fixes #22715.

(cherry picked from commit 13a0566b58ecc295883b11f20045b4214d8acd72)

- - - - -
2111c3e7 by Ben Gamari at 2023-01-26T15:48:46-05:00
base: Make changelog proposal references more consistent

Addresses #22773.

(cherry picked from commit f410d70a5543240015d7404ff529bdcaaec8d675)

- - - - -
0cfbc675 by Sylvain Henry at 2023-01-26T15:49:02-05:00
Hadrian: correctly detect AR at-file support

Stage0's ar may not support at-files. Take it into account.

Found while cross-compiling from Darwin to Windows.

(cherry picked from commit e987e345c807035e4637ca3eae227ae501e16c42)

- - - - -
42bff7cf by Sylvain Henry at 2023-01-26T15:49:03-05:00
Hadrian: fix Windows cross-compilation

Decision to build either unix or Win32 package must be stage specific
for cross-compilation to be supported.

(cherry picked from commit 48131ee2d8ba7074a4c2763a32c12df105305a75)

- - - - -
e9018475 by Sylvain Henry at 2023-01-26T15:49:04-05:00
Fix RTS build on Windows

This change fixes a cross-compilation issue from ArchLinux to Windows
because these symbols weren't found.

(cherry picked from commit 288fa0179a2f54e4594afe184eac71cc85c46643)

- - - - -
d94285c0 by Sylvain Henry at 2023-01-26T15:49:04-05:00
configure: support "windows" as an OS

(cherry picked from commit 2fdf22aebda2307d86872c792633d1856d666c9b)

- - - - -
842e2b06 by Matthew Pickering at 2023-01-26T15:49:29-05:00
ghcup metadata: Fix subdir for windows bindist

(cherry picked from commit 159426acb90f7db394ec40dfe22d4999a9190e6e)

- - - - -
bde60b82 by Matthew Pickering at 2023-01-26T15:49:30-05:00
ghcup metadata: Remove viPostRemove field from generated metadata

This has been removed from the downstream metadata.

(cherry picked from commit 7915f039a37f6496ec572f33ddb204a5709f7020)

- - - - -


30 changed files:

- .gitlab-ci.yml
- .gitlab/gen_ci.hs
- .gitlab/jobs.yaml
- .gitlab/rel_eng/fetch-gitlab-artifacts/fetch_gitlab.py
- .gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
- compiler/GHC/ByteCode/Asm.hs
- compiler/GHC/ByteCode/Instr.hs
- compiler/GHC/ByteCode/Linker.hs
- compiler/GHC/ByteCode/Types.hs
- compiler/GHC/Core/Opt/Specialise.hs
- compiler/GHC/CoreToIface.hs
- compiler/GHC/Iface/Tidy.hs
- compiler/GHC/IfaceToCore.hs
- compiler/GHC/Linker/Loader.hs
- compiler/GHC/Linker/Types.hs
- compiler/GHC/Runtime/Eval.hs
- compiler/GHC/StgToByteCode.hs
- compiler/GHC/Types/Name.hs
- compiler/GHC/Unit/Module/Graph.hs
- hadrian/cfg/system.config.in
- hadrian/src/Builder.hs
- hadrian/src/Oracles/Flag.hs
- hadrian/src/Settings/Default.hs
- libraries/base/changelog.md
- m4/fptools_set_haskell_platform_vars.m4
- m4/ghc_convert_os.m4
- rts/RtsSymbols.c
- + testsuite/tests/bytecode/T22376/A.hs
- + testsuite/tests/bytecode/T22376/B.hs
- + testsuite/tests/bytecode/T22376/T22376.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1aca2f2335c69f16798f2c63089edfd892cb2322...bde60b82ed2b661d3511141ae1964b4cecbc1cf2

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1aca2f2335c69f16798f2c63089edfd892cb2322...bde60b82ed2b661d3511141ae1964b4cecbc1cf2
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230126/d19153de/attachment.html>


More information about the ghc-commits mailing list