On 21/07/2015 11:18, Sergio Gonzalez Monroy wrote: > Malloc was moved to the EAL and dummy malloc library was left > to not brake apps that had a librte_malloc.so dependency. > Note that the dummy library will be removed in the next release. > > When building a combined library, all objects are copied to the same > directory before creating the library itself. > > There a couple of issues: > - CONFIG_RTE_LIBRTE_MALLOC is not a valid option anymore resulting > in wrong syntax and a compilation failure. Fix it by replacing it > with CONFIG_RTE_LIBRTE_EAL. > - As we kept a dummy library, there are now two objects with the > same name. This means that the proper rte_malloc.o object in eal gets > overwritten by an empty rte_malloc.o object from the dummy malloc lib. > Fix it by changing the name of rte_malloc.o object in the dummy > library. > > Fixes: 2f9d47013e4dbb738 ("mem: move librte_malloc to eal/common") > > Reported-by: Alin Rauta <alin.rauta at intel.com> > Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com> > --- > I sent the same patch twice by accident, please ignore the second patch.
Sergio