Skip to content
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

compilation error when building with clang #106

Closed
anujm1 opened this issue Aug 19, 2019 · 0 comments
Closed

compilation error when building with clang #106

anujm1 opened this issue Aug 19, 2019 · 0 comments
Assignees

Comments

@anujm1
Copy link
Contributor

anujm1 commented Aug 19, 2019

[342/560] build/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/bin/clang++ -DCL_KHR_FP64_EXT -DDISABLE_ENCODER_EXCEPTIONS -DDLL_MODE -DGHAL3D=USC -DICBE_LINUX -DIGC_CMAKE -DIGC_EXPORTS=1 -DIGC_SPIRV_ENABLED -DINSIDE_PLUGIN -DISTDLIB_UMD -DLINUX -DNDEBUG -DNOMINMAX -DSTD_CALL -DUSC_EXPORTS=1 -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -D_AMD64_ -D_COMPILER_DLL_ -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_IGC_ -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/WrapperLLVM/include -IIGC/autogen -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/.. -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../Common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../3d/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/API -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../visa/include -IIGC/Release -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/ocl_igc_shared/executable_format -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/cif/cif/.. -IIGC/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa/include -isystembuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/include -pipe -O2 -fmessage-length=0 -march=corei7 -mstackrealign -fms-extensions -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wwrite-strings -Wno-long-long -Wswitch -Wno-sign-compare -Wno-unused-result -Wno-enum-compare -Wno-type-limits -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-extra -Wno-write-strings -finline -fno-strict-aliasing -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -Wno-unknown-pragmas -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -finline-functions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -std=c++14 -DNDEBUG -g -std=gnu++14 -MD -MT IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o -MF IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o.d -o IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o -c IGC/visa/CISA.tab.c
FAILED: IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o
build/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/bin/clang++ -DCL_KHR_FP64_EXT -DDISABLE_ENCODER_EXCEPTIONS -DDLL_MODE -DGHAL3D=USC -DICBE_LINUX -DIGC_CMAKE -DIGC_EXPORTS=1 -DIGC_SPIRV_ENABLED -DINSIDE_PLUGIN -DISTDLIB_UMD -DLINUX -DNDEBUG -DNOMINMAX -DSTD_CALL -DUSC_EXPORTS=1 -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -D_AMD64_ -D_COMPILER_DLL_ -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_IGC_ -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/WrapperLLVM/include -IIGC/autogen -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/.. -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../Common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../3d/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/API -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../visa/include -IIGC/Release -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/ocl_igc_shared/executable_format -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/cif/cif/.. -IIGC/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa/include -isystembuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/include -pipe -O2 -fmessage-length=0 -march=corei7 -mstackrealign -fms-extensions -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wwrite-strings -Wno-long-long -Wswitch -Wno-sign-compare -Wno-unused-result -Wno-enum-compare -Wno-type-limits -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-extra -Wno-write-strings -finline -fno-strict-aliasing -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -Wno-unknown-pragmas -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -finline-functions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -std=c++14 -DNDEBUG -g -std=gnu++14 -MD -MT IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o -MF IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o.d -o IGC/visa/CMakeFiles/GenX_IR.dir/CISA.tab.c.o -c IGC/visa/CISA.tab.c
clang-8: error: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Werror,-Wdeprecated]
[343/560] build/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/bin/clang++ -DCL_KHR_FP64_EXT -DDISABLE_ENCODER_EXCEPTIONS -DDLL_MODE -DGHAL3D=USC -DICBE_LINUX -DIGC_CMAKE -DIGC_EXPORTS=1 -DIGC_SPIRV_ENABLED -DINSIDE_PLUGIN -DISTDLIB_UMD -DLINUX -DNDEBUG -DNOMINMAX -DSTD_CALL -DUSC_EXPORTS=1 -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -D_AMD64_ -D_COMPILER_DLL_ -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_IGC_ -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/WrapperLLVM/include -IIGC/autogen -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/.. -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../Common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../3d/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/API -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../visa/include -IIGC/Release -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/ocl_igc_shared/executable_format -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/../inc/common/Compiler/common -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/IGC/AdaptorOCL/cif/cif/.. -IIGC/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa -Ibuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/git/visa/include -isystembuild/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.6-r0/recipe-sysroot-native/usr/include -pipe -O2 -fmessage-length=0 -march=corei7 -mstackrealign -fms-extensions -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wwrite-strings -Wno-long-long -Wswitch -Wno-sign-compare -Wno-unused-result -Wno-enum-compare -Wno-type-limits -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-extra -Wno-write-strings -finline -fno-strict-aliasing -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -Wno-unknown-pragmas -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -finline-functions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -std=c++14 -DNDEBUG -g -std=gnu++14 -MD -MT IGC/visa/CMakeFiles/GenX_IR.dir/lex.CISA.c.o -MF IGC/visa/CMakeFiles/GenX_IR.dir/lex.CISA.c.o.d -o IGC/visa/CMakeFiles/GenX_IR.dir/lex.CISA.c.o -c IGC/visa/lex.CISA.c
FAILED: IGC/visa/CMakeFiles/GenX_IR.dir/lex.CISA.c.o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants