-
Notifications
You must be signed in to change notification settings - Fork 13.4k
build failed with libstd-71b07a99.so: undefined symbol: clock_gettime
#29956
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
Comments
cc @alexcrichton probably fallout from #29894? |
Thanks a lot. + #[link(name = "rt")] solved the issue. |
Closing as the problem has been resolved. |
Includes rust-lang/libc#66 which should: Closes rust-lang#29956
Includes rust-lang/libc#66 which should: Closes #29818 Closes #29956
Hello All,
Used to build the nightly smoothly, but today it failed with the messages:
running it manually:
D_LIBRARY_PATH=/home/asamoilo/work/github/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 -O --cfg rtopt -C prefer-dynamic --target=x86_64-unknown-linux-gnu --emit=obj -o x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/rsbegin.o /home/asamoilo/work/github/rust/src/rtstartup/rsbegin.rs x86_64-unknown-linux-gnu/stage1/bin/rustc: symbol lookup error: /home/asamoilo/work/github/rust/x86_64-unknown-linux-gnu/stage1/lib/libstd-71b07a99.so: undefined symbol: clock_gettime
Don't you think adding
-lrt
tolibstd-*.so
solve the problem?Thanks!
The text was updated successfully, but these errors were encountered: