[dpdk-dev] [PATCH v2] mk: fix objects/library order when linking

2015-12-04 Thread Thomas Monjalon
2015-12-04 18:31, Adrien Mazarguil: > On Fri, Dec 04, 2015 at 06:11:03PM +0100, David Marchand wrote: > > The initial problem has been seen while building mlx4 pmd as a shared > > library > > on Ubuntu 14.04 (gcc 4.8.4-2ubuntu1~14.04). > > > > Resulting .so will lack the DT_NEEDED entry for libib

[dpdk-dev] [PATCH v2] mk: fix objects/library order when linking

2015-12-04 Thread Adrien Mazarguil
On Fri, Dec 04, 2015 at 06:11:03PM +0100, David Marchand wrote: > The initial problem has been seen while building mlx4 pmd as a shared library > on Ubuntu 14.04 (gcc 4.8.4-2ubuntu1~14.04). > > Resulting .so will lack the DT_NEEDED entry for libibverbs: > > marchand at ubuntu1404:~/dpdk$ ldd ./bu

[dpdk-dev] [PATCH v2] mk: fix objects/library order when linking

2015-12-04 Thread David Marchand
The initial problem has been seen while building mlx4 pmd as a shared library on Ubuntu 14.04 (gcc 4.8.4-2ubuntu1~14.04). Resulting .so will lack the DT_NEEDED entry for libibverbs: marchand at ubuntu1404:~/dpdk$ ldd ./build/lib/librte_pmd_mlx4.so linux-vdso.so.1 => (0x7fff87ebb000)