GNU bug report logs - #75462
libtool wrongly reorder compiler deps on linux

Previous Next

Package: libtool;

Reported by: Frederic Berat <fberat <at> redhat.com>

Date: Thu, 9 Jan 2025 13:14:02 UTC

Severity: normal

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Frederic Berat <fberat <at> redhat.com>
To: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Cc: 75462 <at> debbugs.gnu.org
Subject: bug#75462: libtool wrongly reorder compiler deps on linux
Date: Thu, 9 Jan 2025 22:23:14 +0100
[Message part 1 (text/plain, inline)]
On Thu, Jan 9, 2025 at 7:57 PM Ileana Dumitrescu <
ileanadumitrescu95 <at> gmail.com> wrote:

> On 09/01/2025 15:11, Frederic Berat wrote:
> > Hello,
> >
> > I opened an issue a few years back that didn't get solved: https://
> > lists.gnu.org/archive/html/libtool/2022-02/msg00001.html <https://
> > lists.gnu.org/archive/html/libtool/2022-02/msg00001.html>
> >
> > Out of curiosity, I decided to remove my local patch for it with the new
> > libtool release. It didn't take long for builds to fail again:
> > https://bugzilla.redhat.com/show_bug.cgi?id=2331361 <https://
> > bugzilla.redhat.com/show_bug.cgi?id=2331361>
> >
> > Considering that more and more systems prevent deduplication over the
> > years, may it be considered to be the default behavior instead of the
> > exception ?
>
> To ensure GNU Libtool continues to work with older systems, this patch
> should probably not be applied. Users can disable the deduplication
> optimization with "--preserve-dup-deps" without applying the suggested
> patch, but this affects more than just compiler generated dependencies.
>
>
Well, I'm not sure I get why keeping duplicates would harm, but fair enough
my patch is clearly overkill.


> I would be more willing to add an option to toggle
> "$opt_duplicate_compiler_generated_deps" separate from
> "$opt_preserve_dup_deps". Would this be a good alternative to the patch?
>

Not sure that's a good alternative. you'd force users from the systems that
have been excluded over the years to toggle an option that they didn't need
so far.


>
> --
> Ileana Dumitrescu
>
> GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 123 days ago.

Previous Next


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