]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Unbreak the powerpc/powerpc64 tinderbox
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Dec 2015 14:44:23 +0000 (14:44 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Dec 2015 14:44:23 +0000 (14:44 +0000)
commitd8e419155068d82c05bb2dc5e4d4fff290bcb91e
treefa64a773f5805623716fbc2a0de87b65a29b9274
parentbcdbc68196854e272352525d99c989bec4488a45
Unbreak the powerpc/powerpc64 tinderbox

PR: 198805
Submitted by: sbruno

MFC r280430:

r280430 (by bz):

Make ix_crcstrip a public symbol for the moment;  it probably is not
the right solution but I will leave it to experts to untangle this
problem to properly stop the build failures.

At the moment only if_ix.c includes dev/netmap/ixgbe_netmap.h which is
good as ixgbe_netmap.h defines a couple of (file) static variables--thus
local to if_ix.c.
static int ix_crcstrip however now also got checked from ix_txrx.c
(as an extern) and should not be visible there.  In fact we do see
powerpc and powerpc64 build failures because of this.  It is unclear
to me why on other (clang built?) architectures this does not lead
to a reference of an undefined symbol and similar build breakage.

git-svn-id: svn://svn.freebsd.org/base/stable/10@292211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/netmap/ixgbe_netmap.h