From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kD5nJANF7GJ94gAAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 00:15:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SH2jIwNF7GL5LQAAG6o9tA (envelope-from ) for ; Fri, 05 Aug 2022 00:15:31 +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 3276C1124F for ; Fri, 5 Aug 2022 00:15:31 +0200 (CEST) Received: from localhost ([::1]:59948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJj7q-0006BB-Aa for larch@yhetil.org; Thu, 04 Aug 2022 18:15:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJj7O-0005po-AC for guix-patches@gnu.org; Thu, 04 Aug 2022 18:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJj7O-0003CQ-0g for guix-patches@gnu.org; Thu, 04 Aug 2022 18:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJj7N-00025q-Nb for guix-patches@gnu.org; Thu, 04 Aug 2022 18:15:01 -0400 Subject: bug#56505: [PATCHES] Mingw configuration for openssl Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 04 Aug 2022 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vivien Kraus Cc: 56505-done@debbugs.gnu.org Mail-Followup-To: 56505@debbugs.gnu.org, ludo@gnu.org, vivien@planete-kraus.eu Received: via spool by 56505-done@debbugs.gnu.org id=D56505.16596512627952 (code D ref 56505); Thu, 04 Aug 2022 22:15:01 +0000 Received: (at 56505-done) by debbugs.gnu.org; 4 Aug 2022 22:14:22 +0000 Received: from localhost ([127.0.0.1]:55254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJj6j-00024C-Ni for submit@debbugs.gnu.org; Thu, 04 Aug 2022 18:14:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJj6i-000240-Jm for 56505-done@debbugs.gnu.org; Thu, 04 Aug 2022 18:14:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJj6d-00033d-3Q; Thu, 04 Aug 2022 18:14:15 -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=dAImaUv/Abwc2dzF/Ln6iE0Tb5X7JMFv/JENEY1Km6E=; b=LVxRwWxpCi7azooWQ6P8 yvyKpbhh2u+p6eKqBcfNMq3AgBZKrnm443ult58iyz80XYF2ocg2cPyxFnStdMd09WizXwDa0Kpwt P5129TONvsvjGSEYbF06iycrV2OAWnPRpUmgomWwm0kTyr9mejWMd60bqFHYQAmMPVuayY0+A8an8 Jh0hi+mYUIem6wboWYEeScoI5YrA86Uaz3DYgrCPHnSBdCejX/HrFzaBGG6JqZxDy1lp6ic9DUMs8 X8/suuUSEAiKihKBRRhwWtxoBZtDoAYh3eirCE5vX/wuseGOg8LmsaS7VFbZJon5bPkJwQllIMwr4 Ou6jUSGgynuhWw==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39938 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJj6c-0007UN-Mr; Thu, 04 Aug 2022 18:14:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <660bab87fb7ccee6177be413b72bea7e40463354.camel@planete-kraus.eu> <70b76f171502fc7122dbfd120093660616632980.camel@planete-kraus.eu> Date: Fri, 05 Aug 2022 00:14:12 +0200 In-Reply-To: <70b76f171502fc7122dbfd120093660616632980.camel@planete-kraus.eu> (Vivien Kraus's message of "Tue, 19 Jul 2022 20:37:08 +0200") Message-ID: <87edxvk66j.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=1659651331; 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-to: 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=dAImaUv/Abwc2dzF/Ln6iE0Tb5X7JMFv/JENEY1Km6E=; b=AVqErAAFQ7Ky00Qh0xomyQ6SKBvFS5yKKv5Wi3y0EEjnyNUzPlo+1yMUip6mWC6zoZFWiv lCBF0Uqon/gTLbasbnSo/2BrjZOEwQFxAkpn5H6xCSh/4+uPreZJq5gondQ7wTvoa2R3m0 g6zA89+pHMT7BIbL1xKkUGls7162caKy8dMjIhmuOkTd1Dv1kjYGJMfNH+MG4t1nit0vMI t5s4nTQmBEjKr6dL9HORkmtnpVrRME7Sd2GxCXrjfep4BhjpTYgKyXqqb21ZSOM8F3ZtLo mIF6Ef2oKmJhee3d8zp9I73Y6dJfkO/gof8puAGqaHBId8NS+hWJHyQHb02uwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659651331; a=rsa-sha256; cv=none; b=nRQi5O3c7GLYFLLnMZv3YzTlvSlQBkpGSzE5JheljRlojISaknWH+HbQvygi7F/qdKw5Ol d7XG1KT7gJLtD7QOVEwGHdu7g43i2sUm/GDTlVdddboMeU7Vq+d2sA2HgEXeOYxkcKGa5x izLpvFYv/girOUHeEAmZARXtxiaQ9Fkv+piNnZE/ODF4GVk9aOzotHtFcYzvNMyzXYZyjm nGraE9GhNdpgyd8eUNF+JSIv4iOd0aPy+cl5dAKLyuMAQEB0NLwKy2m2YnFOcn97HCiC90 sxIlS0gWyLokqAZlKXVoP5bWwh5UF2pjy142HTTZ0SHTSOfkfy5ZM+B3crsGug== 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=LVxRwWxp; 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.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=LVxRwWxp; 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: 3276C1124F X-Spam-Score: -3.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: d/NuYWiv2AVD Hi Vivien, Vivien Kraus skribis: > antipode on #guix told me that these archaic tests to determine the > openssl target should be replaced with the new target predicates in > (guix utils), and that the kernel and the architecture should be dealt > with independently. Good idea. > However, it seems that mingw targets do not use the same scheme, so I > had to keep that special case. > > I had to introduce a new predicate for mips64el. As far as I > understand, this is also a 64-bit target, so it should also be detected > by target-64bit?, but fortunately this is already the case, so I don=E2= =80=99t > have to change target-64bit?. I don=E2=80=99t think there are other predi= cates > that I should change, but I may be wrong. > > What do you think? I think that=E2=80=99s good! > From 4084fb014e84e6b15825c6c37dcdba8bde56fa4e Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Sat, 9 Jul 2022 23:39:16 +0200 > Subject: [PATCH v2 1/3] gnu: openssl: Cross-compile to mingw. > > * gnu/packages/tls.scm (target->openssl-target): Add cases for mingw and > mingw64. [...] > From e4631751a4e435a2125b5d72f665f6ec0ef5d6e1 Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Tue, 19 Jul 2022 20:05:45 +0200 > Subject: [PATCH v2 2/3] guix: Add target-mips64el?. > > * guix/utils.scm (target-mips64el?): New function. It detects whether the > target system is mips64el. [...] > From ae3bffd19c2887342e28372c3c613e998eb21840 Mon Sep 17 00:00:00 2001 > From: Vivien Kraus > Date: Tue, 19 Jul 2022 20:09:14 +0200 > Subject: [PATCH v2 3/3] gnu: openssl: use target predicates from (guix ut= ils) > for openssl. > > --- > gnu/packages/tls.scm | 65 ++++++++++++++++++++++++++------------------ > 1 file changed, 38 insertions(+), 27 deletions(-) Added a commit log to this one and committed, thanks! =E2=80=98guix build openssl --target=3Dx86_64-w64-mingw32=E2=80=99 works an= d the funny part is that .dll files end up in bin/, but I think that=E2=80=99s intended= on Windows? Ludo=E2=80=99.