From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id CC9A9383B426 for ; Thu, 15 Apr 2021 14:42:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC9A9383B426 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13FEY0rA044056; Thu, 15 Apr 2021 10:42:30 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 37xbptjtcs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 10:42:30 -0400 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 13FEY1fQ044197; Thu, 15 Apr 2021 10:42:29 -0400 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 37xbptjtcj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 10:42:29 -0400 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 13FEW7nn027404; Thu, 15 Apr 2021 14:42:29 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma04wdc.us.ibm.com with ESMTP id 37wv832qn4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Apr 2021 14:42:29 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 13FEgSSx26345812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Apr 2021 14:42:28 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 29F7EBE051; Thu, 15 Apr 2021 14:42:28 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7C098BE04F; Thu, 15 Apr 2021 14:42:27 +0000 (GMT) Received: from linux.ibm.com (unknown [9.145.180.129]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 15 Apr 2021 14:42:27 +0000 (GMT) From: Tulio Magno Quites Machado Filho To: Paul E Murphy , Adhemerval Zanella , Florian Weimer , Adhemerval Zanella via Libc-alpha Subject: Re: [PATCH] powerpc: Remove backtrace implementation In-Reply-To: <57f96ee4-7586-de09-2234-ad09c347be84@linux.ibm.com> References: <20210212170941.1786380-1-adhemerval.zanella@linaro.org> <878s7ti4m0.fsf@oldenburg.str.redhat.com> <90d1d0e5-a31e-fbac-ead0-7f76f2645cd9@linaro.org> <87sg5n3g04.fsf@linux.ibm.com> <87blcbx91u.fsf@oldenburg.str.redhat.com> <20210226173909.nikuk5bohko2clqj@work-tp> <57f96ee4-7586-de09-2234-ad09c347be84@linux.ibm.com> User-Agent: Notmuch/0.31.3 (http://notmuchmail.org) Emacs/27.1 (x86_64-redhat-linux-gnu) Date: Thu, 15 Apr 2021 11:42:25 -0300 Message-ID: <87y2djzk1a.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: qnEd8_pZR1GsoQgNT2-7u-CvxhBeuidd X-Proofpoint-GUID: M0RnhcHQDwjOjzdWKfmxFE_hf-y0uKjc X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-15_05:2021-04-15, 2021-04-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=947 clxscore=1011 suspectscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 mlxscore=0 spamscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104150097 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-List-Received-Date: Thu, 15 Apr 2021 14:42:32 -0000 Paul E Murphy via Libc-alpha writes: > Ping? This seems like a beneficial change. Using the unwind > information makes for a much more robust backtrace with other languages > which support C bindings but do not use the same ABI (specifically > calling to and from go code in C). > > Should we instead turn the existing ppc backtrace into a compat symbol? > This seems like it would address Tulio's issue with older binaries. If we do this, we'll never be able to remove the old implementation, which was Adhemerval's goal. I particularly agree that duplicated code should be removed and I believe it would be helpful if libgcc had the fallback code. -- Tulio Magno