[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 9 commits: Don't consider large byte arrays/compact regions pinned.

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Dec 22 16:53:26 UTC 2022



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


Commits:
56e9a4c9 by Andreas Klebinger at 2022-12-22T11:52:57-05:00
Don't consider large byte arrays/compact regions pinned.

Workaround for #22255 which showed how treating large/compact regions
as pinned could cause segfaults.

- - - - -
75e5b3bd by Matthew Pickering at 2022-12-22T11:52:59-05:00
hadrian bindist: Install manpages to share/man/man1/ghc.1

When the installation makefile was copied over the manpages were no
longer installed in the correct place. Now we install it into share/man/man1/ghc.1
as the make build system did.

Fixes #22371

- - - - -
23327da4 by Ben Gamari at 2022-12-22T11:53:00-05:00
rts: Drop paths from configure from cabal file

A long time ago we would rely on substitutions from the configure script
to inject paths of the include and library directories of libffi and
libdw. However, now these are instead handled inside Hadrian when
calling Cabal's `configure` (see the uses of `cabalExtraDirs` in
Hadrian's `Settings.Packages.packageArgs`).

While the occurrences in the cabal file were redundant, they did no
harm. However, since b5c714545abc5f75a1ffdcc39b4bfdc7cd5e64b4 they have
no longer been interpolated. @mpickering noticed the suspicious
uninterpolated occurrence of `@FFIIncludeDir@` in #22595,
prompting this commit to finally remove them.

- - - - -
eb382ca0 by Alan Zimmerman at 2022-12-22T11:53:00-05:00
EPA: Make EOF position part of AnnsModule

Closes #20951
Closes #19697

- - - - -
15ada5e6 by Sylvain Henry at 2022-12-22T11:53:11-05:00
JS: fix support for -outputdir (#22641)

The `-outputdir` option wasn't correctly handled with the JS backend
because the same code path was used to handle both objects produced by
the JS backend and foreign .js files. Now we clearly distinguish the
two in the pipeline, fixing the bug.

- - - - -
7f6c4b74 by Simon Peyton Jones at 2022-12-22T11:53:11-05:00
Refactor mkRuntimeError

This patch fixes #22634.  Because we don't have TYPE/CONSTRAINT
polymorphism, we need two error functions rather than one.

I took the opportunity to rname runtimeError to impossibleError,
to line up with mkImpossibleExpr, and avoid confusion with the
genuine runtime-error-constructing functions.

- - - - -
3adac247 by Ben Gamari at 2022-12-22T11:53:11-05:00
base: Fix event manager shutdown race on non-Linux platforms

During shutdown it's possible that we will attempt to use a closed fd
to wakeup another capability's event manager. On the Linux eventfd path
we were careful to handle this. However on the non-Linux path we failed
to do so. Fix this.

- - - - -
ae6750b7 by Simon Peyton Jones at 2022-12-22T11:53:12-05:00
Fix unifier bug: failing to decompose over-saturated type family

This simple patch fixes #22647

- - - - -
20f50244 by Ben Gamari at 2022-12-22T11:53:12-05:00
rts/m32: Fix sanity checking

Previously we would attempt to clear pages which were marked as
read-only. Fix this.

- - - - -


30 changed files:

- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Core/Make.hs
- compiler/GHC/Core/Opt/ConstantFold.hs
- compiler/GHC/Core/Opt/Simplify/Iteration.hs
- compiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Core/Type.hs
- compiler/GHC/Core/Unify.hs
- compiler/GHC/CoreToStg/Prep.hs
- compiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Driver/Pipeline/Phases.hs
- compiler/GHC/Hs.hs
- compiler/GHC/HsToCore/Pmc/Solver.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Lexer.x
- compiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/Types/SrcLoc.hs
- hadrian/bindist/Makefile
- libraries/base/Control/Exception/Base.hs
- libraries/base/GHC/Event/Control.hs
- libraries/ghc-prim/GHC/Prim/Panic.hs
- libraries/ghc-prim/changelog.md
- rts/PrimOps.cmm
- rts/linker/M32Alloc.c
- rts/rts.cabal.in
- testsuite/tests/ghc-api/exactprint/LocalDecls2.expected.hs
- testsuite/tests/ghc-api/exactprint/Test20239.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/T17544_kw.stderr
- testsuite/tests/module/mod185.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a34c06f0528897d7628a951876f20010b168e0d7...20f50244fc42b9e6633cd682682d0765c36e7905

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a34c06f0528897d7628a951876f20010b168e0d7...20f50244fc42b9e6633cd682682d0765c36e7905
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/20221222/f2e284ba/attachment.html>


More information about the ghc-commits mailing list