Skip to content

rustbuild misses -pthread on final link #39215

Closed

Description

Logs available at https://paste.rs/M2c

    ./configure \
        --prefix=/usr \
        --enable-ninja \
        --llvm-root=/usr \
        --disable-codegen-tests \
        --jemalloc-root=/usr/lib/libjemalloc_pic.a
# BROKEN: https://github.com/rust-lang/rust/issues/35349
#        --jemalloc-root=/usr/lib/

    export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
    export CFLAGS="$CFLAGS -fPIC -w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions