From unknown Fri Jun 20 20:12:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Sep 2021 08:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50517@debbugs.gnu.org Cc: Felix Gruber X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16313500172469 (code B ref -1); Sat, 11 Sep 2021 08:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2021 08:46:57 +0000 Received: from localhost ([127.0.0.1]:39550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOyf2-0000dl-Ue for submit@debbugs.gnu.org; Sat, 11 Sep 2021 04:46:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:48962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOyf1-0000de-9p for submit@debbugs.gnu.org; Sat, 11 Sep 2021 04:46:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOyf1-0000F4-1f for guix-patches@gnu.org; Sat, 11 Sep 2021 04:46:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOyey-0003PD-Lo for guix-patches@gnu.org; Sat, 11 Sep 2021 04:46:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 977F4240104 for ; Sat, 11 Sep 2021 10:46:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631350009; bh=lWqwhEk+6jgy6/tJwqwTq1/YKeh60th7v7TMiruXx54=; h=From:To:Cc:Subject:Date:From; b=MA4fb3hjJvm4OVsZAAqiuVV04rz0TcOoGLVwX0h9GXlAisKZUMaRtbB3kTGnp9x7P S14SysTqGc+UKv4A6Dnwb+sQ6fPDvuRi6fSSOrDJwCFJarhuCyAPDhZRA/L7G2OeF5 RGubP8QPRVyTNNh9/WDZF/XIbhnw7qFtR5GgEAXu/4OohkwpfnvhfnaBlYKdYd7GhB VJyIxQtPuuC8bvUe/bCiDMg6gFJXWZuB+OQudIe5hcD0sV8PG8g725amhGZClXRfNY FVxalTO4zuTd1tLidX+S/brBGsDz9hDX7wDp2eNfc2cyPDooJZuQr+++LHUU508osP DwNud+H9H8fTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H65vX1s01z6tm9; Sat, 11 Sep 2021 10:46:47 +0200 (CEST) From: Felix Gruber Date: Sat, 11 Sep 2021 08:46:34 +0000 Message-Id: <20210911084634.6997-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/linux.scm (psm)[arguments]: Pass '-fcommon' to CFLAGS. I had to copy all the CFLAGS that were originally defined by the Makefile as they were otherwise all replaced by '-fcommon'. --- gnu/packages/linux.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1305a80f56..122c2773fb 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -7256,6 +7257,11 @@ libraries, which are often integrated directly into libfabric.") (arguments '(#:make-flags `("PSM_USE_SYS_UUID=1" "CC=gcc" "WERROR=" ,(string-append "INSTALL_PREFIX=" %output) + ,(string-append "CFLAGS=-Wall -fpic -fPIC -D_GNU_SOURCE" + " -funwind-tables -O3 -g3" + " -DPSM_USE_SYS_UUID" + " -Wno-strict-aliasing -DNVALGRIND" + " -fcommon") ,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) #:tests? #f #:phases (modify-phases %standard-phases -- 2.30.2 From unknown Fri Jun 20 20:12:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Felix Gruber Subject: bug#50517: closed (Re: [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.) Message-ID: References: <878s03h3d7.fsf@kitej> <20210911084634.6997-1-felgru@posteo.net> X-Gnu-PR-Message: they-closed 50517 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 50517@debbugs.gnu.org Date: Sat, 11 Sep 2021 09:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1631352302-6049-1" This is a multi-part message in MIME format... ------------=_1631352302-6049-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50517: [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50517@debbugs.gnu.org. --=20 50517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50517 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1631352302-6049-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50517-done) by debbugs.gnu.org; 11 Sep 2021 09:24:18 +0000 Received: from localhost ([127.0.0.1]:39558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOzFC-0001YY-09 for submit@debbugs.gnu.org; Sat, 11 Sep 2021 05:24:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOzF9-0001YK-Af for 50517-done@debbugs.gnu.org; Sat, 11 Sep 2021 05:24:16 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D9737240101 for <50517-done@debbugs.gnu.org>; Sat, 11 Sep 2021 11:24:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631352248; bh=TRmd9DcPBw7HWc+DZmF8nkgBiFCgIAT5s9iebs7J7Ak=; h=From:To:Cc:Subject:Date:From; b=Y3hfaR7VWM1M7r98iXwW9Ju9IB+xGlf+TCqBjvsxSE/XFtTe9OPhwDpMbjEmeONe5 JZAGETawGTCkpYIKqyYiWnwHnDcCMG0Ijinpv9uHxyhoqKSvYfpvN83XM5haDjot8V JCfYzzD835k0e49x60k4OZGzNhYuhbXWU7rRTljkG4NoktYuKfnX1Kx/1PHfM6TKK9 4IaIHKk/Je8mQqPD+auexfDN4tbPvWMNdRvnjlvcQqQmv0eaEnd3RaXULaI6O0Fhvy kXGgMK/E8C3RluTGsjf8ah3JbgFFAzfKSvHhyravq8vJ3qu/++EildUPrnkE06kNDJ iJfb4S7ehGRQA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H66kb4vCDz9rxD; Sat, 11 Sep 2021 11:24:07 +0200 (CEST) References: <20210911084634.6997-1-felgru@posteo.net> From: Guillaume Le Vaillant To: Felix Gruber Subject: Re: [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10. Date: Sat, 11 Sep 2021 09:23:04 +0000 In-reply-to: <20210911084634.6997-1-felgru@posteo.net> Message-ID: <878s03h3d7.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50517-done Cc: 50517-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Patch pushed as abe4bdad800589a84d75903d5b85a1d798a6924a. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYTx1tA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9seAD/bQzFm7yuxIQYDtQXjsL9+EIs7rWKnbbj55Mp 6/wIKK0A/3s+VUH7zlWGZ8K1cD6/F9JyOI9du3LZHqQIlIGXxD2A =0YVP -----END PGP SIGNATURE----- --=-=-=-- ------------=_1631352302-6049-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Sep 2021 08:46:57 +0000 Received: from localhost ([127.0.0.1]:39550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOyf2-0000dl-Ue for submit@debbugs.gnu.org; Sat, 11 Sep 2021 04:46:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:48962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOyf1-0000de-9p for submit@debbugs.gnu.org; Sat, 11 Sep 2021 04:46:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOyf1-0000F4-1f for guix-patches@gnu.org; Sat, 11 Sep 2021 04:46:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOyey-0003PD-Lo for guix-patches@gnu.org; Sat, 11 Sep 2021 04:46:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 977F4240104 for ; Sat, 11 Sep 2021 10:46:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631350009; bh=lWqwhEk+6jgy6/tJwqwTq1/YKeh60th7v7TMiruXx54=; h=From:To:Cc:Subject:Date:From; b=MA4fb3hjJvm4OVsZAAqiuVV04rz0TcOoGLVwX0h9GXlAisKZUMaRtbB3kTGnp9x7P S14SysTqGc+UKv4A6Dnwb+sQ6fPDvuRi6fSSOrDJwCFJarhuCyAPDhZRA/L7G2OeF5 RGubP8QPRVyTNNh9/WDZF/XIbhnw7qFtR5GgEAXu/4OohkwpfnvhfnaBlYKdYd7GhB VJyIxQtPuuC8bvUe/bCiDMg6gFJXWZuB+OQudIe5hcD0sV8PG8g725amhGZClXRfNY FVxalTO4zuTd1tLidX+S/brBGsDz9hDX7wDp2eNfc2cyPDooJZuQr+++LHUU508osP DwNud+H9H8fTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H65vX1s01z6tm9; Sat, 11 Sep 2021 10:46:47 +0200 (CEST) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10. Date: Sat, 11 Sep 2021 08:46:34 +0000 Message-Id: <20210911084634.6997-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/linux.scm (psm)[arguments]: Pass '-fcommon' to CFLAGS. I had to copy all the CFLAGS that were originally defined by the Makefile as they were otherwise all replaced by '-fcommon'. --- gnu/packages/linux.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1305a80f56..122c2773fb 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -7256,6 +7257,11 @@ libraries, which are often integrated directly into libfabric.") (arguments '(#:make-flags `("PSM_USE_SYS_UUID=1" "CC=gcc" "WERROR=" ,(string-append "INSTALL_PREFIX=" %output) + ,(string-append "CFLAGS=-Wall -fpic -fPIC -D_GNU_SOURCE" + " -funwind-tables -O3 -g3" + " -DPSM_USE_SYS_UUID" + " -Wno-strict-aliasing -DNVALGRIND" + " -fcommon") ,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) #:tests? #f #:phases (modify-phases %standard-phases -- 2.30.2 ------------=_1631352302-6049-1--