From patchwork Mon Oct 4 13:51:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 33600 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9177727BBE3; Mon, 4 Oct 2021 14:57:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 565F827BBE1 for ; Mon, 4 Oct 2021 14:57:52 +0100 (BST) Received: from localhost ([::1]:37722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXOTW-0006hw-EP for patchwork@mira.cbaines.net; Mon, 04 Oct 2021 09:57:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXONu-00064C-Vt for guix-patches@gnu.org; Mon, 04 Oct 2021 09:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXONu-0004hV-OA for guix-patches@gnu.org; Mon, 04 Oct 2021 09:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXONu-0003vi-Hb for guix-patches@gnu.org; Mon, 04 Oct 2021 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51008] [PATCH core-updates-frozen] gnu: light: Fix compilation with GCC 10 Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Oct 2021 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51008 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51008@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163335552015094 (code B ref -1); Mon, 04 Oct 2021 13:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Oct 2021 13:52:00 +0000 Received: from localhost ([127.0.0.1]:35976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXONs-0003vO-4j for submit@debbugs.gnu.org; Mon, 04 Oct 2021 09:52:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:55590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXONm-0003v9-8l for submit@debbugs.gnu.org; Mon, 04 Oct 2021 09:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXONl-0005f9-UT for guix-patches@gnu.org; Mon, 04 Oct 2021 09:51:53 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:64750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXONh-0004RS-Sh for guix-patches@gnu.org; Mon, 04 Oct 2021 09:51:53 -0400 Date: Mon, 04 Oct 2021 13:51:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=protonmail2; t=1633355501; bh=Au/ryuNY4OxU+Ip5PqJMu2xVVjyvGkQIjrJiimrBMzw=; h=Date:To:From:Reply-To:Subject:From; b=gOW30RwjX4ghpsska6imUwOegqbp3A9+aEfYNLAgFctUjtLX40g0Sn+EdO+qM89Ln Z9Ia1tP9xQYj/eKb8dc2s7EEL2I2QXGjwcAe07NE+1L27WZsVojJhzWCOFKARPvCdN EKV75wJUT54jOOwuuuvhxDwnb8rxp+dC7UHTqm5mKvVWa33hbk8nQ2h8Sc7gKpLjXo qivezR2i7dZUDgX9VsHTBODItbxZR2/7xbKkez6c02RlPExNXbLWYj0tHEk87iBD36 3APNRFdzRJ1MchKJOfTDfZMe4X0A8x3lOVXpSC36dYKb/xgxwoeJgUzWWxbI6fDAGs u7GnH9OXGBpoA== From: Josselin Poiret Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=dev@jpoiret.xyz; helo=mail2.protonmail.ch X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-To: Josselin Poiret Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches -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(-) -- 2.33.0 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)