GNU bug report logs - #51008
[PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10

Previous Next

Package: guix-patches;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Mon, 4 Oct 2021 13:52:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: bug#51008: closed (Re: bug#51008: [PATCH core-updates-frozen]
 gnu: light: Fix compilation with GCC 10)
Date: Mon, 04 Oct 2021 14:13:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#51008: [PATCH core-updates-frozen] gnu: light: Fix compilation 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 51008 <at> debbugs.gnu.org.

-- 
51008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51008
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 51008-done <at> debbugs.gnu.org
Subject: Re: bug#51008: [PATCH core-updates-frozen] gnu: light: Fix
 compilation with GCC 10
Date: Mon, 04 Oct 2021 14:11:58 +0000
> * gnu/packages/linux.scm (light): Add -fcommon compile flag.

Added your copyright and pushed,

Thanks,

Mathieu

[Message part 3 (message/rfc822, inline)]
From: Josselin Poiret <dev <at> jpoiret.xyz>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10
Date: Mon, 04 Oct 2021 13:51:37 +0000
-fno-common is default in GCC 10, which resulted in build failures.

* gnu/packages/linux.scm (light): Add -fcommon compile flag.
---
 gnu/packages/linux.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a919183068..756f9387c6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6842,7 +6842,8 @@ monitoring tools for Linux.  These include @code{mpstat}, @code{iostat},
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("CFLAGS=-fcommon")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-udev-rules-absolute-path-bins
            (lambda* (#:key inputs #:allow-other-keys)
--
2.33.0





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

Previous Next


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