[dpdk-dev] [PATCH] app/testpmd: fix static build link ordering

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jan 13 17:31:58 CET 2017


2017-01-12 13:16, Jerin Jacob:
> By introducing explicit -lrte_pmd_ixgbe link request in
> testpmd Makefile,"-Wl,-lrte_pmd_ixgbe" provided twice, and linker
> removes the duplication by keeping only first occurrence.
> This moves "-Wl,-lrte_pmd_ixgbe" out of "-Wl,--whole-archive" flag
> and makes symbol generation totally different than previous version
> in case of static build.
> This patch fixes the static build linking order by introducing
> -lrte_pmd_ixgbe under the shared library config
> (CONFIG_RTE_BUILD_SHARED_LIB).
> 
> Fixes: 425781ff5afe ("app/testpmd: add ixgbe VF management")
> 
> CC: stable at dpdk.org
> Signed-off-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Applied, thanks


More information about the dev mailing list