RTS: Fix restrictive cast
Commit e75a9afd 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).
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Lint | |||||||||
failed |
#90850
lint
allowed to fail
|
ghc-linters |
00:01:33
|
|
|||||
passed |
#90851
lint
|
lint-submods-mr |
00:01:27
|
|
|||||
Build | |||||||||
failed |
#90854
x86_64-linux
allowed to fail
|
release-x86_64-linux-deb9-dwarf |
00:02:17
|
|
|||||
passed |
#90852
x86_64-linux
|
validate-x86_64-linux-deb8-hadrian |
01:45:50
|
|
|||||
passed |
#90853
x86_64-linux
|
validate-x86_64-linux-deb9-debug |
00:42:13
|
|
|||||
Full Build | |||||||||
failed |
#90856
aarch64-linux
allowed to fail
|
validate-aarch64-linux-deb9 |
00:00:00
|
|
|||||
passed |
#90857
x86_64-linux
|
validate-i386-linux-deb9 |
01:19:44
|
|
|||||
passed |
#90855
x86_64-darwin
|
validate-x86_64-darwin |
01:19:45
|
|
|||||
passed |
#90858
x86_64-linux
|
validate-x86_64-linux-deb9 |
00:57:40
|
|
|||||
failed |
#90860
x86_64-linux
allowed to fail
|
validate-x86_64-linux-deb9-integer-simple |
00:39:51
|
|
|||||
failed |
#90859
x86_64-linux
allowed to fail
|
validate-x86_64-linux-deb9-llvm |
02:14:26
|
|
|||||
passed |
#90861
x86_64-linux
|
validate-x86_64-linux-deb9-unreg |
02:36:40
|
|
|||||
passed |
#90862
x86_64-linux
|
validate-x86_64-linux-fedora27 |
01:35:01
|
|
|||||
failed |
#90864
x86_64-windows
allowed to fail
|
validate-x86_64-windows |
02:35:54
|
|
|||||
failed |
#90863
x86_64-windows
allowed to fail
|
validate-x86_64-windows-hadrian |
00:13:00
|
|
|||||
Cleanup | |||||||||
passed |
#90866
x86_64-darwin
|
cleanup-darwin |
00:00:04
|
|
|||||
passed |
#90865
x86_64-windows
|
cleanup-windows |
00:00:48
|
|
|||||
Hackage | |||||||||
manual |
#90867
x86_64-linux
allowed to fail
manual
|
hackage |
|
||||||
Name | Stage | Failure | ||
---|---|---|---|---|
failed
|
ghc-linters | Lint | ||
|
||||
failed
|
validate-x86_64-linux-deb9-llvm | Full Build | ||
|
||||
failed
|
validate-x86_64-windows-hadrian | Full Build | ||
|
||||
failed
|
release-x86_64-linux-deb9-dwarf | Build | ||
|
||||
failed
|
validate-aarch64-linux-deb9 | Full Build | ||
|
||||
failed
|
validate-x86_64-windows | Full Build | ||
|
||||
failed
|
validate-x86_64-linux-deb9-integer-simple | Full Build | ||
|