From ee11d04363ed8aa1d73a0cda16076a39e668d163 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 11 Apr 2022 13:23:22 -0400 Subject: 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. --- configure.ac | 9 --------- 1 file changed, 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6b41a7e392..65d949988f 100644 --- a/configure.ac +++ b/configure.ac @@ -219,14 +219,6 @@ if test "$WithGhc" != ""; then else AC_SUBST(GhcThreadedRts, NO) fi - - dnl Same for an event-logging RTS. - if echo ${RTS_WAYS_STAGE0} | tr ' ' '\n' | grep '^l$' 2>&1 >/dev/null - then - AC_SUBST(GhcEventLoggingRts, YES) - else - AC_SUBST(GhcEventLoggingRts, NO) - fi fi dnl ** Must have GHC to build GHC @@ -1260,7 +1252,6 @@ echo "\ Bootstrapping using : $WithGhc which is version : $GhcVersion with threaded RTS? : $GhcThreadedRts - with eventlog RTS? : $GhcEventLoggingRts " if test "x$CcLlvmBackend" = "xYES"; then -- cgit v1.2.1