From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EFEC23857C73; Wed, 12 Aug 2020 21:31:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFEC23857C73 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug rust/26197] rust FAILs with rustc 1.36.0 and llvm 7 Date: Wed, 12 Aug 2020 21:31:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 10.1 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2020 21:31:37 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26197 --- Comment #18 from Tom Tromey --- (In reply to Tom de Vries from comment #17) > (gdb) print str_some^M > That operation is not available on integers of more than 8 bytes.^M > (gdb) FAIL: gdb.rust/simple.exp: print str_some > print str_none^M > That operation is not available on integers of more than 8 bytes.^M > (gdb) FAIL: gdb.rust/simple.exp: print str_none > ... > (gdb) print custom_some^M > That operation is not available on integers of more than 8 bytes.^M > (gdb) FAIL: gdb.rust/simple.exp: print custom_some > print custom_none^M > That operation is not available on integers of more than 8 bytes.^M > (gdb) FAIL: gdb.rust/simple.exp: print custom_none I checked out commit 9852ceef -- which came before the variant part rewrite. This version didn't work for these tests either: (gdb) print str_some $1 =3D (gdb) print str_none $2 =3D (gdb) print custom_some=20 $3 =3D (gdb) print custom_none $4 =3D Then I checked out the version before a1520ad8fc (see comment #6). However, this one crashes trying to load the executable, which maybe is why that patch exists? (I don't remember the context any more.) Do you know of a version that passes these tests with this executable or rust compiler version? --=20 You are receiving this mail because: You are on the CC list for the bug.=