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

Package: diffutils;

Reported by: Olivier Cessenat <cessenat <at> gmail.com>

Date: Fri, 14 Jan 2022 14:00:03 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Olivier Cessenat <cessenat <at> gmail.com>
To: 53256 <at> debbugs.gnu.org
Subject: bug#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
Date: Fri, 14 Jan 2022 12:33:40 +0100
Hello,

I'm trying to compile diffutils 3.8 with nvc 22.1.

I get an error:

<<

"diffutils-3.8/lib/malloca.c", line 52: error: 64 bits operations with 
signed and unsigned operands are currently unsupported by 
__builtin_add_overflow
    if (!INT_ADD_WRAPV (n, plus, &nplus) && !xalloc_oversized (nplus, 1))
         ^

1 error detected in the compilation of "diffutils-3.8/lib/malloca.c".
>>

It was fine with 3.7.

Thanks for your help.

Olivier Cessenat


Ubuntu 20.04 - compilation still fine with gcc 9.3.0






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.