From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6HagMkLO7GJ8VQAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 10:01:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MOmLMkLO7GL4KAEA9RJhRA (envelope-from ) for ; Fri, 05 Aug 2022 10:01:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 991132CF7C for ; Fri, 5 Aug 2022 10:01:06 +0200 (CEST) Received: from localhost ([::1]:51000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJsGX-0005LU-B2 for larch@yhetil.org; Fri, 05 Aug 2022 04:01:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJsFW-0005Je-Rd for guix-patches@gnu.org; Fri, 05 Aug 2022 04:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJsFW-00027E-Ir for guix-patches@gnu.org; Fri, 05 Aug 2022 04:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJsFW-0005F9-Fh for guix-patches@gnu.org; Fri, 05 Aug 2022 04:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56505] [PATCHES] Mingw configuration for openssl Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Aug 2022 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 56505-done@debbugs.gnu.org Received: via spool by 56505-done@debbugs.gnu.org id=D56505.165968636120077 (code D ref 56505); Fri, 05 Aug 2022 08:00:02 +0000 Received: (at 56505-done) by debbugs.gnu.org; 5 Aug 2022 07:59:21 +0000 Received: from localhost ([127.0.0.1]:56050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJsEq-0005Dk-Q8 for submit@debbugs.gnu.org; Fri, 05 Aug 2022 03:59:21 -0400 Received: from planete-kraus.eu ([89.234.140.182]:34600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJsEm-0005DZ-6y for 56505-done@debbugs.gnu.org; Fri, 05 Aug 2022 03:59:18 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 75258a38; Fri, 5 Aug 2022 07:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version; s=dkim; bh=O7pJqpkqJZVMeGT4B7aPHQHAm eg=; b=K5sjS3zPCcQqTj8XNStlDavv9Qlx0V/FFH6LmfupHp7z9Fme1fEmSlUrs 7U++k2M7bQp94p+J3a3zXN5ndH6YGHbJ/0fWezB7Yn3p/LrQlwzd5LdI1gereD0F 5qL7FBJrMdmt5JXZTgrxRcwmpsWLoEOr0ALJ9AvM/ORH3vNyaQ= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 6bb800b1 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Fri, 5 Aug 2022 07:59:10 +0000 (UTC) Message-ID: <07478ef69ed48a60979eb06923fd4ecafddcce42.camel@planete-kraus.eu> Date: Fri, 05 Aug 2022 09:58:56 +0200 In-Reply-To: <87edxvk66j.fsf_-_@gnu.org> References: <660bab87fb7ccee6177be413b72bea7e40463354.camel@planete-kraus.eu> <70b76f171502fc7122dbfd120093660616632980.camel@planete-kraus.eu> <87edxvk66j.fsf_-_@gnu.org> Content-Type: multipart/mixed; boundary="=-uP1rA8pj/zUHWNi4V0Kw" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659686466; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=sounW7T0TvZU+4IwofD1Srr4h60OTvPgolnwBl98KW4=; b=nq4hEwqCoL5l4rYCFwxWkB13a8j51meoEfkd6MCFHko0gb+7og/dWF6Nsy0QNYCYNJLV1J 4ldNUpU7BgM8Hnu2AKarrw/U+fnwkkzCDmCjBlIRsIjylowdmvRcFnL29+UAUaBgrnpeKu w1B+zJ15yzC+zCknoDNChMQpGpe5CQrv3aXq5kjSyiNxq6LNKnhZxPiIL83eEGVsgjLT3y lVSIme6ZUJNRcFrJzF6G2/qOlSMeJ2z8+3BLLZQFj5ZJm1TTY07frZzC7VDtCKLEMqIxI/ fvBU0yBdE1rAyuF1V2dmOnBTSJSL6G72h+WNcoAAHPV6cewGPnjaaDQurgFtog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659686466; a=rsa-sha256; cv=none; b=BP75PfqREngR3yISHBdP+jGkWxHgb2M13FKC3LOWV+XyWFFwD9PJ0OyBJ8VEEnMyEQpUE+ UxV3NFBtHwr0a+UO2Q3bolBId3KPFblnYo41RGLDSxsXsxQEd2ErLS8QILs16/K+9+NTn4 H1MJW6OBdoYaSmTNvZ/WLQctn5hFKOHx8uLomaZfvS0zFgsAY9ce6hmeMTlumSg4pnKBWW XrcQKdgCMYtPIXFpYlaPsWK22z0ZaDCbEzYloK6Xq+9aISSP9pHEf/0Pd/dUANgjxAjR75 ykm3oDpe9eSVMRSf+NdsqM2FoujhEHqi8VGYDNa55jYHkJIPUhPy2Y0hYirU4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=K5sjS3zP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=K5sjS3zP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 991132CF7C X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: gZ60pXAtjqky --=-uP1rA8pj/zUHWNi4V0Kw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hi, Le vendredi 05 août 2022 à 00:14 +0200, Ludovic Courtès a écrit : > ‘guix build openssl --target=x86_64-w64-mingw32’ works and the funny > part is that .dll files end up in bin/, but I think that’s intended > on > Windows? That’s right. Windows does not have shared objects, and DLLs are not. You cannot use the compiler to link to a DLL as far as I understand, so you wouldn’t put them in lib. What you have in lib are the so-called "import libraries" (.dll.a). These are static libraries that pretend to provide the functionality, but in fact open the DLL at run-time to fetch the library implementation from the DLL. So DLLs are kind of resources. Anyway, you see that in lib/ you have all the .dll.a files… Oops… I may have forgotten to check this… This is not a huge problem, because all outputs would be available when building a dependent package, but it’s still not right I think. Now, the .dll.a files are smaller than the static libraries, but not that small. I don’t know why exactly. Should I open a new issue with this patch, or is it somehow possible to continue the discussion here? Best regards, Vivien --=-uP1rA8pj/zUHWNi4V0Kw Content-Disposition: attachment; filename="0001-gnu-openssl-Keep-.dll.a-files-in-main-output.patch" Content-Type: text/x-patch; name="0001-gnu-openssl-Keep-.dll.a-files-in-main-output.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSAxZWU4ZGFmNDQ2Y2E4NzRmZjRlNWRhYTY1ZDZmNDAzNGRmNTE4MzhlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBWaXZpZW4gS3JhdXMgPHZpdmllbkBwbGFuZXRlLWtyYXVzLmV1 PgpEYXRlOiBGcmksIDUgQXVnIDIwMjIgMDk6NTI6MjEgKzAyMDAKU3ViamVjdDogW1BBVENIXSBn bnU6IG9wZW5zc2w6IEtlZXAgLmRsbC5hIGZpbGVzIGluIG1haW4gb3V0cHV0LgoKKiBnbnUvcGFj a2FnZXMvdGxzLnNjbSAob3BlbnNzbCkgW3BoYXNlIG1vdmUtc3RhdGljLWxpYnJhcmllc106IERv IG5vdCBtb3ZlCi5kbGwuYSBmaWxlcyB0byB0aGUgc3RhdGljIG91dHB1dCB3aGVuIHRhcmdldHRp bmcgbWluZ3cuCi0tLQogZ251L3BhY2thZ2VzL3Rscy5zY20gfCA4ICsrKysrKystCiAxIGZpbGUg Y2hhbmdlZCwgNyBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvZ251 L3BhY2thZ2VzL3Rscy5zY20gYi9nbnUvcGFja2FnZXMvdGxzLnNjbQppbmRleCAxZTUyN2VjY2Uy Li40ZWU3NWFjZTNkIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvdGxzLnNjbQorKysgYi9nbnUv cGFja2FnZXMvdGxzLnNjbQpAQCAtNTA3LDcgKzUwNywxMyBAQCAoZGVmaW5lLXB1YmxpYyBvcGVu c3NsCiAgICAgICAgICAgICAgICAoZm9yLWVhY2ggKGxhbWJkYSAoZmlsZSkKICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChpbnN0YWxsLWZpbGUgZmlsZSBzbGliKQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgKGRlbGV0ZS1maWxlIGZpbGUpKQotICAgICAgICAgICAgICAgICAgICAgICAg IChmaW5kLWZpbGVzIGxpYiAiXFwuYSQiKSkpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAo ZmluZC1maWxlcworICAgICAgICAgICAgICAgICAgICAgICAgICBsaWIKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgIyQoaWYgKHRhcmdldC1taW5ndz8pCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICcobGFtYmRhIChmaWxlbmFtZSBfKQorICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAoYW5kIChzdHJpbmctc3VmZml4PyAiLmEiIGZpbGVuYW1lKQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChub3QgKHN0cmluZy1zdWZmaXg/ICIuZGxs LmEiIGZpbGVuYW1lKSkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiXFwuYSQi KSkpKSkpCiAgICAgICAgICAoYWRkLWFmdGVyICdpbnN0YWxsICdtb3ZlLWV4dHJhLWRvY3VtZW50 YXRpb24KICAgICAgICAgICAgKGxhbWJkYSBfCiAgICAgICAgICAgICAgOzsgTW92ZSBtYW4gcGFn ZXMgYW5kIGZ1bGwgSFRNTCBkb2N1bWVudGF0aW9uIHRvICJkb2MiLgoKYmFzZS1jb21taXQ6IGNj NGMwMmUzNDZhNzFjY2VmODk3ZTJkOWYwNGZhMmRmMjUyOWEyNjkKLS0gCjIuMzcuMQoK --=-uP1rA8pj/zUHWNi4V0Kw--