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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Olivier Cessenat <cessenat <at> gmail.com>
Cc: 53256 <at> debbugs.gnu.org
Subject: bug#53256: [bug-diffutils] 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: Sat, 15 Jan 2022 13:03:07 -0800
On 1/15/22 02:00, Olivier Cessenat wrote:
> Could you make sure it works for 3.8 ?

Backporting would be some work and I've got other things on my plate.

Can you compile with gcc instead? That would be easiest.

If you can't use gcc for some reason (what is it?), then you can try 
building from git, like this:

git clone https://git.savannah.gnu.org/git/diffutils.git
cd diffutils
./bootstrap
./configure CC=nvc
make WERROR_CFLAGS= check

Ignore all the bogus warnings that nvc generates.

For this latter approach you will need developer tools; see 
README-hacking and README-prereq.




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.