GNU bug report logs - #53980
Android cross-compile and aarch64-linux-android/bin/ld: -soname: missing argument

Previous Next

Package: libtool;

Reported by: noloader <at> gmail.com

Date: Sun, 13 Feb 2022 22:26:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Roumen Petrov <bugtrack <at> roumenpetrov.info>
To: 53980 <at> debbugs.gnu.org
Subject: bug#53980: Android cross-compile and aarch64-linux-android/bin/ld: -soname: missing argument
Date: Sat, 19 Feb 2022 18:49:20 +0200
Hi Jeffrey,
Jeffrey Walton wrote:
> Hi Everyone,
> 
> I'm testing an Android cross-compile using Autotools. For the Android
> cross-compile the build is failing. Other builds are Ok.

Cross-compilation is project specific.


> Any ideas what I might be doing wrong?

For some OS-es cross-compilation could fail.


> 
> Thanks in advance.
> 
> $ make 2>&1 | fold -w 80
> make  all-am
> make[1]: Entering directory '/home/jwalton/Desktop/cryptopp'

[SNIP]

> lt/linux-x86_64/sysroot   -pthread -Wl,-soname -Wl, -o .libs/
> 
> /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/aarch64-li
> nux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: -soname: missing arg
> ument
> /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/aarch64-li
> nux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: use the --help optio
> n for usage information
> clang++: error: linker command failed with exit code 1 (use -v to see invocation
> )
> Makefile:1308: recipe for target 'libcryptopp.la' failed
> make[1]: *** [libcryptopp.la] Error 1
> 
SONAME does not make sense on Android. Try to find a way to bay-pass it from build configuration.


Regards,
Roumen Petrov




This bug report was last modified 3 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.