GNU bug report logs - #78019
LTO build fails with diffutils 3.12

Previous Next

Package: diffutils;

Reported by: Christian Hesse <list <at> eworm.de>

Date: Wed, 23 Apr 2025 17:58:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Christian Hesse <list <at> eworm.de>
Cc: 78019 <at> debbugs.gnu.org
Subject: bug#78019: [bug-diffutils] bug#78019: LTO build fails with diffutils 3.12
Date: Fri, 25 Apr 2025 23:41:30 -0700
[Message part 1 (text/plain, inline)]
On 2025-04-25 02:43, Christian Hesse wrote:
> Paul Eggert <eggert <at> cs.ucla.edu> on Wed, 2025/04/23 11:56:
>> These are false positives from GCC. I worked around the last one by
>> installing the attached patch.
> 
> Which attached patch? Do you refer the grep issue here?

Sorry, I forgot to attach it in my previous email. Attaching it now.


> This is the PKGBUILD file we use to build the Arch Linux package:
> 
> https://gitlab.archlinux.org/archlinux/packaging/packages/diffutils/-/blob/main/PKGBUILD

Unfortunately, as I don't use Arch I don't know how to decode that file.

What arguments are being passed to './bootstrap', './configure' and 'make'?


> Probably this is caused because newer
> autotools generating a different configure script.

It isn't connected to autotools version. It's because if you have a .git 
subdirectory, './configure' assumes you're a developer and can deal with 
glitches like these.

One workaround is to tell './configure' that you're not interested in 
these warnings, by using './configure --disable-gcc-warnings'.
[0001-sdiff-pacify-gcc-flto-Wmaybe-uninitialized.patch (text/x-patch, attachment)]

This bug report was last modified 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.