4 errors of the following form ```4 errors generated when compiling for gfx900. [23/248] /usr/bin/hipcc -DTENSILE_DEFAULT_SERIALIZATION -DTENSILE_MSGPACK=1 -DTENSILE_USE_HIP -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/usr/share/Tensile/Source/lib/include -march= native -w -O3 -pipe -fno-stack-protector -D__HIP_HCC_COMPAT_MODE__=1 -std=c++14 -fPIC -Wno-unused-result -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx900 -MD -MT Tens ile/lib/CMakeFiles/TensileHost.dir/source/hip/HipHardware.cpp.o -MF Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/HipHardware.cpp.o.d -o Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/H ipHardware.cpp.o -c /usr/share/Tensile/Source/lib/source/hip/HipHardware.cpp [24/248] /usr/bin/hipcc -DTENSILE_DEFAULT_SERIALIZATION -DTENSILE_MSGPACK=1 -DTENSILE_USE_HIP -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/usr/share/Tensile/Source/lib/include -march= native -w -O3 -pipe -fno-stack-protector -D__HIP_HCC_COMPAT_MODE__=1 -std=c++14 -fPIC -Wno-unused-result -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx900 -MD -MT Tens ile/lib/CMakeFiles/TensileHost.dir/source/ContractionSolution.cpp.o -MF Tensile/lib/CMakeFiles/TensileHost.dir/source/ContractionSolution.cpp.o.d -o Tensile/lib/CMakeFiles/TensileHost.dir/sour ce/ContractionSolution.cpp.o -c /usr/share/Tensile/Source/lib/source/ContractionSolution.cpp [25/248] /usr/bin/hipcc -DTENSILE_DEFAULT_SERIALIZATION -DTENSILE_MSGPACK=1 -DTENSILE_USE_HIP -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/usr/share/Tensile/Source/lib/include -march= native -w -O3 -pipe -fno-stack-protector -D__HIP_HCC_COMPAT_MODE__=1 -std=c++14 -fPIC -Wno-unused-result -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx900 -MD -MT Tens ile/lib/CMakeFiles/TensileHost.dir/source/msgpack/MessagePack.cpp.o -MF Tensile/lib/CMakeFiles/TensileHost.dir/source/msgpack/MessagePack.cpp.o.d -o Tensile/lib/CMakeFiles/TensileHost.dir/sour ce/msgpack/MessagePack.cpp.o -c /usr/share/Tensile/Source/lib/source/msgpack/MessagePack.cpp FAILED: Tensile/lib/CMakeFiles/TensileHost.dir/source/msgpack/MessagePack.cpp.o /usr/bin/hipcc -DTENSILE_DEFAULT_SERIALIZATION -DTENSILE_MSGPACK=1 -DTENSILE_USE_HIP -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/usr/share/Tensile/Source/lib/include -march=native -w -O3 -pipe -fno-stack-protector -D__HIP_HCC_COMPAT_MODE__=1 -std=c++14 -fPIC -Wno-unused-result -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx900 -MD -MT Tensile/lib/C MakeFiles/TensileHost.dir/source/msgpack/MessagePack.cpp.o -MF Tensile/lib/CMakeFiles/TensileHost.dir/source/msgpack/MessagePack.cpp.o.d -o Tensile/lib/CMakeFiles/TensileHost.dir/source/msgpac k/MessagePack.cpp.o -c /usr/share/Tensile/Source/lib/source/msgpack/MessagePack.cpp In file included from /usr/share/Tensile/Source/lib/source/msgpack/MessagePack.cpp:27: In file included from /usr/share/Tensile/Source/lib/include/Tensile/msgpack/MessagePack.hpp:33: In file included from /usr/share/Tensile/Source/lib/include/Tensile/Serialization.hpp:43: In file included from /usr/share/Tensile/Source/lib/include/Tensile/Serialization/SolutionLibrary.hpp:47: In file included from /usr/share/Tensile/Source/lib/include/Tensile/Serialization/PlaceholderLibrary.hpp:34: In file included from /usr/include/c++/v1/regex:777: /usr/include/c++/v1/deque:406:67: error: expected ')' static _LIBCPP_HIDE_FROM_ABI __local_iterator __local(_Iterator __iter) { return __iter.__ptr_; } ^ /usr/include/c++/v1/deque:406:56: note: to match this '(' static _LIBCPP_HIDE_FROM_ABI __local_iterator __local(_Iterator __iter) { return __iter.__ptr_; } ^ /usr/include/c++/v1/deque:406:57: error: redefinition of '_Iterator' as different kind of symbol static _LIBCPP_HIDE_FROM_ABI __local_iterator __local(_Iterator __iter) { return __iter.__ptr_; } ^ /usr/include/c++/v1/deque:398:9: note: previous definition is here using _Iterator = __deque_iterator<_ValueType, _Pointer, _Reference, _MapPointer, _DiffType, _BlockSize>; ^ /usr/include/c++/v1/deque:406:77: error: expected expression static _LIBCPP_HIDE_FROM_ABI __local_iterator __local(_Iterator __iter) { return __iter.__ptr_; } ^ /usr/include/c++/v1/deque:419:4: error: expected ';' at end of declaration list } ``` Reproducible: Always Steps to Reproduce: 1. accept keywords for * 2. emerge rocBLAS Actual Results: Build fails Expected Results: Build succeeds Built with python11, target amdgpu_targets_gfx900. Flags: ``` CFLAGS="-march=native -w -O3 -pipe -fno-stack-protector" CXXFLAGS="${CFLAGS}" ``` -eav rocBLAS: attached
Created attachment 863618 [details] -eav rocBLAS
Same issue with 5.1.3 Must be the dependencies? LLVM-16 headers breaking it?
Created attachment 863619 [details] build.log for 5.1.3