We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ergo-protocol-client
Android build for wallet fails if we include ergo-protocol-client as dependency of ergvein-wallet package:
ergvein-wallet
Linking dist/build/ergo-protocol-client/ergo-protocol-client ... clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument] /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: error: /nix/store/jq6xr054gbb172dcp4cxn96c7bbf6ab6-ndk-bundle-21.0.6113669/libexec/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(_arm_addsubdf3.o): multiple definition of '__aeabi_dsub' /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: /nix/store/f2chcx5kbgya204lsqsz9b05vqli4gz4-ergo-protocol-0.1.0.0-armv7a-unknown-linux-androideabi/lib/ghc-8.6.5/arm-android-ghc-8.6.5/ergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY/libHSergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY.a(compiler_builtins-ebd64c56e1c3cc00.compiler_builtins.4db5i49j-cgu.172.rcgu.o): previous definition here /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: error: /nix/store/jq6xr054gbb172dcp4cxn96c7bbf6ab6-ndk-bundle-21.0.6113669/libexec/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(_arm_addsubdf3.o): multiple definition of '__aeabi_dadd' /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: /nix/store/f2chcx5kbgya204lsqsz9b05vqli4gz4-ergo-protocol-0.1.0.0-armv7a-unknown-linux-androideabi/lib/ghc-8.6.5/arm-android-ghc-8.6.5/ergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY/libHSergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY.a(compiler_builtins-ebd64c56e1c3cc00.compiler_builtins.4db5i49j-cgu.88.rcgu.o): previous definition here /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: error: /nix/store/jq6xr054gbb172dcp4cxn96c7bbf6ab6-ndk-bundle-21.0.6113669/libexec/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(_arm_addsubdf3.o): multiple definition of '__aeabi_f2d' /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: /nix/store/f2chcx5kbgya204lsqsz9b05vqli4gz4-ergo-protocol-0.1.0.0-armv7a-unknown-linux-androideabi/lib/ghc-8.6.5/arm-android-ghc-8.6.5/ergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY/libHSergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY.a(compiler_builtins-ebd64c56e1c3cc00.compiler_builtins.4db5i49j-cgu.143.rcgu.o): previous definition here /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: error: /nix/store/jq6xr054gbb172dcp4cxn96c7bbf6ab6-ndk-bundle-21.0.6113669/libexec/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(_arm_addsubdf3.o): multiple definition of '__aeabi_ul2d' /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: /nix/store/f2chcx5kbgya204lsqsz9b05vqli4gz4-ergo-protocol-0.1.0.0-armv7a-unknown-linux-androideabi/lib/ghc-8.6.5/arm-android-ghc-8.6.5/ergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY/libHSergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY.a(compiler_builtins-ebd64c56e1c3cc00.compiler_builtins.4db5i49j-cgu.146.rcgu.o): previous definition here /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: error: /nix/store/jq6xr054gbb172dcp4cxn96c7bbf6ab6-ndk-bundle-21.0.6113669/libexec/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(_fixunsdfdi.o): multiple definition of '__aeabi_d2ulz' /nix/store/bafbi20qwp73v6x0m5n1hn381h4z56ma-ndk-gcc-binutils/bin/armv7a-unknown-linux-androideabi-ld.gold: /nix/store/f2chcx5kbgya204lsqsz9b05vqli4gz4-ergo-protocol-0.1.0.0-armv7a-unknown-linux-androideabi/lib/ghc-8.6.5/arm-android-ghc-8.6.5/ergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY/libHSergo-protocol-0.1.0.0-3MRY5Idb6N0GDgRPROZjnY.a(compiler_builtins-ebd64c56e1c3cc00.compiler_builtins.4db5i49j-cgu.113.rcgu.o): previous definition here [ 2 of 68] Compiling Ergvein.Core.Node.Types ( src/Ergvein/Core/Node/Types.hs, dist/build/Ergvein/Core/Node/Types.o ) [ 3 of 68] Compiling Ergvein.Core.Node.Monad ( src/Ergvein/Core/Node/Monad.hs, dist/build/Ergvein/Core/Node/Monad.o ) clang: error: linker command failed with exit code 1 (use -v to see invocation) `armv7a-unknown-linux-androideabi-cc' failed in phase `Linker'. (Exit code: 1) builder for '/nix/store/z5whplzqh01ni6rbvjzdhhsa8vsbjzsr-ergo-protocol-client-0.1.0.0-armv7a-unknown-linux-androideabi.drv' failed with exit code 1
Possible related: rust-lang/compiler-builtins#353
The text was updated successfully, but these errors were encountered:
Fix #968. Avoid building executable on ARM platform
06feba1
Successfully merging a pull request may close this issue.
Android build for wallet fails if we include
ergo-protocol-client
as dependency ofergvein-wallet
package:Possible related: rust-lang/compiler-builtins#353
The text was updated successfully, but these errors were encountered: