Closed luisdavim closed 5 months ago
I use a vim plugin named vim-clap that has a component in Rust, until the latest update I was able to build it, now I get "ld: error: unable to find library -lgcc"
Clone https://github.com/liuchengxu/vim-clap.git Run cargo build --release
cargo build --release
No response
termux-info:
Termux Variables: TERMUX_API_VERSION=0.50.1 TERMUX_APK_RELEASE=F_DROID TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=2155 TERMUX_IS_DEBUGGABLE_BUILD=0 TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0 TERMUX__USER_ID=0 Packages CPU architecture: aarch64 Subscribed repositories: # sources.list deb https://packages-cf.termux.dev/apt/termux-main/ stable main # root-repo (sources.list.d/root.list) deb https://packages-cf.termux.dev/apt/termux-root/ root stable Updatable packages: All packages up to date termux-tools version: 1.42.1 Android version: 14 Kernel build information: Linux localhost 5.15.123-android13-8-28577312-abS918BXXU3CXD3 #1 SMP PREEMPT Mon Apr 8 00:39:14 UTC 2024 aarch64 Android Device manufacturer: samsung Device model: SM-S918B LD Variables: LD_LIBRARY_PATH= LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so Installed termux plugins: com.termux.api versionCode:51 com.termux.styling versionCode:32
One of the project dependencies injected -lgcc. Rust hasn't add -lgcc for Android targets for a long time. I will submit a PR to upstream shortly.
-lgcc
Fixed in upstream
Problem description
I use a vim plugin named vim-clap that has a component in Rust, until the latest update I was able to build it, now I get "ld: error: unable to find library -lgcc"
What steps will reproduce the bug?
Clone https://github.com/liuchengxu/vim-clap.git Run
cargo build --release
What is the expected behavior?
No response
System information
termux-info: