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? -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en