Skip to content

Servo compilation fails with multiple codegen units enabled #38938

Closed
@bholley

Description

@bholley

STR (on linux64):
(1) Clone [email protected]:servo/servo.git
(2) Check out revision 183c4772e7b93bd6cd9b48a729a043421eb6bc65
(3) export RUSTFLAGS=-Ccodegen-units=16 (I'm on a 16-cpu linux machine, presumably the bug reproduces with other numbers of codegen units)
(4) ./mach build -d

On my machine, this produces the link error in servo/servo#14916

Clearing the env var makes the build succeed.

CC @Manishearth

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions