On Wed, Oct 05, 2016 at 07:09:14PM +0200, Thomas Monjalon wrote: > > Probably that you would have some aligned builds if Snort was using > a pkg-config approach to link DPDK.
I seriously doubt it, but maybe there is some deep linker magic that would pick the appropriate set of constructor. > > For tailq, I agree. For mempool constructors, order do matter. > > I don't know why such a complex function (rte_mempool_register_ops) is > called inside a constructor. Maybe that's the main problem. No. The problem is that the list of constructors linked by the linker in each binary is different, whereas DPDK expect them to be the same. Regards, Jean