-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Bug]: Rust compiling rusqlite fails in rust 1.66.1: error: undefined symbol: __extenddftf2
#14576
Comments
Try export RUSTFLAGS+=" -C link-arg=$(clang -print-libgcc-file-name)" Reference: #8029 (comment) |
BTW, please do not omit the log arbitrarily. It does not contain the most important part. |
Thanks for the quick response! I will try it. I apologize for omiting . Is it necessary to re-post the full info? |
Please post it if you can. But I can summarize that it is a Strictly this is not a duplicate of #8029. Very similar but different. Yes a workaround does exist, but it is just a workaround and I don't think it to be a proper solution. So I am going to keep this open. |
It works now like magic! Thanks again for your help! I try the workaround the first time ,I get error:
Then I try to set it for the duration of cargo build command.
And it begins to buid and it finishes building sucessfully after several mistakes due to my careleseness. Here is the log without setting RUSTFLAGS+flag.
Termux info
|
I have look through the issue you have mentioned,It seem this issue is a duplicated of that one. |
This is for Rust/Cargo build system, while #8029 is for libtool (Autotools). It is true that one single solution may solve both. |
__extenddftf2
This does not seem to happen with Rust/Cargo version 1.67.0. |
Yes,I just now updated and tested .The issue does disapprear,at least in my case. |
Problem description
I have built rust project with rusqlite package included sucessfully in rust 1.64.Yet something that I can update rust version occurs to my mind,so I did it upgrading it to 1.66.1.
Then I re-build it,this time it fails.
I use rusqlite 0.25.4,It builds sucessfully on windows.
part of building message:
What steps will reproduce the bug?
cargo new tt
What is the expected behavior?
build sucessfully
System information
termux-info:
The text was updated successfully, but these errors were encountered: