Project

General

Profile

Actions

Bug #283

closed

Test build/flto failed

Added by Alexander Z. about 11 years ago. Updated over 9 years ago.

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

100%

Estimated time:
CPU Architecture:
x86
Host OS:
Mac OS X
Toolchain:
gcc-4.7
Android version:
CrystaX NDK 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=x86 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
rm -f ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/mips/gdb.setup ./libs/x86/gdb.setup
Compile x86 : flto <= flto.c
/tmp/android-ndk-20130312/toolchains/x86-4.7/prebuilt/darwin-x86/bin/i686-linux-android-gcc -MMD -MP -MF ./obj/local/x86/objs/flto/flto.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/tmp/android-ndk-20130312/sources/crystax/include -Ijni -DANDROID -flto -Wa,--noexecstack -I/tmp/android-ndk-20130312/platforms/android-9/arch-x86/usr/include -c jni/flto.c -o ./obj/local/x86/objs/flto/flto.o
Executable : flto
/tmp/android-ndk-20130312/toolchains/x86-4.7/prebuilt/darwin-x86/bin/i686-linux-android-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/tmp/android-ndk-20130312/platforms/android-9/arch-x86 ./obj/local/x86/objs/flto/flto.o /tmp/android-ndk-20130312/sources/crystax/libs/x86/libcrystax.a -lgcc -no-canonical-prefixes -flto -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -L /tmp/android-ndk-20130312/sources/crystax/libs/x86 -lc -lm -o ./obj/local/x86/flto
/tmp/android-ndk-20130312/toolchains/x86-4.7/prebuilt/darwin-x86/bin/../lib/gcc/i686-linux-android/4.7/../../../../i686-linux-android/bin/ld: -plugin: unknown option
/tmp/android-ndk-20130312/toolchains/x86-4.7/prebuilt/darwin-x86/bin/../lib/gcc/i686-linux-android/4.7/../../../../i686-linux-android/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [obj/local/x86/flto] Error 1

Actions #1

Updated by Dmitry M. over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Dmitry M. over 9 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF