Issue tracker: Issueshttps://tracker.crystax.net/https://tracker.crystax.net/favicon.ico?15359200272016-07-29T09:56:06ZIssue tracker
Redmine CrystaX NDK - Bug #1457 (Closed): mclinker build errorhttps://tracker.crystax.net/issues/14572016-07-29T09:56:06ZMarc M.
<p>When compiling the mclinker for llvm-3.5, ScriptScanner.cc (generated previously with flex) fails to compile. This doesn't happen with llvm-3.6.</p>
<p>I have flex version 2.6.0 on a Fedora 23 with Linux 4.5.7</p>
<p>I solved this error by copying /usr/include/FlexLexer.h to crystax/toolchain/mclinker/include/mcld/Script/FlexLexer.h</p>
<p>I attach the full build log.</p>
<p>(From [[<a href="https://groups.google.com/forum/#!topic/crystax-ndk/O62nc9Kaz5w%5D%5D">https://groups.google.com/forum/#!topic/crystax-ndk/O62nc9Kaz5w]]</a>)</p>
CrystaX NDK - Bug #1405 (Closed): Make standalone toolchain is broken for gcc (r859)https://tracker.crystax.net/issues/14052016-05-31T09:52:13ZAndrey A.
<p>~/crystax-ndk-10.3.1-r859/build/tools/make-standalone-toolchain.sh --platform=android-16 --arch=armHOST_OS=linux<br>
HOST_EXE=<br>
HOST_ARCH=x86_64<br>
HOST_TAG=linux-x86_64<br>
HOST_NUM_CPUS=8<br>
BUILD_NUM_CPUS=16<br>
Auto-config: --toolchain=arm-linux-androideabi-4.9<br>
Copying prebuilt binaries...<br>
Copying sysroot headers and libraries...<br>
cp: cannot stat '/home/andrey/crystax-ndk-10.3.1-r859//libs/armeabi/*': No such file or directory<br>
Copying crystax headers and libraries...<br>
ERROR: Cant' copy from non-directory: /home/andrey/crystax-ndk-10.3.1-r859//libs/armeabi</p>
CrystaX NDK - Bug #1404 (Closed): Unable to make standalone toolchain based on clang (r859) / --...https://tracker.crystax.net/issues/14042016-05-31T09:00:06ZAndrey A.
<p>[11:39:53/0] andrey:~/Development/Contrib/trunk$ ~/crystax-ndk-10.3.1/build/tools/make-standalone-toolchain.sh --toolchain=arm-linux-android-clang3.8 --use-llvm --platform=android-16<br>
HOST_OS=linux<br>
HOST_EXE=<br>
HOST_ARCH=x86_64<br>
HOST_TAG=linux-x86_64<br>
HOST_NUM_CPUS=8<br>
BUILD_NUM_CPUS=16<br>
Auto-config: --arch=arm<br>
Auto-config: --toolchain=arm-linux-android-clang3.8-4.9, --llvm-version=<br>
*** Can't detect LLVM version</p>
<p>So, it cannot detect LLVM version.<br>
And a question: how to override 4.9 in autoconfig value arm-linux-android-clang3.8-4.9 ???</p>
<p>[11:52:35/0] andrey:~/Development/Contrib/trunk$ ~/crystax-ndk-10.3.1/build/tools/make-standalone-toolchain.sh --toolchain=arm-linux-android-clang3.8 --use-llvm --platform=android-16 --llvm-version=3.8<br>
HOST_OS=linux<br>
HOST_EXE=<br>
HOST_ARCH=x86_64<br>
HOST_TAG=linux-x86_64<br>
HOST_NUM_CPUS=8<br>
BUILD_NUM_CPUS=16<br>
ERROR: Unknown option '--llvm-version'. See --help for usage.</p>
CrystaX NDK - Task #1348 (Closed): Get rid of 32-bit host toolchains for GNU/Linux and OS Xhttps://tracker.crystax.net/issues/13482016-03-26T16:05:55ZDmitry M.dm@crystax.netCrystaX NDK - Bug #1171 (Closed): In make-standalone-toolchain obj c/c++ and vendor libraries for...https://tracker.crystax.net/issues/11712015-12-03T17:52:53ZAlexander Z.zuav@crystax.net
<p>All libs are copied into /lib.<br>
But for mipsmips64 they should be copied into the dir specific for the default abi, e.g. lib64r2 for mips64.</p>
CrystaX NDK - Bug #1168 (Closed): mips64 standalone test fails with GCC/gnustlhttps://tracker.crystax.net/issues/11682015-11-30T18:08:56ZAlexander Z.zuav@crystax.net
<p>Failed tests are basic-objcxx-compile and libcrystax-cxx-linked</p>
CrystaX NDK - Bug #1167 (Closed): host python for windows incorrectly built without standard exte...https://tracker.crystax.net/issues/11672015-11-27T12:13:41ZAlexander Z.zuav@crystax.net
<p>Almost all standard extension are excluded from windows python build.</p>
CrystaX NDK - Bug #1162 (Closed): standalone test libcrystax-cxx-linked failed for GCC 5https://tracker.crystax.net/issues/11622015-11-18T17:50:35ZAlexander Z.zuav@crystax.net
<p>Running libcrystax-cxx-linked test... # COMMAND[cd /tmp/ndk-zuav/tests/standalone/build]</p>
<a name="COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-5-gnustl-36binarm-linux-androideabi-g-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-fno-exceptions-o-devnull-maincpp-lstdc-latomic"></a>
<h1 >COMMAND[/tmp/ndk-zuav/tmp/android-ndk-api21-arm-darwin-x86_64-5-gnustl-3.6/bin/arm-linux-androideabi-g++ -DABI_armeabi_v7a=1 -march=armv7-a -mfloat-abi=softfp -fno-exceptions -o /dev/null main.cpp -lstdc++ -latomic]<a href="#COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-5-gnustl-36binarm-linux-androideabi-g-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-fno-exceptions-o-devnull-maincpp-lstdc-latomic" class="wiki-anchor">¶</a></h1>
<p>main.cpp:1:20: fatal error: iostream: No such file or directory<br>
compilation terminated.</p>
CrystaX NDK - Bug #1161 (Closed): standalone test builtin-macros failed for gcc 5 https://tracker.crystax.net/issues/11612015-11-18T16:35:22ZAlexander Z.zuav@crystax.net
<p>Checking <strong>WCHAR_MAX</strong>: Invalid built-in macro definition: '0xffffffffU', expected '4294967295U'</p>
CrystaX NDK - Bug #1160 (Closed): objc and objc++ standalone test failed for both gcc and clang t...https://tracker.crystax.net/issues/11602015-11-18T15:43:10ZAlexander Z.zuav@crystax.net
<a name="COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-49-gnustl-36binarm-linux-androideabi-gcc-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-o-devnull-mainm-lobjc"></a>
<h1 >COMMAND[/tmp/ndk-zuav/tmp/android-ndk-api21-arm-darwin-x86_64-4.9-gnustl-3.6/bin/arm-linux-androideabi-gcc -DABI_armeabi_v7a=1 -march=armv7-a -mfloat-abi=softfp -o /dev/null main.m -lobjc]<a href="#COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-49-gnustl-36binarm-linux-androideabi-gcc-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-o-devnull-mainm-lobjc" class="wiki-anchor">¶</a></h1>
<p>main.m:6:24: fatal error: objc/Object.h: No such file or directory<br>
#import <br>
^<br>
compilation terminated.<br>
Running basic-objcxx-compile test... # COMMAND[cd /tmp/ndk-zuav/tests/standalone/build]</p>
<a name="COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-49-gnustl-36binarm-linux-androideabi-g-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-fno-exceptions-o-devnull-mainmm-lobjc"></a>
<h1 >COMMAND[/tmp/ndk-zuav/tmp/android-ndk-api21-arm-darwin-x86_64-4.9-gnustl-3.6/bin/arm-linux-androideabi-g++ -DABI_armeabi_v7a=1 -march=armv7-a -mfloat-abi=softfp -fno-exceptions -o /dev/null main.mm -lobjc]<a href="#COMMANDtmpndk-zuavtmpandroid-ndk-api21-arm-darwin-x86_64-49-gnustl-36binarm-linux-androideabi-g-DABI_armeabi_v7a1-marcharmv7-a-mfloat-abisoftfp-fno-exceptions-o-devnull-mainmm-lobjc" class="wiki-anchor">¶</a></h1>
<p>main.mm:6:24: fatal error: objc/Object.h: No such file or directory<br>
#import <br>
^<br>
compilation terminated.</p>
CrystaX NDK - Bug #1159 (Closed): make-standalone-toolchain is brokenhttps://tracker.crystax.net/issues/11592015-11-17T19:19:24ZAlexander Z.zuav@crystax.net
<p>run-standalone-tests.rb command fails with the following message:</p>
<p>libc++, API levels: failed to make standalone toolchain with command: ./build/tools/make-standalone-toolchain.sh --platform=android-3 --install-dir=/tmp/ndk-zuav/tmp/android-ndk-api3-arm-linux-x86_64-4.9-libc++-3.6 --llvm-version=3.6 --stl=libc++ --toolchain=arm-linux-androideabi-4.9 --system=linux-x86_64</p>
<p>in log:</p>
<p>Copying c++ runtime headers and libraries (with libc++abi)...<br>
ERROR: Can't copy from non-directory: ./sources/cxx-stl/llvm-libc++/libcxx/include</p>
CrystaX NDK - Bug #1118 (Closed): Install crew.cmd failedhttps://tracker.crystax.net/issues/11182015-11-09T09:30:41ZDmitry M.dm@crystax.net
<p>/home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/build/scripts/install-crew --out-dir=/tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/tools<br>
Installing CREW<br>
cp /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/build/scripts/ruby.cmd /tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/prebuilt/window/bin/<br>
cp: cannot create regular file '/tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/prebuilt/window/bin/': No such file or directory<br>
ERROR: Could not copy ruby script to 32 bit destination<br>
ERROR: Can't generate proper release packages.</p>
CrystaX NDK - Bug #1011 (Closed): gen-platforms.sh leaves repo in a dirty statehttps://tracker.crystax.net/issues/10112015-07-22T12:01:28ZAlexander Z.zuav@crystax.net
<p>when run like this:</p>
<p>./build/tools/gen-platforms.sh --samples --fast-copy --dst-dir=/Volumes/Source-HD/src/ndk/platform/ndk --ndk-dir=/Volumes/Source-HD/src/ndk/platform/ndk --arch=arm,x86,mips,arm64,x86_64,mips64 --package-dir=/tmp/ndk-zuav/tmp/build-71797/release-10.2.1-20150722/prebuilt --gcc-version=4.9</p>
<p>leave repo like this:</p>
<p>$ git status<br>
On branch master<br>
Your branch is up-to-date with 'origin/master'.<br>
Changes not staged for commit:<br>
(use "git add/rm ..." to update what will be committed)<br>
(use "git checkout -- ..." to discard changes in working directory)</p>
<pre><code>deleted: samples/.gitignore
deleted: samples/test-debug/.gitignore
deleted: samples/test-debug/AndroidManifest.xml
deleted: samples/test-debug/jni/Android.mk
deleted: samples/test-debug/jni/Application.mk
deleted: samples/test-debug/jni/testdebug.c
deleted: samples/test-debug/proguard-project.txt
deleted: samples/test-debug/project.properties
deleted: samples/test-debug/res/values/strings.xml
deleted: samples/test-debug/src/com/example/testdebug/TestDebug.java
</code></pre>
<p>Untracked files:<br>
(use "git add ..." to include in what will be committed)</p>
<pre><code>samples/MoreTeapots/
samples/Teapot/
samples/bitmap-plasma/
samples/gles3jni/
samples/hello-gl2/
samples/hello-jni/
samples/hello-neon/
samples/module-exports/
samples/native-activity/
samples/native-audio/
samples/native-codec/
samples/native-media/
samples/native-plasma/
samples/san-angeles/
samples/test-libstdc++/
samples/two-libs/
</code></pre>
<p>no changes added to commit (use "git add" and/or "git commit -a")</p>
CrystaX NDK - Bug #1008 (Closed): yasm is not included into 32-bit linux packageshttps://tracker.crystax.net/issues/10082015-07-20T09:48:41ZDmitry M.dm@crystax.netCrystaX NDK - Bug #1000 (Closed): gdb is broken after last mergehttps://tracker.crystax.net/issues/10002015-07-08T14:41:10ZDmitry M.dm@crystax.net
<p>$ ~/work/ndk/ndk/platform/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gdb --version<br>
Could not find platform independent libraries <br>
Could not find platform dependent libraries <br>
Consider setting $PYTHONHOME to [:]<br>
ImportError: No module named site</p>
<p>$ /opt/android/crystax-ndk-10.2.0/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gdb --version<br>
GNU gdb (GDB) 7.7<br>
Copyright (C) 2014 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "--host=x86_64-apple-darwin --target=arm-linux-android".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
<a href="http://source.android.com/source/report-bugs.html">http://source.android.com/source/report-bugs.html</a>.<br>
Find the GDB manual and other documentation resources online at:<br>
<a href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>.<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word".</p>
<p>As you can see, gdb from 10.2.0 release works, whereas gdb from latest build doesn't. Probably some error related to gdb's Python integration.</p>