https://tracker.crystax.net/https://tracker.crystax.net/favicon.ico?15359200272014-12-19T15:17:33ZIssue trackerCrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=13822014-12-19T15:17:33ZAlexander Z.zuav@crystax.net
<ul><li><strong>Assignee</strong> changed from <i>Dmitry M.</i> to <i>Alexander Z.</i></li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=13842014-12-20T12:53:50ZAlexander Z.zuav@crystax.net
<ul><li><strong>Subject</strong> changed from <i>Build of tests/build/flto failed for clang3.4</i> to <i>Build of tests/build/flto failed for clang3.4/3.5</i></li><li><strong>Assignee</strong> deleted (<del><i>Alexander Z.</i></del>)</li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> deleted (<del><i>10.0.0</i></del>)</li><li><strong>Toolchain</strong> <i>clang-3.5</i> added</li></ul><p>Google's NDK r10d shows the same result:</p>
<a name="COMMAND-optandroidandroid-ndk-r10dndk-build-j1-B-APP_LDFLAGS-APP_CFLAGS"></a>
<h2 >COMMAND: /opt/android/android-ndk-r10d/ndk-build -j1 -B APP_LDFLAGS= APP_CFLAGS=<a href="#COMMAND-optandroidandroid-ndk-r10dndk-build-j1-B-APP_LDFLAGS-APP_CFLAGS" class="wiki-anchor">¶</a></h2>
<p>[armeabi-v7a-hard] Compile thumb : flto <= flto.c<br>
[armeabi-v7a-hard] Executable : flto<br>
[armeabi-v7a-hard] Install : flto => libs/armeabi-v7a-hard/flto<br>
[arm64-v8a] Compile : flto <= flto.c<br>
[arm64-v8a] Executable : flto<br>
./obj/local/arm64-v8a/objs/flto/flto.o: file not recognized: File format not recognized<br>
clang++: error: linker command failed with exit code 1 (use -v to see invocation)<br>
make: *** [obj/local/arm64-v8a/flto] Error 1<br>
!!! BUILD FAILURE [/opt/android/android-ndk-r10d/tests/build/flto]!!! See /tmp/ndk-zuav/tests/build-tests.log for details or use --verbose option!</p>
CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=15342014-12-27T23:53:08ZDmitry M.dm@crystax.net
<ul></ul><p>The same error happens when building tests/build/issue36131-flto-c++11</p>
CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=15532014-12-28T19:07:47ZDmitry M.dm@crystax.net
<ul><li><strong>Target version</strong> set to <i>10.1.0</i></li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=16822015-01-17T20:14:35ZDmitry M.dm@crystax.net
<ul><li><strong>Target version</strong> deleted (<del><i>10.1.0</i></del>)</li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=17092015-01-18T15:54:24ZDmitry M.dm@crystax.net
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>Normal</i></li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=20912015-06-19T21:03:50ZDmitry M.dm@crystax.net
<ul><li><strong>Target version</strong> set to <i>10.3.0</i></li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=22712015-08-27T16:43:18ZDmitry M.dm@crystax.net
<ul><li><strong>Subject</strong> changed from <i>Build of tests/build/flto failed for clang3.4/3.5</i> to <i>[tests] Build of tests/build/flto failed when built by clang</i></li><li><strong>Toolchain</strong> <i>clang-3.6</i> added</li></ul> CrystaX NDK - Bug #696: [tests] Build of tests/build/flto failed when built by clanghttps://tracker.crystax.net/issues/696?journal_id=24242015-10-13T13:54:26ZDmitry M.dm@crystax.net
<ul><li><strong>Target version</strong> changed from <i>10.3.0</i> to <i>11.0.0</i></li></ul>