[dpdk-dev] [PATCH 01/11] mk: use whole-archive option when creating dpdk binaries

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Apr 10 15:58:16 CEST 2014


2014-02-28 18:25, Olivier Matz:
> To fully support dpdk extensions (loading of .so), all symbols provided
> by dpdk libraries must be available in the binaries: before this patch,
> unused functions/variables from dpdk static libraries could be stripped
> by the linker because they are not used. These symbols can be used by a
> dpdk extension that is loaded at runtime with the -d option.
> 
> Adding --whole-archive when generating a binary solves this issue.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.6.0r2.

-- 
Thomas


More information about the dev mailing list