| Message ID | 20210321144627.1621-1-simon@rozman.si |
|---|---|
| State | Rejected |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director11.mail.ord1d.rsapps.net ([172.28.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id yOryGItgV2D/ZwAAIUCqbw (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Sun, 21 Mar 2021 11:04:43 -0400 Received: from proxy2.mail.ord1c.rsapps.net ([172.28.255.1]) by director11.mail.ord1d.rsapps.net with LMTP id AN7CGItgV2BFaAAAvGGmqA (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Sun, 21 Mar 2021 11:04:43 -0400 Received: from smtp17.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy2.mail.ord1c.rsapps.net with LMTPS id +OeJGItgV2BZEgAA311kuQ (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) for <patchwork@openvpn.net>; Sun, 21 Mar 2021 11:04:43 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp17.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=pass header.d=lists.sourceforge.net; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=rozman.si; dmarc=pass (p=none; dis=none) header.from=lists.sourceforge.net X-Suspicious-Flag: NO X-Classification-ID: c3decfb0-8a56-11eb-8492-bc305beffb0c-1-1 Received: from [216.105.38.7] ([216.105.38.7:60710] helo=lists.sourceforge.net) by smtp17.gate.ord1c.rsapps.net (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 7F/FE-22606-A8067506; Sun, 21 Mar 2021 11:04:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DAQLK/MKLx6Kwq/rl7AyBgvUc2Fpr17KcIeUJc85+wo=; b=hVVXMp1+/VpaU8N+iUqRpjfCiA MKS9LCC/eIvblSWkQ3viPcLJy5Rq9ZFPWOA7ePk/ubDqwYNMskDHGRJ4UHzt4bt/HvbzGWJafmMOr lks0xwuW0YBUtQkFCDSWyEeeju53N8u5YMUSi0vKDrlOj+Pu6lABTd3nYoa1k98juzaM=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1lNzcO-0003hk-Su; Sun, 21 Mar 2021 15:03:52 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from <simon@rozman.si>) id 1lNzcM-0003ha-5I for openvpn-devel@lists.sourceforge.net; Sun, 21 Mar 2021 15:03:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UBF2VHSRPyR4Lckjkc6zBb4VR5SjZKp1TMyB74f1now=; b=EVnwdTRYh6460aOGcyOnSivJlh qpPaJZOlCF95O9HGyShiQKKDQhXWL+TNPgs4p1vAk0aHKcjrhdVpz3KHJPI5Ts7V4TVXrjmOQkxOp zr08d4IV80nJ+WobVCUKdYdB+IVMJ+BiAMeYxQjI+XE5eQw0Z3ObUaWdYv0Kf+C5j9X8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=UBF2VHSRPyR4Lckjkc6zBb4VR5SjZKp1TMyB74f1now=; b=m ofqa8uB2AEqkbruqauDiR9HjGeONiCF4cM1Ot2qpTzwWSTRf5dhyaxyriRhFy3sFClV+G+TXlmYb+ nY5P8WkqiWfJ4NeHn7snbeJX/bnm5ng8OuCMjwApsETzm4Etfoan335Iq62I18TeY6elNDKr5JBt6 hOwMU2RF5u/qQNu4=; Received: from krn.amebis.si ([93.103.235.207]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1lNzcG-0007cF-My for openvpn-devel@lists.sourceforge.net; Sun, 21 Mar 2021 15:03:50 +0000 Received: by krn.amebis.si (Postfix, from userid 982) id 8C85D18E878C; Sun, 21 Mar 2021 15:46:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rozman.si; s=default; t=1616338001; bh=UBF2VHSRPyR4Lckjkc6zBb4VR5SjZKp1TMyB74f1now=; h=From:To:Cc:Subject:Date:From; b=GIm/Xy8LdhjGQYM/h9ARQfZCs6kWOygnrWRg2FxG0IpY8cCr1TtPMLKc0qv+8d24V LK/v+UY+jRY7qO5NwOHnkJRUjGTCXcNfAZaoxcLkJyLfMsC1W6ebh8XCi0P7avlcNQ M5xjTASV90Zfk6ganTcav0Ts/0ulw+fGz8bFgaSI= X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on krn.amebis.doma X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Received: from SR6.amebis.doma (unknown [IPv6:2a01:260:4101:1464:8095:bdbd:413f:700f]) by krn.amebis.si (Postfix) with ESMTP id 9EA1818E8787; Sun, 21 Mar 2021 15:46:39 +0100 (CET) To: openvpn-devel@lists.sourceforge.net Date: Sun, 21 Mar 2021 15:46:23 +0100 Message-Id: <20210321144627.1621-1-simon@rozman.si> X-Mailer: git-send-email 2.30.0.windows.2 MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: rozman.si] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1lNzcG-0007cF-My Subject: [Openvpn-devel] [PATCH 1/5] MSVC: Disable LZ4 X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> From: Simon Rozman via Openvpn-devel <openvpn-devel@lists.sourceforge.net> Reply-To: Simon Rozman <simon@rozman.si> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox |
| Series | [Openvpn-devel,1/5] MSVC: Disable LZ4 | |
Commit Message
haixiao.yan.cn--- via Openvpn-devel
March 21, 2021, 3:46 a.m. UTC
Commit 24596b25 ("build: Remove compat-lz4") removed lz4 compat layer,
but openvpn-build\msvc doesn't provide LZ4 library either.
Signed-off-by: Simon Rozman <simon@rozman.si>
---
config-msvc.h | 1 -
1 file changed, 1 deletion(-)
Comments
Am 21.03.21 um 15:46 schrieb Simon Rozman via Openvpn-devel: > Commit 24596b25 ("build: Remove compat-lz4") removed lz4 compat layer, > but openvpn-build\msvc doesn't provide LZ4 library either. We should either add lz4 to openvpn-build or change the default of lz4 to disabled in all variant. I don't like the idea that windows has a different default than the other variants. Arne
Hi, On Sun, Mar 21, 2021 at 03:46:23PM +0100, Simon Rozman via Openvpn-devel wrote: > Commit 24596b25 ("build: Remove compat-lz4") removed lz4 compat layer, > but openvpn-build\msvc doesn't provide LZ4 library either. What would be needed to actually *build* with LZ4 on MSVC? That is, build it as prerequisite as LZO is built? The idea wasn't to remove LZ4 from builds, just to remove the bundled LZ4 "because all platforms have it now, so we do not need to maintain our own copy". But it seems that was a bit shortsighted wrt windows building... gert
Hi, > > Commit 24596b25 ("build: Remove compat-lz4") removed lz4 compat layer, > > but openvpn-build\msvc doesn't provide LZ4 library either. > > What would be needed to actually *build* with LZ4 on MSVC? That is, > build it as prerequisite as LZO is built? > > The idea wasn't to remove LZ4 from builds, just to remove the bundled > LZ4 "because all platforms have it now, so we do not need to maintain > our own copy". But it seems that was a bit shortsighted wrt windows > building... Thank you and Arne for explaining this. I should have followed the discussion on the OpenVPN meetings. Unfortunately, my workload doesn't allow me to follow on anything these days. So, I am not in condition to prepare LZ4 building in openvpn-build/msvc either. I can live with LZ4 disabled in my sandbox only. Shall we drop this patch for now? Regards, Simon
Hi, On Mon, Mar 22, 2021 at 07:29:30AM +0000, Simon Rozman wrote: > Thank you and Arne for explaining this. I should have followed > the discussion on the OpenVPN meetings. Unfortunately, my workload > doesn't allow me to follow on anything these days. So, I am not in > condition to prepare LZ4 building in openvpn-build/msvc either. Understood. Thanks for sending these patches anyway :-) > I can live with LZ4 disabled in my sandbox only. > > Shall we drop this patch for now? I have set it to "Rejected" (and the discussion is visible in patchwork). "It should not be so hard", so I'll try to talk Heiko / Arne / Lev into it :-) - might actually be easier than getting generic/build right for MinGW. gert
For 2.6, I think we should drop openvpn-build for Windows (VS) building and switch to vcpkg for dependencies (openssl, lz4 etc) and cmake as a project file (also supported by VS).
Hi, (I have changed the Subject: line to make clear that this is a bigger topic now) On Mon, Mar 22, 2021 at 11:51:46AM +0200, Lev Stipakov wrote: > For 2.6, I think we should drop openvpn-build for Windows (VS) > building and switch to vcpkg for dependencies (openssl, lz4 etc) and > cmake as a project file (also supported by VS). I have no opinion there whatsoever... please send patches & trac documentation :-) gert
Am 22.03.21 um 10:55 schrieb Gert Doering: > Hi, > > (I have changed the Subject: line to make clear that this is a bigger > topic now) > > On Mon, Mar 22, 2021 at 11:51:46AM +0200, Lev Stipakov wrote: >> For 2.6, I think we should drop openvpn-build for Windows (VS) >> building and switch to vcpkg for dependencies (openssl, lz4 etc) and >> cmake as a project file (also supported by VS). > > I have no opinion there whatsoever... please send patches & trac > documentation :-) I have a very hacky CMakeLists.txt that works well enough to compile with with Clion and MSVC. But the biggest hurdle is that I would need to add pkcs11 to vckpg (and also clean up the cmakelists.txt) file. Also that brings then two ways of building openvpn under Linux/mac/other Unices, one with cmake and one with autoconf/automake and whole discussion about build systems. Arne
Il 22/03/21 11:55, Gert Doering ha scritto: > Hi, > > (I have changed the Subject: line to make clear that this is a bigger > topic now) > > On Mon, Mar 22, 2021 at 11:51:46AM +0200, Lev Stipakov wrote: >> For 2.6, I think we should drop openvpn-build for Windows (VS) >> building and switch to vcpkg for dependencies (openssl, lz4 etc) and >> cmake as a project file (also supported by VS). I'm not opposed as this sounds more standard than what we have now (opevnpn-build/msvc). We can still cross-compile using openvpn-build/generic if we wish. This could potentially simplify the automated Windows MSI build process. Right now with Linux + Windows in the mix things are very confusing and fragile. > I have no opinion there whatsoever... please send patches & trac > documentation :-) > > gert > > > > _______________________________________________ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel >
diff --git a/config-msvc.h b/config-msvc.h index e430ca96..53d97902 100644 --- a/config-msvc.h +++ b/config-msvc.h @@ -9,7 +9,6 @@ #define ENABLE_FRAGMENT 1 #define ENABLE_HTTP_PROXY 1 #define ENABLE_LZO 1 -#define ENABLE_LZ4 1 #define ENABLE_MANAGEMENT 1 #define ENABLE_MULTIHOME 1 #define ENABLE_PKCS11 1