Project

General

Profile

Bug #696

[tests] Build of tests/build/flto failed when built by clang

Added by Dmitry Moskalchuk almost 5 years ago. Updated almost 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
test
Target version:
Start date:
10/03/2014
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
clang-3.4, clang-3.5, clang-3.6
Android version:
CrystaX Version:

History

#1

Updated by Alexander Zhukov over 4 years ago

  • Assignee changed from Dmitry Moskalchuk to Alexander Zhukov
#2

Updated by Alexander Zhukov over 4 years ago

  • Subject changed from Build of tests/build/flto failed for clang3.4 to Build of tests/build/flto failed for clang3.4/3.5
  • Assignee deleted (Alexander Zhukov)
  • Priority changed from Normal to Low
  • Target version deleted (10.0.0)
  • Toolchain clang-3.5 added

Google's NDK r10d shows the same result:

COMMAND: /opt/android/android-ndk-r10d/ndk-build -j1 -B APP_LDFLAGS= APP_CFLAGS=

[armeabi-v7a-hard] Compile thumb : flto <= flto.c
[armeabi-v7a-hard] Executable : flto
[armeabi-v7a-hard] Install : flto => libs/armeabi-v7a-hard/flto
[arm64-v8a] Compile : flto <= flto.c
[arm64-v8a] Executable : flto
./obj/local/arm64-v8a/objs/flto/flto.o: file not recognized: File format not recognized
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [obj/local/arm64-v8a/flto] Error 1
!!! BUILD FAILURE [/opt/android/android-ndk-r10d/tests/build/flto]!!! See /tmp/ndk-zuav/tests/build-tests.log for details or use --verbose option!

#3

Updated by Dmitry Moskalchuk over 4 years ago

The same error happens when building tests/build/issue36131-flto-c++11

#4

Updated by Dmitry Moskalchuk over 4 years ago

  • Target version set to 10.1.0
#5

Updated by Dmitry Moskalchuk over 4 years ago

  • Target version deleted (10.1.0)
#6

Updated by Dmitry Moskalchuk over 4 years ago

  • Priority changed from Low to Normal
#7

Updated by Dmitry Moskalchuk about 4 years ago

  • Target version set to 10.3.0
#8

Updated by Dmitry Moskalchuk about 4 years ago

  • Subject changed from Build of tests/build/flto failed for clang3.4/3.5 to [tests] Build of tests/build/flto failed when built by clang
  • Toolchain clang-3.6 added
#9

Updated by Dmitry Moskalchuk almost 4 years ago

  • Target version changed from 10.3.0 to 11.0.0

Also available in: Atom PDF