Mock Version: 2.4 Mock Version: 2.4 Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/spirv-llvm-translator.spec'], chrootPath='/var/lib/mock/f34-build-22423002-1989682/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/spirv-llvm-translator.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1597795200 Wrote: /builddir/build/SRPMS/spirv-llvm-translator-11.0.0-0.1.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/spirv-llvm-translator.spec'], chrootPath='/var/lib/mock/f34-build-22423002-1989682/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/spirv-llvm-translator.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1597795200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C2ItNz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + /usr/bin/gzip -dc /builddir/build/SOURCES/spirv-llvm-translator-9891e0d.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5wISOy + umask 022 + cd /builddir/build/BUILD + cd SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B s390x-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DLLVM_BUILD_TOOLS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo '-DCMAKE_INSTALL_RPATH:BOOL=;' -- The CXX compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Linker detection: unknown -- Found LLVM: 11.0.0 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e/s390x-redhat-linux-gnu + /usr/bin/cmake --build s390x-redhat-linux-gnu -j3 --verbose [1/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/FunctionDescriptor.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/FunctionDescriptor.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/FunctionDescriptor.cpp.o -c ../lib/SPIRV/Mangler/FunctionDescriptor.cpp [2/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ManglingUtils.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ManglingUtils.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ManglingUtils.cpp.o -c ../lib/SPIRV/Mangler/ManglingUtils.cpp [3/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ParameterType.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ParameterType.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ParameterType.cpp.o -c ../lib/SPIRV/Mangler/ParameterType.cpp [4/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/Mangler.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/Mangler.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/Mangler.cpp.o -c ../lib/SPIRV/Mangler/Mangler.cpp [5/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o -c ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp: In member function 'SPIRV::LLVMToSPIRVDbgTran::transDbgPointerType(llvm::DIDerivedType const*)': ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp:499:26: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | Ops[StorageClassIdx] = SPIRSPIRVAddrSpaceMap::map(SPIRAS); ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp: In member function 'SPIRV::LLVMToSPIRVDbgTran::transDbgQualifiedType(llvm::DIDerivedType const*)': ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp:511:21: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 511 | Ops[QualifierIdx] = SPIRV::DbgTypeQulifierMap::map( ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp: In member function 'SPIRV::LLVMToSPIRVDbgTran::transDbgCompositeType(llvm::DICompositeType const*)': ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp:627:15: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 627 | Ops[TagIdx] = SPIRV::DbgCompositeTypeMap::map(Tag); ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp: In member function 'SPIRV::LLVMToSPIRVDbgTran::transDbgImportedEntry(llvm::DIImportedEntity const*)': ../lib/SPIRV/LLVMToSPIRVDbgTran.cpp:989:15: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 989 | Ops[TagIdx] = SPIRV::DbgImportedEntityMap::map(Tag); [6/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL20ToSPIRV.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL20ToSPIRV.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL20ToSPIRV.cpp.o -c ../lib/SPIRV/OCL20ToSPIRV.cpp In file included from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::OCL20ToSPIRV::visitCallBarrier(llvm::CallInst*)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/OCLUtil.h:430:78: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 430 | return OCLMemOrderMap::map(Order) | mapBitMask(MemFenceFlag); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL20ToSPIRV.cpp:847:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 847 | Args[1] = addInt32(map(std::get<1>(Lit))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL20ToSPIRV.cpp:845:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 845 | Args[0] = addInt32(map(std::get<2>(Lit))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ In file included from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::OCL20ToSPIRV::transMemoryBarrier(llvm::CallInst*, std::tuple)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/OCLUtil.h:430:78: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 430 | return OCLMemOrderMap::map(Order) | mapBitMask(MemFenceFlag); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL20ToSPIRV.cpp:700:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 700 | Args[0] = addInt32(map(std::get<2>(Lit))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::OCL20ToSPIRV::transAtomicBuiltin(llvm::CallInst*, OCLUtil::OCLBuiltinTransInfo&)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/OCL20ToSPIRV.cpp:833:71: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 833 | return getSPIRVFuncName(OCLSPIRVBuiltinMap::map(Info.UniqName)); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::OCL20ToSPIRV::visitCallKernelQuery(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/OCL20ToSPIRV.cpp:1610:71: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1610 | return getSPIRVFuncName(Opcode, kSPIRVName::Postfix); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL20ToSPIRV.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL20ToSPIRV.cpp: In member function 'SPIRV::OCL20ToSPIRV::visitCallVecLoadStore(llvm::CallInst*, llvm::StringRef, llvm::StringRef)': ../lib/SPIRV/OCL20ToSPIRV.cpp:1380:22: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1380 | PreOps.push_back(R); | ^ ../lib/SPIRV/OCL20ToSPIRV.cpp: In member function 'SPIRV::OCL20ToSPIRV::visitCallToAddr(llvm::CallInst*, llvm::StringRef)': ../lib/SPIRV/OCL20ToSPIRV.cpp:1314:31: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1314 | auto StorageClass = addInt32(SPIRSPIRVAddrSpaceMap::map(AddrSpace)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/OCL20ToSPIRV.cpp:1313:64: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1313 | SPIRAddrSpaceCapitalizedNameMap::map(AddrSpace); | ^ [7/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL21ToSPIRV.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL21ToSPIRV.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL21ToSPIRV.cpp.o -c ../lib/SPIRV/OCL21ToSPIRV.cpp In file included from ../lib/SPIRV/OCL21ToSPIRV.cpp:40: /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::OCL21ToSPIRV::visitCallSubGroupBarrier(llvm::CallInst*)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/OCLUtil.h:430:78: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 430 | return OCLMemOrderMap::map(Order) | mapBitMask(MemFenceFlag); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL21ToSPIRV.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL21ToSPIRV.cpp:219:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 219 | Args[1] = addInt32(map(std::get<1>(Lit))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL21ToSPIRV.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCL21ToSPIRV.cpp:217:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 217 | Args[0] = addInt32(map(std::get<2>(Lit))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCL21ToSPIRV.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ [8/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o -c ../lib/SPIRV/OCLTypeToSPIRV.cpp [9/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o -c ../lib/SPIRV/VectorComputeUtil.cpp ../lib/SPIRV/VectorComputeUtil.cpp: In function 'VectorComputeUtil::getVCFloatControl(spv::FPRoundingMode)': ../lib/SPIRV/VectorComputeUtil.cpp:106:52: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | return FPRoundingModeControlBitMap::map(RoundMode); | ^ ../lib/SPIRV/VectorComputeUtil.cpp: In function 'VectorComputeUtil::getFPRoundingMode(unsigned int)': ../lib/SPIRV/VectorComputeUtil.cpp:88:51: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 88 | VCFloatControl(VC_ROUND_MASK & FloatControl)); | ^ ../lib/SPIRV/VectorComputeUtil.cpp: In function 'VectorComputeUtil::getFPOperationMode(unsigned int)': ../lib/SPIRV/VectorComputeUtil.cpp:102:51: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 102 | VCFloatControl(VC_FLOAT_MASK & FloatControl)); | ^ ../lib/SPIRV/VectorComputeUtil.cpp: In function 'VectorComputeUtil::getVCFloatControl(spv::FPOperationMode)': ../lib/SPIRV/VectorComputeUtil.cpp:109:53: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 109 | return FPOperationModeControlBitMap::map(FloatMode); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/VectorComputeUtil.h:43, from ../lib/SPIRV/VectorComputeUtil.cpp:39: ../lib/SPIRV/VectorComputeUtil.cpp: In function 'VectorComputeUtil::getVCFloatControl(spv::FPDenormMode, VectorComputeUtil::VCFloatType)': ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 87 | Ty2 Val; | ^~~ [10/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o -c ../lib/SPIRV/SPIRVLowerBool.cpp [11/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o -c ../lib/SPIRV/OCLUtil.cpp ../lib/SPIRV/OCLUtil.cpp: In function 'SPIRV::transSPIRVMemorySemanticsIntoOCLMemoryOrder(llvm::Value*, llvm::Instruction*)': ../lib/SPIRV/OCLUtil.cpp:1584:28: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1584 | return ConstantInt::get(C->getType(), | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 1585 | mapSPIRVMemSemanticToOCL(C->getZExtValue()).second); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/OCLUtil.cpp:40: ../lib/SPIRV/OCLUtil.cpp: In function 'SPIRV::transOCLMemOrderIntoSPIRVMemorySemantics(llvm::Value*, llvm::Optional, llvm::Instruction*)': ../lib/SPIRV/OCLUtil.h:430:78: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 430 | return OCLMemOrderMap::map(Order) | mapBitMask(MemFenceFlag); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/OCLUtil.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/OCLUtil.cpp: In function 'SPIRV::transSPIRVMemoryScopeIntoOCLMemoryScope(llvm::Value*, llvm::Instruction*)': ../lib/SPIRV/OCLUtil.cpp:1560:28: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1560 | return ConstantInt::get(C->getType(), rmap(static_cast( | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | C->getZExtValue()))); | ~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/OCLUtil.cpp: In function 'SPIRV::transOCLMemScopeIntoSPIRVScope(llvm::Value*, llvm::Optional, llvm::Instruction*)': ../lib/SPIRV/OCLUtil.cpp:1533:28: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1533 | return ConstantInt::get( | ~~~~~~~~~~~~~~~~^ 1534 | C->getType(), map(static_cast(C->getZExtValue()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [12/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o -c ../lib/SPIRV/SPIRVLowerMemmove.cpp [13/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o -c ../lib/SPIRV/SPIRVLowerConstExpr.cpp [14/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o -c ../lib/SPIRV/SPIRVLowerOCLBlocks.cpp [15/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSaddWithOverflow.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSaddWithOverflow.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSaddWithOverflow.cpp.o -c ../lib/SPIRV/SPIRVLowerSaddWithOverflow.cpp [16/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSPIRBlocks.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSPIRBlocks.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSPIRBlocks.cpp.o -c ../lib/SPIRV/SPIRVLowerSPIRBlocks.cpp /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::SPIRVLowerSPIRBlocks::lowerBlockBuiltin(llvm::CallInst*, llvm::Function*, llvm::Value*, llvm::Value*, llvm::Value*, llvm::StringRef)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/SPIRVLowerSPIRBlocks.cpp:318:75: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 318 | return getSPIRVFuncName(OCLSPIRVBuiltinMap::map(DemangledName.str())); | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/SPIRVLowerSPIRBlocks.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ [17/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o -c ../lib/SPIRV/SPIRVRegularizeLLVM.cpp ../lib/SPIRV/SPIRVRegularizeLLVM.cpp: In member function 'SPIRV::SPIRVRegularizeLLVM::regularize()': ../lib/SPIRV/SPIRVRegularizeLLVM.cpp:156:39: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 156 | Value *UnequalSem = getInt32(M, OCLMemOrderMap::map(FailureOrder)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVRegularizeLLVM.cpp:155:37: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 155 | Value *EqualSem = getInt32(M, OCLMemOrderMap::map(SuccessOrder)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o -c ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp: In member function 'SPIRV::SPIRVToLLVMDbgTran::transTypeBasic(SPIRV::SPIRVExtInst const*)': ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp:133:54: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 133 | unsigned Encoding = SPIRV::DbgEncodingMap::rmap(Tag); | ^ ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp: In member function 'SPIRV::SPIRVToLLVMDbgTran::transExpression(SPIRV::SPIRVExtInst const*)': ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp:783:54: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 783 | Ops.push_back(SPIRV::DbgExpressionOpCodeMap::rmap(OpCode)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp: In member function 'SPIRV::SPIRVToLLVMDbgTran::transTypeQualifier(SPIRV::SPIRVExtInst const*)': ../lib/SPIRV/SPIRVToLLVMDbgTran.cpp:148:67: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 148 | static_cast(Ops[QualifierIdx])); | ^ [19/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o -c ../lib/SPIRV/SPIRVToOCL.cpp [20/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVReader.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVReader.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVReader.cpp.o -c ../lib/SPIRV/SPIRVReader.cpp /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&)': ../lib/SPIRV/SPIRVReader.cpp:3644:29: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 3644 | ConstantInt::get(Type::getInt32Ty(*Context), AS)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/libSPIRV/SPIRVEntry.h:44, from ../lib/SPIRV/libSPIRV/SPIRVModule.h:44, from ../lib/SPIRV/SPIRVReader.h:44, from ../lib/SPIRV/SPIRVReader.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler::_M_invoke(std::_Any_data const&, spv::FunctionParameterAttribute&&)': ../lib/SPIRV/SPIRVReader.cpp:2680:22: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 2680 | F->addAttribute(I->getArgNo() + 1, SPIRSPIRVFuncParamAttrMap::rmap(Kind)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/libSPIRV/SPIRVEntry.h:44, from ../lib/SPIRV/libSPIRV/SPIRVModule.h:44, from ../lib/SPIRV/SPIRVReader.h:44, from ../lib/SPIRV/SPIRVReader.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler::_M_invoke(std::_Any_data const&, spv::FunctionParameterAttribute&&)': ../lib/SPIRV/SPIRVReader.cpp:2693:20: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 2693 | F->addAttribute(AttributeList::ReturnIndex, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2694 | SPIRSPIRVFuncParamAttrMap::rmap(Kind)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/libSPIRV/SPIRVEntry.h:44, from ../lib/SPIRV/libSPIRV/SPIRVModule.h:44, from ../lib/SPIRV/SPIRVReader.h:44, from ../lib/SPIRV/SPIRVReader.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/SPIRVReader.cpp: In member function 'SPIRV::SPIRVToLLVM::transVectorComputeMetadata(SPIRV::SPIRVFunction*)': ../lib/SPIRV/SPIRVReader.cpp:3811:42: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 3811 | FloatControl |= getVCFloatControl(DecDenorm->getDenormMode(), FType); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler::_M_invoke(std::_Any_data const&, spv::FPDenormMode&&, spv::ExecutionMode&&)': ../lib/SPIRV/SPIRVReader.cpp:3774:42: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 3774 | FloatControl |= getVCFloatControl(VCDM, FloatType); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/libSPIRV/SPIRVEntry.h:44, from ../lib/SPIRV/libSPIRV/SPIRVModule.h:44, from ../lib/SPIRV/SPIRVReader.h:44, from ../lib/SPIRV/SPIRVReader.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/SPIRVReader.cpp: In member function 'SPIRV::SPIRVToLLVM::transConvertInst(SPIRV::SPIRVValue*, llvm::Function*, llvm::BasicBlock*)': ../lib/SPIRV/SPIRVReader.cpp:1028:28: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1028 | return CastInst::Create(CO, Src, Dst, BV->getName(), BB); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVReader.cpp: In member function 'SPIRV::SPIRVToLLVM::transShiftLogicalBitwiseInst(SPIRV::SPIRVValue*, llvm::BasicBlock*, llvm::Function*)': ../lib/SPIRV/SPIRVReader.cpp:1072:37: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | auto Inst = BinaryOperator::Create(BO, transValue(BBN->getOperand(0), F, BB), | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | transValue(BBN->getOperand(1), F, BB), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | BV->getName(), BB); | ~~~~~~~~~~~~~~~~~~ [21/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o -c ../lib/SPIRV/SPIRVToOCL12.cpp [22/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL20.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL20.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL20.cpp.o -c ../lib/SPIRV/SPIRVToOCL20.cpp /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::SPIRVToOCL20::visitCallSPIRVControlBarrier(llvm::CallInst*)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/SPIRVToOCL20.cpp:143:21: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 143 | getInt32(M, rmap(static_cast(GetArg(1)))); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/SPIRVToOCL20.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ /usr/include/c++/10/bits/std_function.h: In function 'std::_Function_handler, std::allocator > (llvm::CallInst*, std::vector >&), SPIRV::SPIRVToOCL20::visitCallSPIRVMemoryBarrier(llvm::CallInst*)::{lambda(llvm::CallInst*, std::vector >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector >&)': ../lib/SPIRV/SPIRVToOCL20.cpp:114:21: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 114 | getInt32(M, rmap(static_cast( | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 115 | cast(Args[0])->getZExtValue()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/SPIRVToOCL20.cpp:40: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ [23/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriterPass.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriterPass.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriterPass.cpp.o -c ../lib/SPIRV/SPIRVWriterPass.cpp [24/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVUtil.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVUtil.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVUtil.cpp.o -c ../lib/SPIRV/SPIRVUtil.cpp In file included from ../lib/SPIRV/SPIRVUtil.cpp:48: ../lib/SPIRV/SPIRVUtil.cpp: In function 'SPIRV::mapPostfixToDecorate(llvm::StringRef, SPIRV::SPIRVEntry*)': ../lib/SPIRV/libSPIRV/SPIRVDecorate.h:139:57: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 139 | : SPIRVDecorateGeneric(OC, 4, TheDec, TheTarget, V) {} | ^ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/SPIRVUtil.cpp:44: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/SPIRVUtil.cpp: In function 'SPIRV::mapOCLTypeNameToSPIRV[abi:cxx11](llvm::StringRef, llvm::StringRef)': ../lib/SPIRV/SPIRVUtil.cpp:1333:52: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1333 | SPIRSPIRVAccessQualifierMap::map(Acc.str())); | ^ [25/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/PreprocessMetadata.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/PreprocessMetadata.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/PreprocessMetadata.cpp.o -c ../lib/SPIRV/PreprocessMetadata.cpp In file included from ../lib/SPIRV/PreprocessMetadata.cpp:43: ../lib/SPIRV/PreprocessMetadata.cpp: In member function 'SPIRV::PreprocessMetadata::preprocessVectorComputeMetadata(llvm::Module*, SPIRV::SPIRVMDBuilder*, SPIRV::SPIRVMDWalker*)::{lambda(VectorComputeUtil::VCFloatType, unsigned int)#1}::operator()(VectorComputeUtil::VCFloatType, unsigned int) const': ../lib/SPIRV/SPIRVMDBuilder.h:71:52: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 71 | V.push_back(ConstantAsMetadata::get(getUInt32(&B.M, I))); | ~~~~~~~~~^~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/PreprocessMetadata.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:87:9: note: 'Val' was declared here 87 | Ty2 Val; | ^~~ ../lib/SPIRV/PreprocessMetadata.cpp: In member function 'SPIRV::PreprocessMetadata::preprocessVectorComputeMetadata(llvm::Module*, SPIRV::SPIRVMDBuilder*, SPIRV::SPIRVMDWalker*)': ../lib/SPIRV/PreprocessMetadata.cpp:275:67: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 275 | FPOperationModeExecModeMap::map(getFPOperationMode(Mode)); | ^ ../lib/SPIRV/PreprocessMetadata.cpp:273:65: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 273 | FPRoundingModeExecModeMap::map(getFPRoundingMode(Mode)); | ^ [26/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDebug.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDebug.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDebug.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVDebug.cpp [27/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDecorate.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDecorate.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDecorate.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVDecorate.cpp [28/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVBasicBlock.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVBasicBlock.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVBasicBlock.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVBasicBlock.cpp [29/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriter.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriter.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriter.cpp.o -c ../lib/SPIRV/SPIRVWriter.cpp In file included from ../lib/SPIRV/libSPIRV/SPIRVOpCode.h:43, from ../lib/SPIRV/libSPIRV/SPIRVEnum.h:44, from ../lib/SPIRV/SPIRVInternal.h:43, from ../lib/SPIRV/OCLUtil.h:42, from ../lib/SPIRV/SPIRVWriter.h:46, from ../lib/SPIRV/SPIRVWriter.cpp:41: ../lib/SPIRV/libSPIRV/SPIRVUtil.h: In function 'SPIRV::SPIRVMap, std::allocator >, spv::Op, SPIRV::SPIRVTypeSubgroupINTEL>::map(std::__cxx11::basic_string, std::allocator >)': ../lib/SPIRV/libSPIRV/SPIRVUtil.h:91:12: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 91 | return Val; | ^~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transVectorComputeMetadata(llvm::Function*)': ../lib/SPIRV/SPIRVWriter.cpp:618:22: warning: 'Kind' may be used uninitialized in this function [-Wmaybe-uninitialized] 618 | BA->addDecorate(DecorationFuncParamIOKind, Kind); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transValueWithoutDecoration(llvm::Value*, SPIRV::SPIRVBasicBlock*, bool, SPIRV::LLVMToSPIRV::FuncTransMode)': ../lib/SPIRV/SPIRVWriter.cpp:1482:28: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1482 | Operands[2] = getUInt32(M, MemSem); | ~~~~~~~~~^~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp:1487:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 1487 | return mapValue(V, BM->addInstTemplate(OC, Ops, BB, Ty)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transSPIRVOpaqueType(llvm::Type*)': ../lib/SPIRV/SPIRVWriter.cpp:498:19: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 498 | return mapType(T, | ~~~~~~~^~~ 499 | BM->addOpaqueGenericType(SPIRVOpaqueTypeOpCodeMap::map(TN))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transBinaryInst(llvm::BinaryOperator*, SPIRV::SPIRVBasicBlock*)': ../lib/SPIRV/SPIRVWriter.cpp:782:43: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 782 | SPIRVInstruction *BI = BM->addBinaryInst( | ~~~~~~~~~~~~~~~~~^ 783 | transBoolOpCode(Op0, OpCodeMap::map(LLVMOC)), transType(B->getType()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | Op0, transValue(B->getOperand(1), BB), BB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transCmpInst(llvm::CmpInst*, SPIRV::SPIRVBasicBlock*)': ../lib/SPIRV/SPIRVWriter.cpp:809:21: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 809 | BM->addCmpInst(transBoolOpCode(TOp0, CmpMap::map(Cmp->getPredicate())), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 810 | transType(Cmp->getType()), TOp0, TOp1, BB); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/SPIRV/SPIRVWriter.cpp: In member function 'SPIRV::LLVMToSPIRV::transUnaryInst(llvm::UnaryInstruction*, SPIRV::SPIRVBasicBlock*)': ../lib/SPIRV/SPIRVWriter.cpp:867:26: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 867 | return BM->addUnaryInst(transBoolOpCode(Op, BOC), transType(U->getType()), Op, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 868 | BB); | ~~~ [30/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVFunction.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVFunction.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVFunction.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVFunction.cpp [31/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVInstruction.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVInstruction.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVInstruction.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVInstruction.cpp [32/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVStream.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVStream.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVStream.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVStream.cpp ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, spv::Op&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, OpenCLLIB::Entrypoints&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, SPIRVDebug::Instruction&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, spv::LinkageType&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, spv::Decoration&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ ../lib/SPIRV/libSPIRV/SPIRVStream.cpp: In function 'SPIRV::operator>>(SPIRV::SPIRVDecoder const&, spv::Capability&)': ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:106:7: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | V = getNameMap(V).rmap(W); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/SPIRV/libSPIRV/SPIRVDebug.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.h:43, from ../lib/SPIRV/libSPIRV/SPIRVStream.cpp:39: ../lib/SPIRV/libSPIRV/SPIRVUtil.h:95:9: note: 'Val' was declared here 95 | Ty1 Val; | ^~~ [33/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVModule.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVModule.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVModule.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVModule.cpp [34/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVValue.cpp [35/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVEntry.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVEntry.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVEntry.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVEntry.cpp [36/40] /usr/bin/g++ -I../include -I../lib/SPIRV -I../lib/SPIRV/libSPIRV -I../lib/SPIRV/Mangler -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -fno-exceptions -std=gnu++14 -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVType.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVType.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVType.cpp.o -c ../lib/SPIRV/libSPIRV/SPIRVType.cpp [37/40] /usr/bin/g++ -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fno-exceptions -std=gnu++14 -MD -MT tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o -MF tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o.d -o tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o -c ../tools/llvm-spirv/llvm-spirv.cpp [38/40] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMSPIRVLib.so.11 -o lib/SPIRV/libLLVMSPIRVLib.so.11 lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/FunctionDescriptor.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/Mangler.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ManglingUtils.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/Mangler/ParameterType.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL20ToSPIRV.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCL21ToSPIRV.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSaddWithOverflow.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerSPIRBlocks.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVReader.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL20.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVUtil.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriter.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVWriterPass.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/PreprocessMetadata.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVBasicBlock.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDebug.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVDecorate.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVEntry.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVFunction.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVInstruction.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVModule.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVStream.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVType.cpp.o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o /usr/lib64/libLLVM-11.so && : [39/40] /usr/bin/cmake -E cmake_symlink_library lib/SPIRV/libLLVMSPIRVLib.so.11 lib/SPIRV/libLLVMSPIRVLib.so.11 lib/SPIRV/libLLVMSPIRVLib.so && : [40/40] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -Wl,-O3 -Wl,--gc-sections tools/llvm-spirv/CMakeFiles/llvm-spirv.dir/llvm-spirv.cpp.o -o tools/llvm-spirv/llvm-spirv -Wl,-rpath,/builddir/build/BUILD/SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e/s390x-redhat-linux-gnu/lib/SPIRV: -lpthread lib/SPIRV/libLLVMSPIRVLib.so.11 /usr/lib64/libLLVM-11.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SoMIMx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x ++ dirname /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x + cd SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + DESTDIR=/builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x + /usr/bin/cmake --install s390x-redhat-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/include/LLVMSPIRVLib/LLVMSPIRVLib.h -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/include/LLVMSPIRVLib/LLVMSPIRVOpts.h -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/include/LLVMSPIRVLib/LLVMSPIRVExtensions.inc -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/lib64/pkgconfig/LLVMSPIRVLib.pc -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/lib64/libLLVMSPIRVLib.so.11 -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/lib64/libLLVMSPIRVLib.so -- Installing: /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/bin/llvm-spirv -- Set runtime path of "/builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/bin/llvm-spirv" to "" + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 11.0.0-0.1.fc34 --unique-debug-suffix -11.0.0-0.1.fc34.s390x --unique-debug-src-base spirv-llvm-translator-11.0.0-0.1.fc34.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/bin/llvm-spirv explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/lib64/libLLVMSPIRVLib.so.11 extracting debug info from /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/lib64/libLLVMSPIRVLib.so.11 extracting debug info from /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/bin/llvm-spirv original debug info size: 69948kB, size after compression: 59988kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 3150 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/lib/SPIRV/VectorComputeUtil.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/lib/SPIRV/VectorComputeUtil.h is executable but has no shebang, removing executable bit Processing files: spirv-llvm-translator-11.0.0-0.1.fc34.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oMsiwA + umask 022 + cd /builddir/build/BUILD + cd SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + DOCDIR=/builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/share/doc/spirv-llvm-translator + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/share/doc/spirv-llvm-translator + cp -pr README.md /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x/usr/share/doc/spirv-llvm-translator + RPM_EC=0 ++ jobs -p + exit 0 Provides: libLLVMSPIRVLib.so.11()(64bit) spirv-llvm-translator = 11.0.0-0.1.fc34 spirv-llvm-translator(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld64.so.1()(64bit) ld64.so.1(GLIBC_2.3)(64bit) libLLVM-11.so()(64bit) libLLVM-11.so(LLVM_11)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: spirv-llvm-translator-devel-11.0.0-0.1.fc34.s390x warning: File listed twice: /usr/include/LLVMSPIRVLib Provides: pkgconfig(LLVMSPIRVLib) = 11.0.0.0 spirv-llvm-translator-devel = 11.0.0-0.1.fc34 spirv-llvm-translator-devel(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libLLVMSPIRVLib.so.11()(64bit) Processing files: spirv-llvm-translator-tools-11.0.0-0.1.fc34.s390x Provides: spirv-llvm-translator-tools = 11.0.0-0.1.fc34 spirv-llvm-translator-tools(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libLLVM-11.so()(64bit) libLLVM-11.so(LLVM_11)(64bit) libLLVMSPIRVLib.so.11()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: spirv-llvm-translator-debugsource-11.0.0-0.1.fc34.s390x Provides: spirv-llvm-translator-debugsource = 11.0.0-0.1.fc34 spirv-llvm-translator-debugsource(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: spirv-llvm-translator-debuginfo-11.0.0-0.1.fc34.s390x Provides: debuginfo(build-id) = 8ac2442176b6f2729be14f4a779bccbd71436a6c spirv-llvm-translator-debuginfo = 11.0.0-0.1.fc34 spirv-llvm-translator-debuginfo(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: spirv-llvm-translator-debugsource(s390-64) = 11.0.0-0.1.fc34 Processing files: spirv-llvm-translator-tools-debuginfo-11.0.0-0.1.fc34.s390x Provides: debuginfo(build-id) = 4850da900923b240cd60a8a258bd7e4d9812cbd5 spirv-llvm-translator-tools-debuginfo = 11.0.0-0.1.fc34 spirv-llvm-translator-tools-debuginfo(s390-64) = 11.0.0-0.1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: spirv-llvm-translator-debugsource(s390-64) = 11.0.0-0.1.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x Wrote: /builddir/build/RPMS/spirv-llvm-translator-tools-debuginfo-11.0.0-0.1.fc34.s390x.rpm Wrote: /builddir/build/RPMS/spirv-llvm-translator-11.0.0-0.1.fc34.s390x.rpm Wrote: /builddir/build/RPMS/spirv-llvm-translator-tools-11.0.0-0.1.fc34.s390x.rpm Wrote: /builddir/build/RPMS/spirv-llvm-translator-devel-11.0.0-0.1.fc34.s390x.rpm Wrote: /builddir/build/RPMS/spirv-llvm-translator-debugsource-11.0.0-0.1.fc34.s390x.rpm Wrote: /builddir/build/RPMS/spirv-llvm-translator-debuginfo-11.0.0-0.1.fc34.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NP7u4x + umask 022 + cd /builddir/build/BUILD + cd SPIRV-LLVM-Translator-9891e0dcab1972366e37a9fcbea973079064f13e + /usr/bin/rm -rf /builddir/build/BUILDROOT/spirv-llvm-translator-11.0.0-0.1.fc34.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0