Message ID | 234715f3c0fe265574fd9708abe0e057ee3c1641.1681770007.git.vivien@planete-kraus.eu |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0D98F17969; Mon, 17 Apr 2023 23:29:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9186A1790F for <patchwork@mira.cbaines.net>; Mon, 17 Apr 2023 23:29:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1poXLN-00054L-HZ; Mon, 17 Apr 2023 18:29:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1poXLM-00054D-80 for guix-patches@gnu.org; Mon, 17 Apr 2023 18:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1poXLK-0003D1-Id for guix-patches@gnu.org; Mon, 17 Apr 2023 18:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1poXLK-0007Xe-Dj for guix-patches@gnu.org; Mon, 17 Apr 2023 18:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62916] [PATCH core-updates 1/2] gnu: gcc: do not build gcov. Resent-From: Vivien Kraus <vivien@planete-kraus.eu> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2023 22:29:02 +0000 Resent-Message-ID: <handler.62916.B62916.168177050728944@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62916 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62916@debbugs.gnu.org Received: via spool by 62916-submit@debbugs.gnu.org id=B62916.168177050728944 (code B ref 62916); Mon, 17 Apr 2023 22:29:02 +0000 Received: (at 62916) by debbugs.gnu.org; 17 Apr 2023 22:28:27 +0000 Received: from localhost ([127.0.0.1]:57135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1poXKk-0007Wm-QE for submit@debbugs.gnu.org; Mon, 17 Apr 2023 18:28:27 -0400 Received: from planete-kraus.eu ([89.234.140.182]:51112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vivien@planete-kraus.eu>) id 1poXKh-0007Wb-VX for 62916@debbugs.gnu.org; Mon, 17 Apr 2023 18:28:24 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id ae20e3ff for <62916@debbugs.gnu.org>; Mon, 17 Apr 2023 22:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to :mime-version; s=dkim; bh=HOJARSGlu57mSz7BHn09OQjNnkI=; b=anr1Wc oFEUtrvdqWPswJ2m+DIzqBG9//ZnB6HTzhTf7lfOfxInEzwpeh0fcTHmiAdyP9k2 VhUfBaVbUftApd2KulzidvfDB2D9KeMDizPjxjiV7Glf8v4wNYoZhBClSsfNLDNj se+yLgyMN+XjXHsGYf6ReP8vOtomLizF0mPvw= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 8e900e2c (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <62916@debbugs.gnu.org>; Mon, 17 Apr 2023 22:28:19 +0000 (UTC) Message-Id: <234715f3c0fe265574fd9708abe0e057ee3c1641.1681770007.git.vivien@planete-kraus.eu> In-Reply-To: <cover.1681770007.git.vivien@planete-kraus.eu> References: <cover.1681770007.git.vivien@planete-kraus.eu> Date: Tue, 18 Apr 2023 00:09:55 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.46.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Vivien Kraus <vivien@planete-kraus.eu> X-ACL-Warn: , Vivien Kraus via Guix-patches <guix-patches@gnu.org> From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Try to fix p11-kit compilation to mingw
|
|
Commit Message
Vivien Kraus
April 17, 2023, 10:09 p.m. UTC
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when targetting mingw. --- gnu/packages/gcc.scm | 4 ++++ 1 file changed, 4 insertions(+)
Comments
Hi, Vivien Kraus <vivien@planete-kraus.eu> skribis: > * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when > targetting mingw. Pushed this one as 74038cf66e3a8cdcd9d97a81d9176c3cdefdaaf7. The p11-kit story isn’t good, but I’m not sure how to address it. When we find a way, we can add a feature branch to rebuild everything that depends on it though. Thanks! Ludo’.
Hi! > The p11-kit story isn’t good, but I’m not sure how to address it. When > we find a way, we can add a feature branch to rebuild everything that > depends on it though. I just found out how to fix the makefiles, and the moment I was about to send the patch, I received your reply. This V2 does not fix the core issue, but at least it builds on mingw now! The core problem in the build system is that every auxiliary program is a mix of re-compiled common sources, static libraries, and the main shared object. I decided to use static libraries everywhere I can. This is gross but at least it links now, so this is a W I guess? What do you think? Best regards, Vivien Vivien Kraus (1): gnu: p11-kit: fix build on mingw. gnu/local.mk | 3 +- .../p11-kit-fix-build-system-for-mingw.patch | 108 ++++++++++++++++++ gnu/packages/tls.scm | 14 ++- 3 files changed, 123 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/p11-kit-fix-build-system-for-mingw.patch base-commit: 74038cf66e3a8cdcd9d97a81d9176c3cdefdaaf7
I noticed that the only problem was the way to generate the list of symbols for the DLL. So I don’t have to fix anything in the build system. Vivien Kraus (1): gnu: p11-kit: fix build on mingw. gnu/packages/tls.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) base-commit: 74038cf66e3a8cdcd9d97a81d9176c3cdefdaaf7
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 5b1ef83ce6..c6575bf9db 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -88,6 +88,10 @@ (define (gcc-configure-flags-for-triplet target) (string-prefix? "powerpc-" target)) '("--with-long-double-128")) + ;; See https://bugs.gentoo.org/show_bug.cgi?id=843989 + ((target-mingw? target) + '("--disable-gcov")) + (else ;; TODO: Add `arm.*-gnueabi', etc. '())))