[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 11 commits: Allow for multiple linker instances. Fixes Haskell portion of #3372.

Marge Bot gitlab at gitlab.haskell.org
Fri May 17 16:55:33 UTC 2019



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


Commits:
62d30987 by Julian Leviston at 2019-05-17T16:55:18Z
Allow for multiple linker instances. Fixes Haskell portion of #3372.

- - - - -
069ca612 by David Eichmann at 2019-05-17T16:55:20Z
Refactor Libffi and RTS rules

This removes a hack that copies libffi files to the rts
build directory. This was done in a libffi rule, but now
an rts rule correctly needs and copies the relevant
files from the libffi build dir to the rts build dir.

Issues: #16272 #16304

- - - - -
84b4d0f6 by Kevin Buhr at 2019-05-17T16:55:21Z
Add regression test for old Word32 arithmetic issue (#497)

- - - - -
be204e6d by Kirill Elagin at 2019-05-17T16:55:21Z
users-guide: Fix -rtsopts default
- - - - -
1710ceed by Alec Theriault at 2019-05-17T16:55:23Z
RTS: Fix restrictive cast

Commit e75a9afd2989e0460f9b49fa07c1667299d93ee9 added an `unsigned` cast
to account for OSes that have signed `rlim_t` signed. Unfortunately,
the `unsigned` cast has the unintended effect of narrowing `rlim_t` to
only 4 bytes. This leads to some spurious out of memory crashes
(in particular: Haddock crashes with OOM whenn building docs of
`ghc`-the-library).

In this case, `W_` is a better type to cast to: we know it will be
unsigned too and it has the same type as `*len` (so we don't suffer from
accidental narrowing).

- - - - -
2c7ecdfd by Alp Mestanogullari at 2019-05-17T16:55:24Z
Hadrian: add --test-root-dirs, to only run specific directories of tests

We can specify several of those, by using the flag multiple times or
just once but combining the directories with ':'.

Along the way, this patch also fixes the testsuite-related --only flag,
so that we can use it many times instead of being force to specify a
space-separated list of test in a single --only flag.

- - - - -
b8683d7f by Ryan Scott at 2019-05-17T16:55:26Z
Some forall-related cleanup in deriving code

* Tweak the parser to allow `deriving` clauses to mention explicit
  `forall`s or kind signatures without gratuitous parentheses.
  (This fixes #14332 as a consequence.)
* Allow Haddock comments on `deriving` clauses with explicit
  `forall`s. This requires corresponding changes in Haddock.

- - - - -
6f5cec17 by Luite Stegeman at 2019-05-17T16:55:26Z
fix Template Haskell cross compilation on 64 bit compiler with 32 bit target

- - - - -
645be921 by Moritz Angermann at 2019-05-17T16:55:27Z
Lowercase windows imports

While windows and macOS are currently on case-insensitive file
systems, this poses no issue on those.  When cross compiling from
linux with a case sensitive file system and mingw providing only
lowercase headers, this in fact produces an issue.  As such we just
lowercase the import headers, which should still work fine on a
case insensitive file system and also enable mingw's headers to
be usable porperly.

- - - - -
a9bb2f65 by Moritz Angermann at 2019-05-17T16:55:27Z
Add `keepCAFs` to RtsSymbols

- - - - -
e22fa4c1 by Shayne Fletcher at 2019-05-17T16:55:28Z
Update resolver for for happy 1.19.10

- - - - -


30 changed files:

- compiler/deSugar/DsMeta.hs
- compiler/deSugar/ExtractDocs.hs
- compiler/ghc.cabal.in
- compiler/ghci/Debugger.hs
- compiler/ghci/Linker.hs
- + compiler/ghci/LinkerTypes.hs
- compiler/hsSyn/Convert.hs
- compiler/main/HscMain.hs
- compiler/main/HscTypes.hs
- compiler/main/InteractiveEval.hs
- compiler/parser/Parser.y
- compiler/typecheck/TcSplice.hs
- docs/users_guide/8.10.1-notes.rst
- docs/users_guide/phases.rst
- driver/utils/dynwrapper.c
- ghc/GHCi/UI.hs
- hadrian/doc/testsuite.md
- hadrian/src/CommandLine.hs
- hadrian/src/Hadrian/Utilities.hs
- hadrian/src/Rules.hs
- hadrian/src/Rules/Compile.hs
- hadrian/src/Rules/Generate.hs
- hadrian/src/Rules/Libffi.hs
- hadrian/src/Rules/Library.hs
- hadrian/src/Rules/Program.hs
- hadrian/src/Rules/Register.hs
- hadrian/src/Rules/Rts.hs
- hadrian/src/Settings/Builders/RunTest.hs
- hadrian/src/Utilities.hs
- hadrian/stack.yaml


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/8ce01cc28207400609adf01005bf67251493c4bf...e22fa4c18e45f3f35432f561e53e26c369a429b9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/compare/8ce01cc28207400609adf01005bf67251493c4bf...e22fa4c18e45f3f35432f561e53e26c369a429b9
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/20190517/e810ab2c/attachment-0001.html>


More information about the ghc-commits mailing list