Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-04-29 Thread Thomas Monjalon
Hi, We didn't get a confirmation from Microsoft about the TLS problem. Please could we have a status? Should we mark shared library linkage as not supported in Windows DPDK? Is there a difference between clang and MinGW? 17/02/2020 07:27, Dmitry Kozlyuk: > > Remembered another issue: thread-loc

Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-02-16 Thread Dmitry Kozlyuk
> Remembered another issue: thread-local storage (TLS) with shared libraries. > Windows PE doesn't support TLS via special sections, so compilers use TLS > emulation layer. With static libraries, there are no issues described below. > > The first aspect is a build-time issue of MinGW. When linking

Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-02-09 Thread Dmitry Kozlyuk
> I think the strategy should be to progress on both GCC and Clang > at the same time. Remembered another issue: thread-local storage (TLS) with shared libraries. Windows PE doesn't support TLS via special sections, so compilers use TLS emulation layer. With static libraries, there are no issues d

Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-02-04 Thread Thomas Monjalon
05/02/2020 00:57, Dmitry Kozlyuk: > > I think having the choice between GCC and Clang for Windows is very cool. > > > > When starting the Windows port, I asked the fundamental question of the > > supported compilers. The answer was MinGW adds "non-standard" DLLs: > > https://mails.dpdk.org/arc

Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-02-04 Thread Dmitry Kozlyuk
> I think having the choice between GCC and Clang for Windows is very cool. > > When starting the Windows port, I asked the fundamental question of the > supported compilers. The answer was MinGW adds "non-standard" DLLs: > https://mails.dpdk.org/archives/dev/2019-January/124236.html Indeed

Re: [dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-02-04 Thread Thomas Monjalon
31/01/2020 04:07, Dmitry Kozlyuk: > Instructions for different toolchains presented as options on the > corresponging steps of the guide, so that common parts may be reused. > > Signed-off-by: Dmitry Kozlyuk [...] > --- a/doc/guides/windows_gsg/build_dpdk.rst > +++ b/doc/guides/windows_gsg/build_

[dpdk-dev] [PATCH 6/6] doc: guide for Windows build using MinGW-w64

2020-01-30 Thread Dmitry Kozlyuk
Instructions for different toolchains presented as options on the corresponging steps of the guide, so that common parts may be reused. Signed-off-by: Dmitry Kozlyuk diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index 6711e07e2..eabc459fb 100644 ---