[Git][ghc/ghc][ghc-9.2] 14 commits: Fix gen_contents_index logic for hadrian bindist

Zubin (@wz1000) gitlab at gitlab.haskell.org
Thu Feb 23 20:47:01 UTC 2023



Zubin pushed to branch ghc-9.2 at Glasgow Haskell Compiler / GHC


Commits:
f73a3806 by Matthew Pickering at 2023-02-15T14:31:26+05:30
Fix gen_contents_index logic for hadrian bindist

(cherry picked from commit 5b35ca58d94d07751ef2f810686f588ce9c0878a)

- - - - -
c1766846 by sheaf at 2023-02-15T14:36:03+05:30
RTS: declare setKeepCAFs symbol

Commit 08ba8720 failed to declare the dependency of keepCAFsForGHCi on
the symbol setKeepCAFs in the RTS, which led to undefined symbol errors
on Windows, as exhibited by the testcase frontend001.

Thanks to Moritz Angermann and Ryan Scott for the diagnosis and fix.

Fixes #22961

(cherry picked from commit cf564dd71548771394249e9bf959512a21bbcec0)

- - - - -
b220b91f by Zubin Duggal at 2023-02-21T16:22:40+05:30
Hadrian: Enable SMP on powerpc64{le}

Fixes #19825

(cherry picked from commit 7cfa6f31)

- - - - -
f62b56f3 by Zubin Duggal at 2023-02-21T16:24:37+05:30
Prepare GHC 9.2.7

- - - - -
aec09b1a by Zubin Duggal at 2023-02-21T16:24:53+05:30
Allow metric changes for 9.2.7 as baseline is from a release pipeline

Metric Decrease:
    haddock.base
    haddock.Cabal
    haddock.compiler
Metric Increase:
    ManyAlternatives
    ManyConstructors
    T10421
    T10858
    T12227
    T12425
    T12707
    T13035
    T13253
    T13719
    T15164
    T16577
    T18304
    T18698a
    T18698b
    T3294
    T5321FD
    T5642
    T9203
    T9233
    T9630
    T9872a
    T9872b
    T9872c
    T9872d
    T14697
    T12545
    T1969
    parsing001

- - - - -
923afa2f by Ben Gamari at 2023-02-22T17:02:04+05:30
rts: Use C11-compliant static assertion syntax

Previously we used `static_assert` which is only available in C23. By
contrast, C11 only provides `_Static_assert`.

Fixes #22777

(cherry picked from commit 406d485eb5b055ec428fc189a2724c010ff90a8c)

- - - - -
0978122d by Ben Gamari at 2023-02-22T17:04:38+05:30
rts: Statically assert alignment of Capability

In #22965 we noticed that changes in the size of `Capability` can result
in unsound behavior due to the `align` pragma claiming an alignment
which we don't in practice observe. Avoid this by statically asserting
that the size is a multiple of the alignment.

(cherry picked from commit 1de404a6528b44bb50927383cb1acf237d21ee03)

- - - - -
512c37e7 by Ben Gamari at 2023-02-22T17:04:46+05:30
rts: Introduce stgMallocAlignedBytes

(cherry picked from commit 04336d2f11e49f7d00392f05d4fd48abdd231fc0)
(cherry picked from commit 48ecd4b4dca42cf482847d7629c91d2b44eae252)

- - - - -
09fd3535 by Ben Gamari at 2023-02-22T17:04:54+05:30
rts: Correctly align Capability allocations

Previously we failed to tell the C allocator that `Capability`s needed
to be aligned, resulting in #22965.

(cherry picked from commit 4af27feabf482cf6b611951443e05ee7e53acb39)
(cherry picked from commit cdb39b95fe6d562abc6c1af9a8c0b208dd81681b)

- - - - -
3a522cbf by Andreas Klebinger at 2023-02-22T17:27:17+05:30
base: Correct @since annotation for FP<->Integral bit cast operations.

Fixes #22708

(cherry picked from commit 9296660b131d42f1b1f9c421040c5746d5c56989)

- - - - -
b05c96ae by Ben Gamari at 2023-02-22T17:31:05+05:30
hadrian: Extend xattr Darwin hack to cover /lib

As noted in #21506, it is now necessary to remove extended attributes
from `/lib` as well as `/bin` to avoid SIP issues on Darwin.

Fixes #21506.

(cherry picked from commit 78d04cfadfd728bb088b08b1e88905b43cc0360c)

- - - - -
8d3c0844 by Simon Peyton Jones at 2023-02-22T18:43:38+05:30
Re-do rubbish literals

As #19882 pointed out, we were simply doing rubbish literals wrong.
(I'll refrain from explaining the wrong-ness here -- see the ticket.)

This patch fixes it by adding a Type (of kind RuntimeRep) as field of
LitRubbish, rather than [PrimRep].

The Note [Rubbish literals] in GHC.Types.Literal explains the details.

(cherry picked from commit 52a524f7c8c5701708a007a5946c27914703d045)

- - - - -
283e5646 by Zubin Duggal at 2023-02-22T19:50:58+05:30
ncg/aarch64: Handle MULTILINE_COMMENT identically as COMMENTs

Commit 7566fd9de38c67360c090f828923d41587af519c with the fix for #22798 was
incomplete as it failed to handle MULTILINE_COMMENT pseudo-instructions, and
didn't completly fix the compiler panics when compiling with `-fregs-graph`.

Fixes #23002

(cherry picked from commit 0ea260da3c2b32778758737f6145b2b23ce5f776)

- - - - -
aedae566 by Zubin Duggal at 2023-02-23T18:58:15+05:30
Update release notes for 9.2.7

- - - - -


30 changed files:

- compiler/GHC/Builtin/Types/Prim.hs
- compiler/GHC/CmmToAsm/AArch64/Instr.hs
- compiler/GHC/Core/Make.hs
- compiler/GHC/Core/Opt/Specialise.hs
- compiler/GHC/Core/Opt/WorkWrap/Utils.hs
- compiler/GHC/Core/TyCon.hs
- compiler/GHC/CoreToIface.hs
- compiler/GHC/CoreToStg.hs
- compiler/GHC/Iface/Rename.hs
- compiler/GHC/Iface/Syntax.hs
- compiler/GHC/IfaceToCore.hs
- compiler/GHC/Stg/Unarise.hs
- compiler/GHC/StgToCmm/Lit.hs
- compiler/GHC/Types/Literal.hs
- compiler/GHC/Types/RepType.hs
- configure.ac
- distrib/mkDocs/mkDocs
- docs/users_guide/9.2.6-notes.rst
- + docs/users_guide/9.2.7-notes.rst
- docs/users_guide/release-notes.rst
- hadrian/bindist/Makefile
- hadrian/src/Oracles/Flag.hs
- hadrian/src/Rules/BinaryDist.hs
- includes/Rts.h
- libraries/base/GHC/Float.hs
- libraries/gen_contents_index
- rts/Capability.c
- rts/Capability.h
- rts/RtsSymbols.c
- rts/RtsUtils.c


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5383016c78fe4b2555e0aae9248bea5b42f67a78...aedae566cf988e99bc3f630f57a8177c24572102

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5383016c78fe4b2555e0aae9248bea5b42f67a78...aedae566cf988e99bc3f630f57a8177c24572102
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/20230223/210af56a/attachment.html>


More information about the ghc-commits mailing list