From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id O+mIIKtcjGkDajUAWB0awg (envelope-from ) for ; Wed, 11 Feb 2026 05:40:43 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bS/X0z57; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 510A81E089; Wed, 11 Feb 2026 05:40:43 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,WEIRD_PORT autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 283BB1E089 for ; Wed, 11 Feb 2026 05:40:42 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id C27074BA23DF for ; Wed, 11 Feb 2026 10:40:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C27074BA23DF Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bS/X0z57 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 5E76E4BA2E1C for ; Wed, 11 Feb 2026 10:40:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E76E4BA2E1C Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E76E4BA2E1C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770806403; cv=none; b=Tyg5lSfwCX8lvs4BOTfjoyRE+H63ecfJWAH7eleS9d06H8/ql8XgZQNj3RZvc06zgKd3/CpS76VG2Lp9/+/MJ3+Ht8BGioqH/iQ1FYLLyWTuyVlYT/75MpV22UwzBeuKOGNzdTP1n+oMwVI5Z7Leg2JMLKzVNMgDQkjbv6v8BL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770806403; c=relaxed/simple; bh=bEMM7MsdjJYrUEC/KlOIDwZlw0zrNXi5ySM2fWLU5as=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=kcOM7ID8EBk5RLsvEqhsvzQBvXMpYLeNQ9iWy1b+EtiG2cVzkmwxeS/bGJcb3DBPao2vT++kuyH1Kh1Wb6mJCVx+fSuyGfx+oFgoEhFwVN6KAm65Jh53OK3MLbrVcJFWb5rNTz4D05Vc0HJdw2RhfgyA/rwDfr8jrz1tGt1ALmU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E76E4BA2E1C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806403; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=1nzZyg+tutWuMWi1O/r4eWI0ZLr2IAKvbEXBr9qeEG4=; b=bS/X0z57sEbnZ7wT/m2jj3qjhSJjHChaXstBTcsLoO6Ptq/z0l6nRHhs/cpI1UDhMaxPUh oh1AV0ZwWdET/OTRMS182EvXip9iCj72816ojGihAkay75MoCvxhkTXcHSR2RJVeguTpDT aTjXPmj4v4x9FU7GwtfnlSaIgH/Iats= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-mHIV6hkoMruRmSsDJPePKw-1; Wed, 11 Feb 2026 05:40:01 -0500 X-MC-Unique: mHIV6hkoMruRmSsDJPePKw-1 X-Mimecast-MFC-AGG-ID: mHIV6hkoMruRmSsDJPePKw_1770806400 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-4363333c102so1213904f8f.1 for ; Wed, 11 Feb 2026 02:40:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770806400; x=1771411200; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=JwmFPZT67ixIzEwxI90dF+ICT7Km15LG56VacUDhP4w=; b=ck6Ai9OnGVyMqL4C6RPNDbG5YHcZLqVDfw4nj6clVK0DbGoqIJ2q/HQp1xYxHqQzKn WcddSTSKTtXosHn7utSQwJ7fG1pjd498KWns7pO/ZIB4mvzk78wxHfcFNFHAvSCZ1fGs vrshMpJqnIkcUfdjozTsJY/YPatkijGST3zJndSQg/AgjuyecPdW30tr9rinwHJecDct s8fIC+Ax6RumHJxdM38WN+QBqHwmeCCQ36lSaPqX1sS3sMLSeqKZ07sYkUD40WqZVlXi ELP9w/W1Zrgdnsiwi4cjovxaiGUCDM/B2FOuvJZlzkzj1xatDaJe8saAyJyr2SRp1mqc uWsg== X-Gm-Message-State: AOJu0YxRf8nUzuprgZwP4fS1glKPglyd3hCaneafC0utGTVl0iybFmL+ /655I6C29uft1dyCW6nXriKIvn5xUkVM07bDivj7H/yXUrznzuW7YX5oUK8Uyl8XYEIQoBCNXYf lwWfuWJ0VdEiGcg4uSWSVWWmGLaAO5z/doFexOLsT9mRzrEI5JMf2iaLq66jcckOx9Wj9Pp0= X-Gm-Gg: AZuq6aLvQGzdCwoJUOtYnxebIt1n0xKv86fseAjGp7nLpjzNqS7syke70MYtBwYgZdg bfmwUgJSo2MDlLzlrlpj0zw5NlQEij9epWJ0XkjNrfrodbG3UrMgANBUuthJZotJUc0g+p5BYjE omnFKbGJ4pXNlgFTImrK6Q41cmHPkpJSSD6bH+t0HotembsCnKZj/f3yskV6ppuqZOmwuQbg0ez Qkn1qcxWN1/QKeMKo0FBmcIPdE4UBJdoWvNLV4aIpeQLCsrNy2xUCUCP1O3EkPXZWFq/7SjdeUT z6KomkQoHYgdOwEsOgiKF7LoHLh/UABfoIC2HEkEkn8qMhUYYJ9n+jvX7vPMa5n3GIBmSXYRKh2 jdd6iV8mDVkbtuDm8 X-Received: by 2002:a05:6000:2484:b0:437:7168:af37 with SMTP id ffacd0b85a97d-4377168b393mr15903297f8f.42.1770806399901; Wed, 11 Feb 2026 02:39:59 -0800 (PST) X-Received: by 2002:a05:6000:2484:b0:437:7168:af37 with SMTP id ffacd0b85a97d-4377168b393mr15903248f8f.42.1770806399364; Wed, 11 Feb 2026 02:39:59 -0800 (PST) Received: from localhost ([31.111.84.232]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43783d4785fsm3494100f8f.11.2026.02.11.02.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Feb 2026 02:39:59 -0800 (PST) From: Andrew Burgess To: Abhay Kandpal Cc: gdb-patches@sourceware.org, Ulrich.Weigand@de.ibm.com, cel@linux.ibm.com Subject: Re: PPC64LE: New failures in empty-inline-cxx.exp after commit 196349e7e5939c2 In-Reply-To: <7fd2cc58-33ab-420a-83ba-e98cae69b028@linux.ibm.com> References: <20260205093747.-PO3F%cel@linux.ibm.com> <7fd2cc58-33ab-420a-83ba-e98cae69b028@linux.ibm.com> Date: Wed, 11 Feb 2026 10:39:57 +0000 Message-ID: <87seb7bm2q.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: rL79P9-PYOI_8IHZdtAQChjgnENEJfgAGn4p9RXEI7s_1770806400 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Abhay Kandpal writes: > Hi Andrew, > > We are seeing new test failures on our ppc64le systems after the upstream= commit: > > commit 196349e7e5939c2bef11fd93f098401d5b7111a5 (HEAD) > Author: Andrew Burgess > > Date:=C2=A0=C2=A0 Fri Sep 20 13:56:27 2024 +0100 > gdb: handle empty ranges for inline subroutines > > It appears that|gdb.opt/empty-inline-cxx.exp| was introduced as part of t= his change, > and this test is now failing consistently on ppc64le across all optimizat= ion levels. A sample failure is shown below: > > gdb) run ^M > Starting program: /home/abhay/GDB/latest_gdb/build-gdb/gdb/testsuite/outp= uts/gdb.opt/empty-inline-cxx/empty-inline-cxx-Og ^M > [Thread debugging using libthread_db enabled]^M > Using host libthread_db library "/usr/lib64/libthread_db.so.1".^M > ^M > Breakpoint 1, 0x0000000010000794 in main () at /home/abhay/GDB/latest_gdb= /build-gdb/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.opt/empty-= inline-cxx.cc:63^M > 63 {^M > (gdb) bt^M > #0 0x0000000010000794 in main () at /home/abhay/GDB/latest_gdb/build-gdb= /gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.opt/empty-inline-cxx= .cc:63^M > (gdb) FAIL: gdb.opt/empty-inline-cxx.exp: opt_level=3DOg: backtrace in ma= in I pushed the patch below which should resolve this failure. Thanks for bringing this to my attention. Andrew --- commit 0fdb6840279614ce8a1cba6330098c24c04048cc Author: Andrew Burgess Date: Wed Feb 11 11:25:35 2026 +0100 gdb: fix gdb.opt/empty-inline-cxx.exp on ppc64le =20 Fix the gdb.opt/empty-inline-cxx.exp test for ppc64le targets. This test has been failing since it was introduced in commit: =20 commit 196349e7e5939c2bef11fd93f098401d5b7111a5 Date: Fri Sep 20 13:56:27 2024 +0100 =20 gdb: handle empty ranges for inline subroutines =20 The failure looks like this: =20 (gdb) bt #0 0x00000001000008d4 in main () at /tmp/build/gdb/testsuite/../../.= ./src/gdb/testsuite/gdb.opt/empty-inline-cxx.cc:63 (gdb) FAIL: gdb.opt/empty-inline-cxx.exp: opt_level=3DOg: backtrace i= n main =20 This is almost correct, except the test is not expecting the "0x00000001000008d4 in" part. This first backtrace is done immediately after the 'runto_main' call so the fact that we're not stopped exactly at the start of line 63 is a little strange, but isn't a critical part of this test. As such I've updated the test pattern to accept an optional address within the backtrace. =20 This failure was brought to my attention in this mailing list post: =20 https://inbox.sourceware.org/gdb-patches/7fd2cc58-33ab-420a-83ba-e98c= ae69b028@linux.ibm.com =20 The test should now pass on ppc64le, and continue to pass on other targets. diff --git a/gdb/testsuite/gdb.opt/empty-inline-cxx.exp b/gdb/testsuite/gdb= .opt/empty-inline-cxx.exp index 60fa4c777b8..4b9eec7760e 100644 --- a/gdb/testsuite/gdb.opt/empty-inline-cxx.exp +++ b/gdb/testsuite/gdb.opt/empty-inline-cxx.exp @@ -67,7 +67,7 @@ proc run_test { opt_level } { =09return } =20 - gdb_test "bt" "#0\\s+main \\(\\) at [remote_file_re $::srcfile]:$::dec= imal" \ + gdb_test "bt" "#0\\s+(?:$::hex in )?main \\(\\) at [remote_file_re $::= srcfile]:$::decimal" \ =09"backtrace in main" =20 # Break at the empty inline function ptr::get_myclass.