<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">But the other tests look like</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;margin-left:40px">checking for gnutar... no<br>checking for gtar... no<br>checking for tar... /usr/bin/tar<br>checking for gpatch... no<br>checking for patch... /usr/bin/patch<br>checking for autoreconf... /usr/bin/autoreconf</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Can't you say</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div><div class="gmail_default" style="font-family:tahoma,sans-serif;margin-left:40px">checking for -Qunused-arguments... no
</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">You can explain this to me, now, and that helps me, today. But I'm trying to save you from having to explain it to many future GHC devs, and/or save them time in hunting for answers to the same question.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">No rush <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Aug 2023 at 11:07, Rodrigo Mesquita <<a href="mailto:rodrigo.m.mesquita@gmail.com">rodrigo.m.mesquita@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>The trace is akin to the configure trace — it shows invocations of the toolchain in trying to determine properties of said toolchain e.g. which flags are supported.<div><br><div>For example</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"> 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</div></div></blockquote><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"> found for -Qunused-arguments support: Cc {ccProgram = Program {prgPath = "/usr/bin/gcc", prgFlags = []}}<br></div></div></blockquote><div><br></div>Is the trace of invoking the C compiler with -Qunused-arguments, checking whether the C compiler supports such an option.</div><div>That command exited with code 1 likely because the compiler doesn’t indeed support -Qunused-arguments.</div><div>That’s fine, it means we won’t pass -Qunused-arguments to your C compiler.</div><div><br></div><div>Rodrigo</div><div><br></div><div><div><blockquote type="cite"><div>On 7 Aug 2023, at 10:50, Simon Peyton Jones <<a href="mailto:simon.peytonjones@gmail.com" target="_blank">simon.peytonjones@gmail.com</a>> wrote:</div><br><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></div></div></blockquote></div>