GNU bug report logs -
#53256
Compiling 3.8 with nvhpc 22.1 : malloca.c 64 bits operations with signed and unsigned operands are currently unsupported by __builtin_add_overflow
Previous Next
Full log
View this message in rfc822 format
Hello again,
Sorry for the noise but I failed to apply the patch to 3.8 both for
ChangeLog and lib/intprops.h
Could you make sure it works for 3.8 ?
Thanks
Le 15/01/2022 à 09:35, Olivier Cessenat a écrit :
> Thanks so much ! It's great.
>
> I will try to report the bug to NVIDIA, but that will be with my
> words, I do not have the full understanding of the problem.
>
> Olivier Cessenat
>
> Le 15/01/2022 à 04:53, Paul Eggert a écrit :
>> On 1/14/22 03:33, Olivier Cessenat wrote:
>>> "diffutils-3.8/lib/malloca.c", line 52: error: 64 bits operations
>>> with signed and unsigned operands are currently unsupported by
>>> __builtin_add_overflow
>>
>> Thanks for the bug report. Although nvc 22.1 defines __GNUC__ to be
>> 11 which means it supports GNU C as of GCC 11, that's obviously
>> untrue for __builtin_add_overflow. That's unfortunate. Perhaps you
>> could report this as a bug to NVIDIA, as their compiler shouldn't
>> claim to support GNU C features that it lacks. nvc can set __GNUC__
>> to be the version of GNU C that it actually does support.
>>
>> To work around the bug I installed the attached into Gnulib and this
>> should appear in the next diffutils release. In the meantime you can
>> compile with gcc.
This bug report was last modified 3 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.