GNU bug report logs - #50517
[PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Sat, 11 Sep 2021 08:47:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#50517: closed ([PATCH core-updates-frozen] gnu: psm: Fix
 building with GCC 10.)
Date: Sat, 11 Sep 2021 09:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 11 Sep 2021 09:23:04 +0000
with message-id <878s03h3d7.fsf <at> kitej>
and subject line Re: [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.
has caused the debbugs.gnu.org bug report #50517,
regarding [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
50517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50517
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Felix Gruber <felgru <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH core-updates-frozen] gnu: psm: Fix building with GCC 10.
Date: Sat, 11 Sep 2021 08:46:34 +0000
* 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 <maximedevos <at> telenet.be>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian <at> mgsn.dev>
+;;; Copyright © 2021 Felix Gruber <felgru <at> posteo.net>
 ;;;
 ;;; 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



[Message part 3 (message/rfc822, inline)]
From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Felix Gruber <felgru <at> posteo.net>
Cc: 50517-done <at> debbugs.gnu.org
Subject: Re: [bug#50517] [PATCH core-updates-frozen] gnu: psm: Fix building
 with GCC 10.
Date: Sat, 11 Sep 2021 09:23:04 +0000
[Message part 4 (text/plain, inline)]
Patch pushed as abe4bdad800589a84d75903d5b85a1d798a6924a.
Thanks.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.