Skip to content
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

Closed
dobefore opened this issue Jan 15, 2023 · 9 comments
Labels
bug report Something is not working properly

Comments

@dobefore
Copy link

dobefore commented Jan 15, 2023

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:

"/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib" "-o" "/data/data/com.termux/files/home/p/target/release/deps/task-e19cb89893abd64a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"  

 >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-366326b13cbb4ca6.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3MemCompare) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-366326b13cbb4ca6.rlib
          >>> referenced 3 more times
          clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

What steps will reproduce the bug?

  1. create a new project cargo new tt
  2. cd tt.vim src/main.rs,add folllowing code into it.
use rusqlite::OptionalExtension;
pub use rusqlite::{params, types::FromSql, Connection, Result, Row, RowIndex};
// open db connection and create table
pub(crate) fn open_db() -> Result<Connection, rusqlite::Error> {
    let conn = Connection::open_in_memory()?;
    Ok(conn)
}
fn main() { 
 let c = open_db().unwrap();
}
  1. add rusqlite to Cargotoml
rusqlite= {version = "0.25.1",features = ["bundled"]}

What is the expected behavior?

build sucessfully

System information

termux-info:

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
Updatable packages:
omitted

termux-tools version:
1.19
Android version:
8.0.0
Kernel build information:
Linux localhost 4.4.23+ #1 SMP PREEMPT Wed Sep 5 05:57:26 CST 2018 aarch64 Android
Device manufacturer:
HUAWEI
Device model:
PRA-AL00

@dobefore dobefore added bug report Something is not working properly untriaged labels Jan 15, 2023
@xtkoba
Copy link
Contributor

xtkoba commented Jan 15, 2023

Try

export RUSTFLAGS+=" -C link-arg=$(clang -print-libgcc-file-name)"

Reference: #8029 (comment)

@xtkoba
Copy link
Contributor

xtkoba commented Jan 15, 2023

BTW, please do not omit the log arbitrarily. It does not contain the most important part.

@xtkoba xtkoba removed the untriaged label Jan 15, 2023
@dobefore
Copy link
Author

Thanks for the quick response! I will try it.

I apologize for omiting . Is it necessary to re-post the full info?

@xtkoba
Copy link
Contributor

xtkoba commented Jan 15, 2023

Please post it if you can. But I can summarize that it is a ld(1) failure due to undefined reference to compiler-rt builtin symbols.

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.

@dobefore
Copy link
Author

It works now like magic! Thanks again for your help!

I try the workaround the first time ,I get error:

export: not valid in this context: RUSTFLAGS+

Then I try to set it for the duration of cargo build command.

 RUSTFLAGS+=" -C link-arg=$(clang -print-libgcc-file-name)" cargo build -r

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.

 Compiling version_check v0.9.3
   Compiling libc v0.2.139
   Compiling proc-macro2 v1.0.46
   Compiling autocfg v1.0.1
   Compiling unicode-ident v1.0.4
   Compiling quote v1.0.21
   Compiling num-traits v0.2.14
   Compiling ahash v0.7.6
   Compiling proc-macro-error-attr v1.0.4
   Compiling cfg-if v1.0.0
   Compiling once_cell v1.15.0
   Compiling syn v1.0.101
   Compiling memchr v2.4.0
   Compiling getrandom v0.2.8
   Compiling proc-macro-error v1.0.4
   Compiling bitflags v1.2.1
   Compiling pkg-config v0.3.26
   Compiling cc v1.0.78
   Compiling libsqlite3-sys v0.22.2
   Compiling num-integer v0.1.44
   Compiling hashbrown v0.11.2
   Compiling os_str_bytes v6.3.0
   Compiling heck v0.4.0
   Compiling clap_derive v4.0.8
   Compiling clap_lex v0.3.0
   Compiling hashlink v0.7.0
   Compiling aho-corasick v0.7.19
   Compiling atty v0.2.14
   Compiling time v0.1.44
   Compiling fallible-streaming-iterator v0.1.9
   Compiling regex-syntax v0.6.27
   Compiling termcolor v1.1.3
   Compiling strsim v0.10.0
   Compiling fallible-iterator v0.2.0
   Compiling smallvec v1.10.0
   Compiling clap v4.0.8
   Compiling rusqlite v0.25.4
   Compiling regex v1.6.0
   Compiling chrono v0.4.19
   Compiling counter v0.5.5
   Compiling task v0.1.0 (/data/data/com.termux/files/home/p)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "/data/data/com.termux/files/usr/tmp/rustcDXQOQS/symbols.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.0.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.1.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.10.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.11.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.12.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.13.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.14.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.15.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.2.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.3.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.4.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.5.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.6.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.7.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.8.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.task.3ead2cb5-cgu.9.rcgu.o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a.zavuzyro4k567ca.rcgu.o" "-Wl,--as-needed" "-L" "/data/data/com.termux/files/home/p/target/release/deps" "-L" "/data/data/com.termux/files/home/p/target/release/build/libsqlite3-sys-24d7b83bd719a82a/out" "-L" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib" "-Wl,-Bstatic" "/data/data/com.termux/files/home/p/target/release/deps/libregex-f0179bf360bf2ac8.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libaho_corasick-69b5e7a9a6494909.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libmemchr-196fc5c6962b0195.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libregex_syntax-c24358e034be8d01.rlib" "/data/data/com.termux/files/home/p/target/release/deps/librusqlite-06d1fb77f18921e3.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libsmallvec-fe251f7ad7b55352.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libfallible_streaming_iterator-1c14f673038882e9.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libfallible_iterator-c59aa3fb66913bd0.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libhashlink-bb975884062aebdb.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libhashbrown-d3e9c8f04a433566.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libahash-1142abfc38640455.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libgetrandom-347505793c022659.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libcfg_if-02133be8b6bd71e0.rlib" "/data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libclap-9b1bcd5e56b3dd57.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libatty-aa806bb400b2e8ab.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libstrsim-31fa7d3c7807a09d.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libclap_lex-ced7286da9a18319.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libos_str_bytes-8f7f0174d14790f8.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libtermcolor-47615f83ce1e8055.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libbitflags-fa45a3103418a157.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libonce_cell-5c751accb475cb2a.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libcounter-d1b592547d0bcc45.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libchrono-7c9c35f2488dbe89.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libnum_integer-0073913cbcbbefc5.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libnum_traits-712700224480514b.rlib" "/data/data/com.termux/files/home/p/target/release/deps/libtime-7f450a2ce9f729fb.rlib" "/data/data/com.termux/files/home/p/target/release/deps/liblibc-34d90deb03376a2f.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libstd-f3d66c569eebcd65.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libpanic_unwind-51f4f9118057883f.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libobject-f99c8c1a1019ecfe.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libmemchr-a233c9a49c9ef417.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libaddr2line-bdd306df8c4f69c9.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libgimli-98a9d65c3e7b923c.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/librustc_demangle-a7b9e356b357bb29.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libstd_detect-471ef47d4b7237ed.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libcfg_if-6c6ee9b1053a5909.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libhashbrown-e22b40176122f035.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libminiz_oxide-ba5a0ec3d7301645.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libadler-485ab4a95b97346f.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/librustc_std_workspace_alloc-afeff5faa9d215d2.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libunwind-c6936a709bb9e8df.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libcfg_if-10d52958580f52fc.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/liblibc-926d202c8a06a153.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/liballoc-acc3e49072c57db9.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/librustc_std_workspace_core-a0b84db27462a56f.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libcore-45e8e24fd0bea6d5.rlib" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib/libcompiler_builtins-51d7c0e4340f2e85.rlib" "-Wl,-Bdynamic" "-ldl" "-llog" "-lunwind" "-ldl" "-lm" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/data/data/com.termux/files/usr/lib/rustlib/aarch64-linux-android/lib" "-o" "/data/data/com.termux/files/home/p/target/release/deps/task-18f0f8dc98b04f6a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: ld.lld: error: undefined symbol: __extenddftf2
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 5 more times

          ld.lld: error: undefined symbol: __trunctfdf2
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 3 more times

          ld.lld: error: undefined symbol: __multf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 11 more times

          ld.lld: error: undefined symbol: __addtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib

          ld.lld: error: undefined symbol: __gttf2
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3MemCompare) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3MemCompare) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 2 more times

          ld.lld: error: undefined symbol: __getf2
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 4 more times

          ld.lld: error: undefined symbol: __divtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib

          ld.lld: error: undefined symbol: __lttf2
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 5 more times

          ld.lld: error: undefined symbol: __fixtfsi
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib

          ld.lld: error: undefined symbol: __floatsitf
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib

          ld.lld: error: undefined symbol: __subtf3
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3_str_vappendf) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib

          ld.lld: error: undefined symbol: __floatditf
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3AtoF) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced by sqlite3.c
          >>>               sqlite3.o:(sqlite3MemCompare) in archive /data/data/com.termux/files/home/p/target/release/deps/liblibsqlite3_sys-2b8ebed3f4a388bd.rlib
          >>> referenced 3 more times
          clang-15: error: linker command failed with exit code 1 (use -v to see invocation)


error: could not compile `task` due to previous error

Termux info

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
Updatable packages:
apt/stable 2.5.4 aarch64 [upgradable from: 2.5.1]
bash/stable 5.2.15 aarch64 [upgradable from: 5.1.16-1]
binutils/stable 2.40 aarch64 [upgradable from: 2.38]
c-ares/stable 1.18.1-1 aarch64 [upgradable from: 1.18.1]
ca-certificates/stable 1:2022.10.11-1 all [upgradable from: 1:2022.04.26]
command-not-found/stable 2.1.0-6 aarch64 [upgradable from: 2.0]
coreutils/stable 9.1-2 aarch64 [upgradable from: 9.1]
curl/stable 7.87.0 aarch64 [upgradable from: 7.84.0]
dash/stable 0.5.12 aarch64 [upgradable from: 0.5.11.5-1]
dialog/stable 1.3-20221229-0 aarch64 [upgradable from: 1.3-20220117-0]
dos2unix/stable 7.4.3 aarch64 [upgradable from: 7.4.2]
dpkg/stable 1.21.18 aarch64 [upgradable from: 1.21.8]
ed/stable 1.19 aarch64 [upgradable from: 1.18]
file/stable 5.44 aarch64 [upgradable from: 5.41-1]
findutils/stable 4.9.0-2 aarch64 [upgradable from: 4.9.0-1]
gawk/stable 5.2.1 aarch64 [upgradable from: 5.1.1-1]
git/stable 2.39.0 aarch64 [upgradable from: 2.37.0]
glib/stable 2.74.4-2 aarch64 [upgradable from: 2.74.0]
gpgv/stable 2.4.0 aarch64 [upgradable from: 2.3.6]
grep/stable 3.8-1 aarch64 [upgradable from: 3.7-2]
gzip/stable 1.12-1 aarch64 [upgradable from: 1.12]
inetutils/stable 2.4 aarch64 [upgradable from: 2.2]
krb5/stable 1.20.1 aarch64 [upgradable from: 1.19.3]
ldns/stable 1.8.3-2 aarch64 [upgradable from: 1.8.1-1]
less/stable 608 aarch64 [upgradable from: 590]
libandroid-support/stable 28-3 aarch64 [upgradable from: 28-2]
libc++/stable 25b aarch64 [upgradable from: 23c]
libcap/stable 2.66 aarch64 [upgradable from: 2.64]
libcurl/stable 7.87.0 aarch64 [upgradable from: 7.84.0]
libdb/stable 18.1.40-4 aarch64 [upgradable from: 18.1.40-3]
libedit/stable 20221030-3.1-0 aarch64 [upgradable from: 20210910-3.1-0]
libevent/stable 2.1.12-2 aarch64 [upgradable from: 2.1.12-1]
libexpat/stable 2.5.0 aarch64 [upgradable from: 2.4.8]
libffi/stable 3.4.4 aarch64 [upgradable from: 3.4.3]
libgcrypt/stable 1.10.1-1 aarch64 [upgradable from: 1.10.1]
libgmp/stable 6.2.1-2 aarch64 [upgradable from: 6.2.1-1]
libgnutls/stable 3.7.8 aarch64 [upgradable from: 3.7.6]
libgpg-error/stable 1.46 aarch64 [upgradable from: 1.45]
libiconv/stable 1.17 aarch64 [upgradable from: 1.16-3]
libicu/stable 72.1 aarch64 [upgradable from: 71.1-1]
libidn2/stable 2.3.4 aarch64 [upgradable from: 2.3.2]
liblz4/stable 1.9.4 aarch64 [upgradable from: 1.9.3-1]
liblzma/stable 5.4.1 aarch64 [upgradable from: 5.2.5-1]
libmpfr/stable 4.2.0 aarch64 [upgradable from: 4.1.0-1]
libnettle/stable 3.8.1 aarch64 [upgradable from: 3.7.3]
libnghttp2/stable 1.51.0 aarch64 [upgradable from: 1.48.0]
libresolv-wrapper/stable 1.1.7-4 aarch64 [upgradable from: 1.1.7-2]
libtalloc/stable 2.3.4 aarch64 [upgradable from: 2.3.3]
libtirpc/stable 1.3.3 aarch64 [upgradable from: 1.3.2-1]
libunistring/stable 1.1 aarch64 [upgradable from: 1.0]
libxml2/stable 2.10.3 aarch64 [upgradable from: 2.10.2-1]
lsof/stable 4.96.5 aarch64 [upgradable from: 4.95.0-1]
make/stable 4.4 aarch64 [upgradable from: 4.3-2]
nano/stable 7.1 aarch64 [upgradable from: 6.3]
ncurses-ui-libs/stable 6.4-1 aarch64 [upgradable from: 6.3-3]
ncurses-utils/stable 6.4-1 aarch64 [upgradable from: 6.3-3]
ncurses/stable 6.4-1 aarch64 [upgradable from: 6.3-3]
ndk-sysroot/stable 25b-3 aarch64 [upgradable from: 25b]
nodejs-lts/stable 18.13.0 aarch64 [upgradable from: 16.17.1]
openssh-sftp-server/stable 9.1p1 aarch64 [upgradable from: 9.0p1-2]
openssh/stable 9.1p1 aarch64 [upgradable from: 9.0p1-2]
openssl-1.1/stable 1:1.1.1s aarch64 [upgradable from: 1.1.1o]
openssl/stable 1:3.0.7 aarch64 [upgradable from: 3.0.5]
pcre2/stable 10.42 aarch64 [upgradable from: 10.40]
procps/stable 3.3.17-2 aarch64 [upgradable from: 3.3.17-1]
proot-distro/stable 3.5.0 all [upgradable from: 3.1.0]
psmisc/stable 23.6-1 aarch64 [upgradable from: 23.4]
python/stable 3.11.1 aarch64 [upgradable from: 3.10.7-1]
readline/stable 8.2.1 aarch64 [upgradable from: 8.1.1]
sed/stable 4.9 aarch64 [upgradable from: 4.8-2]
tar/stable 1.34-1 aarch64 [upgradable from: 1.34]
termux-keyring/stable 3.11 all [upgradable from: 3.7]
termux-tools/stable 1.36.0 all [upgradable from: 1.19]
tree/stable 2.1.0 aarch64 [upgradable from: 2.0.4]
unbound/stable 1.17.1 aarch64 [upgradable from: 1.15.0-1]
unzip/stable 6.0-9 aarch64 [upgradable from: 6.0-7]
util-linux/stable 2.38.1-1 aarch64 [upgradable from: 2.38]
vim-runtime/stable 9.0.1151 all [upgradable from: 9.0.0600]
vim/stable 9.0.1151 aarch64 [upgradable from: 9.0.0600]
xz-utils/stable 5.4.1 aarch64 [upgradable from: 5.2.5-1]
zlib/stable 1.2.13 aarch64 [upgradable from: 1.2.12]
zsh/stable 5.9-2 aarch64 [upgradable from: 5.9]
termux-tools version:
1.19
Android version:
8.0.0
Kernel build information:
Linux localhost 4.4.23+ #1 SMP PREEMPT Wed Sep 5 05:57:26 CST 2018 aarch64 Android
Device manufacturer:
HUAWEI
Device model:
PRA-AL00

@dobefore
Copy link
Author

dobefore commented Jan 15, 2023

I have look through the issue you have mentioned,It seem this issue is a duplicated of that one.
someone in that thread has reported the same error of libsqlite3 compiling.The message is sqlite3_str_vappendf ,pardon me for I am naive about C.

@xtkoba
Copy link
Contributor

xtkoba commented Jan 15, 2023

This is for Rust/Cargo build system, while #8029 is for libtool (Autotools). It is true that one single solution may solve both.

@xtkoba xtkoba changed the title [Bug]: Rust compiling rusqlite fails in rust 1.66.1 [Bug]: Rust compiling rusqlite fails in rust 1.66.1: error: undefined symbol: __extenddftf2 Jan 21, 2023
@xtkoba
Copy link
Contributor

xtkoba commented Jan 27, 2023

This does not seem to happen with Rust/Cargo version 1.67.0.

@dobefore
Copy link
Author

dobefore commented Jan 28, 2023

Yes,I just now updated and tested .The issue does disapprear,at least in my case.
Thanks for the kind notification.Maybe this thread should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly
Projects
None yet
Development

No branches or pull requests

2 participants