[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 14 commits: Test that functions from `mingwex` are available

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Oct 12 11:21:21 UTC 2023



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


Commits:
34fc28b0 by John Ericson at 2023-10-12T06:48:28-04:00
Test that functions from `mingwex` are available

Ryan wrote these two minimizations, but they never got added to the test
suite.

See #23309, #23378

Co-Authored-By: Ben Gamari <bgamari.foss at gmail.com>
Co-Authored-By: Ryan Scott <ryan.gl.scott at gmail.com>

- - - - -
bdb54a0e by John Ericson at 2023-10-12T06:48:28-04:00
Do not check for the `mingwex` library in `/configure`

See the recent discussion in !10360 --- Cabal will itself check for the
library for the packages that need it, and while the autoconf check
additionally does some other things like define a `HAS_LIBMINGWEX` C
Preprocessor macro, those other things are also unused and unneeded.

Progress towards #17191, which aims to get rid of `/configure` entirely.

- - - - -
43e814e1 by Ben Gamari at 2023-10-12T06:49:40-04:00
base: Introduce move modules into src

The only non-move changes here are whitespace changes to pass the
`whitespace` test and a few testsuite adaptations.

- - - - -
df81536f by Moritz Angermann at 2023-10-12T06:50:16-04:00
[PEi386 linker] Bounds check and null-deref guard

We should resonably be able to expect that we won't exceed the number of
sections if we assume to be dealing with legal object files. We can however
not guarantee that we get some negative values, and while we try to
special case most, we should exclude negative indexing into the sections
array.

We also need to ensure that we do not try to derefences targetSection,
if it is NULL, due to the switch statement.

- - - - -
2252b49a by John Ericson at 2023-10-12T07:21:05-04:00
Move apple compat check to RTS configure

- - - - -
a1498c5d by John Ericson at 2023-10-12T07:21:05-04:00
Move clock/timer fun checks to RTS configure

Actual library check (which will set the Cabal flag) is left in the
top-level configure for now.

Progress towards #17191

- - - - -
886657d5 by John Ericson at 2023-10-12T07:21:05-04:00
Move visibility and "musttail" annotation checks to the RTS configure

All of this should boil down to `AC_DEFINE` not `AC_SUBST`, so it
belongs in the RTS configure and should be safe to move without
modification.

Progress towards #17191

- - - - -
7937e257 by John Ericson at 2023-10-12T07:21:05-04:00
Move leading underscore checks to RTS configure

`CabalLeadingUnderscore` is done via Hadrian already, so we can stop
`AC_SUBST`ing it completely.

- - - - -
53371b94 by John Ericson at 2023-10-12T07:21:05-04:00
Move alloca, fork, const, and big endian checks to RTS configure

All of this should boil down to `AC_DEFINE` not `AC_SUBST`, so it
belongs in the RTS configure and should be safe to move without
modification.

- - - - -
c3ccc32d by John Ericson at 2023-10-12T07:21:06-04:00
Move libdl check to RTS configure

- - - - -
c51e11e4 by John Ericson at 2023-10-12T07:21:06-04:00
Adjust `FP_FIND_LIBFFI`

Just set vars, and `AC_SUBST` in top-level configure.

Don't define `HAVE_SYSTEM_LIBFFI` because nothing is using it. It hasn't
be in used since 3609340743c1b25fdfd0e18b1670dac54c8d8623 (part of the
make build system).

- - - - -
b33dd538 by John Ericson at 2023-10-12T07:21:06-04:00
Split BFD support to RTS configure

The flag is still in the top-level configure, but the other checks
(which define various macros --- important) are in the RTS configure.

- - - - -
4e7600af by John Ericson at 2023-10-12T07:21:06-04:00
Split libm check between top level and RTS

- - - - -
81c16967 by Moritz Angermann at 2023-10-12T07:21:06-04:00
CgUtils.fixStgRegStmt respect register width

This change ensure that the reg + offset computation is always of the
same size.  Before this we could end up with a 64bit register, and then
add a 32bit offset (on 32bit platforms).  This not only would fail type
sanity checking, but also incorrectly truncate 64bit values into 32bit
values silently on 32bit architectures.

- - - - -


30 changed files:

- compiler/GHC/StgToCmm/CgUtils.hs
- configure.ac
- libraries/base/base.cabal
- libraries/base/Control/Applicative.hs → libraries/base/src/Control/Applicative.hs
- libraries/base/Control/Arrow.hs → libraries/base/src/Control/Arrow.hs
- libraries/base/Control/Category.hs → libraries/base/src/Control/Category.hs
- libraries/base/Control/Concurrent.hs → libraries/base/src/Control/Concurrent.hs
- libraries/base/Control/Concurrent.hs-boot → libraries/base/src/Control/Concurrent.hs-boot
- libraries/base/Control/Concurrent/Chan.hs → libraries/base/src/Control/Concurrent/Chan.hs
- libraries/base/Control/Concurrent/MVar.hs → libraries/base/src/Control/Concurrent/MVar.hs
- libraries/base/Control/Concurrent/QSem.hs → libraries/base/src/Control/Concurrent/QSem.hs
- libraries/base/Control/Concurrent/QSemN.hs → libraries/base/src/Control/Concurrent/QSemN.hs
- libraries/base/Control/Exception.hs → libraries/base/src/Control/Exception.hs
- libraries/base/Control/Exception/Base.hs → libraries/base/src/Control/Exception/Base.hs
- libraries/base/Control/Monad.hs → libraries/base/src/Control/Monad.hs
- libraries/base/Control/Monad/Fail.hs → libraries/base/src/Control/Monad/Fail.hs
- libraries/base/Control/Monad/Fix.hs → libraries/base/src/Control/Monad/Fix.hs
- libraries/base/Control/Monad/IO/Class.hs → libraries/base/src/Control/Monad/IO/Class.hs
- libraries/base/Control/Monad/Instances.hs → libraries/base/src/Control/Monad/Instances.hs
- libraries/base/Control/Monad/ST.hs → libraries/base/src/Control/Monad/ST.hs
- libraries/base/Control/Monad/ST/Imp.hs → libraries/base/src/Control/Monad/ST/Imp.hs
- libraries/base/Control/Monad/ST/Lazy.hs → libraries/base/src/Control/Monad/ST/Lazy.hs
- libraries/base/Control/Monad/ST/Lazy/Imp.hs → libraries/base/src/Control/Monad/ST/Lazy/Imp.hs
- libraries/base/Control/Monad/ST/Lazy/Safe.hs → libraries/base/src/Control/Monad/ST/Lazy/Safe.hs
- libraries/base/Control/Monad/ST/Lazy/Unsafe.hs → libraries/base/src/Control/Monad/ST/Lazy/Unsafe.hs
- libraries/base/Control/Monad/ST/Safe.hs → libraries/base/src/Control/Monad/ST/Safe.hs
- libraries/base/Control/Monad/ST/Strict.hs → libraries/base/src/Control/Monad/ST/Strict.hs
- libraries/base/Control/Monad/ST/Unsafe.hs → libraries/base/src/Control/Monad/ST/Unsafe.hs
- libraries/base/Control/Monad/Zip.hs → libraries/base/src/Control/Monad/Zip.hs
- libraries/base/Data/Array/Byte.hs → libraries/base/src/Data/Array/Byte.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/16a8cedf027e51035c090b0733fda4f1ab6ec365...81c169678de4004246212a1c5b2914ac171895ed

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/16a8cedf027e51035c090b0733fda4f1ab6ec365...81c169678de4004246212a1c5b2914ac171895ed
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/20231012/2e462d0e/attachment-0001.html>


More information about the ghc-commits mailing list