[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 8 commits: Bump ghc-tarballs to fix #22497

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Jan 18 14:31:36 UTC 2023



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
f891a442 by Ben Gamari at 2023-01-18T07:28:00-05:00
Bump ghc-tarballs to fix #22497

It turns out that gmp 6.2.1 uses the platform-reserved `x18` register on
AArch64/Darwin. This was fixed in upstream changeset 18164:5f32dbc41afc,
which was merged in 2020. Here I backport this patch although I do hope
that a new release is forthcoming soon.

Bumps gmp-tarballs submodule.

Fixes #22497.

- - - - -
b13c6ea5 by Ben Gamari at 2023-01-18T07:28:00-05:00
Bump gmp-tarballs submodule

This backports the upstream fix for CVE-2021-43618, fixing #22789.

- - - - -
c45a5fff by Cheng Shao at 2023-01-18T07:28:37-05:00
Fix typo in recent darwin tests fix

Corrects a typo in !9647. Otherwise T18623 will still fail on darwin
and stall other people's work.

- - - - -
e550fead by Luite Stegeman at 2023-01-18T09:31:29-05:00
Add PrimCallConv support to GHCi

This adds support for calling Cmm code from bytecode using the native
calling convention, allowing modules that use `foreign import prim`
to be loaded and debugged in GHCi.

This patch introduces a new `PRIMCALL` bytecode instruction and
a helper stack frame `stg_primcall`. The code is based on the
existing functionality for dealing with unboxed tuples in bytecode,
which has been generalised to handle arbitrary calls.

Fixes #22051

- - - - -
4400f4bf by Adam Gundry at 2023-01-18T09:31:30-05:00
Refactor warning flag parsing to add missing flags

This adds `-Werror=<group>` and `-fwarn-<group>` flags for warning
groups as well as individual warnings. Previously these were defined
on an ad hoc basis so for example we had `-Werror=compat` but not
`-Werror=unused-binds`, whereas we had `-fwarn-unused-binds` but not
`-fwarn-compat`. Fixes #22182.

- - - - -
a11c9133 by Adam Gundry at 2023-01-18T09:31:30-05:00
Minor corrections to comments

- - - - -
7c5f5fd5 by Adam Gundry at 2023-01-18T09:31:30-05:00
Revise warnings documentation in user's guide

- - - - -
ba7f89b1 by Adam Gundry at 2023-01-18T09:31:30-05:00
Move documentation of deferred type error flags out of warnings section

- - - - -


30 changed files:

- compiler/GHC/ByteCode/Asm.hs
- compiler/GHC/ByteCode/Instr.hs
- compiler/GHC/ByteCode/Types.hs
- compiler/GHC/Cmm/CallConv.hs
- compiler/GHC/Cmm/Parser.y
- compiler/GHC/Cmm/Reg.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/StgToByteCode.hs
- compiler/GHC/StgToCmm/Foreign.hs
- compiler/GHC/Types/Error.hs
- docs/users_guide/9.6.1-notes.rst
- docs/users_guide/exts/defer_type_errors.rst
- docs/users_guide/using-warnings.rst
- libraries/ghc-bignum/gmp/gmp-tarballs
- rts/Disassembler.c
- rts/Interpreter.c
- rts/RtsSymbols.c
- rts/StgMiscClosures.cmm
- rts/include/rts/Bytecodes.h
- rts/include/stg/MiscClosures.h
- testsuite/tests/ghci/prog014/prog014.T
- + testsuite/tests/ghci/should_run/GHCiPrimCall/GHCiPrimCall.hs
- + testsuite/tests/ghci/should_run/GHCiPrimCall/GHCiPrimCall.stdout
- + testsuite/tests/ghci/should_run/GHCiPrimCall/GHCiPrimCall.stdout-ws-32
- + testsuite/tests/ghci/should_run/GHCiPrimCall/GHCiPrimCall_cmm.cmm
- + testsuite/tests/ghci/should_run/GHCiPrimCall/Makefile
- + testsuite/tests/ghci/should_run/GHCiPrimCall/all.T
- testsuite/tests/rts/T18623/all.T
- + testsuite/tests/warnings/should_fail/WarningGroups.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/ad5a1ed9b102566104cb6b3afb897f5bb44d3a09...ba7f89b1571e132f59b4b9ee77b7dc8e7f43f39d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/ad5a1ed9b102566104cb6b3afb897f5bb44d3a09...ba7f89b1571e132f59b4b9ee77b7dc8e7f43f39d
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/20230118/3019b7a0/attachment-0001.html>


More information about the ghc-commits mailing list