[PATCH] D109227: [flang] GET_COMMAND_ARGUMENT(LENGTH) runtime implementation

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 02:55:24 PDT 2021


clementval added a comment.

I'm seeing build failure with gcc 9.3.0 with this patch.

  ******************** TEST 'Flang :: Runtime/no-cpp-dep.c' FAILED ********************
  Script:
  --
  : '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
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  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,
                   from llvm-project/flang/test/Runtime/no-cpp-dep.c:12:
  /usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
     26 | #include <bits/libc-header-start.h>
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  
  --
  
  ********************
  ********************
  Failed Tests (1):
    Flang :: Runtime/no-cpp-dep.c
  
  
  Testing Time: 2.52s
    Unsupported      :    3
    Passed           : 1012
    Expectedly Failed:    3
    Failed           :    1


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109227/new/

https://reviews.llvm.org/D109227



More information about the llvm-commits mailing list