Enable eventlog support in all ways by default
Here we deprecate the eventlogging RTS ways and instead enable eventlog support in the remaining ways. This simplifies packaging and reduces GHC compilation times (as we can eliminate two whole compilations of the RTS) while simplifying the end-user story. The trade-off is a small increase in binary sizes in the case that the user does not want eventlogging support, but we think that this is a fine trade-off. This also revealed a latent RTS bug: some files which included `Cmm.h` also assumed that it defined various macros which were in fact defined by `Config.h`, which `Cmm.h` did not include. Fixing this in turn revealed that `StgMiscClosures.cmm` failed to import various spinlock statistics counters, as evidenced by the failed unregisterised build. Closes #18948.
Showing
- compiler/GHC/Driver/Session.hs 4 additions, 1 deletioncompiler/GHC/Driver/Session.hs
- compiler/GHC/Platform/Ways.hs 0 additions, 10 deletionscompiler/GHC/Platform/Ways.hs
- compiler/GHC/Unit/Info.hs 2 additions, 8 deletionscompiler/GHC/Unit/Info.hs
- compiler/GHC/Utils/Error.hs 2 additions, 10 deletionscompiler/GHC/Utils/Error.hs
- configure.ac 0 additions, 9 deletionsconfigure.ac
- docs/users_guide/9.4.1-notes.rst 7 additions, 0 deletionsdocs/users_guide/9.4.1-notes.rst
- docs/users_guide/phases.rst 4 additions, 2 deletionsdocs/users_guide/phases.rst
- ghc/ghc-bin.cabal.in 0 additions, 9 deletionsghc/ghc-bin.cabal.in
- ghc/ghc.mk 0 additions, 5 deletionsghc/ghc.mk
- hadrian/cfg/system.config.in 0 additions, 1 deletionhadrian/cfg/system.config.in
- hadrian/doc/flavours.md 6 additions, 22 deletionshadrian/doc/flavours.md
- hadrian/doc/user-settings.md 4 additions, 5 deletionshadrian/doc/user-settings.md
- hadrian/src/Expression.hs 1 addition, 5 deletionshadrian/src/Expression.hs
- hadrian/src/Settings/Builders/Ghc.hs 0 additions, 3 deletionshadrian/src/Settings/Builders/Ghc.hs
- hadrian/src/Settings/Default.hs 1 addition, 3 deletionshadrian/src/Settings/Default.hs
- hadrian/src/Settings/Flavours/Benchmark.hs 1 addition, 1 deletionhadrian/src/Settings/Flavours/Benchmark.hs
- hadrian/src/Settings/Flavours/Development.hs 1 addition, 1 deletionhadrian/src/Settings/Flavours/Development.hs
- hadrian/src/Settings/Flavours/Quick.hs 3 additions, 4 deletionshadrian/src/Settings/Flavours/Quick.hs
- hadrian/src/Settings/Flavours/QuickCross.hs 3 additions, 4 deletionshadrian/src/Settings/Flavours/QuickCross.hs
- hadrian/src/Settings/Flavours/Quickest.hs 1 addition, 1 deletionhadrian/src/Settings/Flavours/Quickest.hs
Loading
Please register or sign in to comment