Skip to content

[CSKY] segmentation fault in __multi3 #68971

Closed as not planned
Closed as not planned
@Dirreke

Description

@Dirreke

I have written a toolchain for csky in Rust at rust-lang/rust#113658 before.

However, when I run a simple Rust program with u128, like this

fn main() {
    let a = 0x12345678876543219876543223456789_u128;
    println!("{a}");
}

I can compile the program successfully. However, I got a segmentation fault when I run it. It seems that -mdouble-float is not enabled. So can anyone will help to add this feature? or guide me add it?

(I'm not sure if I'm right about the above Issue, if anyone have any idea, please fell free to tell me. Thanks!)


@benshi001 @zixuan-wu I noticed that you two provide many commits to csky, so I want to know if you can give me some advice? Thanks.

Besides, contact to me If I could add your WeChat. My email is mingyang_ge@163.com . Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions