On 16/10/2017 20:34, Илья Шипицин wrote: > > > 2017-10-16 20:33 GMT+05:00 Selva <selva.n...@gmail.com > <mailto:selva.n...@gmail.com>>: > > > Hi > > On Mon, Oct 16, 2017 at 4:22 AM, Илья Шипицин <chipits...@gmail.com > <mailto:chipits...@gmail.com>> wrote: > > > > 2017-10-16 13:05 GMT+05:00 Samuli Seppänen <sam...@openvpn.net > <mailto:sam...@openvpn.net>>: > > On 13/10/2017 20:48, Selva wrote: > > > @samuli: Which versions of mingw-w64 should we test against to > ensure > > release and snapshot builds would succeed? > > Right now _we_ use Ubuntu 16.04 for building: > > mingw-w64 4.0.4 > gcc-mingw-w64 5.3.1 > g++-mingw-w64 5.3.1 > > That said, I'm pretty sure many people still build with > Ubuntu 14.04. So > keeping support for it would make sense if it is not > horribly painful. > This is what Ubuntu 14.04 comes with: > > mingw-w64 3.1.0 > gcc-mingw-w64 4.8.2 > g++-mingw-w64 4.8.2 > > > I'm afraid, it's not possible to build openvpn with > mingw-gcc-4.8.X due to lack of firewall manipulation api > (that's why we use xenial repo during travis-ci build) > > > Good to know mingw-w64 from xenial is used in the travis-ci script. > > I did a quick test on ubuntu trusty (14.04.05 LTS), and as you > pointed out, it fails while > compiling block_dns.c because of some errors in the headers for the > windows filtering platform API. All the bits are there so its > possible to build > after tweaking the installed headers (only a couple of lines) but > not something > one would normally want to do. > > It does look like targeting 14.04 is no more relevant. > > > it used to work on 14.04 ... with patched debs (header issue is > relatively easy to fix) > > however, it does not work now because of not supporting Vista things > > > yes, 16.04 is just fine >
I'm fine with dropping support for the Ubuntu 14.04 version of mingw-w64, as the unpatched version does not work anyways. Better keep code at the OpenVPN end as simple as possible. -- Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel