Skip to content

Windows: run-pass/test-runner-hides-main.rs triggers LLVM assert #10872

Closed
@vadimcn

Description

@vadimcn

Assertion failed: Section->Number != -1 && "Sections with relocations must be real!", file c:/NW/rust/src/llvm/lib/MC/WinCOFFObjectWriter.cpp, line 224

Note: this seems to be specific to LLVM integrated assembler. Compiling via external assembler, i.e. after set RUSTFLAGS=-Z no-integrated-as works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions