<div dir="ltr">Hi Valentin,<div><br></div><div>Thank you for the report! </div><div><br></div><div>I've been googling that error message a bit and all I could find were posts related to compiling with -m32 on a 64-bit system. However the test is definitely not passing -m32 and you seem to be using an x86-64 compiler, so I'm not sure what the issue is. Would it be possible for you to try some experiments on your end, e.g. check if you have libc-header-start.h anywhere on your system, or installing gcc-multilib?</div><div><br></div><div>Thanks,</div><div>Diana</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Sept 2021 at 11:55, Valentin Clement via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</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">clementval added a comment.<br>
<br>
I'm seeing build failure with gcc 9.3.0 with this patch.<br>
<br>
  ******************** TEST 'Flang :: Runtime/no-cpp-dep.c' FAILED ********************<br>
  Script:<br>
  --<br>
  : 'RUN: at line 8';   /home/sw/thirdparty/gcc/gcc-9.3.0/linux86-64/bin/gcc -std=c99 llvm-project/flang/test/Runtime/no-cpp-dep.c -Illvm-project/flang/include llvm-project/build/lib/libFortranRuntime.a llvm-project/build/lib/libFortranDecimal.a -lm -o /dev/null<br>
  --<br>
  Exit Code: 1<br>
<br>
  Command Output (stderr):<br>
  --<br>
  In file included from /home/sw/thirdparty/gcc/gcc-9.3.0/linux86-64/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/stdint.h:9,<br>
                   from llvm-project/flang/test/Runtime/no-cpp-dep.c:12:<br>
  /usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory<br>
     26 | #include <bits/libc-header-start.h><br>
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~<br>
  compilation terminated.<br>
<br>
  --<br>
<br>
  ********************<br>
  ********************<br>
  Failed Tests (1):<br>
    Flang :: Runtime/no-cpp-dep.c<br>
<br>
<br>
  Testing Time: 2.52s<br>
    Unsupported      :    3<br>
    Passed           : 1012<br>
    Expectedly Failed:    3<br>
    Failed           :    1<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D109227/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D109227/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D109227" rel="noreferrer" target="_blank">https://reviews.llvm.org/D109227</a><br>
<br>
</blockquote></div>