From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CA0A13858D28; Sat, 31 Dec 2022 06:36:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA0A13858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672468562; bh=lsBMEkb1BVEqhXpx19ePuZALGObZgo8hqOQwh+o4414=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h03E5FmPNbUW3WkzhZwd4gw+YenA1Ip+qQ51dH9XN+ZDmpPk6jADLx6ynqL5XNGG1 x4+6PlZgYcl2s3CPgMuMTsENkEbw9Twh/ti7rwS445BWOf4ahaNyyqi7VNwp0BG1QF sBsMtQuuv3aiFT2Ikx5s8C8EdJWwXSaKLvmPxa2w= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29919] [gdb/testsuite] FAIL: gdb.base/print-symbol-loading.exp: shlib off: load shared-lib Date: Sat, 31 Dec 2022 06:36:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29919 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D38ef8cc8e80f= e7dc33152af1f85e7530e66f51b8 commit 38ef8cc8e80fe7dc33152af1f85e7530e66f51b8 Author: Tom de Vries Date: Sat Dec 31 07:35:56 2022 +0100 [gdb/testsuite] Fix gdb.base/print-symbol-loading.exp on ubuntu 22.04.1 On ubuntu 22.04.1 x86_64, I run into: ... (gdb) PASS: gdb.base/print-symbol-loading.exp: shlib off: \ set print symbol-loading off sharedlibrary .*^M Symbols already loaded for /lib/x86_64-linux-gnu/libc.so.6^M Symbols already loaded for /lib/x86_64-linux-gnu/libpthread.so.0^M (gdb) FAIL: gdb.base/print-symbol-loading.exp: shlib off: load shared-l= ib ... The test-case expects the libc.so line, but not the libpthread.so line. However, we have: ... $ ldd /lib/x86_64-linux-gnu/libc.so.6 linux-vdso.so.1 (0x00007ffd7f7e7000) libgtk3-nocsd.so.0 =3D> /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f4468c00000) /lib64/ld-linux-x86-64.so.2 (0x00007f4469193000) libdl.so.2 =3D> /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4468f= 3e000) libpthread.so.0 =3D> /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4468f39000) ... so it's not unexpected that libpthread.so is loaded if libc.so is loade= d. Fix this by accepting the libpthread.so line. Tested on x86_64-linux. PR testsuite/29919 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29919 --=20 You are receiving this mail because: You are on the CC list for the bug.=