-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustbuild misses -pthread on final link #39215
Comments
This is typically the reponsibility of the standard library but I don't see |
Arch amd64, with the provided compilation flags. |
@alexcrichton: "-l pthread" is passed but possibly somehow truncated in the log. Sorry for the inconvenience. Back to the topic, you're passing |
IIRC |
@sfackler: -pthread is not passed even when compiling, causing it referencing to undefined symbols. |
There's two way to achieve this:
|
https://github.com/rust-lang/rust/blob/master/mk/cfg/x86_64-unknown-linux-gnu.mk#L13 @alexcrichton This is not by luck, this is intended in the old buildsystem. |
liballoc_jemalloc: fix linking with system library Fix rust-lang#39215
liballoc_jemalloc: fix linking with system library Fix rust-lang#39215
liballoc_jemalloc: fix linking with system library Fix rust-lang#39215
Logs available at https://paste.rs/M2c
The text was updated successfully, but these errors were encountered: