Cannot boot from ghc 9.8.1
I just tried booting from ghc 9.8.1. Apart from needing to bump ghc-prim
/text
upper bounds (type-dance/ghc@095b17b7), the build would fail with:
compiling _build/stage0/libraries/ghc-heap/build/GHC/Exts/Stack/Constants_hsc_make.c failed (exit code 1)
rsp file was: "_build/stage0/libraries/ghc-heap/build/GHC/Exts/Stack/hsc2hscall1169256-0.rsp"
command was: /usr/lib/llvm-17/bin/clang -c _build/stage0/libraries/ghc-heap/build/GHC/Exts/Stack/Constants_hsc_make.c -o _build/stage0/libraries/ghc-heap/build/GHC/Exts/Stack/Constants_hsc_make.o --target=x86_64-unknown-linux -Qunused-arguments -I_build/stage0/libraries/ghc-heap/build -I/tmp/ghc/libraries/containers/containers/include -I/tmp/ghc/_build/stage0/libraries/containers/containers/build/include -I/home/terrorjack/.ghcup/ghc/9.8.1/lib/ghc-9.8.1/lib/x86_64-linux-ghc-9.8.1/base-4.19.0.0-c74a/include -I/home/terrorjack/.ghcup/ghc/9.8.1/lib/ghc-9.8.1/lib/x86_64-linux-ghc-9.8.1/ghc-bignum-1.3-4a89/include -I/home/terrorjack/.ghcup/ghc/9.8.1/lib/ghc-9.8.1/lib/x86_64-linux-ghc-9.8.1/rts-1.0.2/include -Wall -Werror=unused-but-set-variable -Wno-error=inline -include _build/stage0/libraries/ghc-heap/build/autogen/cabal_macros.h -Dx86_64_HOST_ARCH=1 -Dlinux_HOST_OS=1 -D__GLASGOW_HASKELL__=908
error: Constants.hsc:80:16: error: use of undeclared identifier 'OFFSET_StgRetFun_size'
80 | hsc_const (OFFSET_StgRetFun_size);
| ^
Constants.hsc:80:16: error: use of undeclared identifier 'OFFSET_StgRetFun_size'
Constants.hsc:80:16: error: use of undeclared identifier 'OFFSET_StgRetFun_size'
Constants.hsc:83:16: error: use of undeclared identifier 'OFFSET_StgRetFun_fun'
83 | hsc_const (OFFSET_StgRetFun_fun);
| ^
Constants.hsc:83:16: error: use of undeclared identifier 'OFFSET_StgRetFun_fun'
Constants.hsc:83:16: error: use of undeclared identifier 'OFFSET_StgRetFun_fun'
Constants.hsc:86:16: error: use of undeclared identifier 'OFFSET_StgRetFun_payload'
86 | hsc_const (OFFSET_StgRetFun_payload);
| ^
Constants.hsc:86:16: error: use of undeclared identifier 'OFFSET_StgRetFun_payload'
Constants.hsc:86:16: error: use of undeclared identifier 'OFFSET_StgRetFun_payload'
Constants.hsc:89:16: error: use of undeclared identifier 'SIZEOF_StgRetFun'
89 | hsc_const (SIZEOF_StgRetFun);
| ^
Constants.hsc:89:16: error: use of undeclared identifier 'SIZEOF_StgRetFun'
Constants.hsc:89:16: error: use of undeclared identifier 'SIZEOF_StgRetFun'
12 errors generated.
Command failed
Build failed.