<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Friends</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">On all my builds, using</div><div class="gmail_default" style="font-family:tahoma,sans-serif">       ./boot; ./configure; ./hadrian/build</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I am getting the crash below. What should I do?  My boot compiler is ghc-9.6.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I can't build GHC at all right now, so this is somewhat urgent.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thank you!</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div> ]0;Running for 5m11s [11771/39023], predicted 49s (86%)(/home/simonpj/code/HEAD)  ]0;Running for 5m16s [11771/39023], predicted 49s (86%)(/home/simonpj/code/HEAD) <br>ghc/GHCi/UI.hs:1704:5: warning: [GHC-53633] [-Woverlapping-patterns]<br>    Pattern match is redundant<br>    In a case alternative: _ -> ...<br>     |<br>1704 |     _ -> pure ()<br>     |     ^^^^^^^^^^^^<br>| Run Ghc CompileHs (Stage0 InTreeLibs): ghc/Main.hs => _build/stage0/ghc/build/Main.o<br>| Run Ghc LinkHs (Stage0 InTreeLibs): _build/stage0/ghc/build/Main.o (and 6 more) => _build/stage0/bin/ghc<br>Command line: /home/simonpj/.ghcup/bin/ghc -Wall -Wcompat -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage0/lib/package.conf.d' '-this-unit-id ghc-bin-9.13.20241015-inplace' '-this-package-name ghc-bin' '-package-id array-0.5.5.0' '-package-id base-4.18.0.0' '-package-id bytestring-0.11.4.0' '-package-id containers-0.6.7' '-package-id deepseq-1.4.8.1' '-package-id directory-1.3.9.0-inplace' '-package-id exceptions-0.10.7' '-package-id filepath-1.5.2.0-inplace' '-package-id ghc-9.13-inplace' '-package-id ghc-boot-9.13-inplace' '-package-id ghc-prim-0.10.0' '-package-id ghci-9.13-inplace' '-package-id haskeline-0.8.2.1' '-package-id process-1.6.25.0-inplace' '-package-id time-1.14-inplace' '-package-id transformers-0.6.1.0' '-package-id unix-2.8.5.1-inplace' -i -i/home/simonpj/code/HEAD/_build/stage0/ghc/build -i/home/simonpj/code/HEAD/_build/stage0/ghc/build/ghc/autogen -i/home/simonpj/code/HEAD/ghc -I_build/stage0/ghc/build -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/process-1.6.17.0/include -I/home/simonpj/code/HEAD/compiler -I/home/simonpj/code/HEAD/_build/stage0/compiler/build -I/home/simonpj/code/HEAD/libraries/process/include -I/home/simonpj/code/HEAD/_build/stage0/libraries/process/build/include -I/home/simonpj/code/HEAD/libraries/directory -I/home/simonpj/code/HEAD/_build/stage0/libraries/directory/build -I/home/simonpj/code/HEAD/libraries/unix/include -I/home/simonpj/code/HEAD/_build/stage0/libraries/unix/build/include -I/home/simonpj/code/HEAD/libraries/time/lib/include -I/home/simonpj/code/HEAD/_build/stage0/libraries/time/build/lib/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/directory-1.3.8.1/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/time-1.12.2/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/bytestring-0.11.4.0/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/base-4.18.0.0/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/ghc-bignum-1.3/include -I/home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/rts-1.0.2/include -optP-include -optP_build/stage0/ghc/build/ghc/autogen/cabal_macros.h -optP-DHAVE_INTERNAL_INTERPRETER -outputdir _build/stage0/ghc/build -fdiagnostics-color=always -Wall -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -rtsopts=all '-with-rtsopts=-K512M -H -I5 -T' -threaded -XGHC2021 -XNoImplicitPrelude -XScopedTypeVariables -XBangPatterns -no-auto-link-packages -rtsopts -optc-Wno-error=inline _build/stage0/ghc/build/Main.o _build/stage0/ghc/build/GHCi/Leak.o _build/stage0/ghc/build/GHCi/UI.o _build/stage0/ghc/build/GHCi/UI/Info.o _build/stage0/ghc/build/GHCi/UI/Monad.o _build/stage0/ghc/build/GHCi/UI/Exception.o _build/stage0/ghc/build/GHCi/Util.o -o _build/stage0/bin/ghc -O -H32m -dcore-lint -fomit-interface-pragmas -I_build/stage0/compiler/build -DDEBUG<br>===> Command failed with error code: 1<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hsunix_rtldNext'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hsunix_rtldDefault'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hsunix_push_module'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hsunix_clocks_per_second'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hscore_readdir'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hscore_d_name'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>/usr/bin/ld.gold: error: _build/stage0/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.5.1-inplace/libHSunix-2.8.5.1-inplace.a(HsUnix.o): multiple definition of '__hscore_free_dirent'<br>/usr/bin/ld.gold: /home/simonpj/.ghcup/ghc/9.6.2/lib/ghc-9.6.2/lib/../lib/x86_64-linux-ghc-9.6.2/unix-2.8.1.0/libHSunix-2.8.1.0.a(HsUnix.o): previous definition here<br>collect2: error: ld returned 1 exit status<br>`gcc' failed in phase `Linker'. (Exit code: 1)<br> ]0;Finished in 5m19s(/home/simonpj/code/HEAD) Command failed<br>Build failed.<br>make: *** [/home/simonpj/code/Makefile-spj:12: all] Error 1<br>simonpj@LHR-WD-22561:~/code/HEAD$ </div>