> Subject: Re: [dpdk-dev] [PATCH 3/4] eal: export needed functions for mbuf > > 01/06/2020 11:38, tal...@mellanox.com: > > From: Tal Shnaiderman <tal...@mellanox.com> > > > > Export needed eal functions used by the lib. > > > > Signed-off-by: Tal Shnaiderman <tal...@mellanox.com> > > --- > > --- a/lib/librte_eal/rte_eal_exports.def > > +++ b/lib/librte_eal/rte_eal_exports.def > > @@ -3,6 +3,7 @@ EXPORTS > > per_lcore__rte_errno > > rte_calloc > > rte_calloc_socket > > + per_lcore__lcore_id > [...] > > --- a/lib/librte_eal/rte_eal_version.map > > +++ b/lib/librte_eal/rte_eal_version.map > > @@ -394,4 +394,5 @@ EXPERIMENTAL { > > rte_mem_unmap; > > __emutls_v.per_lcore__rte_errno; > > __rte_trace_mem_per_thread_alloc; > > + __emutls_v.per_lcore__lcore_id; > > I'm surprised about this one in the Linux/BSD map. > Can it be removed? >
It is needed for the MingGW build which requires the __emutls_v. prefix.