On Mon, 2020-09-14 at 18:51 +0200, Julian Andres Klode wrote:
> On Mon, Sep 14, 2020 at 02:58:02PM +0100, Luca Boccassi wrote:
> > Package: dh-autoreconf
> > Version: 19
> > Tags: patch
> > X-Debbugs-CC: pkg-dpdk-de...@lists.alioth.debian.org
> > 
> > Dear Maintainer(s),
> > 
> > dh-autoreconf provides an --as-needed option to allow packages to
> > use
> > -Wl,---as-needed with libtool, since libtool otherwise reorders the
> > flags and breaks compilation.
> > 
> > The same reordering problem affects programs building with --whole-
> > archive, in the exact same way. I've come across this when building
> > src:openvswitch with src:dpdk.
> > 
> > I have opened an MR on Salsa to add a --whole-archive autoreconf
> > option
> > that works exactly as --as-needed to fix this. It fixes the build
> > of
> > openvswitch with a new version of dpdk that is in development.
> > 
> > https://salsa.debian.org/debian/dh-autoreconf/-/merge_requests/2
> 
> I'm not supposed to have the --as-needed stuff in there in the first
> place, so I'd rather not make it even worse.
> 
> Could you take this up with libtool upstream and come to a solution
> there?

Hi,

Given these issues have been lingering for about a decade if not
longer, with no progress, I don't have much hope for that to ever
happen, sadly. Besides, last release of libtool was more than five
years ago, even if it was still worked on it seems unlikely a fix could
 make its way into Debian via that route in time.

We could replicate the same monkey-patching directly in all the
affected packages, but that doesn't feel like the best solution?

Thanks!

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to