Re: [dpdk-dev] Handling missing export functions in MSVC linkage

2021-03-26 Thread Thomas Monjalon
08/06/2020 10:33, David Marchand: > On Mon, Jun 8, 2020 at 2:09 AM Dmitry Kozlyuk > wrote: > > On Sun, 7 Jun 2020 12:26:56 + > > If you create a .def manually, it will override the generation from .map. Of > > cause, this adds manual work and ideally all .def files should be generated. > > O

Re: [dpdk-dev] Handling missing export functions in MSVC linkage

2020-06-08 Thread Tal Shnaiderman
> Subject: Re: Handling missing export functions in MSVC linkage > > On Sun, 7 Jun 2020 12:26:56 + > Tal Shnaiderman wrote: > > > In clang build the .map file is converted into Module-Definition (.Def) > > File. > > If you create a .def manually, it will override the generation from .map.

Re: [dpdk-dev] Handling missing export functions in MSVC linkage

2020-06-08 Thread David Marchand
On Mon, Jun 8, 2020 at 2:09 AM Dmitry Kozlyuk wrote: > > On Sun, 7 Jun 2020 12:26:56 + > Tal Shnaiderman wrote: > > > In clang build the .map file is converted into Module-Definition (.Def) > > File. > > If you create a .def manually, it will override the generation from .map. Of > cause, th

Re: [dpdk-dev] Handling missing export functions in MSVC linkage

2020-06-07 Thread Dmitry Kozlyuk
On Sun, 7 Jun 2020 12:26:56 + Tal Shnaiderman wrote: > In clang build the .map file is converted into Module-Definition (.Def) File. If you create a .def manually, it will override the generation from .map. Of cause, this adds manual work and ideally all .def files should be generated. > I

[dpdk-dev] Handling missing export functions in MSVC linkage

2020-06-07 Thread Tal Shnaiderman
Hi, I was wondering if there is a known solution for the following problem: Whenever building a DPDK library using clang/MSVC there is an linkage issue if the rte_*_version.map names a function that isn't being compiled. For example, in librte_metrics several files in the lib build depend on th