Skip to content

Build errors on a Windows ARM32 target since c1464fa #572

Closed
@kleisauke

Description

@kleisauke

Since commit c1464fa, I'm getting the following build errors on a custom armv7-pc-windows-gnullvm target:

Details
error[E0609]: no field `Eip` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:170:54
    |
170 |             stack_frame_ex.AddrPC.Offset = context.0.Eip as u64;
    |                                                      ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

error[E0609]: no field `Esp` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:172:57
    |
172 |             stack_frame_ex.AddrStack.Offset = context.0.Esp as u64;
    |                                                         ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

error[E0609]: no field `Ebp` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:174:57
    |
174 |             stack_frame_ex.AddrFrame.Offset = context.0.Ebp as u64;
    |                                                         ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

error[E0609]: no field `Eip` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:208:53
    |
208 |             stack_frame64.AddrPC.Offset = context.0.Eip as u64;
    |                                                     ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

error[E0609]: no field `Esp` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:210:56
    |
210 |             stack_frame64.AddrStack.Offset = context.0.Esp as u64;
    |                                                        ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

error[E0609]: no field `Ebp` on type `backtrace_rs::windows::CONTEXT`
   --> /data/mxe/usr/x86_64-pc-linux-gnu/lib/rustlib/src/rust/library/std/src/../../backtrace/src/backtrace/dbghelp.rs:212:56
    |
212 |             stack_frame64.AddrFrame.Offset = context.0.Ebp as u64;
    |                                                        ^^^ unknown field
    |
    = note: available fields are: `ContextFlags`, `R0`, `R1`, `R2`, `R3` ... and 21 others

Looking at these logs, I think this also affects the thumbv7a-pc-windows-msvc and thumbv7a-uwp-windows-msvc targets. However, since no one's actively working on these targets1 and the fact that is untested/unsupported territory2, feel free to close this as invalid.

Footnotes

  1. https://github.com/rust-lang/rust/issues/109030#issuecomment-1465051133

  2. https://github.com/rust-lang/rust/issues/112265#issuecomment-1575468455

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions