Skip to content

LLVM fatal error when compiling Rust language source code #1

Closed
@lexxvir

Description

@lexxvir

Hi,

I compiling Rust source code using your LLVM fork and custom built Rust compiler used this fork. I can successfully compile simple functions that works! But when I tried to use alloc crate, I encountered to following error from LLVM:

EmitRawText called on an MCStreamer that doesn't support it,  something must not be fully mc'ized

Code that reproduce issue https://github.com/lexxvir/xtensa-rust-quickstart/blob/master/src/main.rs

Could you please give me any clue whats going on and how to fix it?
It seems that Rust compiler try to emit object code using LLVM, instead of emit assemble and then run gcc's assembler.

Thanks in advance, I will be glad to any help.

Metadata

Metadata

Assignees

No one assigned

    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