Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mold.spec'], chrootPath='/var/lib/mock/f37-build-668938-74825/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mold.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1662249600 Wrote: /builddir/build/SRPMS/mold-1.4.2-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mold.spec'], chrootPath='/var/lib/mock/f37-build-668938-74825/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mold.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1662249600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o8NKoO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mold-1.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mold-1.4.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mold-1.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tbb-strip-werror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-system-compatible-include-path-for-xxhash.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r third-party/mimalloc third-party/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TXGDc1 + umask 022 + cd /builddir/build/BUILD + 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 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mold-1.4.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 PREFIX=/usr LIBDIR=/usr/lib64 '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 -fasynchronous-unwind-tables -fstack-clash-protection' '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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' STRIP=echo SYSTEM_MIMALLOC=1 mkdir -p out/elf touch out/elf/.keep mkdir -p out/macho touch out/macho/.keep cmake -DSOURCE_DIR=. -DOUTPUT_FILE=out/git-hash.cc -P update-git-hash.cmake gcc -MT mold-wrapper.so -MMD -MP -MF out/.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -shared -o mold-wrapper.so elf/mold-wrapper.c -Wl,-push-state -Wl,-no-as-needed -ldl -Wl,-pop-state -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o out/rust-demangle.o third-party/rust-demangle/rust-demangle.c mkdir -p out/tbb (cd out/tbb; cmake -G'Unix Makefiles' -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DTBB_TEST=OFF -DCMAKE_CXX_FLAGS="-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0" -DTBB_STRICT=OFF ../../third-party/tbb) Re-run cmake no build system arguments -- The CXX compiler identification is GNU 12.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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for one of the modules 'hwloc' -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created -- HWLOC target HWLOC::hwloc_2 doesn't exist. The tbbbind_2_0 target cannot be created -- HWLOC target HWLOC::hwloc_2_5 doesn't exist. The tbbbind_2_5 target cannot be created -- Looking for getcontext -- Looking for getcontext - found -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mold-1.4.2/out/tbb /usr/bin/make -C out/tbb tbb CMake Warning at CMakeLists.txt:114 (message): You are building oneTBB as a static library. This is highly discouraged and such configuration is not supported. Consider building a dynamic library to avoid unforeseen issues. make[1]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/cmake -S/builddir/build/BUILD/mold-1.4.2/third-party/tbb -B/builddir/build/BUILD/mold-1.4.2/out/tbb --check-build-system CMakeFiles/Makefile.cmake 0 make[1]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/make -f CMakeFiles/Makefile2 tbb make[2]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/cmake -S/builddir/build/BUILD/mold-1.4.2/third-party/tbb -B/builddir/build/BUILD/mold-1.4.2/out/tbb --check-build-system CMakeFiles/Makefile.cmake 0 make[2]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[2]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mold-1.4.2/out/tbb/CMakeFiles 29 make[2]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/make -f CMakeFiles/Makefile2 src/tbb/CMakeFiles/tbb.dir/all /usr/bin/make -f src/tbb/CMakeFiles/tbb.dir/build.make src/tbb/CMakeFiles/tbb.dir/depend make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' cd /builddir/build/BUILD/mold-1.4.2/out/tbb && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mold-1.4.2/third-party/tbb /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb /builddir/build/BUILD/mold-1.4.2/out/tbb /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb/CMakeFiles/tbb.dir/DependInfo.cmake --color= make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/make -f src/tbb/CMakeFiles/tbb.dir/build.make src/tbb/CMakeFiles/tbb.dir/build g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/demangle.o -MMD -MP -MF out/demangle.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/demangle.o demangle.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 3%] Building CXX object src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o CMakeFiles/tbb.dir/address_waiter.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/address_waiter.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/filepath.o -MMD -MP -MF out/filepath.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/filepath.o filepath.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 6%] Building CXX object src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -MF CMakeFiles/tbb.dir/allocator.cpp.o.d -o CMakeFiles/tbb.dir/allocator.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/allocator.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/compress.o -MMD -MP -MF out/compress.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/compress.o compress.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/glob.o -MMD -MP -MF out/glob.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/glob.o glob.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/hyperloglog.o -MMD -MP -MF out/hyperloglog.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/hyperloglog.o hyperloglog.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 10%] Building CXX object src/tbb/CMakeFiles/tbb.dir/arena.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF CMakeFiles/tbb.dir/arena.cpp.o.d -o CMakeFiles/tbb.dir/arena.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/arena.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/main.o -MMD -MP -MF out/main.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/main.o main.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/strerror.o -MMD -MP -MF out/strerror.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/strerror.o strerror.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 13%] Building CXX object src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o -MF CMakeFiles/tbb.dir/arena_slot.cpp.o.d -o CMakeFiles/tbb.dir/arena_slot.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/arena_slot.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 17%] Building CXX object src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -MF CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o.d -o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/concurrent_bounded_queue.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 20%] Building CXX object src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o -MF CMakeFiles/tbb.dir/dynamic_link.cpp.o.d -o CMakeFiles/tbb.dir/dynamic_link.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/dynamic_link.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/tar.o -MMD -MP -MF out/tar.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/tar.o tar.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 24%] Building CXX object src/tbb/CMakeFiles/tbb.dir/exception.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/exception.cpp.o -MF CMakeFiles/tbb.dir/exception.cpp.o.d -o CMakeFiles/tbb.dir/exception.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/exception.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/perf.o -MMD -MP -MF out/perf.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/perf.o perf.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 27%] Building CXX object src/tbb/CMakeFiles/tbb.dir/governor.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/governor.cpp.o -MF CMakeFiles/tbb.dir/governor.cpp.o.d -o CMakeFiles/tbb.dir/governor.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/governor.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/uuid.o -MMD -MP -MF out/uuid.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/uuid.o uuid.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 31%] Building CXX object src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o -MF CMakeFiles/tbb.dir/global_control.cpp.o.d -o CMakeFiles/tbb.dir/global_control.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/global_control.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 34%] Building CXX object src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o -MF CMakeFiles/tbb.dir/itt_notify.cpp.o.d -o CMakeFiles/tbb.dir/itt_notify.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/itt_notify.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 37%] Building CXX object src/tbb/CMakeFiles/tbb.dir/main.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/main.cpp.o -MF CMakeFiles/tbb.dir/main.cpp.o.d -o CMakeFiles/tbb.dir/main.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/main.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/multi-glob.o -MMD -MP -MF out/multi-glob.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/multi-glob.o multi-glob.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 41%] Building CXX object src/tbb/CMakeFiles/tbb.dir/market.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/market.cpp.o -MF CMakeFiles/tbb.dir/market.cpp.o.d -o CMakeFiles/tbb.dir/market.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/market.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 44%] Building CXX object src/tbb/CMakeFiles/tbb.dir/misc.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/misc.cpp.o -MF CMakeFiles/tbb.dir/misc.cpp.o.d -o CMakeFiles/tbb.dir/misc.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/misc.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 48%] Building CXX object src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o -MF CMakeFiles/tbb.dir/misc_ex.cpp.o.d -o CMakeFiles/tbb.dir/misc_ex.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/misc_ex.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 51%] Building CXX object src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o -MF CMakeFiles/tbb.dir/observer_proxy.cpp.o.d -o CMakeFiles/tbb.dir/observer_proxy.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/observer_proxy.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/arch-arm64.o -MMD -MP -MF out/elf/arch-arm64.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/arch-arm64.o elf/arch-arm64.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/arch-arm32.o -MMD -MP -MF out/elf/arch-arm32.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/arch-arm32.o elf/arch-arm32.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 55%] Building CXX object src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -MF CMakeFiles/tbb.dir/parallel_pipeline.cpp.o.d -o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/parallel_pipeline.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 58%] Building CXX object src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o -MF CMakeFiles/tbb.dir/private_server.cpp.o.d -o CMakeFiles/tbb.dir/private_server.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/private_server.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 62%] Building CXX object src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o -MF CMakeFiles/tbb.dir/profiling.cpp.o.d -o CMakeFiles/tbb.dir/profiling.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/profiling.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/arch-i386.o -MMD -MP -MF out/elf/arch-i386.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/arch-i386.o elf/arch-i386.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 65%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o -MF CMakeFiles/tbb.dir/rml_tbb.cpp.o.d -o CMakeFiles/tbb.dir/rml_tbb.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/rml_tbb.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 68%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_mutex.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/rtm_mutex.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 72%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/rtm_rw_mutex.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 75%] Building CXX object src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o -MF CMakeFiles/tbb.dir/semaphore.cpp.o.d -o CMakeFiles/tbb.dir/semaphore.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/semaphore.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 79%] Building CXX object src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o -MF CMakeFiles/tbb.dir/small_object_pool.cpp.o.d -o CMakeFiles/tbb.dir/small_object_pool.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/small_object_pool.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 82%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/task.cpp.o -MF CMakeFiles/tbb.dir/task.cpp.o.d -o CMakeFiles/tbb.dir/task.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/task.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/arch-x86-64.o -MMD -MP -MF out/elf/arch-x86-64.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/arch-x86-64.o elf/arch-x86-64.cc make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 86%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o -MF CMakeFiles/tbb.dir/task_dispatcher.cpp.o.d -o CMakeFiles/tbb.dir/task_dispatcher.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/task_dispatcher.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 89%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o -MF CMakeFiles/tbb.dir/task_group_context.cpp.o.d -o CMakeFiles/tbb.dir/task_group_context.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/task_group_context.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 93%] Building CXX object src/tbb/CMakeFiles/tbb.dir/version.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/version.cpp.o -MF CMakeFiles/tbb.dir/version.cpp.o.d -o CMakeFiles/tbb.dir/version.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/version.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [ 96%] Building CXX object src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/g++ -D__TBB_BUILD -D__TBB_DYNAMIC_LOAD_ENABLED=0 -D__TBB_SOURCE_DIRECTLY_INCLUDED=1 -D__TBB_USE_ITT_NOTIFY -I/builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -D__TBB_DYNAMIC_LOAD_ENABLED=0 -O2 -g -DNDEBUG -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -MF CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o.d -o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o -c /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/queuing_rw_mutex.cpp make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [100%] Linking CXX static library ../../gnu_12.2_cxx11_64_relwithdebinfo/libtbb.a cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/cmake -P CMakeFiles/tbb.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/cmake -E cmake_link_script CMakeFiles/tbb.dir/link.txt --verbose=1 /usr/bin/ar qc ../../gnu_12.2_cxx11_64_relwithdebinfo/libtbb.a CMakeFiles/tbb.dir/address_waiter.cpp.o CMakeFiles/tbb.dir/allocator.cpp.o CMakeFiles/tbb.dir/arena.cpp.o CMakeFiles/tbb.dir/arena_slot.cpp.o CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o CMakeFiles/tbb.dir/dynamic_link.cpp.o CMakeFiles/tbb.dir/exception.cpp.o CMakeFiles/tbb.dir/governor.cpp.o CMakeFiles/tbb.dir/global_control.cpp.o CMakeFiles/tbb.dir/itt_notify.cpp.o CMakeFiles/tbb.dir/main.cpp.o CMakeFiles/tbb.dir/market.cpp.o CMakeFiles/tbb.dir/misc.cpp.o CMakeFiles/tbb.dir/misc_ex.cpp.o CMakeFiles/tbb.dir/observer_proxy.cpp.o CMakeFiles/tbb.dir/parallel_pipeline.cpp.o CMakeFiles/tbb.dir/private_server.cpp.o CMakeFiles/tbb.dir/profiling.cpp.o CMakeFiles/tbb.dir/rml_tbb.cpp.o CMakeFiles/tbb.dir/rtm_mutex.cpp.o CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o CMakeFiles/tbb.dir/semaphore.cpp.o CMakeFiles/tbb.dir/small_object_pool.cpp.o CMakeFiles/tbb.dir/task.cpp.o CMakeFiles/tbb.dir/task_dispatcher.cpp.o CMakeFiles/tbb.dir/task_group_context.cpp.o CMakeFiles/tbb.dir/version.cpp.o CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o /usr/bin/ranlib ../../gnu_12.2_cxx11_64_relwithdebinfo/libtbb.a cd /builddir/build/BUILD/mold-1.4.2/out/tbb/src/tbb && /usr/bin/cmake -DBINARY_DIR=/builddir/build/BUILD/mold-1.4.2/out/tbb -DSOURCE_DIR=/builddir/build/BUILD/mold-1.4.2/third-party/tbb -DBIN_PATH=/builddir/build/BUILD/mold-1.4.2/out/tbb/gnu_12.2_cxx11_64_relwithdebinfo -DVARS_TEMPLATE=linux/env/vars.sh.in -DVARS_NAME=vars.sh -DTBB_INSTALL_VARS=OFF -DTBB_CMAKE_INSTALL_LIBDIR=lib64 -P /builddir/build/BUILD/mold-1.4.2/third-party/tbb/integration/cmake/generate_vars.cmake make[4]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[3]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' [100%] Built target tbb make[3]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' make[2]: Entering directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mold-1.4.2/out/tbb/CMakeFiles 0 make[2]: Leaving directory '/builddir/build/BUILD/mold-1.4.2/out/tbb' (cd out/tbb; ln -sf *_relwithdebinfo libs) g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/arch-riscv.o -MMD -MP -MF out/elf/arch-riscv.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/arch-riscv.o elf/arch-riscv.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/dwarf.o -MMD -MP -MF out/elf/dwarf.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/dwarf.o elf/dwarf.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/gc-sections.o -MMD -MP -MF out/elf/gc-sections.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/gc-sections.o elf/gc-sections.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/input-sections.o -MMD -MP -MF out/elf/input-sections.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/input-sections.o elf/input-sections.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/icf.o -MMD -MP -MF out/elf/icf.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/icf.o elf/icf.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/linker-script.o -MMD -MP -MF out/elf/linker-script.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/linker-script.o elf/linker-script.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/lto-win32.o -MMD -MP -MF out/elf/lto-win32.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/lto-win32.o elf/lto-win32.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/input-files.o -MMD -MP -MF out/elf/input-files.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/input-files.o elf/input-files.cc elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/mold.h:3, from elf/input-files.cc:1: elf/elf.h:1419:20: note: 'struct mold::elf::ElfShdr' declared here 1419 | template <> struct ElfShdr : public Elf64Shdr {}; | ^~~~~~~~~~~~~~~ elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1451:20: note: 'struct mold::elf::ElfShdr' declared here 1451 | template <> struct ElfShdr : public Elf32Shdr {}; | ^~~~~~~~~~~~~ elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1498:20: note: 'struct mold::elf::ElfShdr' declared here 1498 | template <> struct ElfShdr : public Elf64Shdr {}; | ^~~~~~~~~~~~~~ elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1536:20: note: 'struct mold::elf::ElfShdr' declared here 1536 | template <> struct ElfShdr : public Elf32Shdr {}; | ^~~~~~~~~~~~~~ elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1590:20: note: 'struct mold::elf::ElfShdr' declared here 1590 | template <> struct ElfShdr : public Elf64Shdr {}; | ^~~~~~~~~~~~~~~~ elf/input-files.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/input-files.cc:1557:1: required from here elf/input-files.cc:1152:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfShdr'; use assignment or value-initialization instead [-Wclass-memaccess] 1152 | memset(&shdr, 0, sizeof(shdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1622:20: note: 'struct mold::elf::ElfShdr' declared here 1622 | template <> struct ElfShdr : public Elf32Shdr {}; | ^~~~~~~~~~~~~~~~ g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/cmdline.o -MMD -MP -MF out/elf/cmdline.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/cmdline.o elf/cmdline.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/lto-unix.o -MMD -MP -MF out/elf/lto-unix.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/lto-unix.o elf/lto-unix.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/mapfile.o -MMD -MP -MF out/elf/mapfile.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/mapfile.o elf/mapfile.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/relocatable.o -MMD -MP -MF out/elf/relocatable.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/relocatable.o elf/relocatable.cc elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/mold.h:3, from elf/relocatable.cc:29: elf/elf.h:1625:20: note: 'struct mold::elf::ElfRel' declared here 1625 | template <> struct ElfRel : public Elf32Rela { using Elf32Rela::Elf32Rela; }; | ^~~~~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1625:20: note: 'struct mold::elf::ElfRel' declared here 1625 | template <> struct ElfRel : public Elf32Rela { using Elf32Rela::Elf32Rela; }; | ^~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1593:20: note: 'struct mold::elf::ElfRel' declared here 1593 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1593:20: note: 'struct mold::elf::ElfRel' declared here 1593 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1539:20: note: 'struct mold::elf::ElfRel' declared here 1539 | template <> struct ElfRel : public Elf32Rel { using Elf32Rel::Elf32Rel; }; | ^~~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1539:20: note: 'struct mold::elf::ElfRel' declared here 1539 | template <> struct ElfRel : public Elf32Rel { using Elf32Rel::Elf32Rel; }; | ^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1501:20: note: 'struct mold::elf::ElfRel' declared here 1501 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1501:20: note: 'struct mold::elf::ElfRel' declared here 1501 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::I386]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1454:20: note: 'struct mold::elf::ElfRel' declared here 1454 | template <> struct ElfRel : public Elf32Rel { using Elf32Rel::Elf32Rel; }; | ^~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1454:20: note: 'struct mold::elf::ElfRel' declared here 1454 | template <> struct ElfRel : public Elf32Rel { using Elf32Rel::Elf32Rel; }; | ^~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/relocatable.cc:243:6: required from here elf/relocatable.cc:268:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 268 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1422:20: note: 'struct mold::elf::ElfRel' declared here 1422 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~~ elf/relocatable.cc:277:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfRel'; use assignment instead [-Wclass-memaccess] 277 | memset(rel + i, 0, sizeof(ElfRel)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1422:20: note: 'struct mold::elf::ElfRel' declared here 1422 | template <> struct ElfRel : public Elf64Rela { using Elf64Rela::Elf64Rela; }; | ^~~~~~~~~~~~~~ g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/main.o -MMD -MP -MF out/elf/main.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/main.o elf/main.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/subprocess.o -MMD -MP -MF out/elf/subprocess.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/subprocess.o elf/subprocess.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/thunks.o -MMD -MP -MF out/elf/thunks.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/thunks.o elf/thunks.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/arch-arm64.o -MMD -MP -MF out/macho/arch-arm64.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/arch-arm64.o macho/arch-arm64.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/arch-x86-64.o -MMD -MP -MF out/macho/arch-x86-64.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/arch-x86-64.o macho/arch-x86-64.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/dead-strip.o -MMD -MP -MF out/macho/dead-strip.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/dead-strip.o macho/dead-strip.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/cmdline.o -MMD -MP -MF out/macho/cmdline.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/cmdline.o macho/cmdline.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/input-sections.o -MMD -MP -MF out/macho/input-sections.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/input-sections.o macho/input-sections.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/lto-unix.o -MMD -MP -MF out/macho/lto-unix.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/lto-unix.o macho/lto-unix.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/lto-win32.o -MMD -MP -MF out/macho/lto-win32.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/lto-win32.o macho/lto-win32.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/input-files.o -MMD -MP -MF out/macho/input-files.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/input-files.o macho/input-files.cc macho/input-files.cc: In instantiation of 'mold::macho::InputSection* mold::macho::ObjectFile::get_common_sec(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/input-files.cc:981:1: required from here macho/input-files.cc:717:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::macho::MachSection'; use assignment or value-initialization instead [-Wclass-memaccess] 717 | memset(hdr, 0, sizeof(*hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from macho/mold.h:3, from macho/input-files.cc:1: macho/macho.h:443:8: note: 'struct mold::macho::MachSection' declared here 443 | struct MachSection { | ^~~~~~~~~~~ macho/input-files.cc: In instantiation of 'mold::macho::InputSection* mold::macho::ObjectFile::get_common_sec(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/input-files.cc:981:1: required from here macho/input-files.cc:717:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::macho::MachSection'; use assignment or value-initialization instead [-Wclass-memaccess] 717 | memset(hdr, 0, sizeof(*hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ macho/macho.h:443:8: note: 'struct mold::macho::MachSection' declared here 443 | struct MachSection { | ^~~~~~~~~~~ g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/mapfile.o -MMD -MP -MF out/macho/mapfile.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/mapfile.o macho/mapfile.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/output-chunks.o -MMD -MP -MF out/elf/output-chunks.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/output-chunks.o elf/output-chunks.cc elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from elf/mold.h:3, from elf/output-chunks.cc:1: elf/elf.h:1420:20: note: 'struct mold::elf::ElfEhdr' declared here 1420 | template <> struct ElfEhdr : public Elf64Ehdr {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/elf.h:3: elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1418:20: note: 'struct mold::elf::ElfSym' declared here 1418 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1418:20: note: 'struct mold::elf::ElfSym' declared here 1418 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1298:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'} declared here 1298 | struct Elf64Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = X86_64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1418:20: note: 'struct mold::elf::ElfSym' declared here 1418 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1452:20: note: 'struct mold::elf::ElfEhdr' declared here 1452 | template <> struct ElfEhdr : public Elf32Ehdr {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1450:20: note: 'struct mold::elf::ElfSym' declared here 1450 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1450:20: note: 'struct mold::elf::ElfSym' declared here 1450 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1308:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'} declared here 1308 | struct Elf32Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = I386]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1450:20: note: 'struct mold::elf::ElfSym' declared here 1450 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1499:20: note: 'struct mold::elf::ElfEhdr' declared here 1499 | template <> struct ElfEhdr : public Elf64Ehdr {}; | ^~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1497:20: note: 'struct mold::elf::ElfSym' declared here 1497 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1497:20: note: 'struct mold::elf::ElfSym' declared here 1497 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1298:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'} declared here 1298 | struct Elf64Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = ARM64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1497:20: note: 'struct mold::elf::ElfSym' declared here 1497 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1537:20: note: 'struct mold::elf::ElfEhdr' declared here 1537 | template <> struct ElfEhdr : public Elf32Ehdr {}; | ^~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1535:20: note: 'struct mold::elf::ElfSym' declared here 1535 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1535:20: note: 'struct mold::elf::ElfSym' declared here 1535 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1308:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'} declared here 1308 | struct Elf32Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = ARM32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1535:20: note: 'struct mold::elf::ElfSym' declared here 1535 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1591:20: note: 'struct mold::elf::ElfEhdr' declared here 1591 | template <> struct ElfEhdr : public Elf64Ehdr {}; | ^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1589:20: note: 'struct mold::elf::ElfSym' declared here 1589 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1589:20: note: 'struct mold::elf::ElfSym' declared here 1589 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1298:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf64Rela'} declared here 1298 | struct Elf64Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = RISCV64]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1589:20: note: 'struct mold::elf::ElfSym' declared here 1589 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputEhdr::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:75:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfEhdr'; use assignment or value-initialization instead [-Wclass-memaccess] 75 | memset(&hdr, 0, sizeof(hdr)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1623:20: note: 'struct mold::elf::ElfEhdr' declared here 1623 | template <> struct ElfEhdr : public Elf32Ehdr {}; | ^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1103:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'mold::elf::Word' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1103 | memset(buf, 0, this->shdr.sh_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/../inttypes.h:34:7: note: 'mold::elf::Word' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::SymtabSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:555:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 555 | memset(buf, 0, sizeof(ElfSym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1621:20: note: 'struct mold::elf::ElfSym' declared here 1621 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc:564:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 564 | memset(&sym, 0, sizeof(sym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1621:20: note: 'struct mold::elf::ElfSym' declared here 1621 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::RelocSection::copy_buf(mold::elf::Context&) [with E = mold::elf::RISCV32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:2501:13: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'}; use assignment instead [-Wclass-memaccess] 2501 | memset(buf + j, 0, sizeof(RelaTy)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1308:8: note: 'using RelaTy = std::conditional::type' {aka 'struct mold::elf::Elf32Rela'} declared here 1308 | struct Elf32Rela { | ^~~~~~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::ElfSym mold::elf::to_output_esym(Context&, Symbol&) [with E = RISCV32]': elf/output-chunks.cc:2563:1: required from here elf/output-chunks.cc:1194:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 1194 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1621:20: note: 'struct mold::elf::ElfSym' declared here 1621 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~~~ g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/output-chunks.o -MMD -MP -MF out/macho/output-chunks.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/output-chunks.o macho/output-chunks.cc macho/output-chunks.cc: In instantiation of 'void mold::macho::ThreadPtrsSection::copy_buf(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/output-chunks.cc:1665:1: required from here macho/output-chunks.cc:1622:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using ul64 = class mold::LittleEndian' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1622 | memset(buf, 0, this->hdr.size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from macho/macho.h:3, from macho/mold.h:3, from macho/output-chunks.cc:1: macho/../inttypes.h:34:7: note: 'using ul64 = class mold::LittleEndian' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::ThreadPtrsSection::copy_buf(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/output-chunks.cc:1665:1: required from here macho/output-chunks.cc:1622:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'using ul64 = class mold::LittleEndian' {aka 'class mold::LittleEndian'}; use assignment or value-initialization instead [-Wclass-memaccess] 1622 | memset(buf, 0, this->hdr.size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ macho/../inttypes.h:34:7: note: 'using ul64 = class mold::LittleEndian' {aka 'class mold::LittleEndian'} declared here 34 | class LittleEndian { | ^~~~~~~~~~~~ g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/main.o -MMD -MP -MF out/macho/main.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/main.o macho/main.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/git-hash.o out/git-hash.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/yaml.o -MMD -MP -MF out/macho/yaml.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/yaml.o macho/yaml.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/macho/tapi.o -MMD -MP -MF out/macho/tapi.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/macho/tapi.o macho/tapi.cc g++ -std=c++20 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Ithird-party -Ithird-party/xxhash -DMOLD_VERSION=\"1.4.2\" -DLIBDIR="\"/usr/lib64\"" -DUSE_SYSTEM_MIMALLOC -Ithird-party/tbb/include -MT out/elf/passes.o -MMD -MP -MF out/elf/passes.d -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare -c -o out/elf/passes.o elf/passes.cc elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = X86_64]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/mold.h:3, from elf/passes.cc:1: elf/elf.h:1418:20: note: 'struct mold::elf::ElfSym' declared here 1418 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = X86_64]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1418:20: note: 'struct mold::elf::ElfSym' declared here 1418 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = I386]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1450:20: note: 'struct mold::elf::ElfSym' declared here 1450 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = I386]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1450:20: note: 'struct mold::elf::ElfSym' declared here 1450 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = ARM64]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1497:20: note: 'struct mold::elf::ElfSym' declared here 1497 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = ARM64]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1497:20: note: 'struct mold::elf::ElfSym' declared here 1497 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = ARM32]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1535:20: note: 'struct mold::elf::ElfSym' declared here 1535 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = ARM32]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1535:20: note: 'struct mold::elf::ElfSym' declared here 1535 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = RISCV64]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1589:20: note: 'struct mold::elf::ElfSym' declared here 1589 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = RISCV64]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1589:20: note: 'struct mold::elf::ElfSym' declared here 1589 | template <> struct ElfSym : public Elf64Sym {}; | ^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::create_internal_file(Context&) [with E = RISCV32]': elf/passes.cc:1746:1: required from here elf/passes.cc:371:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 371 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1621:20: note: 'struct mold::elf::ElfSym' declared here 1621 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::add_synthetic_symbols(Context&) [with E = RISCV32]': elf/passes.cc:1746:1: required from here elf/passes.cc:390:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mold::elf::ElfSym'; use assignment or value-initialization instead [-Wclass-memaccess] 390 | memset(&esym, 0, sizeof(esym)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/elf.h:1621:20: note: 'struct mold::elf::ElfSym' declared here 1621 | template <> struct ElfSym : public Elf32Sym {}; | ^~~~~~~~~~~~~~~ g++ out/compress.o out/demangle.o out/filepath.o out/glob.o out/hyperloglog.o out/main.o out/multi-glob.o out/perf.o out/strerror.o out/tar.o out/uuid.o out/elf/arch-arm32.o out/elf/arch-arm64.o out/elf/arch-i386.o out/elf/arch-riscv.o out/elf/arch-x86-64.o out/elf/cmdline.o out/elf/dwarf.o out/elf/gc-sections.o out/elf/icf.o out/elf/input-files.o out/elf/input-sections.o out/elf/linker-script.o out/elf/lto-unix.o out/elf/lto-win32.o out/elf/main.o out/elf/mapfile.o out/elf/output-chunks.o out/elf/passes.o out/elf/relocatable.o out/elf/subprocess.o out/elf/thunks.o out/macho/arch-arm64.o out/macho/arch-x86-64.o out/macho/cmdline.o out/macho/dead-strip.o out/macho/input-files.o out/macho/input-sections.o out/macho/lto-unix.o out/macho/lto-win32.o out/macho/main.o out/macho/mapfile.o out/macho/output-chunks.o out/macho/tapi.o out/macho/yaml.o out/rust-demangle.o out/git-hash.o -o mold -pthread -lz -lm -ldl -lmimalloc out/tbb/libs/libtbb.a -Wl,-push-state -Wl,-as-needed -lrt -Wl,-pop-state -lcrypto -latomic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ln -sf mold ld ln -sf mold ld64 third-party/tbb/include/tbb/../oneapi/tbb/detail/_exception.h:31: warning: type 'tbb::detail::d0::exception_id' violates the C++ One Definition Rule [-Wodr] 31 | enum class exception_id { | /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_exception.h:31: note: an enum with different value name is defined in another translation unit 31 | enum class exception_id { | third-party/tbb/include/tbb/../oneapi/tbb/detail/_exception.h:47: note: name 'last_entry' differs from name 'bad_task_handle' defined in another translation unit 47 | last_entry | /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../include/oneapi/tbb/detail/_exception.h:44: note: mismatching definition 44 | bad_task_handle, | third-party/tbb/include/tbb/../oneapi/tbb/global_control.h:59: warning: type 'tbb::detail::d1::global_control::parameter' violates the C++ One Definition Rule [-Wodr] 59 | enum parameter { | /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../include/oneapi/tbb/global_control.h:59: note: an enum with different value name is defined in another translation unit 59 | enum parameter { | third-party/tbb/include/tbb/../oneapi/tbb/global_control.h:66: note: name 'reserved1' differs from name 'scheduler_handle' defined in another translation unit 66 | reserved1, // not a public parameter | /builddir/build/BUILD/mold-1.4.2/third-party/tbb/src/tbb/../../include/oneapi/tbb/global_control.h:64: note: mismatching definition 64 | scheduler_handle, // not a public parameter | + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9OOoHT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64 + 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 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mold-1.4.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 '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 -fasynchronous-unwind-tables -fstack-clash-protection' '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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' STRIP=echo SYSTEM_MIMALLOC=1 cmake -DSOURCE_DIR=. -DOUTPUT_FILE=out/git-hash.cc -P update-git-hash.cmake /usr/bin/install -p -d /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin /usr/bin/install -p mold /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin echo /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/mold /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/mold /usr/bin/install -p -d /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold /usr/bin/install -p -m 644 mold-wrapper.so /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold echo /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold/mold-wrapper.so /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold/mold-wrapper.so /usr/bin/install -p -d /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/libexec/mold cmake -DSOURCE=/builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/mold -DDEST=/builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/libexec/mold/ld -P create-symlink.cmake /usr/bin/install -p -d /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 docs/mold.1 /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/share/man/man1 ln -sf mold.1 /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/share/man/man1/ld.mold.1 /usr/bin/install -p -d /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/share/doc/mold /usr/bin/install -p -m 644 LICENSE /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/share/doc/mold/ ln -sf mold /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/ld.mold ln -sf mold /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/ld64.mold + chmod +x /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold/mold-wrapper.so + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.4.2-1.fc37 --unique-debug-suffix -1.4.2-1.fc37.riscv64 --unique-debug-src-base mold-1.4.2-1.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mold-1.4.2 extracting debug info from /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/bin/mold extracting debug info from /builddir/build/BUILDROOT/mold-1.4.2-1.fc37.riscv64/usr/lib64/mold/mold-wrapper.so original debug info size: 285440kB, size after compression: 268120kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 4662 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bZ0YWP + umask 022 + cd /builddir/build/BUILD + 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 -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 -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 -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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mold-1.4.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 PREFIX=/usr LIBDIR=/usr/lib64 '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 -fasynchronous-unwind-tables -fstack-clash-protection' '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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-sign-compare' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' STRIP=echo SYSTEM_MIMALLOC=1 test cmake -DSOURCE_DIR=. -DOUTPUT_FILE=out/git-hash.cc -P update-git-hash.cmake Testing absolute-symbols ... skipped Testing arm32-thumb-interwork ... skipped Testing abs-error ... OK Testing ar-alignment ... OK Testing allow-multiple-definition ... OK Testing auxiliary ... OK Testing basic ... skipped Testing as-needed-weak ... OK Testing bno-symbolic ... OK Testing as-needed ... OK Testing bug178 ... OK Testing bsymbolic-functions ... OK Testing as-needed2 ... OK Testing bsymbolic ... OK Testing cmdline ... OK Testing color-diagnostics ... OK Testing comment ... OK Testing canonical-plt ... OK Testing common-ref ... OK Testing common ... OK Testing common-archive ... OK Testing build-id ... OK Testing compress-debug-sections ... OK Testing compressed-debug-info ... OK Testing copyrel-protected ... OK Testing compressed-debug-info-gnu ... OK Testing copyrel-relro ... OK Testing copyrel ... OK Testing debug-macro-section ... OK Testing defsym ... OK Testing demangle-rust ... skipped Testing default-symver ... OK Testing defsym2 ... OK Testing dependency-file ... OK Testing discard ... skipped Testing demangle ... OK Testing dt-init ... skipped Testing disable-new-dtags ... OK Testing duplicate-error ... OK Testing dso-undef ... OK Testing dynamic-linker ... OK Testing dynamic-dt-debug ... OK Testing dt-needed ... OK Testing dynamic-list ... OK Testing dynamic-list3 ... OK Testing emit-relocs ... skipped Testing dynamic-list2 ... OK Testing dynamic ... OK Testing empty-input ... OK Testing emulation-deduction ... skipped Testing empty-file ... OK Testing entry ... skipped Testing exception-mcmodel-large ... skipped Testing empty-version ... OK Testing exclude-libs2 ... OK Testing exclude-libs3 ... OK Testing execstack-if-needed ... skipped Testing exclude-libs ... OK Testing execstack ... OK Testing export-dynamic ... OK Testing fatal-warnings ... OK Testing export-from-exe ... OK Testing filter ... OK Testing exception ... OK Testing func-addr ... OK Testing gdb-index-compress-output ... skipped Testing gdb-index-dwarf2 ... skipped Testing gdb-index-dwarf3 ... skipped Testing gdb-index-dwarf4 ... skipped Testing gdb-index-dwarf5 ... skipped Testing gdb-index-empty ... OK Testing dead-debug-sections ... OK Testing gc-sections ... OK Testing global-offset-table ... skipped Testing gnu-linkonce ... skipped Testing gnu-retain ... skipped Testing glibc-2.22-bug ... OK Testing gnu-hash ... OK Testing gnu-unique ... OK Testing hash-style ... OK Testing gnu-warning ... OK Testing help ... OK Testing hello-dynamic ... OK Testing icf-small ... OK Testing icf ... OK Testing hidden-undef ... OK Testing ifunc-dynamic ... skipped Testing ifunc-dso ... skipped Testing hello-static ... OK Testing ifunc-export ... skipped Testing ifunc-static-pie ... skipped Testing ifunc-static ... skipped Testing image-base ... skipped Testing incompatible-libs ... skipped Testing incompatible-libs2 ... skipped Testing incompatible-obj ... skipped Testing init-array-readonly ... skipped Testing init-array ... skipped Testing init ... OK Testing init-in-dso ... OK Testing initfirst ... OK Testing interpose ... OK Testing invalid-version-script ... OK Testing init-array-priorities ... OK Testing large-alignment-dso ... OK Testing large-alignment ... OK Testing linker-script-defsym ... OK Testing link-order ... OK Testing linker-script ... OK Testing linker-script2 ... OK Testing linker-script3 ... OK Testing linker-script4 ... OK Testing filler ... OK Testing issue646 ... OK Testing lto-dso ... OK Testing lto-archive ... OK Testing many-sections ... skipped Testing mergeable-records ... skipped Testing mergeable-strings ... skipped Testing lto-llvm ... skipped Testing lto-version-script ... OK Testing missing-but-ok ... OK Testing lto-gcc ... OK Testing missing-error ... OK Testing no-quick-exit ... OK Testing nocopyreloc ... OK Testing noinhibit-exec ... OK Testing nostdlib ... OK Testing note-property ... skipped Testing note ... skipped Testing note2 ... skipped Testing non-canonical-plt ... OK Testing oformat-binary ... OK Testing now ... OK Testing omagic ... OK Testing pack-dyn-relocs-relr ... OK Testing package-metadata ... OK Testing pie ... OK Testing plt ... skipped Testing pltgot ... skipped Testing preinit-array ... skipped Testing plt-dso ... OK Testing print-dependencies ... OK Testing protected-dynsym ... OK Testing protected ... OK warning: direct reference to protected function `baz' in `out/test/elf/riscv64/protected/b.so' may break pointer equality Testing range-extension-thunk-arm32 ... skipped Testing range-extension-thunk-arm64 ... skipped Testing relax ... skipped Testing reloc-overflow ... skipped Testing reloc-zero ... skipped Testing reloc ... skipped Testing relocatable-archive ... OK Testing push-pop-state ... OK Testing relro ... OK Testing repro ... OK Testing require-defined ... OK Testing response-file ... skipped Testing retain-symbols-file ... OK Testing relocatable ... OK Testing riscv-norvc ... OK Testing rodata-name ... OK Testing rosegment ... OK Testing mold-wrapper ... OK Testing rpath ... OK Testing run-clang ... mold: fatal: cannot open crtbeginS.o: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:212: test/elf/run-clang.sh] Error 1 make[1]: *** Waiting for unfinished jobs.... Testing run ... OK Testing mold-wrapper2 ... OK Testing reverse-sections ... OK make: *** [Makefile:175: test] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.bZ0YWP (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.bZ0YWP (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mold.spec