[pkg-netfilter-team] Bug#776688: xtables-addons-source: Depends upon latest binutils, but fails to depend; other cross-building issues

Jeremy Sowden jeremy at azazel.net
Mon Nov 23 18:44:50 GMT 2020


On Fri, 30 Jan 2015 17:37:53 -0800 Elliott Mitchell wrote:
> The subject line mostly says it all, but some more detail of note.
> There appear to be multiple places where the line "LDFLAGS =
> -Wl,-z,relro" is included.  This works with the latest versions of the
> binutils package (2.22-8), but fails with the currently available
> versions of the cross binutils (binutils-mipsel-linux-gnu, 2.20.1-16).
> I've yet to ascertain where all of these are located, this looks like
> the only major problem for cross-building.

I suspect this was a teething problem related to package hardening.  It
should work correctly now.  Certainly the current mipsel binutils
supports the relevant linker flags.

> Several of the Makefiles included in /usr/src/xtables-addons.tar.bz2
> also contain explicit references to the x86 compiler/linker, which is
> inappropriate for an all architecture package.  I suspect this is
> simply a case that those are accidentally packaged and do no real
> harm, but they do confuse things.
>
> Additionally, all the libxt_* files included in
> /usr/src/xtables-addons.tar.bz2 are source files for building the
> userspace portion (xtables-addons-common), but these are uneeded for
> building kernel modules.

I've recently stripped out all the userspace source from the -dkms and
-source packages to fix problems with reproducible builds, so these
issues should be resolved in the next upload.

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20201123/621c37f1/attachment.sig>


More information about the pkg-netfilter-team mailing list