[dpdk-dev] [PATCH v2 3/6] mk: remove library grouping during application linking

Ferruh Yigit ferruh.yigit at intel.com
Fri Jun 10 16:54:26 CEST 2016

On 6/10/2016 2:19 PM, Thomas Monjalon wrote:
> From "man ld":
>   Using this option has a significant performance cost.
>   It is best to use it only when there are unavoidable
>   circular references between two or more archives.
> Remove the option since it does not seem necessary.
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

To remove this, I think we should order libraries in a way:

pmd -> librte -> external libraries.
Than we can remove --whole-archive too.

And perhaps keep it still to wrap around librte_eal and librte_mempool,
which still has cyclic dependencies.

More information about the dev mailing list