<div dir="ltr">FWIW, <a href="https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13479">https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13479</a> has landed and should have fixed the issue.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 22. Okt. 2024 um 17:12 Uhr schrieb Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I can confirm that recent ghc doesn't work with 9.6.x. I upgraded my updater/booter script to configure with 9.10.1 and the build was much happier,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2024 at 9:38 AM Sebastian Graf <<a href="mailto:sgraf1337@gmail.com" target="_blank">sgraf1337@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It is likely that anyone who cannot reproduce the issue is using a boot compiler > 9.6.2. </div><div>I think Simon has the exact same issue I was having, so !13469 is a cure.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 22. Okt. 2024 um 13:33 Uhr schrieb Hécate via ghc-devs <<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I can confirm that using my good old update() function in the <br>
repository, I don't encounter the problem (but also I clean the tree all <br>
the time):<br>
<br>
update () {<br>
git pull upstream master<br>
git submodule update --recursive<br>
}<br>
<br>
Le 22/10/2024 à 12:54, Mikolaj Konarski a écrit :<br>
> Maybe<br>
><br>
> git submodule update --init --recursive<br>
><br>
> would help, as said in<br>
> <a href="https://gitlab.haskell.org/ghc/ghc/-/wikis/building/getting-the-sources" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/wikis/building/getting-the-sources</a>?<br>
><br>
> If not that, a "hadrian/build distclean" maybe?<br>
><br>
> On Tue, Oct 22, 2024 at 12:34 PM Simon Peyton Jones<br>
> <<a href="mailto:simon.peytonjones@gmail.com" target="_blank">simon.peytonjones@gmail.com</a>> wrote:<br>
>> Friends<br>
>><br>
>> On all my builds, using<br>
>> ./boot; ./configure; ./hadrian/build<br>
>> I am getting the crash below. What should I do? My boot compiler is ghc-9.6.<br>
>><br>
>> I can't build GHC at all right now, so this is somewhat urgent.<br>
>><br>
>> Thank you!<br>
>><br>
>> Simon<br>
>><br>
>><br>
>> ]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$<br>
>> _______________________________________________<br>
>> ghc-devs mailing list<br>
>> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
<br>
-- <br>
Hécate ✨<br>
🐦: @TechnoEmpress<br>
IRC: Hecate<br>
WWW: <a href="https://glitchbra.in" rel="noreferrer" target="_blank">https://glitchbra.in</a><br>
RUN: BSD<br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>
</blockquote></div>