Closed jankeromnes closed 6 years ago
0:06.13 checking for linker... gold [...] 0:11.59 checking for gcc... /usr/bin/clang-6.0 -std=gnu99 --target=arm-linux-androideabi 0:11.63 checking whether the C compiler (/usr/bin/clang-6.0 -std=gnu99 --target=arm-linux-androideabi -fno-short-enums -fno-exceptions -L/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib -Wl,-rpath-link=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib --sysroot=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm -Wl,--allow-shlib-undefined -gcc-toolchain /home/user/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 ) works... no 0:11.63 configure: error: installation or configuration problem: C compiler cannot create executables. 0:11.63 DEBUG: <truncated - see config.log for full output> 0:11.63 DEBUG: configure:883: checking build system type 0:11.63 DEBUG: configure:1304: checking for ranlib 0:11.64 DEBUG: configure:1339: checking for ar 0:11.64 DEBUG: configure:1379: checking for gcc 0:11.64 DEBUG: configure:1492: checking whether the C compiler (/usr/bin/clang-6.0 -std=gnu99 --target=arm-linux-androideabi -fno-short-enums -fno-exceptions -L/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib -Wl,-rpath-link=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib --sysroot=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm -Wl,--allow-shlib-undefined -gcc-toolchain /home/user/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 ) works 0:11.64 DEBUG: configure:1508: /usr/bin/clang-6.0 -std=gnu99 --target=arm-linux-androideabi -o conftest -fno-short-enums -fno-exceptions -isystem /home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/include -isystem /home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/include -gcc-toolchain /home/user/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -D__ANDROID_API__=9 -L/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib -Wl,-rpath-link=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm/usr/lib --sysroot=/home/user/.mozbuild/android-ndk-r15c/platforms/android-9/arch-arm -Wl,--allow-shlib-undefined -gcc-toolchain /home/user/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 conftest.c 1>&5 0:11.64 DEBUG: configure:1505:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 0:11.64 DEBUG: main(){return(0);} 0:11.64 DEBUG: ^ 0:11.64 DEBUG: 1 warning generated. 0:11.64 DEBUG: /usr/bin/ld: unrecognised emulation mode: armelf_linux_eabi 0:11.64 DEBUG: Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om i386pep i386pe 0:11.64 DEBUG: clang: error: linker command failed with exit code 1 (use -v to see invocation) 0:11.64 DEBUG: configure: failed program was: 0:11.64 DEBUG: 0:11.64 DEBUG: #line 1503 "configure" 0:11.64 DEBUG: #include "confdefs.h" 0:11.64 DEBUG: 0:11.64 DEBUG: main(){return(0);} 0:11.64 DEBUG: configure: error: installation or configuration problem: C compiler cannot create executables. 0:11.64 ERROR: old-configure failed 0:11.67 *** Fix above errors and then restart with\ 0:11.67 "/usr/bin/make -f client.mk build" 0:11.67 client.mk:145: recipe for target 'configure' failed 0:11.67 make: *** [configure] Error 1 The command '/bin/sh -c ./mach build && ./mach package' returned a non-zero code: 2 Exited with code 2
This was fixed by f5510298d3ac2334a45d257259349fdb8387a153 (Fennec is linked by Android SDK directly).