Skip to content

*-pc-windows-gnu can't bootstrap with --enable-debuginfo-lines #37364

Closed
@alexcrichton

Description

@alexcrichton

Failure happens in the panic_unwind crate:

inlinable function call in a function with debug info must have a !dbg location
  call void @rust_eh_unwind_resume(i8* %5)
LLVM ERROR: Broken function found, compilation aborted!
make: *** [x86_64-pc-windows-gnu/stage0/lib/rustlib/x86_64-pc-windows-gnu/lib/stamp.panic_unwind] Error 1

This probably has to do with how we're calling the "custom resume" function, unsure what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)O-windows-gnuToolchain: GNU, Operating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions