Skip to content

Instantly share code, notes, and snippets.

@GMNGeoffrey
Created August 25, 2020 19:11
Show Gist options
  • Save GMNGeoffrey/2b99d7625658fa489ffada25313e3be1 to your computer and use it in GitHub Desktop.
Save GMNGeoffrey/2b99d7625658fa489ffada25313e3be1 to your computer and use it in GitHub Desktop.
Swiftshader libstdc++ 6 v5.4 build errors
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/ComputeProgram.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/ComputeProgram.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/ComputeProgram.cpp.o -c /swiftshader/src/Pipeline/ComputeProgram.cpp
In file included from /swiftshader/src/Pipeline/ComputeProgram.cpp:15:
In file included from /swiftshader/src/Pipeline/ComputeProgram.hpp:18:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/ComputeProgram.cpp:15:
In file included from /swiftshader/src/Pipeline/ComputeProgram.hpp:18:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/SamplerCore.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/SamplerCore.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/SamplerCore.cpp.o -c /swiftshader/src/Pipeline/SamplerCore.cpp
In file included from /swiftshader/src/Pipeline/SamplerCore.cpp:15:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/../Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/SamplerCore.cpp:15:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/../Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderArithmetic.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderArithmetic.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderArithmetic.cpp.o -c /swiftshader/src/Pipeline/SpirvShaderArithmetic.cpp
In file included from /swiftshader/src/Pipeline/SpirvShaderArithmetic.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/SpirvShaderArithmetic.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShader.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShader.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShader.cpp.o -c /swiftshader/src/Pipeline/SpirvShader.cpp
In file included from /swiftshader/src/Pipeline/SpirvShader.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/SpirvShader.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
/swiftshader/src/Pipeline/SpirvShader.cpp:1554:14: error: 'phis' is a private member of 'sw::SpirvRoutine'
routine->phis.emplace(insn.resultId(), SpirvRoutine::Variable(type.componentCount));
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
/swiftshader/src/Pipeline/SpirvShader.cpp:2439:11: error: 'phis' is a private member of 'sw::SpirvRoutine'
routine->phis.clear();
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
4 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/SetupRoutine.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/SetupRoutine.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/SetupRoutine.cpp.o -c /swiftshader/src/Pipeline/SetupRoutine.cpp
In file included from /swiftshader/src/Pipeline/SetupRoutine.cpp:15:
In file included from /swiftshader/src/Pipeline/SetupRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/SetupProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/system_error:134:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/SetupRoutine.cpp:15:
In file included from /swiftshader/src/Pipeline/SetupRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/SetupProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelRoutine.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelRoutine.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelRoutine.cpp.o -c /swiftshader/src/Pipeline/PixelRoutine.cpp
In file included from /swiftshader/src/Pipeline/PixelRoutine.cpp:15:
In file included from /swiftshader/src/Pipeline/PixelRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/QuadRasterizer.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/Rasterizer.hpp:19:
In file included from /swiftshader/src/Pipeline/../Device/PixelProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/system_error:134:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/PixelRoutine.cpp:15:
In file included from /swiftshader/src/Pipeline/PixelRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/QuadRasterizer.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/Rasterizer.hpp:19:
In file included from /swiftshader/src/Pipeline/../Device/PixelProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelProgram.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelProgram.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/PixelProgram.cpp.o -c /swiftshader/src/Pipeline/PixelProgram.cpp
In file included from /swiftshader/src/Pipeline/PixelProgram.cpp:15:
In file included from /swiftshader/src/Pipeline/PixelProgram.hpp:18:
In file included from /swiftshader/src/Pipeline/PixelRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/QuadRasterizer.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/Rasterizer.hpp:19:
In file included from /swiftshader/src/Pipeline/../Device/PixelProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/system_error:134:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/PixelProgram.cpp:15:
In file included from /swiftshader/src/Pipeline/PixelProgram.hpp:18:
In file included from /swiftshader/src/Pipeline/PixelRoutine.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/QuadRasterizer.hpp:18:
In file included from /swiftshader/src/Pipeline/../Device/Rasterizer.hpp:19:
In file included from /swiftshader/src/Pipeline/../Device/PixelProcessor.hpp:20:
In file included from /swiftshader/src/Pipeline/../Device/RoutineCache.hpp:18:
In file included from /swiftshader/src/Pipeline/../System/LRUCache.hpp:22:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderControlFlow.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderControlFlow.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/SpirvShaderControlFlow.cpp.o -c /swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp
In file included from /swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:15:
In file included from /swiftshader/src/Pipeline/SpirvShader.hpp:18:
In file included from /swiftshader/src/Pipeline/SamplerCore.hpp:18:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
/swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:666:35: error: 'phis' is a private member of 'sw::SpirvRoutine'
auto storageIt = state->routine->phis.find(objectId);
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
/swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:667:38: error: 'phis' is a private member of 'sw::SpirvRoutine'
ASSERT(storageIt != state->routine->phis.end());
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
/swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:684:35: error: 'phis' is a private member of 'sw::SpirvRoutine'
auto storageIt = state->routine->phis.find(objectId);
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
/swiftshader/src/Pipeline/SpirvShaderControlFlow.cpp:685:38: error: 'phis' is a private member of 'sw::SpirvRoutine'
ASSERT(storageIt != state->routine->phis.end());
^
/swiftshader/src/Pipeline/SpirvShader.hpp:1426:56: note: declared private here
std::unordered_map<SpirvShader::Object::ID, Variable> phis;
^
6 errors generated.
FAILED: /usr/local/bin/clang++ -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -I/swiftshader/src/Pipeline/.. -I/swiftshader/include -I/swiftshader/third_party/SPIRV-Headers/include -I/swiftshader/src/Pipeline -I/swiftshader/src/System/.. -I/swiftshader/third_party/marl/include -I/swiftshader/third_party/SPIRV-Tools/include -m64 -fPIC -march=x86-64 -mtune=generic -O3 -DNDEBUG -Os -DNDEBUG -DANGLE_DISABLE_TRACE -ffunction-sections -fdata-sections -fomit-frame-pointer -fPIC -Wall -Wreorder -Wsign-compare -Wmissing-braces -Wextra -Wunreachable-code-loop-increment -Wunused-lambda-capture -Wstring-conversion -Wextra-semi -Wignored-qualifiers -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-comment -Wno-undefined-var-template -Wno-extra-semi -Wno-unused-parameter -Wno-deprecated-copy -Wno-unknown-warning-option -fno-operator-names -DREACTOR_DEFAULT_OPT_LEVEL=Default -fno-exceptions -Wthread-safety -Werror -std=gnu++14 -MD -MT src/Pipeline/CMakeFiles/vk_pipeline.dir/ShaderCore.cpp.o -MF src/Pipeline/CMakeFiles/vk_pipeline.dir/ShaderCore.cpp.o.d -o src/Pipeline/CMakeFiles/vk_pipeline.dir/ShaderCore.cpp.o -c /swiftshader/src/Pipeline/ShaderCore.cpp
In file included from /swiftshader/src/Pipeline/ShaderCore.cpp:15:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:47:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable.h:35:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/hashtable_policy.h:85:11: error: implicit instantiation of undefined template 'std::hash<sw::SpirvShader::Extension::Name>'
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:138:14: note: in instantiation of template class 'std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>' requested here
: public conditional<_B1::value, _B2, _B1>::type
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/type_traits:148:39: note: in instantiation of template class 'std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>' requested here
: public integral_constant<bool, !_Pp::value>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:45:34: note: in instantiation of template class 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<sw::SpirvShader::Extension::Name>>, std::__detail::__is_noexcept_hash<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>>>>' requested here
typename _Tr = __uset_traits<__cache_default<_Value, _Hash>::value>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:95:15: note: in instantiation of default argument for '__uset_hashtable<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' required here
typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/functional_hash.h:58:12: note: template is declared here
struct hash;
^
In file included from /swiftshader/src/Pipeline/ShaderCore.cpp:15:
In file included from /swiftshader/src/Pipeline/ShaderCore.hpp:19:
In file included from /swiftshader/src/Pipeline/../Reactor/Reactor.hpp:27:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/unordered_set:48:
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:494:7: error: multiple overloads of 'erase' instantiate to the same signature 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator (std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>::iterator)' (aka 'int (int)')
erase(iterator __position)
^
/swiftshader/src/Pipeline/../Pipeline/SpirvShader.hpp:801:38: note: in instantiation of template class 'std::unordered_set<sw::SpirvShader::Extension::Name, std::hash<sw::SpirvShader::Extension::Name>, std::equal_to<sw::SpirvShader::Extension::Name>, std::allocator<sw::SpirvShader::Extension::Name>>' requested here
std::unordered_set<Extension::Name> extensionsImported;
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unordered_set.h:489:7: note: previous declaration is here
erase(const_iterator __position)
^
2 errors generated.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment