From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E9103858D37; Wed, 28 Jun 2023 22:28:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E9103858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687991333; bh=aMz0AqCcWYTdK6DDuzVxAsxXA6Kht+F5Bg/ZNMJxaYQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T93OMfe1/XvOMWeG8uo7aiAhY9/k1vc8FD49gptTNWUlEkI8zNpGOXFDjMiAp3qKA tniFBiNXd6292lo3o76BqeM+N7ISkI9iQd7haQ8ThzpQtnwUkvVgsNsMaf7t+K22wF KTaJt7UN0Qz/5SylPRs3gD9sJgzQEUHGMk+q2w4g= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/110466] jit.dg FAILs on ppc64le Date: Wed, 28 Jun 2023 22:28:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110466 --- Comment #6 from David Malcolm --- (In reply to Andrew Pinski from comment #5) > (In reply to Andrew Pinski from comment #4) > > (In reply to David Malcolm from comment #3) > > >=20 > > > Reading symbols from > > > /home/dmalcolm/build/gcc/testsuite/jit4/jit-debuginfo.o...Dwarf Error= : wrong > > > version in compilation unit header (is 5, should be 2, 3, or 4) [in m= odule > > > /home/dmalcolm/build/gcc/testsuite/jit4/jit-debuginfo.o] > > >=20 > > > though I'm not sure if that's the cause of the error. > >=20 > > Those look depedenent on the binutils version that is in use. I suspect= if > > there is a newer version of binutils installed, it would just work. Dwa= rf5 > > was added to binutils version 2.35.2 . Though maybe it is finding the w= rong > > readelf ... >=20 > Or rather it is gdb that is complaining and a newer gdb version is needed. Yeah; I think the gdb version is too old. Adding the following patch turns this into an "unsupported" (on this host, = at least): diff --git a/gcc/testsuite/jit.dg/jit.exp b/gcc/testsuite/jit.dg/jit.exp index 3568dbb..8bf7e51 100644 --- a/gcc/testsuite/jit.dg/jit.exp +++ b/gcc/testsuite/jit.dg/jit.exp @@ -440,6 +440,10 @@ proc jit-check-debug-info { obj_file cmds match } { send $cmd } expect { + -re "Dwarf Error: wrong version in compilation unit header" { + set testcase [testname-for-summary] + unsupported "$testcase: gdb does not support dwarf version" + } -re $match { pass OK } default { fail FAIL } } I'll try the combination of these patches on my regular x86_64 workstation.= ..=