GHCi broken on AArch64/Debian 11
Any attempt to load code in a statically-linked GHCi session on AArch64/Debian 11 is currently broken due to RtsSymbols.c
not providing the __aarch64_ldadd1_acq_rel
symbol, which was introduced for GCC's relatively-new out-of-line-atomics support:
=====> T5882(ext-interp) 1 of 1 [0, 0, 0]
cd "/tmp/ghctest-52fpvexp/test spaces/testsuite/tests/th/T5882.run" && "/home/ghc/ghc/_build/stage1/bin/ghc" -c T5882.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -fno-dump-with-ways -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output -XTemplateHaskell -package template-haskell -fexternal-interpreter -v0<
Compile failed (exit code 1) errors were:
ghc-iserv: Failed to lookup symbol: __aarch64_ldadd1_acq_rel