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

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 04:45:10 PDT 2021


Hi Valentin,

Thank you for the report!

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?

Thanks,
Diana

On Tue, 28 Sept 2021 at 11:55, Valentin Clement via Phabricator <
reviews at reviews.llvm.org> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/95f1962b/attachment.html>


More information about the llvm-commits mailing list