From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2DXzF4URDWdTagEA62LTzQ:P1 (envelope-from ) for ; Mon, 14 Oct 2024 12:41:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2DXzF4URDWdTagEA62LTzQ (envelope-from ) for ; Mon, 14 Oct 2024 14:41:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jvdXYOWm; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jkqT2fsn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728909700; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lFzIH7ZoTqGJAOvb2PQJMBUp+6hc73BGcUWjHpJuyAM=; b=e1CXgL7LkLoQNqgVsR+aG2X70zyMuga0gspqwvlO1SsnugLbOwoS7BDW8qxclgNTOfpy8S OUpkRI+H0IST6/2eoi64MiozwAGEg86Ki8UrYgfAry2osGWZk+A+WqwIyCCgowypoV/igL h4cTwqybXwxEv4Ln+L+Oaw5eh0QjNvRfQdkT7yTh/drwEgbsKE0uRt3Fzw+4zQly4b3vv5 AFcqnY4ZgJD9TYP7pyjB+UuKXAyJ3DcOlE7h1klokqdedKvU+5bRWANkalhvoWhSrqH5/L C6XjtqnCqJqMJx9ALIw3dW6UnD0SJ1Zjhz0JIvcSAyPwVKTXFdQgDRu0y6DgJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728909700; a=rsa-sha256; cv=none; b=hmvHTps5RSl+0D4AYjhV+Ddb1x0O6glvJMCKQOSZqkjTis6ycgaLfNpLRC6yJZrcOhSeyt 53JNVruVhLtNZCLneKaScAz99F/MSCki7lRarzq7ewoOoDz8ZyUoNWRfPnI1ZbRmXOEVbJ Iw4pnUJUr1O8DskeBv3/dtNZ28HvV8ac0/KBcx43iFBYdx4GFKeo9XmFjUVqaG94tMHvO0 kEZLWPaLp+tSoCHlLemkPdJuRV96qNUx3qeoopeYnIWhgPsEu1Ff1XvBwnQR69wY1CntkP 8LBMPZgYjjqCL8tQSirCQwWmJ7ul3wBPv/rKFdcn6wR5Ff/p1pTaywhtoy67Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jvdXYOWm; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jkqT2fsn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 53EB05CBDB for ; Mon, 14 Oct 2024 14:41:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0KNU-0001kx-Qt; Mon, 14 Oct 2024 08:40:49 -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 ) id 1t0KNT-0001k4-5f for guix-patches@gnu.org; Mon, 14 Oct 2024 08:40:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0KNS-00041l-Sn for guix-patches@gnu.org; Mon, 14 Oct 2024 08:40:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=lFzIH7ZoTqGJAOvb2PQJMBUp+6hc73BGcUWjHpJuyAM=; b=jvdXYOWmXRYWbkkDfAqrjK3v6zm93jyMdNl+QzRkA60TYHD7uNkg3yV9D0ikKI23BWRnh4UWincKJS8MuE7KABV8xk5qBYYevku+FsjwznYBmK2CZn9Pspq1EsXjb+7KeX1hMZJZfX2BWVkf/qHKe1r2CLR6RL8Q3lyMcQQdLNA5KIvHhcQiFjoNDTdeKslwmmXT71Roy+hUTcwFqIIoDiSepbbwbMteuG9p7Mw/22dEni6Z16O+ADaCoeZLOzAC8Og9isoktb2BLcvesm7UJgz7JhXV3jDPij4GXDh0+SMYD9RE1EpPQlMUDZX2pdUQQVYCcAZTRADTFMIh4/6RmA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0KNj-0008W8-I5 for guix-patches@gnu.org; Mon, 14 Oct 2024 08:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73793] [PATCH] gnu: gcc-9: Fix name conflict for newer glibc versions Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Oct 2024 12:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73793 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Rutherther Cc: Andreas Enge , 73793@debbugs.gnu.org Received: via spool by 73793-submit@debbugs.gnu.org id=B73793.172890962232341 (code B ref 73793); Mon, 14 Oct 2024 12:41:03 +0000 Received: (at 73793) by debbugs.gnu.org; 14 Oct 2024 12:40:22 +0000 Received: from localhost ([127.0.0.1]:37034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0KN3-0008Or-Of for submit@debbugs.gnu.org; Mon, 14 Oct 2024 08:40:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Jgd-0004th-Hb for 73793@debbugs.gnu.org; Mon, 14 Oct 2024 07:56:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0Jd4-00067E-JP; Mon, 14 Oct 2024 07:52:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=lFzIH7ZoTqGJAOvb2PQJMBUp+6hc73BGcUWjHpJuyAM=; b=jkqT2fsnlo8LYVJC0BR5 YtgC7Ilu7IrVPH/c8lWdvnqWvv642ZvykJQ6KbWFhUAELq2t/V9D5WCyZY6H9nMU0Z9tgc+Rk07z4 gygZYodmdosDbC1h9zTyvWvUbAGIDlW/yMr5eKE9FhnhLrVZTXdzub+fj2k2buKpTC+jr+E5Hr2M8 NJhQbq7HetDv5IztEg6627l1EbQfdGmrCeHdKiwic7v7FtoUHg7vHsUCo2As0ol0zcZqMvF9eoAd2 UGv+v1NcNya/1QT0WBiz5dk7XLXF0s6GhuGSVXSlOPc7znLxSzD+iP4Sop3iT50CXLeHlquS7Eh/L kQQ4TY6AO2rIBA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (rutherther@ditigal.xyz's message of "Sun, 13 Oct 2024 17:22:36 +0200") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 23 =?UTF-8?Q?Vend=C3=A9miaire?= an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Navet X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 14 Oct 2024 13:52:48 +0200 Message-ID: <87a5f63nqn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.50 X-Spam-Score: -3.50 X-Migadu-Queue-Id: 53EB05CBDB X-Migadu-Scanner: mx13.migadu.com X-TUID: HfVODD746M4M Rutherther skribis: > Note: not tested yet, I am currently building it locally. > > Since newer glibc version there is a conflict in names. > This uses a patch that was used upstream in llvm to bypass it. > > * gnu/packages/patches/gcc-9-glibc-name-conflict.patch: Add gcc 9 glibc p= atch. > * gnu/local.mk: Register it. > * gnu/packages/gcc.scm (gcc-9)[source]: Use it. > > Change-Id: Ibb8446b7bba52f72d82fcf69804cae09215daeed [...] > +++ b/gnu/packages/patches/gcc-9-glibc-name-conflict.patch > @@ -0,0 +1,54 @@ > +From b379129c4beb3f26223288627a1291739f33af02 Mon Sep 17 00:00:00 2001 > +From: Fangrui Song > +Date: Mon, 11 Jul 2022 11:38:28 -0700 > +Subject: [PATCH] [sanitizer] Remove #include to resolve > + fsconfig_command/mount_attr conflict with glibc 2.36 > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=3DUTF-8 > +Content-Transfer-Encoding: 8bit > + > +It is generally not a good idea to mix usage of glibc headers and Linux = UAPI > +headers (https://sourceware.org/glibc/wiki/Synchronizing_Headers). In gl= ibc > +since 7eae6a91e9b1670330c9f15730082c91c0b1d570 (milestone: 2.36), sys/mo= unt.h > +defines `fsconfig_command` which conflicts with linux/mount.h: > + > + .../usr/include/linux/mount.h:95:6: error: redeclaration of =E2=80= =98enum fsconfig_command=E2=80=99 Instead of this new patch, could you check whether =E2=80=98gcc-7-libsanitizer-fsconfig-command.patch=E2=80=99 applies? If not, could you make sure the new patch has a name similar to the other ones in this area and a similar header? Thanks in advance, Ludo=E2=80=99.