Commits on Source (5)
-
deriveConstants wants to compile C sources which #include PosixSource.h, which itself #includes ghcplatform.h. Make sure that Hadrian knows about this dependency. Fixes #18290.
c4164413 -
libm is just an empty shell on musl, and all the math functions are contained in libc.
33167aa9 -
Some platforms (musl, aarch64) do not have a working dynamic linker implemented in the libc, even though we might see dlopen. It will ultimately just return that this is not supported. Hence we'll add a flag to the compiler to flat our disable loading dlls. This is needed as we will otherwise try to load the shared library even if this will subsequently fail. At that point we have given up looking for static options though.
a8f228df -
b15aa477
-
Previously the `Var` case of `occAnalApp` could in some cases (namely in the case of `runRW#` applications) call `occAnalRhs` two. In the case of nested `runRW#`s this results in exponential complexity. In some cases the compilation time that resulted would be very long indeed (see #18296). Fixes #18296. Metric Decrease: T9961
5ea12ee1
Showing
- compiler/GHC/Core/Opt/OccurAnal.hs 16 additions, 9 deletionscompiler/GHC/Core/Opt/OccurAnal.hs
- compiler/GHC/Runtime/Linker.hs 15 additions, 3 deletionscompiler/GHC/Runtime/Linker.hs
- compiler/ghc.cabal.in 9 additions, 0 deletionscompiler/ghc.cabal.in
- hadrian/src/Rules/Generate.hs 3 additions, 0 deletionshadrian/src/Rules/Generate.hs
- libraries/ghc-prim/ghc-prim.cabal 5 additions, 0 deletionslibraries/ghc-prim/ghc-prim.cabal
- rts/linker/elf_reloc_aarch64.c 7 additions, 5 deletionsrts/linker/elf_reloc_aarch64.c