Project

General

Profile

Bug #280

Test build/flto failed

Added by Alexander Zhukov over 7 years ago. Updated almost 6 years ago.

Status:
Invalid
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/14/2013
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
armeabi-v7a
Host OS:
Mac OS X
Toolchain:
gcc-4.7
Android version:
CrystaX Version:

Description

Sample output:

Building NDK build test: flto

COMMAND: cd /tmp/ndk-zuav/tests/build/flto

COMMAND: /tmp/android-ndk-20130312/ndk-build -j4 -B APP_ABI=armeabi-v7a NDK_TOOLCHAIN_VERSION=4.7

rm -f ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/mips/lib*.so ./libs/x86/lib*.so
rm -f ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/mips/gdbserver ./libs/x86/gdbserver
Compile thumb : flto <= flto.c
/tmp/android-ndk-20130312/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86/bin/arm-linux-androideabi-gcc -MMD -MP -MF ./obj/local/armeabi-v7a/objs/flto/flto.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/tmp/android-ndk-20130312/sources/crystax/include -Ijni -DANDROID -flto -Wa,--noexecstack -I/tmp/android-ndk-20130312/platforms/android-8/arch-arm/usr/include -c jni/flto.c -o ./obj/local/armeabi-v7a/objs/flto/flto.o
rm -f ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/mips/gdb.setup ./libs/x86/gdb.setup
Executable : flto
/tmp/android-ndk-20130312/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/tmp/android-ndk-20130312/platforms/android-8/arch-arm ./obj/local/armeabi-v7a/objs/flto/flto.o /tmp/android-ndk-20130312/sources/crystax/libs/armeabi-v7a/libcrystax.a -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -flto -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -L /tmp/android-ndk-20130312/sources/crystax/libs/armeabi-v7a -lc -lm -o ./obj/local/armeabi-v7a/flto
/tmp/android-ndk-20130312/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: -plugin: unknown option
/tmp/android-ndk-20130312/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/flto] Error 1

#1

Updated by Dmitry Moskalchuk almost 6 years ago

  • Status changed from Open to Invalid

Also available in: Atom PDF