Skip to content

LLVM assertion failure when building Servo release version with debug symbols on #34434

Closed
@rzambre

Description

@rzambre

Platform: Mac OSX 10.11
Servo issue: servo/servo#11828

After commenting out lines 30 and 31 in the Cargo.toml under components/servo, ./mach build -r compiles all the way until layout_thread but returns this LLVM assertion failure:

Assertion failed: (std::all_of(Expr.begin(), Expr.end(), { return E && E->isBitPiece(); }) && "conflicting locations for variable"), function addMMIEntry, file /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h, line 137.

This is most likely an existing rustc bug that got exposed after some recent commits (not precisely sure which one but possibly servo/servo#11804) in Servo. The release version with debug symbols on was compiling successfully a couple of days ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions