- Aug 20, 2022
-
-
Ben Gamari authored
-
Ben Gamari authored
Previously we used `install` on symbolic links, which ended up copying the target file rather than installing a symbolic link. Fixes #22062.
-
Ben Gamari authored
-
Ben Gamari authored
Previously the wording was a tad unclear. Fix this. Closes #21114. (cherry picked from commit c57075eb)
-
Ben Gamari authored
Fixes #22052. (cherry picked from commit f0dc6f3e)
-
Ben Gamari authored
(cherry picked from commit 14853adf)
-
Ben Gamari authored
This relocates it from docs/ to doc/ (cherry picked from commit 37c61cc0)
-
Ben Gamari authored
-
Ben Gamari authored
Bumps haddock-api version to 2.27.1
-
- Aug 19, 2022
-
-
Fixes #21984
-
Andreas Klebinger authored
I had assumed that wrappers were not inlined in interactive mode. Meaning we would always execute the compiled wrapper which properly takes care of upholding the strict field invariant. This turned out to be wrong. So instead we now run tag inference even when we generate bytecode. In that case only for correctness not performance reasons although it will be still beneficial for runtime in some cases. I further fixed a bug where GHCi didn't tag nullary constructors properly when used as arguments. Which caused segfaults when calling into compiled functions which expect the strict field invariant to be upheld. ------------------------- Metric Increase: T4801 Metric Decrease: T13035 -------------------------
-
- Aug 18, 2022
-
-
The -x option is used to manually specify which phase a file should be started to be compiled from (even if it lacks the correct extension). I just failed to implement this when refactoring the driver. In particular Cabal calls GHC with `-E -cpp -x hs Foo.cpphs` to preprocess source files using GHC. I added a test to exercise this case. Fixes #22044 (cherry picked from commit a740a4c5)
-
Ben Gamari authored
(cherry picked from commit 596db9a5)
-
Ben Gamari authored
It appears that the CI refactoring carried out in 5ff690b8 failed to carry over some critical configuration: setting the build/host/target platforms and forcing use of a non-broken linker. (cherry picked from commit 5bc489ca)
-
- Aug 17, 2022
-
-
Ben Gamari authored
-
Ben Gamari authored
-
- Aug 15, 2022
-
-
Ben Gamari authored
Closes #21922.
-
Fixes #21866 (cherry picked from commit ef30e215)
-
Ben Gamari authored
-
Ben Gamari authored
Previously we would attempt to install documentation even if the `doc` directory doesn't exist (e.g. due to `--docs=none`). This would result in the surprising side-effect of the entire contents of the bindist being installed in the destination documentation directory. Fix this. Fixes #21976. (cherry picked from commit 7cabea7c)
-
avoids warning seen on 9.4.1: src/Settings/Builders/RunTest.hs:264:53: warning: [-Wtype-defaults] • Defaulting the following constraints to type ‘Integer’ (Show a0) arising from a use of ‘show’ at src/Settings/Builders/RunTest.hs:264:53-84 (Num a0) arising from a use of ‘stageNumber’ at src/Settings/Builders/RunTest.hs:264:59-83 • In the second argument of ‘(++)’, namely ‘show (stageNumber (C.stage ctx))’ In the second argument of ‘($)’, namely ‘"config.stage=" ++ show (stageNumber (C.stage ctx))’ In the expression: arg $ "config.stage=" ++ show (stageNumber (C.stage ctx)) | 264 | , arg "-e", arg $ "config.stage=" ++ show (stageNumber (C.stage ctx)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ compilation tested locally (cherry picked from commit 823fe5b5)
-
Fix for #21651 Fixes three bugs: - writes to eventManager should be atomic. It is accessed concurrently by ioManagerCapabilitiesChanged and closeFdWith. - The race in closeFdWith described in the ticket. - A race in getSystemEventManager where it accesses the 'IOArray' in 'eventManager' before 'ioManagerCapabilitiesChanged' has written to 'eventManager', causing an Array Index exception. The fix here is to 'yield' and retry. (cherry picked from commit 7589ee72)
-
This bug does not affect windows, which does not use the base module GHC.Event.Thread. (cherry picked from commit 76b52cf0)
-
Ben Gamari authored
(cherry picked from commit ea90e61d)
-
Ben Gamari authored
(cherry picked from commit 5d66a0ce)
-
Ben Gamari authored
FreeBSD's libiconv includes an implementation of the iconv_* functions in libc. Unfortunately these can only be resolved using dlvsym, which is how the RTS linker usually resolves such functions. To fix this we include an ad-hoc special case for iconv_*. Fixes #20354. (cherry picked from commit 844df61e) (cherry picked from commit d8961a2d)
-
Ben Gamari authored
Previously hadrian's bindist Makefile would modify package registrations placed by `install` via a shell pipeline and `mv`. However, the use of `mv` means that if umask is set then the user may otherwise end up with package registrations which are inaccessible. Fix this by ensuring that the mode is 0644. (cherry picked from commit 681aa076)
-
Ben Gamari authored
It turns out that `cp -P` on Darwin does not always copy a symlink as a symlink. In order to get these semantics one must pass `-RP`. It's not entirely clear whether this is valid under POSIX, but it is nevertheless what Apple does. (cherry picked from commit 1c582f44)
-
Ben Gamari authored
In general we want to ensure that the tested environment is as similar as possible to the environment the user will use. In the case of Darwin, this means we want to use the system's BSD command-line utilities, not coreutils. This would have caught #21974. (cherry picked from commit c1c08bd8)
-
Apple's ABI documentation [1] says: "The platforms reserve register x18. Don’t use this register." While this wasn't problematic in previous Darwin releases, macOS 13 appears to start zeroing this register periodically. See #21964. [1] https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms (cherry picked from commit 67575f20)
-
Ben Gamari authored
This time the culprit is Data.Sequence.Internal. Closes #22047.
-
- Aug 12, 2022
-
-
Ben Gamari authored
12ae2a9c attempted to work around a make build system deficiency by adding some dependencies from modules of `containers` which contain TH splices to the `template-haskell` package. However, it only did this for the vanilla way. Here we add similar edges for profiled objects. Fixes #21987.
-
Ben Gamari authored
As requested in #21988.
-
Ben Gamari authored
-
Ben Gamari authored
-
- Aug 07, 2022
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
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 a30ef212)
-
- Aug 06, 2022
-
-
Ben Gamari authored
(cherry picked from commit 119ee22d)
-
Ben Gamari authored
Previously we would use plain `cp` to install various parts of the binary distribution. However, `cp`'s behavior w.r.t. file attributes is quite unclear; for this reason it is much better to rather use `install`. Fixes #21965. (cherry picked from commit 4d8e0fd3)
-