| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #21984
|
|
|
|
| |
Closes #21922.
|
|
|
|
|
|
| |
Fixes #21866
(cherry picked from commit ef30e21594e44af309c627052f63aea6fd575c9e)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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 7cabea7c9b10d2d15a4798be9f3130994393dd9c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 823fe5b56450a7eefbf41ce8ece34095bf2217ee)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 7589ee7241d46b393979d98d4ded17a15ee974fb)
|
|
|
|
|
|
|
| |
This bug does not affect windows, which does not use the
base module GHC.Event.Thread.
(cherry picked from commit 76b52cf0c52ee05c20f7d1b80f5600eecab3c42a)
|
|
|
|
| |
(cherry picked from commit ea90e61dc3c6ba0433e008284dc6c3970ead98a7)
|
|
|
|
| |
(cherry picked from commit 5d66a0ce39f47b7b9f6c732a18ac6e102a21ee6b)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 844df61e8de5e2d9a058e6cbe388802755fc0305)
(cherry picked from commit d8961a2dc974b7f8f8752781c4aec261ae8f8c0f)
|
|
|
|
|
|
|
|
|
|
| |
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 681aa076259c05c626266cf516de7e7c5524eadb)
|
|
|
|
|
|
|
|
|
| |
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 1c582f44e41f534a8506a76618f6cffe5d71ed42)
|
|
|
|
|
|
|
|
|
|
|
| |
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 c1c08bd829fb33a185f0a71f08babe5d7e6556fc)
|
|
|
|
|
|
|
|
|
|
|
| |
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 67575f2004340564d6e52af055ed6fb43d3f9711)
|
|
|
|
|
|
| |
This time the culprit is Data.Sequence.Internal.
Closes #22047.
|
|
|
|
|
|
|
|
|
|
| |
12ae2a9cf89af3ae9e4df051818b631cf213a1b8 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.
|
|
|
|
| |
As requested in #21988.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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 a30ef212790e41ba01f92f24e3be4d645502d9ee)
|
|
|
|
| |
(cherry picked from commit 119ee22dd09d8977de67939de7324af941ae7196)
|
|
|
|
|
|
|
|
|
|
|
| |
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 4d8e0fd3fe3d648c6d37b3eb43b89e1bdbef36af)
|
| |
|
|
|
|
| |
Closes #21641.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously ce8745952f99174ad9d3bdc7697fd086b47cdfb5 assumed that it was
safe to clobber the switch variable when generating code for a jump
table since we were at the end of a block. However, this assumption is
wrong; the register could be live in the jump target.
Fixes #21968.
(cherry picked from commit b4342e32823bb0bfc8e83b53055647d64e0431ab)
|
|
|
|
| |
To give the ARMv7 job access to lld, fixing #21875.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Metric Decrease:
T18923
Metric Increase:
ManyAlternatives
ManyConstructors
MultiComponentModules
MultiComponentModulesRecomp
T10421
T12234
T12425
T12707
T13035
T13056
T13379
T13719
T14697
T15703
T16875
T18698a
T1969
T3294
T4801
T4978
T5321FD
T5321Fun
T7257
T783
T9020
T9198
T9233
T9961
WWRec
|
|
|
|
|
|
|
| |
We need to create these directories before attempting the copy,
apparently this race could be observed in systems under high load.
Fixes #21934
|
|
|
|
| |
Vendoring with ../ in hs-source-dirs prevents upload to hackage.
|
| |
|
|
|
|
| |
Moving breaking changes into their own section, as suggested in #21630.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
These updates were generated with:
clang version 13.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
Windows targets are omitted because the script errored with:
clang-13: error: unsupported option '-fPIC' for target 'x86_64-unknown-windows-msvc'
|
| |
|
|
|
|
| |
template-haskell
|
|
|
|
|
|
|
| |
Using regexp pattern requires `egrep` and straight up `+`. The
haddock_parser_perf and haddock_renamer_perf tests now pass on
OpenBSD. They previously incorrectly parsed the files and awk
complained about invalid syntax.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Cabal has grown a bound process >= 1.6.14.0 to work around a bug in process.
Making process a stage0 package proved difficult, so instead we
carefully build stage0 cabal --exact-configuration including boot
package-db's process.
This is very ugly, but is only necessary on the 9.4 branch as the make
build system will not be supported in the future.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I realised hydration was completely irrelavant for this cache because
the ModDetails are pruned from the result. So now it simplifies things a
lot to just store the ModIface and Linkable, which we can put into the
cache straight away rather than wait for the final version of a
HomeModInfo to appear.
(cherry picked from commit 30a3a1de9eb4ad3a5697f99c4933f9f7386c598b)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some libraries the `boot` script generates a `ghc.mk` and
`GNUmakefile` which is required for the make build system. We also
should include these files in the source-dist to save make users from
having to run the `./boot.source` script in the tarball (which
confusingly has a different name to previous GHC releases, thanks to
hadrian).
With this change, the source-dist should be on parity with GHC 9.2.2 and
earlier releases again after the regression in GHC 9.2.3.
Closes #21626.
(cherry picked from commit 90ccdb9c84fe7133244d661766f1aa7a29a94a72)
|
|
|
|
|
|
| |
Fixes #21894
(cherry picked from commit abd62256ea2fb78990ee83464abc7e2a291a7731)
|