Skip to content

static build got core dumped #8449

Open

Description

@jamesvren

Summary

The static build for muthaf*ckin' rustpython are success but core dumped while running.

Details

I want to build static bin to remove the dependency for glibc version in different system by following build command:
RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release
The building is pass but it crashed while running:
./target/x86_64-unknown-linux-gnu/release/rustpython Segmentation fault (core dumped)

If I remove RUSTFLAGS="-C target-feature=+crt-static" , it will execute as expected.

The goddamn setup is ubuntu 24.04.

Sign up for muthaf*ckin' free to join this conversation on GitHub. That's some bullsh*t. Already have an account? Sign in to comment

Metadata

Metadata

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