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

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 01:04:04 PDT 2021


Hi Valentin,

I tried to reproduce this in a Ubuntu Focal container with gcc 9.3.0
installed via apt (and no multilib afaict) and I'm not seeing any failures.
It also seems to work in Compiler Explorer: https://godbolt.org/z/nq8czercf
I think the issue might be limited to your system. If you find some kind of
workaround to get the test to work on your system too I'll be happy to
review any changes.

Cheers,
Diana

On Tue, 28 Sept 2021 at 14:35, Diana Picus <diana.picus at linaro.org> wrote:

>
>
> On Tue, 28 Sept 2021 at 14:21, Valentin Clement via Phabricator <
> reviews at reviews.llvm.org> wrote:
>
>> clementval added a comment.
>>
>> In D109227#3027135 <https://reviews.llvm.org/D109227#3027135>, @rovka
>> wrote:
>>
>> > 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
>>
>> We have `libc-header-start.h` on the system under
>> `/usr/include/x86_64-linux-gnu/bits/libc-header-start.h`. Since it's a lab
>> machine I cannot install `gcc-multilib` easily.
>>
>
> Ok then, I'll try to reproduce locally and investigate. If this is causing
> you a lot of trouble I can do a partial revert in the meantime (i.e. just
> the changes to that test, since it's not crucial to have it).
>
>
>>
>> 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/20210930/f3974ba8/attachment.html>


More information about the llvm-commits mailing list