Discussion:
[Bug rust/23380] New: [8.1 -> 8.2 regression]: gdb.rust/simple.exp no longer builds on F27
palves at redhat dot com
2018-07-06 15:20:19 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23380

Bug ID: 23380
Summary: [8.1 -> 8.2 regression]: gdb.rust/simple.exp no longer
builds on F27
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: rust
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---

On Fedora 27, comparing test results of gdb 8.1 vs current master, I get:

-PASS: gdb.rust/simple.exp: python print(gdb.lookup_type('simple::HiBob'))
+gdb compile failed, error: expected `:`, found `,`
+ -->
/home/pedro/gdb/binutils-gdb-2/src/gdb/testsuite/gdb.rust/simple.rs:129:28
+ |
+129 | let y0 = HiBob { field1, field2 };
+ | ^
+error: unions are unstable and possibly buggy (see issue #32836)
+ --> /home/pedro/gdb/binutils-gdb-2/src/gdb/testsuite/gdb.rust/simple.rs:83:1
+ |
+83 | union Union {
+ | ^
+error: aborting due to previous error
+UNTESTED: gdb.rust/simple.exp: failed to prepare


Probably the test was updated to rely on a more modern Rust than what I have.
--
You are receiving this mail because:
You are on the CC list for the bug.
palves at redhat dot com
2018-07-06 15:20:25 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23380

Pedro Alves <palves at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |8.2
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-07-09 18:17:55 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23380

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tromey at sourceware dot org
Resolution|--- |OBSOLETE

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
We discussed this on irc and it turned out that this was
rustc 1.13, which is quite old. So, I'm marking it obsolete.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...