multiple definition of 'ghc_unique_counter64' when building 9.12.0.20241128 with 9.8.4
when I build ghc-9.12.0.20241128 from source, using ghc-9.8.4, I get
...
===> Command failed with error code: 1
/usr/bin/ld.gold: error: /usr/local/waldmann/opt/ghc/ghc-9.8.4/lib/ghc-9.8.4/lib/../lib/x86_64-linux-ghc-9.8.4/rts-1.0.2/libHSrts-1.0.2_thr.a(Globals.thr_o): multiple definition of 'ghc_unique_counter64'
/usr/bin/ld.gold: _build/stage0/lib/../lib/x86_64-linux-ghc-9.8.4-inplace/ghc-9.12.0.20241128-inplace/libHSghc-9.12.0.20241128-inplace.a(genSym.o): previous definition here
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
it works when using 9.8.3, and also 9.10.1