can't find file to patch at input line 101 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Wed Nov 3 16:28:35 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 7bit |X-Patchwork-Submitter: Florian Weimer |X-Patchwork-Id: 47011 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 438193858006 | for ; Wed, 3 Nov 2021 16:37:39 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 438193858006 |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1635957459; | bh=8OdslCkpqKasIR1zpme9n9qduq4cVAxfQBRjHkRCjZY=; | h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=ydA5lYOlCfypCTFZ7lcb/i2ULjyNx/dcvXF9vwYg8ayNKyzMaQkQnk2Udjlctlqqs | Qc8228h8SqmRaYvkF1plOdEs9FrJbfbD/m81DsV5+ieF1J5NuiKKTe1fjW8Wh6tg3p | pb9BeAw25tZH3NjPOyBST354sJ62qtJME53plAuc= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from us-smtp-delivery-124.mimecast.com | (us-smtp-delivery-124.mimecast.com [170.10.133.124]) | by sourceware.org (Postfix) with ESMTPS id 2BD693858439 | for ; Wed, 3 Nov 2021 16:28:41 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BD693858439 |Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com | [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id | us-mta-236-yx2hi18xOAuJafmGJ-I6Jg-1; Wed, 03 Nov 2021 12:28:39 -0400 |X-MC-Unique: yx2hi18xOAuJafmGJ-I6Jg-1 |Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com | [10.5.11.12]) | (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) | (No client certificate requested) | by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9300E8799EB; | Wed, 3 Nov 2021 16:28:38 +0000 (UTC) |Received: from oldenburg.str.redhat.com (unknown [10.39.192.3]) | by smtp.corp.redhat.com (Postfix) with ESMTPS id 54B6560CC4; | Wed, 3 Nov 2021 16:28:37 +0000 (UTC) |To: gcc-patches@gcc.gnu.org |Subject: [PATCH 1/4] libgcc: Remove tbase member from struct | unw_eh_callback_data |In-Reply-To: |References: |X-From-Line: eb8f3783f4345df6bf08431cac2fe7bb81421898 Mon Sep 17 00:00:00 2001 |Message-Id: | |Date: Wed, 03 Nov 2021 17:28:35 +0100 |User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |MIME-Version: 1.0 |X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 |X-Mimecast-Spam-Score: 0 |X-Mimecast-Originator: redhat.com |X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, | DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, | RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, | TXREP autolearn=ham autolearn_force=no version=3.4.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: Florian Weimer via Libc-alpha | |From: Florian Weimer |Reply-To: Florian Weimer |Cc: Jakub Jelinek , libc-alpha@sourceware.org, | Jason Merrill |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |It is always a null pointer. | |libgcc/ChangeLog | | * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove | tbase member. | (base_from_cb_data): Adjust. | (_Unwind_IteratePhdrCallback): Likewise. | (_Unwind_Find_FDE): Likewise. |--- | libgcc/unwind-dw2-fde-dip.c | 8 +++----- | 1 file changed, 3 insertions(+), 5 deletions(-) | |diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c |index 5095b6830bf..4a4d990f455 100644 |--- a/libgcc/unwind-dw2-fde-dip.c |+++ b/libgcc/unwind-dw2-fde-dip.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 246 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |From patchwork Wed Nov 3 16:28:41 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 7bit |X-Patchwork-Submitter: Florian Weimer |X-Patchwork-Id: 47013 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 2BAFF385841C | for ; Wed, 3 Nov 2021 16:39:18 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BAFF385841C |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1635957558; | bh=YuHMe4z3BFhXdhfe+qXL5Vl2HiGaRCMl72hQuD0FCNg=; | h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=K4CClEuZiKkaCy1kvxb+ccmcbWe0ZmpAHDJq9hgl1tmoHRrb2zS+l6gHpLyrELJKQ | R3tlRQdrwF2YADQMEH6mXw2Ylvq2N/zCb3IZQ/fzsjmJ5Z3K5vJKkZD01/cZsqF+cX | uDi0vNfd+7gwNgxf5nggTSeb/HIHWxbjqyencSRg= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from us-smtp-delivery-124.mimecast.com | (us-smtp-delivery-124.mimecast.com [170.10.133.124]) | by sourceware.org (Postfix) with ESMTPS id C2EE43858437 | for ; Wed, 3 Nov 2021 16:28:48 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C2EE43858437 |Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com | [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id | us-mta-582-UjepW000MAeb0S_PNqu98Q-1; Wed, 03 Nov 2021 12:28:46 -0400 |X-MC-Unique: UjepW000MAeb0S_PNqu98Q-1 |Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com | [10.5.11.15]) | (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) | (No client certificate requested) | by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4F7B218125C2; | Wed, 3 Nov 2021 16:28:45 +0000 (UTC) |Received: from oldenburg.str.redhat.com (unknown [10.39.192.3]) | by smtp.corp.redhat.com (Postfix) with ESMTPS id AA96A5F4F5; | Wed, 3 Nov 2021 16:28:43 +0000 (UTC) |To: gcc-patches@gcc.gnu.org |Subject: [PATCH 2/4] libgcc: Remove dbase member from struct | unw_eh_callback_data if NULL |In-Reply-To: |References: |X-From-Line: f885ea5d19633e1281b083d93bb67ca6d18f86c0 Mon Sep 17 00:00:00 2001 |Message-Id: | |Date: Wed, 03 Nov 2021 17:28:41 +0100 |User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |MIME-Version: 1.0 |X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 |X-Mimecast-Spam-Score: 0 |X-Mimecast-Originator: redhat.com |X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, | DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, | RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, | TXREP autolearn=ham autolearn_force=no version=3.4.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: Florian Weimer via Libc-alpha | |From: Florian Weimer |Reply-To: Florian Weimer |Cc: Jakub Jelinek , libc-alpha@sourceware.org, | Jason Merrill |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |Only i386 and nios2 need this member at present. | |libgcc/ChangeLog | | * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define. | (struct unw_eh_callback_data): Make dbase member conditional. | (unw_eh_callback_data_dbase): New function. | (base_from_cb_data): Simplify for the non-dbase case. | (_Unwind_IteratePhdrCallback): Adjust. | (_Unwind_Find_FDE): Likewise. |--- | libgcc/unwind-dw2-fde-dip.c | 46 +++++++++++++++++++++++++++++++------ | 1 file changed, 39 insertions(+), 7 deletions(-) | |diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c |index 4a4d990f455..3f302826d2d 100644 |--- a/libgcc/unwind-dw2-fde-dip.c |+++ b/libgcc/unwind-dw2-fde-dip.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 9 out of 9 hunks ignored can't find file to patch at input line 479 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |From patchwork Wed Nov 3 16:28:48 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 7bit |X-Patchwork-Submitter: Florian Weimer |X-Patchwork-Id: 47015 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 164E23858018 | for ; Wed, 3 Nov 2021 16:40:57 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 164E23858018 |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1635957657; | bh=qKRPFTqNFH5Hk4bpOff+Jem3rqdIzBbQVE/H+JTfspU=; | h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=trEHEQptn+c1blsiGjVTemaVrcLhmrI1QQdNO4N/hltLddFirzqTDaeB2IncZIK8i | iCBtED2ixFwFfSizH2Da7UtIJRvhOpeLaXpH1EkZE9fZOmH7+GmfDI49ArL/JVIVR+ | tlgQujb5WFFH3++h8soLY/Hp8IFlTWY7Q8TIXxVk= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from us-smtp-delivery-124.mimecast.com | (us-smtp-delivery-124.mimecast.com [170.10.133.124]) | by sourceware.org (Postfix) with ESMTPS id 21801385840A | for ; Wed, 3 Nov 2021 16:28:55 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 21801385840A |Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com | [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id | us-mta-250-EuI_jWiHOGuwDcrggiBNNQ-1; Wed, 03 Nov 2021 12:28:53 -0400 |X-MC-Unique: EuI_jWiHOGuwDcrggiBNNQ-1 |Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com | [10.5.11.16]) | (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) | (No client certificate requested) | by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CFDFC18125C2; | Wed, 3 Nov 2021 16:28:52 +0000 (UTC) |Received: from oldenburg.str.redhat.com (unknown [10.39.192.3]) | by smtp.corp.redhat.com (Postfix) with ESMTPS id 1768968D7D; | Wed, 3 Nov 2021 16:28:49 +0000 (UTC) |To: gcc-patches@gcc.gnu.org |Subject: [PATCH 3/4] libgcc: Split FDE search code from PT_GNU_EH_FRAME lookup |In-Reply-To: |References: |X-From-Line: 53daedec153e3bf9b1a9c14f61cfe23385de80c9 Mon Sep 17 00:00:00 2001 |Message-Id: | <53daedec153e3bf9b1a9c14f61cfe23385de80c9.1635955148.git.fweimer@redhat.com> |Date: Wed, 03 Nov 2021 17:28:48 +0100 |User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |MIME-Version: 1.0 |X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 |X-Mimecast-Spam-Score: 0 |X-Mimecast-Originator: redhat.com |X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, | DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, | RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, | TXREP autolearn=ham autolearn_force=no version=3.4.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: Florian Weimer via Libc-alpha | |From: Florian Weimer |Reply-To: Florian Weimer |Cc: Jakub Jelinek , libc-alpha@sourceware.org, | Jason Merrill |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |This allows switching to a different implementation for |PT_GNU_EH_FRAME lookup in a subsequent commit. | |This moves some of the PT_GNU_EH_FRAME parsing out of the glibc loader |lock that is implied by dl_iterate_phdr. However, the FDE is already |parsed outside the lock before this change, so this does not introduce |additional crashes in case of a concurrent dlclose. | |libunwind/ChangeLog | | * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr. | Remove func, ret. | (struct find_fde_tail_result): New. | (find_fde_tail): New function. Split from | _Unwind_IteratePhdrCallback. | (_Unwind_Find_FDE): Add call to find_fde_tail. |--- | libgcc/unwind-dw2-fde-dip.c | 91 +++++++++++++++++++++---------------- | 1 file changed, 52 insertions(+), 39 deletions(-) | |diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c |index 3f302826d2d..272c0ec46c0 100644 |--- a/libgcc/unwind-dw2-fde-dip.c |+++ b/libgcc/unwind-dw2-fde-dip.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 10 out of 10 hunks ignored can't find file to patch at input line 756 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |From patchwork Wed Nov 3 16:28:55 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 7bit |X-Patchwork-Submitter: Florian Weimer |X-Patchwork-Id: 47018 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 2EEB43858420 | for ; Wed, 3 Nov 2021 16:43:33 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2EEB43858420 |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1635957813; | bh=KOIPiB0u0B9vBOh0n3qIdJXW3jsfKrvRvZazyMCQHS8=; | h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=XYqg7XR6Um64it5V/woO598x9Ne2TvbF+Q3iz5iOzW/xoSMuSty1wT84Af9wZXqXY | KJ2Nf4LviBsxhJRjOhiheWKJePSpa1SnKXCS45eNzsoR9TFvw86shfJv17BOtggtAI | BC9+3JpHIfxrw3go49kuM1XqabAHhnxph/q111R8= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from us-smtp-delivery-124.mimecast.com | (us-smtp-delivery-124.mimecast.com [170.10.129.124]) | by sourceware.org (Postfix) with ESMTPS id 7D5393858023 | for ; Wed, 3 Nov 2021 16:29:04 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7D5393858023 |Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com | [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id | us-mta-177-suS8xzUhOzipRLqN0QiVhQ-1; Wed, 03 Nov 2021 12:29:00 -0400 |X-MC-Unique: suS8xzUhOzipRLqN0QiVhQ-1 |Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com | [10.5.11.14]) | (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) | (No client certificate requested) | by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 14DFB5074C; | Wed, 3 Nov 2021 16:28:59 +0000 (UTC) |Received: from oldenburg.str.redhat.com (unknown [10.39.192.3]) | by smtp.corp.redhat.com (Postfix) with ESMTPS id C9D61607A1; | Wed, 3 Nov 2021 16:28:57 +0000 (UTC) |To: gcc-patches@gcc.gnu.org |Subject: [PATCH 4/4] libgcc: Use _dl_find_eh_frame in _Unwind_Find_FDE |In-Reply-To: |References: |X-From-Line: adeb300eebaa792d64fca85f1e72fed03c1b32d1 Mon Sep 17 00:00:00 2001 |Message-Id: | |Date: Wed, 03 Nov 2021 17:28:55 +0100 |User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |MIME-Version: 1.0 |X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 |X-Mimecast-Spam-Score: 0 |X-Mimecast-Originator: redhat.com |X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, | DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, | RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, | SPF_NONE, TXREP autolearn=unavailable autolearn_force=no version=3.4.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: Florian Weimer via Libc-alpha | |From: Florian Weimer |Reply-To: Florian Weimer |Cc: Jakub Jelinek , libc-alpha@sourceware.org, | Jason Merrill |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |libgcc/ChangeLog | | * unwind-dw2-fde-dip.c (USE_DL_FIND_EH_FRAME) | (DL_FIND_EH_FRAME_CONDITION): New macros. | [__GLIBC__ && !DL_FIND_EH_FRAME_DBASE] (_dl_find_eh_frame): | Declare weak function. | (_Unwind_Find_FDE): Call _dl_find_eh_frame if available. |--- | libgcc/unwind-dw2-fde-dip.c | 50 +++++++++++++++++++++++++++++++++++++ | 1 file changed, 50 insertions(+) | |diff --git a/libgcc/unwind-dw2-fde-dip.c b/libgcc/unwind-dw2-fde-dip.c |index 272c0ec46c0..b5b4a23dc56 100644 |--- a/libgcc/unwind-dw2-fde-dip.c |+++ b/libgcc/unwind-dw2-fde-dip.c -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored