-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] NDK r17c fails to build the opengles 3.2 cts #499
Comments
Same here |
Glad to see I'm not the only one with said issue. |
Tested on commit e9a562c from master branch
Hey there, I tried to build the android target with the ndk r17c.
It failed to build files inside the
glslang
andspirv-tools
projects, which uses c++ 17 standard libraries.The command lines use the std=c++1z value as the last std value, so I'm not sure why it fails fetching said libraries specifically.
Click here for to expand the full command
[5/1830] Building CXX object external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx.pch
FAILED: external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx.pch
/home/spse/Android/Sdk/ndk/17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=armv7-none-linux-androideabi --gcc-toolchain=/home/spse/Android/Sdk/ndk/17c/toolchai
ns/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/home/spse/Android/Sdk/ndk/17c/sysroot -DDE_ANDROID_API=28 -DDE_ASSERT_FAILURE_CALLBACK -DDE_COMPILER=DE_COMPILER
CLANG -DDE_CPU=DE_CPU_ARM -DDE_DEBUG -DDE_FENV_ACCESS_ON="" -DDE_MINGW=0 -DDE_OS=DE_OS_ANDROID -DDE_PTR_SIZE=4 -DENABLE_HLSL -DENABLE_OPT=1 -DENABLE_SPIRV -DGLSLANG_OSINCLUD
E_UNIX -I/opt/repositories/VK-GL-CTS/framework/delibs/debase -I/opt/repositories/VK-GL-CTS/framework/delibs/decpp -I/opt/repositories/VK-GL-CTS/framework/delibs/depool -I/opt
/repositories/VK-GL-CTS/framework/delibs/dethread -I/opt/repositories/VK-GL-CTS/framework/delibs/deutil -I/opt/repositories/VK-GL-CTS/framework/delibs/destream -I/opt/reposit
ories/VK-GL-CTS/execserver -I/opt/repositories/VK-GL-CTS/external/glslang/src/glslang/.. -I/tmp/deqp-android-build/armeabi-v7a-RelWithAsserts-28/include -I/opt/repositories/V
K-GL-CTS/external/glslang/src/glslang/../External -I/opt/repositories/VK-GL-CTS/external/spirv-tools/src/include -I/opt/repositories/VK-GL-CTS/external/spirv-tools/../spirv-h
eaders/src/include -isystem /home/spse/Android/Sdk/ndk/17c/sources/cxx-stl/llvm-libc++/include -isystem /home/spse/Android/Sdk/ndk/17c/sources/android/support/include -isyste
m /home/spse/Android/Sdk/ndk/17c/sources/cxx-stl/llvm-libc++abi/include -Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -isystem /home/spse/An
droid/Sdk/ndk/17c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API_=28 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefi
xes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -frtti -fexceptions -Werror -fwrapv -fvisibility=h
idden -fvisibility-inlines-hidden -w -Os -DNDEBUG -std=c++1z -fPIC -Wall -Wuninitialized -Wunused -Wunused-local-typedefs -Wimplicit-fallthrough -Wunused-parameter -Wunused
-value -Wunused-variable -fno-rtti -fno-exceptions -Winvalid-pch -Xclang -emit-pch -Xclang -include -Xclang /tmp/deqp-android-build/armeabi-v7a-RelWithAsserts-28/external/gls
lang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx -x c++-header -MD -MT external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx.pch -MF external/glslang/src/gls
lang/CMakeFiles/glslang.dir/cmake_pch.hxx.pch.d -o external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx.pch -c /tmp/deqp-android-build/armeabi-v7a-RelWithAsserts
-28/external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx.cxx
In file included from :1:
In file included from /tmp/deqp-android-build/armeabi-v7a-RelWithAsserts-28/external/glslang/src/glslang/CMakeFiles/glslang.dir/cmake_pch.hxx:5:
In file included from /opt/repositories/VK-GL-CTS/external/glslang/src/glslang/MachineIndependent/pch.h:44:
In file included from /opt/repositories/VK-GL-CTS/external/glslang/src/glslang/MachineIndependent/SymbolTable.h:70:
/opt/repositories/VK-GL-CTS/external/glslang/src/glslang/MachineIndependent/../Include/InfoSink.h:39:10: fatal error: 'filesystem' file not found
#include
^~~~~~~~~~~~
1 error generated.
[6/1830] Building CXX object external/spirv-tools/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o
FAILED: external/spirv-tools/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o
/home/spse/Android/Sdk/ndk/17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=armv7-none-linux-androideabi --gcc-toolchain=/home/spse/Android/Sdk/ndk/17c/toolchai
ns/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --sysroot=/home/spse/Android/Sdk/ndk/17c/sysroot -DDE_ANDROID_API=28 -DDE_ASSERT_FAILURE_CALLBACK -DDE_COMPILER=DE_COMPILER
CLANG -DDE_CPU=DE_CPU_ARM -DDE_DEBUG -DDE_FENV_ACCESS_ON="" -DDE_MINGW=0 -DDE_OS=DE_OS_ANDROID -DDE_PTR_SIZE=4 -DSPIRV_ANDROID -DSPIRV_COLOR_TERMINAL -DSPIRV_TIMER_ENABLED -
I/opt/repositories/VK-GL-CTS/framework/delibs/debase -I/opt/repositories/VK-GL-CTS/framework/delibs/decpp -I/opt/repositories/VK-GL-CTS/framework/delibs/depool -I/opt/reposit
ories/VK-GL-CTS/framework/delibs/dethread -I/opt/repositories/VK-GL-CTS/framework/delibs/deutil -I/opt/repositories/VK-GL-CTS/framework/delibs/destream -I/opt/repositories/VK
-GL-CTS/execserver -I/opt/repositories/VK-GL-CTS/external/spirv-tools/src -I/opt/repositories/VK-GL-CTS/external/spirv-tools/src/include -I/opt/repositories/VK-GL-CTS/externa
l/spirv-tools/../spirv-headers/src/include -I/tmp/deqp-android-build/armeabi-v7a-RelWithAsserts-28/external/spirv-tools/spirv-tools -isystem /home/spse/Android/Sdk/ndk/17c/so
urces/cxx-stl/llvm-libc++/include -isystem /home/spse/Android/Sdk/ndk/17c/sources/android/support/include -isystem /home/spse/Android/Sdk/ndk/17c/sources/cxx-stl/llvm-libc++a
bi/include -Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -isystem /home/spse/Android/Sdk/ndk/17c/sysroot/usr/include/arm-linux-androideabi -
D__ANDROID_API_=28 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb
-Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -frtti -fexceptions -Werror -fwrapv -fvisibility=hidden -fvisibility-inlines-hidden -w -Os -DNDEBUG -std=c++1
z -fPIC -Wextra-semi -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-self-assign -Werror -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversi
on -fno-exceptions -ftemplate-depth=1024 -MD -MT external/spirv-tools/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o -MF external/spirv-tools/spirv-too
ls/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o.d -o external/spirv-tools/spirv-tools/source/opt/CMakeFiles/SPIRV-Tools-opt.dir/optimizer.cpp.o -c /opt/repositor
ies/VK-GL-CTS/external/spirv-tools/src/source/opt/optimizer.cpp
/opt/repositories/VK-GL-CTS/external/spirv-tools/src/source/opt/optimizer.cpp:18:10: fatal error: 'charconv' file not found
#include
^~~~~~~~~~
The text was updated successfully, but these errors were encountered: