bug#75462: libtool wrongly reorder compiler deps on linux

Frederic Berat <[email protected]> Mon, 13 Jan 2025 15:29:23 +0100
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <CAObJKZoDW7-sSSz-LAxdoHSUPkA3Ciow20RVokZYxv_fZK0Vmw@mail.gmail.com>
--000000000000fb71a7062b9745fc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 10, 2025 at 3:36=E2=80=AFPM Ileana Dumitrescu <
[email protected]> wrote:

> On 09/01/2025 23:23, Frederic Berat wrote:
> ...
> >     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 am willing to apply something similar if it is specific to systems
> that have been verified to have a problem with reordered compiler
> dependencies. I do not want to assume all of linux systems require this
> patch, but a more specific subset would be good.
>

More than a specific linux system, that are dependencies that include GCC
libraries that should not be re-ordered/de-duplicated in the case I've seen=
.


>
> --
> Ileana Dumitrescu
>
> GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
>
>

--000000000000fb71a7062b9745fc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 10,=
 2025 at 3:36=E2=80=AFPM Ileana Dumitrescu &lt;<a href=3D"mailto:ileanadumi=
[email protected]">[email protected]</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex">On 09/01/2025 23:23, Freder=
ic Berat wrote:<br>
...<br>
&gt;=C2=A0 =C2=A0 =C2=A0To ensure GNU Libtool continues to work with older =
systems, this patch<br>
&gt;=C2=A0 =C2=A0 =C2=A0should probably not be applied. Users can disable t=
he deduplication<br>
&gt;=C2=A0 =C2=A0 =C2=A0optimization with &quot;--preserve-dup-deps&quot; w=
ithout applying the suggested<br>
&gt;=C2=A0 =C2=A0 =C2=A0patch, but this affects more than just compiler gen=
erated dependencies.<br>
&gt; <br>
&gt; <br>
&gt; Well, I&#39;m not sure I get why keeping duplicates would harm, but fa=
ir <br>
&gt; enough my patch is clearly overkill.<br>
<br>
I am willing to apply something similar if it is specific to systems<br>
that have been verified to have a problem with reordered compiler<br>
dependencies. I do not want to assume all of linux systems require this<br>
patch, but a more specific subset would be good.<br></blockquote><div><br><=
/div><div>More than a specific linux system, that are dependencies that inc=
lude GCC libraries that should not be re-ordered/de-duplicated in the case =
I&#39;ve seen.</div><div>=C2=A0<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
<br>
-- <br>
Ileana Dumitrescu<br>
<br>
GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354<br>
<br>
</blockquote></div></div>

--000000000000fb71a7062b9745fc--