From patchwork Thu Oct 6 16:01:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 1785 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp387418wrs; Thu, 6 Oct 2022 09:02:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65lGboqB+P4e7b0Ch1RmL2YhilEUncVGIlEHRpNGrKHIqu/NsUYb+NGfK8hGJ1Cc1g0Kz/ X-Received: by 2002:a17:906:dc95:b0:782:f2a8:7e45 with SMTP id cs21-20020a170906dc9500b00782f2a87e45mr461446ejc.424.1665072168765; Thu, 06 Oct 2022 09:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665072168; cv=none; d=google.com; s=arc-20160816; b=Sf602NUUqdA6kmF0tKSkWL+nAohI83PSS0I7+VtmaI93iocuUikhNeaQQqo8r5/GoU l8nM8mQgV8s+uNPElnmnmuAW44THg7yrkctiZappVUP/9mcpfE+bPN5tKDjn5TCb+fQw QYgXHyKTQuNZN4jEqSuEA39fonyYnsGyp7Zpew0djjf/pgIyO1qk8ML2MegUHUJRmc57 CF3nzYU9NquScfGEQ+Mq9QJOuhUTOamAKNMqgEw6JuBjwjPrgqW2J5MpSFPkawEP8Qgt XMF0HSb7Ww71QnABlMqj9wplQQP3oop6CnAf4OoU9r0ZpWftRi8SFGFjJKlwWJYYAX59 xpxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mime-version:user-agent:organization:date:to:subject:message-id :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=zc2Y4MHLXwsE2I3UoSRaWggq0tisAPQl2htAnP0NXYw=; b=ctnPCjSrAQm5Yg5T7XAxo68QORXDhqpxfu6RvLoQwb0T2x7QMMg6KROQhO5LYOZ0UI pO6nXO/gk8k8LLjuNnpRAbMKty3F5H9ZD4InlpKTqauJ2ZCjZtouto/Sd4Vb4KkXKTmV Sce7GGHgvYxAVWFrmuvrW44iOkmgzYr+eKAD3Ghc57rESgwC/q3yh5/y6s13ZfX/r6rf 5xRcHo1NXpyhxD6BxQctkVLNGR5vG9RZZnlOwnMedpfB/JsH1/6u1BGkg+tCiJ/U6+mx p8/yCmFNLNwAf6t6kQJEez9zjyDxcNgmNUJlZ+8k8a78dcwJAm2lXGvkYynhi7yj9Q17 y37g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=VwOjYAMc; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id jg5-20020a170907970500b00782fb808b6csi14893704ejc.703.2022.10.06.09.02.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 09:02:48 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=VwOjYAMc; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 88D7B3898392 for ; Thu, 6 Oct 2022 16:02:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88D7B3898392 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665072167; bh=zc2Y4MHLXwsE2I3UoSRaWggq0tisAPQl2htAnP0NXYw=; h=Subject:To:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=VwOjYAMc4MzbBMBmhaeNVXPwKoVZbMboK8PsRaRBBStzD9qPcfm6ZUWbnCB5h8fn2 uLyKyCGxWeCkxQUpQAMmYB7r+2kul9n4JH47hFSXf3ZfN1orpr24g9mWjTiFUw9x2f tEejHGaZBuyE6dxkV1FENABlVWAGrOTS9bjXUab4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by sourceware.org (Postfix) with ESMTPS id 34FA53858022; Thu, 6 Oct 2022 16:01:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 34FA53858022 Received: by mail-lj1-x236.google.com with SMTP id a10so2785689ljq.0; Thu, 06 Oct 2022 09:01:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:organization:date:cc:to:reply-to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date; bh=zc2Y4MHLXwsE2I3UoSRaWggq0tisAPQl2htAnP0NXYw=; b=jYvd2b3d2+z4J2WxkdY8tX4PgpgCp7IV6/N9AogHp++5ckWH7r3X+D1J5CRjunRLlk wsL/eNx4EXrD8QmJpNWgwvHYUeuHkAUBb+7lapgyFPK8mQ+sD/CKFgWLQN9Ls71WE5oL zfLgq3rspJ52M451BEvDc8miqJLYEouHuQ4xFWjxd8I8Kh++YWvY2cVCLRSpbwg6ppe9 RsBWBz0skPm5YzJiFmUq75ZZJFwEDDq590zpUD/G9/4ZMRuG/JmkHebYdgcaWs1DAUtR iCsnBW1T9i97RvuNNFp3Mv1pGIKQyITkWZjUja2oLdgRNvRd20TDJgd+2NndxDdMz1+O koeg== X-Gm-Message-State: ACrzQf2QjpWggqICfMYg8qiXaKBNIKeCwHC+mQF91PPHzScxoLaVJEP2 Q6KqpnccFKx0anRUVEGV2pQ= X-Received: by 2002:a2e:a22b:0:b0:26d:fab0:13c9 with SMTP id i11-20020a2ea22b000000b0026dfab013c9mr126288ljm.201.1665072097345; Thu, 06 Oct 2022 09:01:37 -0700 (PDT) Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178]) by smtp.gmail.com with ESMTPSA id dt18-20020a0565122a9200b004947555dbc2sm2741727lfb.100.2022.10.06.09.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 09:01:36 -0700 (PDT) Message-ID: <55b2e9b94567fdba6e88e3a35af8773c2ed772e9.camel@gmail.com> Subject: gcc-12: FTBFS on hurd-i386 To: Debian Bug Tracking System Date: Thu, 06 Oct 2022 18:01:36 +0200 Organization: Home User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Svante Signell via Gcc-patches From: "Li, Pan2 via Gcc-patches" Reply-To: svante.signell@gmail.com Cc: gcc-patches , gcc-bugs@gcc.gnu.org Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745954714563687605?= X-GMAIL-MSGID: =?utf-8?q?1745954714563687605?= Source: gcc-12 Version: 12_12.2.0-5 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-hurd@lists.debian.org Hi, gcc-12-12.2.0-4/5 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error for gcc-11, gcc-12, gcc-snapshot): /<>/build/i686-gnu/libstdc++-v3/include/i686-gnu/bits/gthr- default.h:700: undefined reference to `pthread_once' Patches have already submitted upstream by Samuel Thibault in August and September, see https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600469.html https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601754.html Unfortunately upstream is not very responsive. Therefore I have taken the time to send these patches to Debian in the mean time. Patches extracted and attached from that mail message are: 1.diff-6.diff. Note that 1.diff does not apply to gcc-12, it is related to the git repo. This is reflected in attached debian_rules.patch by commenting out 1.diff. Just a reflection: Matthias you are really doing a great job with the gcc releases: Kudos! Thanks! --- a/debian/rules.patch 2022-08-22 09:44:25.000000000 +0200 +++ b/debian/rules.patch 2022-10-03 15:20:30.000000000 +0200 @@ -197,6 +197,12 @@ debian_patches += hurd-changes # FIXME: #1005297, PR 104660 debian_patches += libgo-hurd-hack +# debian_patches += 1 + debian_patches += 2 + debian_patches += 3 + debian_patches += 4 + debian_patches += 5 + debian_patches += 6 endif debian_patches += gcc-ice-dump