Skip to content

Build is broken when optimization is turned off #836

Closed
@marijnh

Description

@marijnh

While building stage1/lib/libstd.so:

rustc: /home/marijn/prog/llvm/include/llvm/Support/Casting.h:194: typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X = llvm::FrameIndexSDNode, Y = llvm::SDNode*, typename llvm::cast_retty<To, From>::ret_type = llvm::FrameIndexSDNode*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Stack dump:
0.  Running pass 'Function Pass Manager' on module 'rust_out'.
1.  Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN3int6to_strE'
Aborted
make: *** [stage1/lib/libstd.so] Error 134
make: Target `all' not remade because of errors.
make: Leaving directory `/home/marijn/src/rust'

Metadata

Metadata

Assignees

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