From: "selvanair (Code Review)" Date: Thu, 18 Sep 2025 17:45:45 +0000 In-Reply-To: References: Reply-To: selva.nair@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="IIk82nMm7wc="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: fix building of openvpnsrvmsg.dll from eventmsg.mc in mingw builds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stipa , flichtenheld , plaisthos , openvpn-devel --IIk82nMm7wc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, plaisthos, stipa. selvanair has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/1197?usp=3Demail ) Change subject: fix building of openvpnsrvmsg.dll from eventmsg.mc in mingw= builds ...................................................................... Patch Set 4: (2 comments) Patchset: PS4: Very nice.. cmake-mingw also works now. The dlls built using autotools also work on Windows event viewer. File src/openvpnserv/Makefile.am: http://gerrit.openvpn.net/c/openvpn/+/1197/comment/fe997674_e9daf92f : PS4, Line 46: $(CC) -shared -Wl,--entry=3D0 -nostdlib -nostartfiles -o $@ = $< Adhoc build of this dll is fine, but fwiw, here is my try to use libtool in= stead: https://github.com/selvanair/openvpn/commit/bc94c62ac66a377df4904484= 2515351aa256adcd The resulting dll is larger, but could be stripped as we do with other bina= ries. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1197?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I071e8190dac28f429257b8af1c6f9e68f8896bc0 Gerrit-Change-Number: 1197 Gerrit-PatchSet: 4 Gerrit-Owner: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-CC: selvanair Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Attention: stipa Gerrit-Comment-Date: Thu, 18 Sep 2025 17:45:45 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --IIk82nMm7wc= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: cron2, plaisthos, stipa.

View = Change

2 comments:

  • Patchset:

    • Patch Set #4:

      Very nice.. cmake-mingw also works now.
      The = dlls built using autotools also work on Windows event viewer.

    =
  • File src/openvpnserv/Makefile.= am:

    • Patch Set #4, = Line 46: $(CC) -shared= -Wl,--entry=3D0 -nostdlib -nostartfiles -o $@ $<

      Adhoc build of this dll is f= ine, but fwiw, here is my try to use libtool instead: https://github.com/se= lvanair/openvpn/commit/bc94c62ac66a377df49044842515351aa256adcd

      The resulting dll is lar= ger, but could be stripped as we do with other binaries.

  • =

To view, visit change 1197. To unsubscribe, or for help writing mail fi= lters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I071e8190dac28f429257b8af1c6= f9e68f8896bc0
Gerrit-Change-Number: 1197
Gerrit-PatchSet: 4
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-CC: selvanair <selva.nair@...277...&= gt;
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Thu, 18 Sep 2025 17:45:45= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--IIk82nMm7wc=--