Project

General

Profile

Bug #948

HelloComputeNDK build is broken on Windows

Added by Dmitry Moskalchuk about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
05/13/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Windows
Toolchain:
Android version:
CrystaX Version:

Description

2015-05-12 16:14:14.543 UTC: BLD sample [HelloComputeNDK] gcc4.9
2015-05-12 16:14:14.685 UTC: ## COMMAND: C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/ndk-build.cmd -B -j4 V=1 APP_PIE=false
2015-05-12 16:14:14.685 UTC: ## CWD: c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target
2015-05-12 16:14:15.117 UTC: > Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 14 in ./AndroidManifest.xml

2015-05-12 16:14:15.294 UTC: > md "obj\local\armeabi-v7a" >NUL 2>NUL || rem
2015-05-12 16:14:15.308 UTC: > md "libs\armeabi-v7a" >NUL 2>NUL || rem
2015-05-12 16:14:15.355 UTC: > md "obj\local\armeabi-v7a\objs\hellocomputendk" >NUL 2>NUL || rem
2015-05-12 16:14:15.386 UTC: > md "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\cxx-stl\stlport\libs\armeabi-v7a\thumb" >NUL 2>NUL || rem
2015-05-12 16:14:15.417 UTC: > md "obj\local\x86" >NUL 2>NUL || rem
2015-05-12 16:14:15.417 UTC: > md "libs\x86" >NUL 2>NUL || rem
2015-05-12 16:14:15.417 UTC: > [armeabi-v7a] Compile RS : hellocomputendk <= mono.rs
2015-05-12 16:14:15.433 UTC: > cd jni/ && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/bin/llvm-rs-cc -o c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/armeabi-v7a/objs/hellocomputendk/ -d c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/armeabi-v7a/objs/hellocomputendk -MD -reflect-c++ -target-api 19 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/lib/clang/3.5/include -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/include/rs/scriptc -Ijni -Wall -Werror -m32 mono.rs
2015-05-12 16:14:15.448 UTC: > [x86] Compile RS : hellocomputendk <= mono.rs
2015-05-12 16:14:15.464 UTC: > md "obj\local\x86\objs\hellocomputendk" >NUL 2>NUL || rem
2015-05-12 16:14:15.464 UTC: > md "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\cxx-stl\stlport\libs\x86" >NUL 2>NUL || rem
2015-05-12 16:14:15.480 UTC: > cd jni/ && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/bin/llvm-rs-cc -o c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/x86/objs/hellocomputendk/ -d c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/x86/objs/hellocomputendk -MD -reflect-c++ -target-api 19 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/lib/clang/3.5/include -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-x86/usr/include/rs/scriptc -Ijni -Wall -Werror -m32 mono.rs
2015-05-12 16:14:15.495 UTC: > md "obj\local\mips" >NUL 2>NUL || rem
2015-05-12 16:14:15.526 UTC: > md "libs\mips" >NUL 2>NUL || rem
2015-05-12 16:14:15.558 UTC: > md "obj\local\mips\objs\hellocomputendk" >NUL 2>NUL || rem
2015-05-12 16:14:15.621 UTC: > [mips] Compile RS : hellocomputendk <= mono.rs
2015-05-12 16:14:15.651 UTC: > cd jni/ && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/bin/llvm-rs-cc -o c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/mips/objs/hellocomputendk/ -d c:/tmp/ndk-tests-windows8.1-x86_64/gcc4.9/samples/HelloComputeNDK/target/obj/local/mips/objs/hellocomputendk -MD -reflect-c++ -target-api 19 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/lib/clang/3.5/include -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/include/rs/scriptc -Ijni -Wall -Werror -m32 mono.rs
2015-05-12 16:14:15.667 UTC: > md "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\cxx-stl\stlport\libs\mips" >NUL 2>NUL || rem
2015-05-12 16:14:15.714 UTC: > [armeabi-v7a] Prebuilt : libRSSupport.so <= /platforms/android-19/arch-arm/usr/lib/rs/
2015-05-12 16:14:15.765 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\platforms\android-19\arch-arm\usr\lib\rs\libRSSupport.so" "obj\local\armeabi-v7a\libRSSupport.so" > NUL
2015-05-12 16:14:15.813 UTC: > [x86] Prebuilt : libRSSupport.so <= /platforms/android-19/arch-x86/usr/lib/rs/
2015-05-12 16:14:15.840 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\platforms\android-19\arch-x86\usr\lib\rs\libRSSupport.so" "obj\local\x86\libRSSupport.so" > NUL
2015-05-12 16:14:15.933 UTC: > [mips] Prebuilt : libRSSupport.so <= /platforms/android-19/arch-mips/usr/lib/rs/
2015-05-12 16:14:15.948 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\platforms\android-19\arch-mips\usr\lib\rs\libRSSupport.so" "obj\local\mips\libRSSupport.so" > NUL
2015-05-12 16:14:16.028 UTC: > [armeabi-v7a] Install : libcrystax.so => libs/armeabi-v7a/libcrystax.so
2015-05-12 16:14:16.042 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\crystax\libs\armeabi-v7a\thumb\libcrystax.so" "libs\armeabi-v7a\libcrystax.so" > NUL
2015-05-12 16:14:16.136 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded libs/armeabi-v7a/libcrystax.so
2015-05-12 16:14:16.417 UTC: > [x86] Install : libcrystax.so => libs/x86/libcrystax.so
2015-05-12 16:14:16.448 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\crystax\libs\x86\libcrystax.so" "libs\x86\libcrystax.so" > NUL
2015-05-12 16:14:16.558 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-strip --strip-unneeded libs/x86/libcrystax.so
2015-05-12 16:14:16.776 UTC: > [mips] Install : libcrystax.so => libs/mips/libcrystax.so
2015-05-12 16:14:16.809 UTC: > copy /b/y "C:\tmp\crystaxndk-ndk\crystax-ndk-10.1.0-b536-windows-x86_64\sources\crystax\libs\mips\libcrystax.so" "libs\mips\libcrystax.so" > NUL
2015-05-12 16:14:16.933 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/mipsel-linux-android-4.9/prebuilt/windows-x86_64/bin/mipsel-linux-android-strip --strip-unneeded libs/mips/libcrystax.so
2015-05-12 16:14:17.198 UTC: > [armeabi-v7a] Install : libRSSupport.so => libs/armeabi-v7a/libRSSupport.so
2015-05-12 16:14:17.761 UTC: > copy /b/y ".\obj\local\armeabi-v7a\libRSSupport.so" ".\libs\armeabi-v7a\libRSSupport.so" > NUL
2015-05-12 16:14:17.793 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded ./libs/armeabi-v7a/libRSSupport.so
2015-05-12 16:14:17.808 UTC: > [x86] Install : libRSSupport.so => libs/x86/libRSSupport.so
2015-05-12 16:14:17.839 UTC: > copy /b/y ".\obj\local\x86\libRSSupport.so" ".\libs\x86\libRSSupport.so" > NUL
2015-05-12 16:14:17.871 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-strip --strip-unneeded ./libs/x86/libRSSupport.so
2015-05-12 16:14:17.886 UTC: > [mips] Install : libRSSupport.so => libs/mips/libRSSupport.so
2015-05-12 16:14:17.886 UTC: > copy /b/y ".\obj\local\mips\libRSSupport.so" ".\libs\mips\libRSSupport.so" > NUL
2015-05-12 16:14:17.902 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/mipsel-linux-android-4.9/prebuilt/windows-x86_64/bin/mipsel-linux-android-strip --strip-unneeded ./libs/mips/libRSSupport.so
2015-05-12 16:14:19.776 UTC: * make.exe: *** [obj/local/x86/objs/hellocomputendk/mono.o] Error -1073741819
2015-05-12 16:14:19.809 UTC: * make.exe: *** Waiting for unfinished jobs....
2015-05-12 16:14:19.870 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/bin/bcc_compat -O3 -o ./obj/local/armeabi-v7a/objs/hellocomputendk/mono.bc.o -fPIC -shared -rt-path C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/lib/rs/libclcore.bc -mtriple armv7-none-linux-gnueabi ./obj/local/armeabi-v7a/objs/hellocomputendk/mono.bc && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -shared -Wl,-soname,librs.mono.so -nostdlib ./obj/local/armeabi-v7a/objs/hellocomputendk/mono.bc.o C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/lib/rs/libcompiler_rt.a -o ./libs/armeabi-v7a/librs.mono.so -L C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/lib -L C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/lib/rs -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -lRSSupport -lm -lc && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi-v7a/objs/hellocomputendk/mono.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/include/rs/cpp -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/include/rs -I./obj/local/armeabi-v7a/objs/hellocomputendk -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/sources/cxx-stl/stlport/stlport -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/sources/cxx-stl//gabi++/include -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -frtti -std=gnu++11 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/include -fno-rtti -c ./obj/local/armeabi-v7a/objs/hellocomputendk/./ScriptC_mono.cpp -o ./obj/local/armeabi-v7a/objs/hellocomputendk/mono.o
2015-05-12 16:14:19.901 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/renderscript/prebuilt/windows-x86_64/bin/bcc_compat -O3 -o ./obj/local/mips/objs/hellocomputendk/mono.bc.o -fPIC -shared -rt-path C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib/rs/libclcore.bc -mtriple mipsel-unknown-linux ./obj/local/mips/objs/hellocomputendk/mono.bc && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/mipsel-linux-android-4.9/prebuilt/windows-x86_64/bin/mipsel-linux-android-g++ -shared -Wl,-soname,librs.mono.so -nostdlib ./obj/local/mips/objs/hellocomputendk/mono.bc.o C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib/rs/libcompiler_rt.a -o ./libs/mips/librs.mono.so -L C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib -L C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib/rs -no-canonical-prefixes -lRSSupport -lm -lc && C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/toolchains/mipsel-linux-android-4.9/prebuilt/windows-x86_64/bin/mipsel-linux-android-g++ -MMD -MP -MF ./obj/local/mips/objs/hellocomputendk/mono.o.d -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -funswitch-loops -finline-limit=300 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/include/rs/cpp -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/include/rs -I./obj/local/mips/objs/hellocomputendk -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/sources/cxx-stl/stlport/stlport -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/sources/cxx-stl//gabi++/include -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -frtti -std=gnu++11 -IC:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/include -fno-rtti -c ./obj/local/mips/objs/hellocomputendk/./ScriptC_mono.cpp -o ./obj/local/mips/objs/hellocomputendk/mono.o
2015-05-12 16:14:20.262 UTC: * WARNING: Linking two modules of different data layouts: 'C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-arm/usr/lib/rs/libclcore.bc' is 'e-p:32:32-i64:64-v128:64:128-n32-S64' whereas './obj/local/armeabi-v7a/objs/hellocomputendk/mono.bc' is 'e-m:e-p:32:32-i64:64-v128:64:128-n32-S64'
2015-05-12 16:14:20.308 UTC: * WARNING: Linking two modules of different data layouts: 'C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib/rs/libclcore.bc' is 'e-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64' whereas './obj/local/mips/objs/hellocomputendk/mono.bc' is 'e-m:e-p:32:32-i64:64-v128:64:128-n32-S64'
2015-05-12 16:14:20.323 UTC: * WARNING: Linking two modules of different target triples: C:/tmp/crystaxndk-ndk/crystax-ndk-10.1.0-b536-windows-x86_64/platforms/android-19/arch-mips/usr/lib/rs/libclcore.bc' is 'mipsel-unknown-linux' whereas './obj/local/mips/objs/hellocomputendk/mono.bc' is 'armv7-none-linux-gnueabi'
2015-05-12 16:14:27.437 UTC: ERROR: Build of project HelloComputeNDK failed
2015-05-12 16:14:27.448 UTC: ---> FAILURE: TARGET BUILD [HelloComputeNDK]

History

#1 Updated by Dmitry Moskalchuk about 4 years ago

  • Target version set to 10.2.0

#2 Updated by Alexander Zhukov about 4 years ago

  • Status changed from Open to In Progress

#3 Updated by Alexander Zhukov about 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

[master ec283c6] Fix issue #948

Also available in: Atom PDF