<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thanks for pointing this out, Simon<div><br></div><div>What you’ve pasted is the trace of the ghc-toolchain program.</div><div>We should probably lower the verbosity after !10976 lands, but in the meantime it’s just useful to debug mostly CI.</div><div><br></div><div>At the end of the configure step there might be a message that starts with “Don’t worry! This will not affect your build in any way”. That’s as less alarming as I could make it :).</div><div><br></div><div>If you do see the warning, it’s due to a discrepancy between the output produced by configure and the one produced by ghc-toolchain:</div><div>We’re fixing all the discrepancies caught by CI in !10976 — after which we’ll always validate these discrepancies in CI, to ensure ghc-toolchain is kept up to date with configure, while configure still configures toolchains.</div><div><br></div><div>I’ve also been busy writing the blog about this. It should come out soon enough.</div><div><br></div><div>Rodrigo<br><div><br><blockquote type="cite"><div>On 7 Aug 2023, at 10:50, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Rodrigo</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm getting lots of errors from ./configure, see below. <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Seems to be something to do with your toolchain stuff?  I'm lost.  Should I worry? If not, could they be made to look less alarming somehow?</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">Entering: checking for C compiler<br>  checking for -Qunused-arguments support...<br>  Entering: checking for -Qunused-arguments support<br>    Execute: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>    Command failed: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>Exited with code 1<br><br>  found for -Qunused-arguments support: Cc {ccProgram = Program {prgPath = "/usr/bin/gcc", prgFlags = []}}<br>  checking whether Cc supports --target...<br>  Entering: checking whether Cc supports --target<br>    Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>    Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>Exited with code 1<br><br>  found whether Cc supports --target: Cc {ccProgram = Program {prgPath = "/usr/bin/gcc", prgFlags = []}}<br>  checking whether Cc works...<br>  Entering: checking whether Cc works<br>    Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>  found whether Cc works: ()<br>  checking for C99 support...<br>  Entering: checking for C99 support<br>    Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c<br>  found for C99 support: ()<br>  checking whether cc supports extra via-c flags...<br>  Entering: checking whether cc supports extra via-c flags<br>    Execute: /usr/bin/gcc -c -fwrapv -fno-builtin -Werror -x c -o /tmp/tmp0/test.o /tmp/tmp0/test.c<br>  found whether cc supports extra via-c flags: ()<br>found for C compiler: Cc {ccProgram = Program {prgPath = "/usr/bin/gcc", prgFlags = []}}<br>checking for C++ compiler...<br>Entering: checking for C++ compiler<br>  x86_64-unknown-linux-g++ not found in search path<br>  x86_64-unknown-linux-clang++ not found in search path<br>  x86_64-unknown-linux-c++ not found in search path<br>  checking whether C++ supports --target...<br>  Entering: checking whether C++ supports --target<br>    Execute: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp<br>    Command failed: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp<br>Exited with code 1<br><br>  found whether C++ supports --target: Cxx {cxxProgram = Program {prgPath = "/usr/bin/g++", prgFlags = []}}<br>  Execute: /usr/bin/g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp<br>found for C++ compiler: Cxx {cxxProgram = Program {prgPath = "/usr/bin/g++", prgFlags = []}}<br>checking for C preprocessor...<br></div></div>
</div></blockquote></div><br></div></body></html>