[dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script

Stephen Hemminger stephen at networkplumber.org
Tue Nov 24 23:46:38 CET 2015


On Tue, 24 Nov 2015 16:31:17 +0200
Panu Matilainen <pmatilai at redhat.com> wrote:

> The physically linked-together combined library has been an increasing
> source of problems, as was predicted when library and symbol versioning
> was introduced. Replace the complex and fragile construction with a
> simple linker script which achieves the same without all the problems,
> remove the related kludges from eg mlx drivers.
> 
> Since creating the linker script is practically zero cost, remove the
> config option and just create it always.
> 
> Based on a patch by Sergio Gonzales Monroy, linker script approach
> initially suggested by Neil Horman.
> 
> Suggested-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>
> Suggested-by: Neil Horman <nhorman at tuxdriver.com>
> Signed-off-by: Panu Matilainen <pmatilai at redhat.com>

But it now means distros have to ship 20 libraries which seems like
a step back.





More information about the dev mailing list