From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AHhJL7fk7GJSqwAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 11:36:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yJQjL7fk7GJRSgEA9RJhRA (envelope-from ) for ; Fri, 05 Aug 2022 11:36:55 +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 65CE331CB for ; Fri, 5 Aug 2022 11:36:55 +0200 (CEST) Received: from localhost ([::1]:56014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJtlG-0004Ye-KI for larch@yhetil.org; Fri, 05 Aug 2022 05:36:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJtjT-0003rF-4Q for guix-patches@gnu.org; Fri, 05 Aug 2022 05:35:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJtjS-0000ez-Kz for guix-patches@gnu.org; Fri, 05 Aug 2022 05:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJtjS-0007nE-Ff for guix-patches@gnu.org; Fri, 05 Aug 2022 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56505] [PATCHES] Mingw configuration for openssl Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Aug 2022 09:35: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: Vivien Kraus Cc: 56505-done@debbugs.gnu.org Received: via spool by 56505-done@debbugs.gnu.org id=D56505.165969209129936 (code D ref 56505); Fri, 05 Aug 2022 09:35:02 +0000 Received: (at 56505-done) by debbugs.gnu.org; 5 Aug 2022 09:34:51 +0000 Received: from localhost ([127.0.0.1]:56249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJtjG-0007ml-Mh for submit@debbugs.gnu.org; Fri, 05 Aug 2022 05:34:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJtjD-0007mW-CU for 56505-done@debbugs.gnu.org; Fri, 05 Aug 2022 05:34:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJtj6-0000bu-RD; Fri, 05 Aug 2022 05:34:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=3qnNwF5PGLrBhWNiOKX01Y5nndwpZh5ylPkozqLD0/A=; b=O4RqjOAXhPnOaS6UoVlb OFq9GUIXjgRnd+z6mBGo9pcfqSmpBuOpn5c+x8RiJbhfXK40j3baE+Ej6VUdq+SPDBC6VyWzECogV zLKQmIlmlEFpVe+BtjYte5q4zIX9qEjFJYiqWHpF3OSrX7uyCASAgWnEOaaIDYguK2yX1sgwDKMy4 vzhNXr59J4ENH0geh6+Ks70FVW9WiiH9mGzH64pzBpbGJ05UjqFittIFcv/Prmcukchf8KFO3eL3b ZzGzTxjBheeMygxzRkKhasCSXUGebTrhh28PktCwLiuIzJ/BVgdAV1XDkxZ/uKdsK9FkumQkXjMx5 goYdcglrwFxjQQ==; Received: from [193.50.110.201] (port=52348 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJtj4-0004Dr-07; Fri, 05 Aug 2022 05:34:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <660bab87fb7ccee6177be413b72bea7e40463354.camel@planete-kraus.eu> <70b76f171502fc7122dbfd120093660616632980.camel@planete-kraus.eu> <87edxvk66j.fsf_-_@gnu.org> <07478ef69ed48a60979eb06923fd4ecafddcce42.camel@planete-kraus.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Amande X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 05 Aug 2022 11:34:36 +0200 In-Reply-To: <07478ef69ed48a60979eb06923fd4ecafddcce42.camel@planete-kraus.eu> (Vivien Kraus's message of "Fri, 05 Aug 2022 09:58:56 +0200") Message-ID: <87mtcjhw43.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" 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=1659692215; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=3qnNwF5PGLrBhWNiOKX01Y5nndwpZh5ylPkozqLD0/A=; b=dQY7F0hgIefmP0HasNOoSb74MCwEae1xeKrp2M90hCilN6pQrJqx3JivLikFg6RTKP6t93 /8pNrAaUnAYDN51+auwAMjPSsxO83Tk/Wj/vW/Z2cDxPnWS3j8y8xTGzVMy9N83qK1RGVl O7GoMQAd54S8fS298dxvirEClEKYj28lHF9YaSXm64qYdsinVHAvDv9O3kJ9H8Tmr2/2B3 Ch/1BUqp4//2bh9uRRbNO9J42KsxVNv4Y2FROHwx0IUrk+EOvJRQtD0IcAAShIrgA3Bsa2 xWKQnvyBURdNmLm5jlRcdFuGhmdDigFIG5QLIUrGWBSH9Xf8zCrJyoExcKCcjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659692215; a=rsa-sha256; cv=none; b=hH6AT+/Wu0Mv+X0sbr8UPdefOo4A8VpzrA8dTikQDTrniz3F7sV8kiinvTSx3eya5DZkO5 uOkdMujWLm0DfM6VBghLToB5TFol3nyYsMb3om06qWZUjS2g5T5wVA+xCDTOaUQXNcfHPC 0r53J65Hl+06a6hLma9dyDGS7YWqJJH5LUpfXBzfIOgIjQEHmWDFNP8Fe93rKyw/RgO8+y HRF6z2xTZXwhgTJp2t6y7IF82I5u9inZI3rdvkxMPPJYjAcnm2727nMwaLVRYphi5yjltS uEa3uNSk24fet9M+cIOvlh4ey2QVYZso859ompT7p8ocWHfuZOPAgcreA5IIRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=O4RqjOAX; 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: -4.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=O4RqjOAX; 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: 65CE331CB X-Spam-Score: -4.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: bP4T9cGEMnRm Hi, Vivien Kraus skribis: > Le vendredi 05 ao=C3=BBt 2022 =C3=A0 00:14 +0200, Ludovic Court=C3=A8s a = =C3=A9crit=C2=A0: >> =E2=80=98guix build openssl --target=3Dx86_64-w64-mingw32=E2=80=99 works= and the funny >> part is that .dll files end up in bin/, but I think that=E2=80=99s inten= ded >> on >> Windows? > > That=E2=80=99s 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=E2=80=99t put them in lib. What you have in lib are the so-cal= led > "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=E2=80=A6 Oops= =E2=80=A6 I may > have forgotten to check this=E2=80=A6 This is not a huge problem, because= all > outputs would be available when building a dependent package, but it=E2= =80=99s > still not right I think. Oh, I see. > From 1ee8daf446ca874ff4e5daa65d6f4034df51838e Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Fri, 5 Aug 2022 09:52:21 +0200 > Subject: [PATCH] gnu: openssl: Keep .dll.a files in main output. > > * gnu/packages/tls.scm (openssl) [phase move-static-libraries]: Do not mo= ve > .dll.a files to the static output when targetting mingw. Applied, thanks! Ludo=E2=80=99.