Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


Hi, 
I am trying to compile libreoffice core for android on ubuntu 18.04 but
build fails with the following error:


***********omitted previous output*********************

1 warning generated.
mpi/mpcpucache.c:91:15: error: invalid output constraint '=a' in asm
            : "=a"(*eax),
              ^
1 error generated.
../../coreconf/rules.mk:292: recipe for target
'out/Android_SINGLE_SHLIB/mpcpucache.o' failed
make[7]: *** [out/Android_SINGLE_SHLIB/mpcpucache.o] Error 1
Makefile:660: recipe for target 'freebl_FREEBL_BUILD_SINGLE_SHLIB' failed
make[6]: *** [freebl_FREEBL_BUILD_SINGLE_SHLIB] Error 2
../coreconf/rules.mk:44: recipe for target 'freebl' failed
make[5]: *** [freebl] Error 2
make[5]: *** Waiting for unfinished jobs....
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.2' and 'NSS_3.2.1' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.2.1' and 'NSS_3.3' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.3' and 'NSS_3.3.1' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.3.1' and 'NSS_3.4' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.4' and 'NSS_3.5' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.5' and 'NSS_3.6' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.6' and 'NSS_3.7' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.7' and 'NSS_3.7.1' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.7.1' and 'NSS_3.8' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.8' and 'NSS_3.9' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.9' and 'NSS_3.9.2' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.9.2' and 'NSS_3.9.3'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.9.3' and 'NSS_3.10'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.10' and 'NSS_3.10.2'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.10.2' and 'NSS_3.11'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.11' and 'NSS_3.11.1'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.11.1' and
'NSS_3.11.2' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.11.2' and
'NSS_3.11.7' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.11.7' and
'NSS_3.11.9' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.11.9' and 'NSS_3.12'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12' and 'NSS_3.12.1'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.1' and
'NSS_3.12.3' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.3' and
'NSS_3.12.4' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.4' and
'NSS_3.12.5' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.5' and
'NSS_3.12.6' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.6' and
'NSS_3.12.7' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.7' and
'NSS_3.12.9' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.9' and
'NSS_3.12.10' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.12.10' and 'NSS_3.13'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.13' and 'NSS_3.13.2'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.13.2' and 'NSS_3.14'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.14' and 'NSS_3.14.1'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.14.1' and
'NSS_3.14.3' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.14.3' and 'NSS_3.15'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.15' and 'NSS_3.15.4'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.15.4' and
'NSS_3.16.1' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.16.1' and
'NSS_3.16.2' in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.16.2' and 'NSS_3.18'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.18' and 'NSS_3.19' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.19' and 'NSS_3.19.1'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.19.1' and 'NSS_3.21'
in script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.21' and 'NSS_3.22' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.22' and 'NSS_3.30' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.30' and 'NSS_3.31' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.31' and 'NSS_3.33' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.33' and 'NSS_3.34' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.34' and 'NSS_3.39' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.39' and 'NSS_3.43' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.43' and 'NSS_3.44' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.44' and 'NSS_3.45' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.45' and 'NSS_3.47' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.47' and 'NSS_3.52' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.52' and 'NSS_3.53' in
script
/home/ubuntu/Android/Sdk/ndk/19.2.5345600/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld:
warning: wildcard match appears in both version 'NSS_3.53' and 'NSS_3.55' in
script
coreconf/rules.mk:44: recipe for target 'lib' failed
make[4]: *** [lib] Error 2
manifest.mn:28: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:53: recipe for target 'nss_build_all' failed
make[2]: *** [nss_build_all] Error 2
/opt/lo_final/core/external/nss/ExternalProject_nss.mk:41: recipe for target
'/opt/lo_final/core/workdir/ExternalProject/nss/build' failed
make[1]: *** [/opt/lo_final/core/workdir/ExternalProject/nss/build] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2

My autogen.input looks like this.
--build=x86_64-unknown-linux-gnu
--with-android-sdk=/home/ubuntu/Android/Sdk
--with-android-ndk=/home/ubuntu/Android/Sdk/ndk/19.2.5345600
--with-distro=LibreOfficeAndroid
--enable-sal-log







 



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.