Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mold.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1641936335.435047/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c2c6175c23e1428ea900b7918265c26c', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1641936335.435047/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1641427200 Wrote: /builddir/build/SRPMS/mold-1.0.1-1.20220111gitb6316ef.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/mold.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1641936335.435047/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8cd3537c66034581a686d0c69821d2c2', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1641936335.435047/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zbi281oi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1641427200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iB80N1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + /usr/bin/gzip -dc /builddir/build/SOURCES/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WIDZi3 + umask 022 + cd /builddir/build/BUILD + cd mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + make -j4 STRIP=/usr/bin/echo PREFIX=/usr LIBDIR=/usr/lib64 mkdir -p out/elf mkdir -p out/macho touch out/elf/.keep touch out/macho/.keep mkdir -p out/mimalloc mkdir -p out/tbb make -C third-party/xxhash libxxhash.a (cd out/mimalloc; CFLAGS=-DMI_USE_ENVIRON=0 cmake -G'Unix Makefiles' ../../third-party/mimalloc) (cd out/tbb; cmake -G'Unix Makefiles' -DBUILD_SHARED_LIBS=OFF -DTBB_TEST=OFF -DCMAKE_CXX_FLAGS=-D__TBB_DYNAMIC_LOAD_ENABLED=0 -DTBB_STRICT=OFF ../../third-party/tbb) make[1]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/third-party/xxhash' gcc -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -shared -o mold-wrapper.so -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 elf/mold-wrapper.c -ldl 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -c -o xxhash.o xxhash.c -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.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 CMake Warning at CMakeLists.txt:113 (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. -- CMAKE_BUILD_TYPE is not specified. Using default: RelWithDebInfo -- Looking for C++ include pthread.h -- The CXX compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/compress.o compress.cc -- Detecting C compiler ABI info - done -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for one of the modules 'hwloc' -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- -- No build type selected, default to: Release -- Override standard malloc (MI_OVERRIDE=ON) -- -- Library base name: mimalloc -- Version : 2.0 -- Build type : release -- C Compiler : /usr/bin/gcc -- Compiler flags : -Wall;-Wextra;-Wno-unknown-pragmas;-fvisibility=hidden;$<$:-O3>;-Wstrict-prototypes;-Wno-invalid-memory-model;-ftls-model=initial-exec;-fno-builtin-malloc -- Build targets : shared;static;object;tests -- -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc make -C out/mimalloc mimalloc-static make[1]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[2]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' -- The C compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info make[3]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[4]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[4]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[4]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' [ 6%] Building C object CMakeFiles/mimalloc-static.dir/src/stats.c.o -- 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 -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb make -C out/tbb tbb make[1]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[2]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[3]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[4]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[4]: Entering directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' [ 3%] Building CXX object src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o [ 13%] Building C object CMakeFiles/mimalloc-static.dir/src/random.c.o [ 20%] Building C object CMakeFiles/mimalloc-static.dir/src/os.c.o [ 26%] Building C object CMakeFiles/mimalloc-static.dir/src/bitmap.c.o [ 33%] Building C object CMakeFiles/mimalloc-static.dir/src/arena.c.o [ 6%] Building CXX object src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o [ 40%] Building C object CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o ar rcs libxxhash.a xxhash.o make[1]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/third-party/xxhash' g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/demangle.o demangle.cc [ 46%] Building C object CMakeFiles/mimalloc-static.dir/src/segment.c.o compress.cc: In constructor 'mold::ZlibCompressor::ZlibCompressor(std::string_view)': compress.cc:79:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for (i64 i = 1; i < inputs.size(); i++) | ~~^~~~~~~~~~~~~~~ compress.cc: In member function 'void mold::ZlibCompressor::write_to(mold::u8*)': compress.cc:98:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | for (i64 i = 1; i < shards.size(); i++) | ~~^~~~~~~~~~~~~~~ compress.cc: In constructor 'mold::GzipCompressor::GzipCompressor(std::string_view)': compress.cc:127:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 127 | for (i64 i = 1; i < inputs.size(); i++) | ~~^~~~~~~~~~~~~~~ compress.cc: In member function 'void mold::GzipCompressor::write_to(mold::u8*)': compress.cc:151:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for (i64 i = 1; i < shards.size(); i++) | ~~^~~~~~~~~~~~~~~ In file included from mold.h:3, from compress.cc:15: byteorder.h: In instantiation of 'mold::BigEndian& mold::BigEndian::operator=(T) [with T = unsigned int]': compress.cc:111:26: required from here byteorder.h:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 24 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ [ 10%] Building CXX object src/tbb/CMakeFiles/tbb.dir/arena.cpp.o [ 53%] Building C object CMakeFiles/mimalloc-static.dir/src/page.c.o [ 60%] Building C object CMakeFiles/mimalloc-static.dir/src/alloc.c.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/filepath.o filepath.cc [ 66%] Building C object CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/hyperloglog.o hyperloglog.cc [ 73%] Building C object CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o [ 80%] Building C object CMakeFiles/mimalloc-static.dir/src/heap.c.o [ 86%] Building C object CMakeFiles/mimalloc-static.dir/src/options.c.o [ 93%] Building C object CMakeFiles/mimalloc-static.dir/src/init.c.o [100%] Linking C static library libmimalloc.a make[4]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' [100%] Built target mimalloc-static make[3]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[2]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' make[1]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/mimalloc' g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/main.o main.cc [ 13%] Building CXX object src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o [ 17%] Building CXX object src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/perf.o perf.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/tar.o tar.cc [ 20%] Building CXX object src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o [ 24%] Building CXX object src/tbb/CMakeFiles/tbb.dir/exception.cpp.o [ 27%] Building CXX object src/tbb/CMakeFiles/tbb.dir/governor.cpp.o perf.cc: In function 'void mold::print_timer_records(tbb::detail::d1::concurrent_vector >&)': perf.cc:82:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'tbb::detail::d1::concurrent_vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | for (i64 i = 0; i < records.size(); i++) { | ~~^~~~~~~~~~~~~~~~ tar.cc: In member function 'void mold::UstarHeader::flush()': tar.cc:21:23: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 21 | for (i64 i = 0; i < sizeof(*this); i++) | ~~^~~~~~~~~~~~~~~ tar.cc: In member function 'void mold::TarFile::write_to(mold::u8*)': tar.cc:70:21: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'std::vector, std::basic_string_view > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | for (i64 i = 0; i < contents.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cc: In function 'std::string_view mold::errno_string()': main.cc:23:13: warning: ignoring return value of 'char* strerror_r(int, char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | strerror_r(errno, buf, sizeof(buf)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/arch-arm64.o elf/arch-arm64.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/arch-i386.o elf/arch-i386.cc [ 31%] Building CXX object src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/arch-x86-64.o elf/arch-x86-64.cc [ 34%] Building CXX object src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o [ 37%] Building CXX object src/tbb/CMakeFiles/tbb.dir/main.cpp.o [ 41%] Building CXX object src/tbb/CMakeFiles/tbb.dir/market.cpp.o elf/arch-arm64.cc: In member function 'void mold::elf::InputSection::apply_reloc_alloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::ARM64; mold::elf::u8 = unsigned char]': elf/arch-arm64.cc:135:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 135 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-arm64.cc: In member function 'void mold::elf::InputSection::apply_reloc_nonalloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::ARM64; mold::elf::u8 = unsigned char]': elf/arch-arm64.cc:346:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-arm64.cc: In member function 'void mold::elf::InputSection::scan_relocations(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/arch-arm64.cc:398:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-i386.cc: In member function 'void mold::elf::PltSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/arch-i386.cc:69:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | for (i64 i = 0; i < symbols.size(); i++) | ~~^~~~~~~~~~~~~~~~ elf/arch-i386.cc: In member function 'void mold::elf::PltGotSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/arch-i386.cc:83:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | for (i64 i = 0; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/arch-i386.cc:94:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (i64 i = 0; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from elf/arch-arm64.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/arch-arm64.cc:128:43: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/arch-i386.cc: In member function 'void mold::elf::InputSection::apply_reloc_alloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::I386; mold::elf::u8 = unsigned char]': elf/arch-i386.cc:131:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 131 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-i386.cc: In member function 'void mold::elf::InputSection::apply_reloc_nonalloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::I386; mold::elf::u8 = unsigned char]': elf/arch-i386.cc:278:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 278 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-i386.cc: In member function 'void mold::elf::InputSection::scan_relocations(mold::elf::Context&) [with E = mold::elf::I386]': elf/arch-i386.cc:376:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ [ 44%] Building CXX object src/tbb/CMakeFiles/tbb.dir/misc.cpp.o In file included from elf/arch-i386.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/arch-i386.cc:124:42: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ [ 48%] Building CXX object src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o elf/arch-x86-64.cc: In member function 'void mold::elf::InputSection::apply_reloc_alloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::X86_64; mold::elf::u8 = unsigned char]': elf/arch-x86-64.cc:237:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 237 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-x86-64.cc:402:30: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 402 | if (ctx.got->tlsld_idx == -1) { | ~~~~~~~~~~~~~~~~~~~^~~~~ elf/arch-x86-64.cc: In member function 'void mold::elf::InputSection::apply_reloc_nonalloc(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::X86_64; mold::elf::u8 = unsigned char]': elf/arch-x86-64.cc:496:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 496 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-x86-64.cc: In member function 'void mold::elf::InputSection::scan_relocations(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/arch-x86-64.cc:595:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 595 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/arch-x86-64.cc:698:17: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 698 | if (i + 1 == rels.size()) | ~~~~~~^~~~~~~~~~~~~~ elf/arch-x86-64.cc:708:17: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 708 | if (i + 1 == rels.size()) | ~~~~~~^~~~~~~~~~~~~~ In file included from elf/arch-x86-64.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/arch-x86-64.cc:230:44: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ [ 51%] Building CXX object src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/cmdline.o elf/cmdline.cc [ 55%] Building CXX object src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/gc-sections.o elf/gc-sections.cc [ 58%] Building CXX object src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/icf.o elf/icf.cc [ 62%] Building CXX object src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o [ 65%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o [ 68%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o elf/cmdline.cc: In function 'std::vector > mold::elf::split_by_comma_or_colon(std::string_view)': elf/cmdline.cc:341:13: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 341 | if (pos == str.npos) { [ 72%] Building CXX object src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o elf/cmdline.cc: In instantiation of 'std::string mold::elf::create_response_file(mold::elf::Context&) [with E = mold::elf::X86_64; std::string = std::__cxx11::basic_string]': elf/cmdline.cc:959:1: required from here elf/cmdline.cc:274:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 274 | for (i64 i = 1; i < ctx.cmdline_args.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ [ 75%] Building CXX object src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o [ 79%] Building CXX object src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o elf/cmdline.cc: In instantiation of 'std::string mold::elf::create_response_file(mold::elf::Context&) [with E = mold::elf::I386; std::string = std::__cxx11::basic_string]': elf/cmdline.cc:960:1: required from here elf/cmdline.cc:274:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/cmdline.cc: In instantiation of 'std::string mold::elf::create_response_file(mold::elf::Context&) [with E = mold::elf::ARM64; std::string = std::__cxx11::basic_string]': elf/cmdline.cc:961:1: required from here elf/cmdline.cc:274:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/icf.cc: In function 'Digest mold::elf::digest_final(SHA256_CTX&)': elf/icf.cc:128:25: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | int res = SHA256_Final(buf, &sha); | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ elf/icf.cc: In function 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&)': elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc: In lambda function: elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In lambda function: elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/cmdline.cc: In instantiation of 'std::vector mold::elf::parse_hex_build_id(mold::elf::Context&, std::string_view) [with E = mold::elf::X86_64; std::string_view = std::basic_string_view]': elf/cmdline.cc:780:52: required from 'void mold::elf::parse_nonpositional_args(mold::elf::Context&, std::vector >&) [with E = mold::elf::X86_64]' elf/cmdline.cc:959:1: required from here elf/cmdline.cc:330:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 330 | for (i64 i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ elf/cmdline.cc: In instantiation of 'std::vector mold::elf::parse_hex_build_id(mold::elf::Context&, std::string_view) [with E = mold::elf::I386; std::string_view = std::basic_string_view]': elf/cmdline.cc:780:52: required from 'void mold::elf::parse_nonpositional_args(mold::elf::Context&, std::vector >&) [with E = mold::elf::I386]' elf/cmdline.cc:960:1: required from here elf/cmdline.cc:330:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/cmdline.cc: In instantiation of 'std::vector mold::elf::parse_hex_build_id(mold::elf::Context&, std::string_view) [with E = mold::elf::ARM64; std::string_view = std::basic_string_view]': elf/cmdline.cc:780:52: required from 'void mold::elf::parse_nonpositional_args(mold::elf::Context&, std::vector >&) [with E = mold::elf::ARM64]' elf/cmdline.cc:961:1: required from here elf/cmdline.cc:330:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] [ 82%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task.cpp.o In file included from elf/gc-sections.cc:5: elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::X86_64]': elf/gc-sections.cc:131:41: required from 'tbb::detail::d1::concurrent_vector*> mold::elf::collect_root_set(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:187:71: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:195:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::I386]': elf/gc-sections.cc:131:41: required from 'tbb::detail::d1::concurrent_vector*> mold::elf::collect_root_set(mold::elf::Context&) [with E = mold::elf::I386]' elf/gc-sections.cc:187:71: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/gc-sections.cc:196:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::ARM64]': elf/gc-sections.cc:131:41: required from 'tbb::detail::d1::concurrent_vector*> mold::elf::collect_root_set(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:187:71: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:197:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::X86_64]': elf/gc-sections.cc:44:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::X86_64; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:195:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/gc-sections.cc:49:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::X86_64; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/gc-sections.cc:195:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::I386]': elf/gc-sections.cc:44:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::I386; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::I386]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/gc-sections.cc:196:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/gc-sections.cc:49:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::I386; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::I386]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/gc-sections.cc:196:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::ARM64]': elf/gc-sections.cc:44:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::ARM64; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:197:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/gc-sections.cc:49:39: required from 'void mold::elf::visit(mold::elf::Context&, mold::elf::InputSection*, tbb::detail::d1::feeder*>&, mold::elf::i64) [with E = mold::elf::ARM64; mold::elf::i64 = long int]' elf/gc-sections.cc:146:10: required from 'void mold::elf::mark(mold::elf::Context&, tbb::detail::d1::concurrent_vector*>&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:188:7: required from 'void mold::elf::gc_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/gc-sections.cc:197:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ [ 86%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o elf/icf.cc: In instantiation of 'void mold::elf::uniquify_cies(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/icf.cc:499:16: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:93:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (i64 i = 0; i < cies.size(); i++) { | ~~^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'std::vector*> mold::elf::gather_sections(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/icf.cc:503:60: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:322:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 322 | for (i64 i = 0; i < ctx.objs.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::X86_64]': elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:370:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 370 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:383:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 383 | for (i64 i = 0; i < num_edges.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:393:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::i64 mold::elf::propagate(std::span > >, std::span, std::span, bool&, tbb::detail::d1::affinity_partitioner&) [with E = mold::elf::X86_64; mold::elf::i64 = long int]': elf/icf.cc:523:27: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'void mold::elf::uniquify_cies(mold::elf::Context&) [with E = mold::elf::I386]': elf/icf.cc:499:16: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:93:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (i64 i = 0; i < cies.size(); i++) { | ~~^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'std::vector*> mold::elf::gather_sections(mold::elf::Context&) [with E = mold::elf::I386]': elf/icf.cc:503:60: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:322:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 322 | for (i64 i = 0; i < ctx.objs.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::I386]': elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:370:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 370 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:383:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 383 | for (i64 i = 0; i < num_edges.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:393:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::i64 mold::elf::propagate(std::span > >, std::span, std::span, bool&, tbb::detail::d1::affinity_partitioner&) [with E = mold::elf::I386; mold::elf::i64 = long int]': elf/icf.cc:523:27: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'void mold::elf::uniquify_cies(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/icf.cc:499:16: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:93:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (i64 i = 0; i < cies.size(); i++) { | ~~^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'std::vector*> mold::elf::gather_sections(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/icf.cc:503:60: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:322:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 322 | for (i64 i = 0; i < ctx.objs.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::ARM64]': elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:370:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 370 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:383:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 383 | for (i64 i = 0; i < num_edges.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc:393:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for (i64 j = 0; j < isec.get_rels(ctx).size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::i64 mold::elf::propagate(std::span > >, std::span, std::span, bool&, tbb::detail::d1::affinity_partitioner&) [with E = mold::elf::ARM64; mold::elf::i64 = long int]': elf/icf.cc:523:27: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:421:16: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:422:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | SHA256_Update(&sha, digests[2][i].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:428:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA256_Update(&sha, digests[slot][j].data(), HASH_SIZE); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long unsigned int]': elf/icf.cc:238:9: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = char]': elf/icf.cc:246:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = unsigned int]': elf/icf.cc:271:9: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long int]': elf/icf.cc:283:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::X86_64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:289:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 289 | for (i64 i = 0; i < isec.get_rels(ctx).size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:55: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/icf.cc:370:38: required from 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::X86_64]' elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long unsigned int]': elf/icf.cc:238:9: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = char]': elf/icf.cc:246:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = unsigned int]': elf/icf.cc:266:7: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long int]': elf/icf.cc:283:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::I386]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:289:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 289 | for (i64 i = 0; i < isec.get_rels(ctx).size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:55: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/icf.cc:370:38: required from 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::I386]' elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:231:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long unsigned int]': elf/icf.cc:238:9: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:239:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA256_Update(&sha, str.data(), str.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = char]': elf/icf.cc:246:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = unsigned int]': elf/icf.cc:271:9: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&):: [with auto:20 = long int]': elf/icf.cc:283:11: required from 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]' elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc:234:18: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | SHA256_Update(&sha, &val, sizeof(val)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:69: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/icf.cc: In instantiation of 'Digest mold::elf::compute_digest(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64; Digest = std::array]': elf/icf.cc:350:32: required from 'std::vector > mold::elf::compute_digests(mold::elf::Context&, std::span*>) [with E = mold::elf::ARM64]' elf/icf.cc:506:34: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:289:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 289 | for (i64 i = 0; i < isec.get_rels(ctx).size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/icf.cc:55: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/icf.cc:370:38: required from 'void mold::elf::gather_edges(mold::elf::Context&, std::span*>, std::vector&, std::vector&) [with E = mold::elf::ARM64]' elf/icf.cc:512:18: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::X86_64]': elf/icf.cc:142:21: required from 'bool mold::elf::is_leaf(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64]' elf/icf.cc:204:18: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::I386]': elf/icf.cc:142:21: required from 'bool mold::elf::is_leaf(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386]' elf/icf.cc:204:18: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::ARM64]': elf/icf.cc:142:21: required from 'bool mold::elf::is_leaf(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64]' elf/icf.cc:204:18: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Building CXX object src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o elf/icf.cc: In instantiation of 'bool mold::elf::LeafEq::operator()(const mold::elf::InputSection*, const mold::elf::InputSection*) const [with E = mold::elf::X86_64]': third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:43:24: required from 'bool tbb::detail::d1::hash_compare::operator()(const Key&, const Key&) const [with Key = mold::elf::InputSection*; Hash = mold::elf::LeafHasher; KeyEqual = mold::elf::LeafEq]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:1259:39: required from 'tbb::detail::d1::concurrent_unordered_base::value_node_type* tbb::detail::d1::concurrent_unordered_base::internal_find(const K&) [with K = mold::elf::InputSection*; Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::value_node_ptr = tbb::detail::d1::value_node* const, mold::elf::InputSection*>, long unsigned int>*]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:549:46: required from 'tbb::detail::d1::concurrent_unordered_base::iterator tbb::detail::d1::concurrent_unordered_base::find(const key_type&) [with Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::iterator = tbb::detail::d1::solist_iterator*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false> >, std::pair* const, mold::elf::InputSection*> >; tbb::detail::d1::concurrent_unordered_base::key_type = mold::elf::InputSection*]' elf/icf.cc:220:27: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/icf.cc:588:1: required from here elf/icf.cc:176:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | for (i64 i = 0; i < x.size(); i++) | ~~^~~~~~~~~~ elf/icf.cc: In instantiation of 'bool mold::elf::LeafEq::operator()(const mold::elf::InputSection*, const mold::elf::InputSection*) const [with E = mold::elf::I386]': third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:43:24: required from 'bool tbb::detail::d1::hash_compare::operator()(const Key&, const Key&) const [with Key = mold::elf::InputSection*; Hash = mold::elf::LeafHasher; KeyEqual = mold::elf::LeafEq]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:1259:39: required from 'tbb::detail::d1::concurrent_unordered_base::value_node_type* tbb::detail::d1::concurrent_unordered_base::internal_find(const K&) [with K = mold::elf::InputSection*; Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::value_node_ptr = tbb::detail::d1::value_node* const, mold::elf::InputSection*>, long unsigned int>*]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:549:46: required from 'tbb::detail::d1::concurrent_unordered_base::iterator tbb::detail::d1::concurrent_unordered_base::find(const key_type&) [with Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::iterator = tbb::detail::d1::solist_iterator*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false> >, std::pair* const, mold::elf::InputSection*> >; tbb::detail::d1::concurrent_unordered_base::key_type = mold::elf::InputSection*]' elf/icf.cc:220:27: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/icf.cc:589:1: required from here elf/icf.cc:176:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/icf.cc: In instantiation of 'bool mold::elf::LeafEq::operator()(const mold::elf::InputSection*, const mold::elf::InputSection*) const [with E = mold::elf::ARM64]': third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:43:24: required from 'bool tbb::detail::d1::hash_compare::operator()(const Key&, const Key&) const [with Key = mold::elf::InputSection*; Hash = mold::elf::LeafHasher; KeyEqual = mold::elf::LeafEq]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:1259:39: required from 'tbb::detail::d1::concurrent_unordered_base::value_node_type* tbb::detail::d1::concurrent_unordered_base::internal_find(const K&) [with K = mold::elf::InputSection*; Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::value_node_ptr = tbb::detail::d1::value_node* const, mold::elf::InputSection*>, long unsigned int>*]' third-party/tbb/include/tbb/../oneapi/tbb/detail/_concurrent_unordered_base.h:549:46: required from 'tbb::detail::d1::concurrent_unordered_base::iterator tbb::detail::d1::concurrent_unordered_base::find(const key_type&) [with Traits = tbb::detail::d1::concurrent_unordered_map_traits*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false>; tbb::detail::d1::concurrent_unordered_base::iterator = tbb::detail::d1::solist_iterator*, mold::elf::InputSection*, mold::elf::LeafHasher, mold::elf::LeafEq, tbb::detail::d1::tbb_allocator* const, mold::elf::InputSection*> >, false> >, std::pair* const, mold::elf::InputSection*> >; tbb::detail::d1::concurrent_unordered_base::key_type = mold::elf::InputSection*]' elf/icf.cc:220:27: required from 'void mold::elf::merge_leaf_nodes(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:500:19: required from 'void mold::elf::icf_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/icf.cc:590:1: required from here elf/icf.cc:176:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] [ 93%] Building CXX object src/tbb/CMakeFiles/tbb.dir/version.cpp.o [ 96%] Building CXX object src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o [100%] Linking CXX static library ../../gnu_11.2_cxx11_64_relwithdebinfo/libtbb.a make[4]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' [100%] Built target tbb make[3]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[2]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' make[1]: Leaving directory '/builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c/out/tbb' (cd out/tbb; ln -sf *_relwithdebinfo libs) g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/input-sections.o elf/input-sections.cc In file included from elf/input-sections.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::X86_64]': elf/input-sections.cc:156:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/input-sections.cc: In instantiation of 'bool mold::elf::CieRecord::equals(const mold::elf::CieRecord&) const [with E = mold::elf::X86_64]': elf/input-sections.cc:156:1: required from here elf/input-sections.cc:17:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for (i64 i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ In file included from elf/input-sections.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/input-sections.cc:156:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::I386]': elf/input-sections.cc:157:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/input-sections.cc: In instantiation of 'bool mold::elf::CieRecord::equals(const mold::elf::CieRecord&) const [with E = mold::elf::I386]': elf/input-sections.cc:157:1: required from here elf/input-sections.cc:17:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for (i64 i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ In file included from elf/input-sections.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/input-sections.cc:157:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::ARM64]': elf/input-sections.cc:158:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/input-sections.cc: In instantiation of 'bool mold::elf::CieRecord::equals(const mold::elf::CieRecord&) const [with E = mold::elf::ARM64]': elf/input-sections.cc:158:1: required from here elf/input-sections.cc:17:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for (i64 i = 0; i < x.size(); i++) { | ~~^~~~~~~~~~ In file included from elf/input-sections.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/input-sections.cc:158:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/linker-script.o elf/linker-script.cc elf/linker-script.cc: In function 'std::string_view mold::elf::get_line(std::string_view, const char*)': elf/linker-script.cc:24:13: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 24 | if (start == input.npos) elf/linker-script.cc:30:11: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 30 | if (end == input.npos) g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/main.o elf/main.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/mapfile.o elf/mapfile.cc elf/linker-script.cc: In instantiation of 'std::vector > mold::elf::tokenize(mold::elf::Context&, std::string_view) [with E = mold::elf::X86_64; std::string_view = std::basic_string_view]': elf/linker-script.cc:215:47: required from 'void mold::elf::parse_linker_script(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::X86_64]' elf/linker-script.cc:419:1: required from here elf/linker-script.cc:79:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 79 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:87:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 87 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:95:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 95 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:108:18: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 108 | else if (pos == input.npos) | ~~~~^~~~~~~~~~~~~ elf/linker-script.cc: In instantiation of 'std::vector > mold::elf::tokenize(mold::elf::Context&, std::string_view) [with E = mold::elf::I386; std::string_view = std::basic_string_view]': elf/linker-script.cc:215:47: required from 'void mold::elf::parse_linker_script(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::I386]' elf/linker-script.cc:420:1: required from here elf/linker-script.cc:79:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 79 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:87:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 87 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:95:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 95 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:108:18: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 108 | else if (pos == input.npos) | ~~~~^~~~~~~~~~~~~ elf/linker-script.cc: In instantiation of 'std::vector > mold::elf::tokenize(mold::elf::Context&, std::string_view) [with E = mold::elf::ARM64; std::string_view = std::basic_string_view]': elf/linker-script.cc:215:47: required from 'void mold::elf::parse_linker_script(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::ARM64]' elf/linker-script.cc:421:1: required from here elf/linker-script.cc:79:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 79 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:87:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 87 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:95:15: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 95 | if (pos == std::string_view::npos) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/linker-script.cc:108:18: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 108 | else if (pos == input.npos) | ~~~~^~~~~~~~~~~~~ elf/main.cc: In function 'std::optional > mold::elf::glob_to_regex(std::string_view)': elf/main.cc:21:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for (i64 i = 0; i < pat.size(); i++) { | ~~^~~~~~~~~~~~ elf/main.cc:35:19: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (i++; i < pat.size(); i++) { | ~~^~~~~~~~~~~~ elf/main.cc:42:26: warning: comparison of integer expressions of different signedness: 'std::basic_string_view::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 42 | if (pat.size() <= i) | ~~~~~~~~~~~^~~~ elf/main.cc:47:13: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (i == pat.size()) | ~~^~~~~~~~~~~~~ elf/main.cc: In instantiation of 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]': elf/main.cc:740:26: required from here elf/main.cc:636:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 636 | for (i64 i = 0, shndx = 1; i < ctx.chunks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ elf/main.cc: In instantiation of 'int mold::elf::elf_main(int, char**) [with E = mold::elf::I386]': elf/main.cc:388:28: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]' elf/main.cc:740:26: required from here elf/main.cc:636:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/main.cc: In instantiation of 'int mold::elf::elf_main(int, char**) [with E = mold::elf::ARM64]': elf/main.cc:390:29: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]' elf/main.cc:740:26: required from here elf/main.cc:636:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] In file included from elf/main.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/main.cc:319:31: required from 'void mold::elf::show_stats(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/main.cc:721:15: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]' elf/main.cc:740:26: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/main.cc:319:31: required from 'void mold::elf::show_stats(mold::elf::Context&) [with E = mold::elf::I386]' elf/main.cc:721:15: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::I386]' elf/main.cc:388:28: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]' elf/main.cc:740:26: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/main.cc:319:31: required from 'void mold::elf::show_stats(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/main.cc:721:15: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::ARM64]' elf/main.cc:390:29: required from 'int mold::elf::elf_main(int, char**) [with E = mold::elf::X86_64]' elf/main.cc:740:26: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/object-file.o elf/object-file.cc elf/object-file.cc: In function 'size_t mold::elf::find_null(std::string_view, mold::elf::u64)': elf/object-file.cc:522:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 522 | for (i64 i = 0; i <= data.size() - entsize; i += entsize) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:664:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 664 | for (i64 i = 0; i < m->strings.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ elf/object-file.cc:679:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 679 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:693:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 693 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:720:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (i64 i = 1; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_lazy_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:850:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 850 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_regular_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:873:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 873 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::mark_live_objects(mold::elf::Context&, std::function*)>) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:891:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 891 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_common_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:947:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 947 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_comdat_groups() [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:978:16: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 978 | while (cur == -1 || cur > this->priority) | ~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::claim_unresolved_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1003:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1003 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:1018:38: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 1018 | if (i64 pos = key.find('@'); pos != key.npos) { | ~~~~^~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1108:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1108 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::compute_symtab(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1183:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1183 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::write_symtab(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1234:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1234 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_sections(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:171:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:240:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:250:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 250 | assert(target->relsec_idx == -1); | ~~~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:492:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 492 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:500:39: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 500 | if (i64 pos = name.find('@'); pos != name.npos) { | ~~~~^~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_mergeable_sections(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:649:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 649 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:653:26: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 653 | isec->relsec_idx == -1) { | ~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_ehframe_sections(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:264:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 264 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::read_ehframe(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:313:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | for (i64 i = 1; i < rels.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:336:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 336 | while (rel_idx < rels.size() && rels[rel_idx].r_offset < end_offset) | ~~~~~~~~^~~~~~~~~~~~~ elf/object-file.cc:336:60: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 336 | while (rel_idx < rels.size() && rels[rel_idx].r_offset < end_offset) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:338:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 338 | assert(rel_idx == rels.size() || begin_offset <= rels[rel_begin].r_offset); | ~~~~~~~~^~~~~~~~~~~~~~ elf/object-file.cc:338:51: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 338 | assert(rel_idx == rels.size() || begin_offset <= rels[rel_begin].r_offset); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:361:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 361 | for (i64 i = cies_begin; i < cies.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:367:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 367 | for (i64 i = fdes_begin; i < fdes.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:384:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 384 | for (i64 i = fdes_begin; i < fdes.size();) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:389:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | while (i < fdes.size() && isec == get_isec(fdes[i])) | ~~^~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::parse(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1308:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1308 | for (i64 i = first_global; i < esyms.size(); i++) { | ~~^~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::resolve_dso_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/object-file.cc:1422:1: required from here elf/object-file.cc:1370:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1370 | for (i64 i = 0; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/output-chunks.o elf/output-chunks.cc elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:664:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 664 | for (i64 i = 0; i < m->strings.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ elf/object-file.cc:679:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 679 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:693:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 693 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:720:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (i64 i = 1; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_lazy_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:850:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 850 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_regular_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:873:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 873 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::mark_live_objects(mold::elf::Context&, std::function*)>) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:891:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 891 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_common_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:947:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 947 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_comdat_groups() [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:978:16: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 978 | while (cur == -1 || cur > this->priority) | ~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::claim_unresolved_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1003:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1003 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:1018:38: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 1018 | if (i64 pos = key.find('@'); pos != key.npos) { | ~~~~^~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1108:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1108 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::compute_symtab(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1183:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1183 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::write_symtab(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1234:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1234 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_sections(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:171:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:240:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:250:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 250 | assert(target->relsec_idx == -1); | ~~~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:492:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 492 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:500:39: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 500 | if (i64 pos = name.find('@'); pos != name.npos) { | ~~~~^~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_mergeable_sections(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:649:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 649 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:653:26: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 653 | isec->relsec_idx == -1) { | ~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_ehframe_sections(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:264:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 264 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::read_ehframe(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:313:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | for (i64 i = 1; i < rels.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:336:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 336 | while (rel_idx < rels.size() && rels[rel_idx].r_offset < end_offset) | ~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:338:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 338 | assert(rel_idx == rels.size() || begin_offset <= rels[rel_begin].r_offset); | ~~~~~~~~^~~~~~~~~~~~~~ elf/object-file.cc:361:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 361 | for (i64 i = cies_begin; i < cies.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:367:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 367 | for (i64 i = fdes_begin; i < fdes.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:384:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 384 | for (i64 i = fdes_begin; i < fdes.size();) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:389:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | while (i < fdes.size() && isec == get_isec(fdes[i])) | ~~^~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::parse(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1308:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1308 | for (i64 i = first_global; i < esyms.size(); i++) { | ~~^~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::resolve_dso_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/object-file.cc:1423:1: required from here elf/object-file.cc:1370:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1370 | for (i64 i = 0; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:664:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 664 | for (i64 i = 0; i < m->strings.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ elf/object-file.cc:679:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 679 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:693:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 693 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:720:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (i64 i = 1; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_lazy_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:850:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 850 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_regular_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:873:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 873 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::mark_live_objects(mold::elf::Context&, std::function*)>) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:891:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 891 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_common_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:947:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 947 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::resolve_comdat_groups() [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:978:16: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 978 | while (cur == -1 || cur > this->priority) | ~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::claim_unresolved_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1003:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1003 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:1018:38: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 1018 | if (i64 pos = key.find('@'); pos != key.npos) { | ~~~~^~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::convert_common_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1108:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1108 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::compute_symtab(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1183:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1183 | for (i64 i = first_global; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::write_symtab(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1234:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1234 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_sections(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:171:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:240:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (i64 i = 0; i < this->elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:250:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 250 | assert(target->relsec_idx == -1); | ~~~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:492:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 492 | for (i64 i = first_global; i < elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:500:39: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 500 | if (i64 pos = name.find('@'); pos != name.npos) { | ~~~~^~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_mergeable_sections(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:649:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 649 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc:653:26: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 653 | isec->relsec_idx == -1) { | ~~~~~~~~~~~~~~~~~^~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::initialize_ehframe_sections(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:264:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 264 | for (i64 i = 0; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::ObjectFile::read_ehframe(mold::elf::Context&, mold::elf::InputSection&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:313:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | for (i64 i = 1; i < rels.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:336:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 336 | while (rel_idx < rels.size() && rels[rel_idx].r_offset < end_offset) | ~~~~~~~~^~~~~~~~~~~~~ elf/object-file.cc:336:60: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 336 | while (rel_idx < rels.size() && rels[rel_idx].r_offset < end_offset) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/object-file.cc:338:20: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 338 | assert(rel_idx == rels.size() || begin_offset <= rels[rel_begin].r_offset); | ~~~~~~~~^~~~~~~~~~~~~~ elf/object-file.cc:338:51: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 338 | assert(rel_idx == rels.size() || begin_offset <= rels[rel_begin].r_offset); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc:361:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 361 | for (i64 i = cies_begin; i < cies.size(); i++) | ~~^~~~~~~~~~~~~ elf/object-file.cc:367:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 367 | for (i64 i = fdes_begin; i < fdes.size(); i++) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:384:30: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 384 | for (i64 i = fdes_begin; i < fdes.size();) { | ~~^~~~~~~~~~~~~ elf/object-file.cc:389:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 389 | while (i < fdes.size() && isec == get_isec(fdes[i])) | ~~^~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::parse(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1308:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1308 | for (i64 i = first_global; i < esyms.size(); i++) { | ~~^~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'void mold::elf::SharedFile::resolve_dso_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/object-file.cc:1424:1: required from here elf/object-file.cc:1370:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1370 | for (i64 i = 0; i < this->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/mold.h: In instantiation of 'std::string_view mold::elf::InputFile::get_string(mold::elf::Context&, mold::elf::i64) [with E = mold::elf::X86_64; std::string_view = std::basic_string_view; mold::elf::i64 = long int]': elf/object-file.cc:757:37: required from 'void mold::elf::ObjectFile::parse(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/object-file.cc:1422:1: required from here elf/mold.h:1718:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1718 | assert(idx < elf_sections.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from elf/object-file.cc:1: elf/mold.h:1720:27: warning: comparison of integer expressions of different signedness: 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 1720 | if (elf_sections.size() <= idx) | ~~~~~~~~~~~~~~~~~~~~^~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::X86_64]': elf/object-file.cc:673:47: required from 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/object-file.cc:1422:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::X86_64]': elf/object-file.cc:1085:39: required from 'void mold::elf::ObjectFile::scan_relocations(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/object-file.cc:1422:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'mold::elf::InputFile::InputFile(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::X86_64]': elf/object-file.cc:53:75: required from 'mold::elf::ObjectFile::ObjectFile(mold::elf::Context&, mold::MappedFile >*, std::string, bool) [with E = mold::elf::X86_64; std::string = std::__cxx11::basic_string]' elf/object-file.cc:1422:1: required from here elf/object-file.cc:13:16: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 13 | if (mf->size < sizeof(ElfEhdr)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from elf/../mold.h:3, from elf/mold.h:4, from elf/object-file.cc:1: elf/../byteorder.h: In instantiation of 'mold::BigEndian::operator T() const [with T = long unsigned int]': elf/object-file.cc:137:9: required from 'std::pair, const mold::elf::ElfShdr*> mold::elf::ObjectFile::uncompress_contents(mold::elf::Context&, const mold::elf::ElfShdr&, std::string_view) [with E = mold::elf::X86_64; std::string_view = std::basic_string_view]' elf/object-file.cc:1422:1: required from here elf/../byteorder.h:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 18 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/mold.h: In instantiation of 'std::string_view mold::elf::InputFile::get_string(mold::elf::Context&, mold::elf::i64) [with E = mold::elf::I386; std::string_view = std::basic_string_view; mold::elf::i64 = long int]': elf/object-file.cc:757:37: required from 'void mold::elf::ObjectFile::parse(mold::elf::Context&) [with E = mold::elf::I386]' elf/object-file.cc:1423:1: required from here elf/mold.h:1718:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1718 | assert(idx < elf_sections.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from elf/object-file.cc:1: elf/mold.h:1720:27: warning: comparison of integer expressions of different signedness: 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 1720 | if (elf_sections.size() <= idx) | ~~~~~~~~~~~~~~~~~~~~^~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::I386]': elf/object-file.cc:673:47: required from 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::I386]' elf/object-file.cc:1423:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::I386]': elf/object-file.cc:1085:39: required from 'void mold::elf::ObjectFile::scan_relocations(mold::elf::Context&) [with E = mold::elf::I386]' elf/object-file.cc:1423:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'mold::elf::InputFile::InputFile(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::I386]': elf/object-file.cc:53:75: required from 'mold::elf::ObjectFile::ObjectFile(mold::elf::Context&, mold::MappedFile >*, std::string, bool) [with E = mold::elf::I386; std::string = std::__cxx11::basic_string]' elf/object-file.cc:1423:1: required from here elf/object-file.cc:13:16: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 13 | if (mf->size < sizeof(ElfEhdr)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/object-file.cc:1: elf/mold.h: In instantiation of 'std::string_view mold::elf::InputFile::get_string(mold::elf::Context&, mold::elf::i64) [with E = mold::elf::ARM64; std::string_view = std::basic_string_view; mold::elf::i64 = long int]': elf/object-file.cc:757:37: required from 'void mold::elf::ObjectFile::parse(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/object-file.cc:1424:1: required from here elf/mold.h:1718:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1718 | assert(idx < elf_sections.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from elf/object-file.cc:1: elf/mold.h:1720:27: warning: comparison of integer expressions of different signedness: 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 1720 | if (elf_sections.size() <= idx) | ~~~~~~~~~~~~~~~~~~~~^~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::InputSection::get_rels(mold::elf::Context&) const [with E = mold::elf::ARM64]': elf/object-file.cc:673:47: required from 'void mold::elf::ObjectFile::register_section_pieces(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/object-file.cc:1424:1: required from here elf/mold.h:1676:18: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 1676 | if (relsec_idx == -1) | ~~~~~~~~~~~^~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::ARM64]': elf/object-file.cc:1085:39: required from 'void mold::elf::ObjectFile::scan_relocations(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/object-file.cc:1424:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/object-file.cc: In instantiation of 'mold::elf::InputFile::InputFile(mold::elf::Context&, mold::MappedFile >*) [with E = mold::elf::ARM64]': elf/object-file.cc:53:75: required from 'mold::elf::ObjectFile::ObjectFile(mold::elf::Context&, mold::MappedFile >*, std::string, bool) [with E = mold::elf::ARM64; std::string = std::__cxx11::basic_string]' elf/object-file.cc:1424:1: required from here elf/object-file.cc:13:16: warning: comparison of integer expressions of different signedness: 'mold::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 13 | if (mf->size < sizeof(ElfEhdr)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/output-file.o elf/output-file.cc elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputSection::write_to(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::X86_64; mold::elf::u8 = unsigned char]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:763:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 763 | u64 next_start = (i == members.size() - 1) ? | ~~~^~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::add_tlsld(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:801:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 801 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/output-chunks.cc:1: elf/output-chunks.cc: In instantiation of 'mold::elf::u64 mold::elf::GotSection::get_tlsld_addr(mold::elf::Context&) const [with E = mold::elf::X86_64; mold::elf::u64 = long unsigned int]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:809:20: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 809 | assert(tlsld_idx != -1); | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::i64 mold::elf::GotSection::get_reldyn_size(mold::elf::Context&) const [with E = mold::elf::X86_64; mold::elf::i64 = long int]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:828:17: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 828 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ 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:1915:1: required from here elf/output-chunks.cc:886:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 886 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::finalize(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:999:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 999 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1020:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1020 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::HashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1089:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1089 | for (i64 i = 1; i < ctx.dynsym->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GnuHashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1141:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1141 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1154:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1154 | for (i64 i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/output-chunks.cc:1162:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1162 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1164:11: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1164 | if (i == syms.size() - 1 || | ~~^~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::EhFrameHdrSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1455:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1455 | for (i64 i = 0; i < file->fdes.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::VerneedSection::construct(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1570:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1570 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::NotePropertySection::update_shdr(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:1776:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1776 | if (features != 0 && features != -1) | ~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'std::vector > mold::elf::create_phdr(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/output-chunks.cc:1915:1: required from here elf/output-chunks.cc:194:45: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 194 | ctx.chunks[i]->shdr.sh_addralign == alignment) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ elf/output-chunks.cc:223:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:229:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 229 | while (i < ctx.chunks.size() && (ctx.chunks[i]->shdr.sh_flags & SHF_TLS)) | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:250:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 250 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:256:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 256 | while (i < ctx.chunks.size() && is_relro(ctx, ctx.chunks[i])) | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputSection::write_to(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::I386; mold::elf::u8 = unsigned char]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:763:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 763 | u64 next_start = (i == members.size() - 1) ? | ~~~^~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::add_tlsld(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:801:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 801 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/output-chunks.cc:1: elf/output-chunks.cc: In instantiation of 'mold::elf::u64 mold::elf::GotSection::get_tlsld_addr(mold::elf::Context&) const [with E = mold::elf::I386; mold::elf::u64 = long unsigned int]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:809:20: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 809 | assert(tlsld_idx != -1); | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::i64 mold::elf::GotSection::get_reldyn_size(mold::elf::Context&) const [with E = mold::elf::I386; mold::elf::i64 = long int]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:828:17: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 828 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ 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:1916:1: required from here elf/output-chunks.cc:886:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 886 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::finalize(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:999:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 999 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1020:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1020 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::HashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1089:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1089 | for (i64 i = 1; i < ctx.dynsym->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GnuHashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1141:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1141 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1154:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1154 | for (i64 i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/output-chunks.cc:1162:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1162 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1164:11: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1164 | if (i == syms.size() - 1 || | ~~^~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::EhFrameHdrSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1455:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1455 | for (i64 i = 0; i < file->fdes.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::VerneedSection::construct(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1570:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1570 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::NotePropertySection::update_shdr(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:1776:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1776 | if (features != 0 && features != -1) | ~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'std::vector > mold::elf::create_phdr(mold::elf::Context&) [with E = mold::elf::I386]': elf/output-chunks.cc:1916:1: required from here elf/output-chunks.cc:223:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:229:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 229 | while (i < ctx.chunks.size() && (ctx.chunks[i]->shdr.sh_flags & SHF_TLS)) | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:250:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 250 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:256:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 256 | while (i < ctx.chunks.size() && is_relro(ctx, ctx.chunks[i])) | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::OutputSection::write_to(mold::elf::Context&, mold::elf::u8*) [with E = mold::elf::ARM64; mold::elf::u8 = unsigned char]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:763:25: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 763 | u64 next_start = (i == members.size() - 1) ? | ~~~^~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GotSection::add_tlsld(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:801:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 801 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ In file included from /usr/include/c++/11/cassert:44, from elf/mold.h:7, from elf/output-chunks.cc:1: elf/output-chunks.cc: In instantiation of 'mold::elf::u64 mold::elf::GotSection::get_tlsld_addr(mold::elf::Context&) const [with E = mold::elf::ARM64; mold::elf::u64 = long unsigned int]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:809:20: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 809 | assert(tlsld_idx != -1); | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'mold::elf::i64 mold::elf::GotSection::get_reldyn_size(mold::elf::Context&) const [with E = mold::elf::ARM64; mold::elf::i64 = long int]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:828:17: warning: comparison of integer expressions of different signedness: 'const u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 828 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ 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:1917:1: required from here elf/output-chunks.cc:886:17: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 886 | if (tlsld_idx != -1) | ~~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::finalize(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:999:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 999 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::DynsymSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1020:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1020 | for (i64 i = 1; i < symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::HashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1089:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1089 | for (i64 i = 1; i < ctx.dynsym->symbols.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::GnuHashSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1141:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1141 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1154:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1154 | for (i64 i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/output-chunks.cc:1162:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1162 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc:1164:11: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1164 | if (i == syms.size() - 1 || | ~~^~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::EhFrameHdrSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1455:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1455 | for (i64 i = 0; i < file->fdes.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::VerneedSection::construct(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1570:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1570 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/output-chunks.cc: In instantiation of 'void mold::elf::NotePropertySection::update_shdr(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:1776:33: warning: comparison of integer expressions of different signedness: 'mold::elf::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1776 | if (features != 0 && features != -1) | ~~~~~~~~~^~~~~ elf/output-chunks.cc: In instantiation of 'std::vector > mold::elf::create_phdr(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/output-chunks.cc:1917:1: required from here elf/output-chunks.cc:194:45: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 194 | ctx.chunks[i]->shdr.sh_addralign == alignment) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ elf/output-chunks.cc:223:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:229:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 229 | while (i < ctx.chunks.size() && (ctx.chunks[i]->shdr.sh_flags & SHF_TLS)) | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:250:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 250 | for (i64 i = 0; i < ctx.chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ elf/output-chunks.cc:256:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 256 | while (i < ctx.chunks.size() && is_relro(ctx, ctx.chunks[i])) | ~~^~~~~~~~~~~~~~~~~~~ In file included from elf/output-chunks.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::X86_64]': elf/output-chunks.cc:1388:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/output-chunks.cc:1915:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::X86_64]': elf/output-chunks.cc:1408:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/output-chunks.cc:1915:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/../mold.h:3, from elf/mold.h:4, from elf/output-chunks.cc:1: elf/../byteorder.h: In instantiation of 'mold::BigEndian& mold::BigEndian::operator=(T) [with T = long unsigned int]': elf/output-chunks.cc:1846:25: required from 'void mold::elf::GnuCompressedSection::copy_buf(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/output-chunks.cc:1915:1: required from here elf/../byteorder.h:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 24 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ In file included from elf/output-chunks.cc:1: elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::I386]': elf/output-chunks.cc:1388:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]' elf/output-chunks.cc:1916:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::I386]': elf/output-chunks.cc:1408:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::I386]' elf/output-chunks.cc:1916:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::CieRecord::get_rels() const [with E = mold::elf::ARM64]': elf/output-chunks.cc:1388:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/output-chunks.cc:1917:1: required from here elf/mold.h:165:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:165:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 165 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ elf/mold.h: In instantiation of 'std::span > mold::elf::FdeRecord::get_rels() const [with E = mold::elf::ARM64]': elf/output-chunks.cc:1408:41: required from 'void mold::elf::EhFrameSection::copy_buf(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/output-chunks.cc:1917:1: required from here elf/mold.h:213:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~^~~~~~~~~~~~~ elf/mold.h:213:52: warning: comparison of integer expressions of different signedness: 'mold::elf::u64' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 213 | while (end < rels.size() && rels[end].r_offset < input_offset + size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/passes.o elf/passes.cc elf/passes.cc: In instantiation of 'void mold::elf::resolve_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/passes.cc:1137:1: required from here elf/passes.cc:130:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 130 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/passes.cc:1137:1: required from here elf/passes.cc:279:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 279 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc:292:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, std::allocator*> >, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 292 | for (i64 i = 0; i < group.size(); i++) | ~~^~~~~~~~~~~~~~ elf/passes.cc:297:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 297 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::check_duplicate_symbols(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/passes.cc:1137:1: required from here elf/passes.cc:443:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::parse_symbol_version(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/passes.cc:1137:1: required from here elf/passes.cc:738:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | for (i64 i = 0; i < ctx.arg.version_definitions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc:742:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 742 | for (i64 i = 0; i < file->symbols.size() - file->first_global; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::clear_padding(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/passes.cc:1137:1: required from here elf/passes.cc:823:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 823 | for (i64 i = 1; i < chunks.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'mold::elf::i64 mold::elf::set_osec_offsets(mold::elf::Context&) [with E = mold::elf::X86_64; mold::elf::i64 = long int]': elf/passes.cc:1137:1: required from here elf/passes.cc:895:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 895 | for (i64 i = 0; i < chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:920:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 920 | for (i64 i = 0; i < chunks.size();) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:923:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 923 | for (; i < chunks.size() && is_tbss(chunks[i]); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::resolve_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/passes.cc:1138:1: required from here elf/passes.cc:130:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 130 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::I386]': elf/passes.cc:1138:1: required from here elf/passes.cc:279:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 279 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc:292:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, std::allocator*> >, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 292 | for (i64 i = 0; i < group.size(); i++) | ~~^~~~~~~~~~~~~~ elf/passes.cc:297:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 297 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::check_duplicate_symbols(mold::elf::Context&) [with E = mold::elf::I386]': elf/passes.cc:1138:1: required from here elf/passes.cc:443:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::parse_symbol_version(mold::elf::Context&) [with E = mold::elf::I386]': elf/passes.cc:1138:1: required from here elf/passes.cc:738:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | for (i64 i = 0; i < ctx.arg.version_definitions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc:742:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 742 | for (i64 i = 0; i < file->symbols.size() - file->first_global; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::clear_padding(mold::elf::Context&) [with E = mold::elf::I386]': elf/passes.cc:1138:1: required from here elf/passes.cc:823:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 823 | for (i64 i = 1; i < chunks.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'mold::elf::i64 mold::elf::set_osec_offsets(mold::elf::Context&) [with E = mold::elf::I386; mold::elf::i64 = long int]': elf/passes.cc:1138:1: required from here elf/passes.cc:895:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 895 | for (i64 i = 0; i < chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:920:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 920 | for (i64 i = 0; i < chunks.size();) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:923:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 923 | for (; i < chunks.size() && is_tbss(chunks[i]); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::resolve_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/passes.cc:1139:1: required from here elf/passes.cc:130:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 130 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/passes.cc:1139:1: required from here elf/passes.cc:279:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 279 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc:292:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span*, std::allocator*> >, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 292 | for (i64 i = 0; i < group.size(); i++) | ~~^~~~~~~~~~~~~~ elf/passes.cc:297:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >, std::allocator*, std::allocator*> > > >, std::allocator*, std::allocator*> >, std::allocator*, std::allocator*> > > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 297 | for (i64 i = 0; i < groups.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::check_duplicate_symbols(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/passes.cc:1139:1: required from here elf/passes.cc:443:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for (i64 i = file->first_global; i < file->elf_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::parse_symbol_version(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/passes.cc:1139:1: required from here elf/passes.cc:738:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | for (i64 i = 0; i < ctx.arg.version_definitions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc:742:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 742 | for (i64 i = 0; i < file->symbols.size() - file->first_global; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'void mold::elf::clear_padding(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/passes.cc:1139:1: required from here elf/passes.cc:823:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 823 | for (i64 i = 1; i < chunks.size(); i++) | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'mold::elf::i64 mold::elf::set_osec_offsets(mold::elf::Context&) [with E = mold::elf::ARM64; mold::elf::i64 = long int]': elf/passes.cc:1139:1: required from here elf/passes.cc:895:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 895 | for (i64 i = 0; i < chunks.size(); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:920:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 920 | for (i64 i = 0; i < chunks.size();) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc:923:16: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 923 | for (; i < chunks.size() && is_tbss(chunks[i]); i++) { | ~~^~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'std::string mold::elf::get_cmdline_args(mold::elf::Context&) [with E = mold::elf::X86_64; std::string = std::__cxx11::basic_string]': elf/passes.cc:235:69: required from 'void mold::elf::compute_merged_section_sizes(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/passes.cc:1137:1: required from here elf/passes.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 2; i < ctx.cmdline_args.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'std::vector > mold::elf::split(std::vector&, mold::elf::i64) [with T = mold::elf::ObjectFile*; mold::elf::i64 = long int]': elf/passes.cc:274:57: required from 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::X86_64]' elf/passes.cc:1137:1: required from here elf/passes.cc:250:22: warning: comparison of integer expressions of different signedness: 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 250 | while (span.size() >= unit) { | ~~~~~~~~~~~~^~~~~~~ elf/passes.cc: In instantiation of 'std::string mold::elf::get_cmdline_args(mold::elf::Context&) [with E = mold::elf::I386; std::string = std::__cxx11::basic_string]': elf/passes.cc:235:69: required from 'void mold::elf::compute_merged_section_sizes(mold::elf::Context&) [with E = mold::elf::I386]' elf/passes.cc:1138:1: required from here elf/passes.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 2; i < ctx.cmdline_args.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'std::vector > mold::elf::split(std::vector&, mold::elf::i64) [with T = mold::elf::ObjectFile*; mold::elf::i64 = long int]': elf/passes.cc:274:57: required from 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::I386]' elf/passes.cc:1138:1: required from here elf/passes.cc:250:22: warning: comparison of integer expressions of different signedness: 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 250 | while (span.size() >= unit) { | ~~~~~~~~~~~~^~~~~~~ elf/passes.cc: In instantiation of 'std::string mold::elf::get_cmdline_args(mold::elf::Context&) [with E = mold::elf::ARM64; std::string = std::__cxx11::basic_string]': elf/passes.cc:235:69: required from 'void mold::elf::compute_merged_section_sizes(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/passes.cc:1139:1: required from here elf/passes.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 2; i < ctx.cmdline_args.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ elf/passes.cc: In instantiation of 'std::vector > mold::elf::split(std::vector&, mold::elf::i64) [with T = mold::elf::ObjectFile*; mold::elf::i64 = long int]': elf/passes.cc:274:57: required from 'void mold::elf::bin_sections(mold::elf::Context&) [with E = mold::elf::ARM64]' elf/passes.cc:1139:1: required from here elf/passes.cc:250:22: warning: comparison of integer expressions of different signedness: 'std::span*, 18446744073709551615>::size_type' {aka 'long unsigned int'} and 'mold::elf::i64' {aka 'long int'} [-Wsign-compare] 250 | while (span.size() >= unit) { | ~~~~~~~~~~~~^~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/relocatable.o elf/relocatable.cc elf/relocatable.cc: In instantiation of 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::X86_64]': elf/relocatable.cc:593:1: required from here elf/relocatable.cc:570:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 570 | for (i64 i = file->first_global; i < file->syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::I386]': elf/relocatable.cc:594:1: required from here elf/relocatable.cc:570:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/relocatable.cc: In instantiation of 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::ARM64]': elf/relocatable.cc:595:1: required from here elf/relocatable.cc:570:40: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/relocatable.cc: In instantiation of 'void mold::elf::RObjectFile::remove_comdats(mold::elf::Context&, std::unordered_set >&) [with E = mold::elf::X86_64]': elf/relocatable.cc:523:25: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::X86_64]' elf/relocatable.cc:593:1: required from here elf/relocatable.cc:386:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 386 | for (i64 i = 1; i < sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RObjectFile::remove_comdats(mold::elf::Context&, std::unordered_set >&) [with E = mold::elf::I386]': elf/relocatable.cc:523:25: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::I386]' elf/relocatable.cc:594:1: required from here elf/relocatable.cc:386:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/relocatable.cc: In instantiation of 'void mold::elf::RObjectFile::remove_comdats(mold::elf::Context&, std::unordered_set >&) [with E = mold::elf::ARM64]': elf/relocatable.cc:523:25: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::ARM64]' elf/relocatable.cc:595:1: required from here elf/relocatable.cc:386:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] elf/relocatable.cc: In instantiation of 'mold::elf::RObjectFile::RObjectFile(mold::elf::Context&, mold::MappedFile >&, bool) [with E = mold::elf::X86_64]': elf/relocatable.cc:450:26: required from 'std::vector > > mold::elf::open_files(mold::elf::Context&, std::span >) [with E = mold::elf::X86_64]' elf/relocatable.cc:487:66: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::X86_64]' elf/relocatable.cc:593:1: required from here elf/relocatable.cc:346:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:360:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:373:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 373 | for (i64 i = first_global; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'mold::elf::RObjectFile::RObjectFile(mold::elf::Context&, mold::MappedFile >&, bool) [with E = mold::elf::I386]': elf/relocatable.cc:450:26: required from 'std::vector > > mold::elf::open_files(mold::elf::Context&, std::span >) [with E = mold::elf::I386]' elf/relocatable.cc:487:66: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::I386]' elf/relocatable.cc:594:1: required from here elf/relocatable.cc:346:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:360:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:373:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 373 | for (i64 i = first_global; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'mold::elf::RObjectFile::RObjectFile(mold::elf::Context&, mold::MappedFile >&, bool) [with E = mold::elf::ARM64]': elf/relocatable.cc:450:26: required from 'std::vector > > mold::elf::open_files(mold::elf::Context&, std::span >) [with E = mold::elf::ARM64]' elf/relocatable.cc:487:66: required from 'void mold::elf::combine_objects(mold::elf::Context&, std::span >) [with E = mold::elf::ARM64]' elf/relocatable.cc:595:1: required from here elf/relocatable.cc:346:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:360:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for (i64 i = 1; i < elf_sections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc:373:32: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 373 | for (i64 i = first_global; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/relocatable.cc:242:6: required from here elf/relocatable.cc:252:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (i64 i = 1; i < this->out_shdr.sh_size / sizeof(u32); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RSymtabSection::write_to(mold::elf::Context&) [with E = mold::elf::ARM64]': elf/relocatable.cc:201:6: required from here elf/relocatable.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 1; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::I386]': elf/relocatable.cc:242:6: required from here elf/relocatable.cc:252:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 252 | for (i64 i = 1; i < this->out_shdr.sh_size / sizeof(u32); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RSymtabSection::write_to(mold::elf::Context&) [with E = mold::elf::I386]': elf/relocatable.cc:201:6: required from here elf/relocatable.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 1; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RInputSection::write_to(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/relocatable.cc:242:6: required from here elf/relocatable.cc:252:23: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (i64 i = 1; i < this->out_shdr.sh_size / sizeof(u32); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf/relocatable.cc: In instantiation of 'void mold::elf::RSymtabSection::write_to(mold::elf::Context&) [with E = mold::elf::X86_64]': elf/relocatable.cc:201:6: required from here elf/relocatable.cc:203:21: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (i64 i = 1; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/elf/subprocess.o elf/subprocess.cc elf/subprocess.cc: In function 'std::string mold::elf::base64(mold::elf::u8*, mold::elf::u64)': elf/subprocess.cc:81:12: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 81 | for (; i < size - 3; i += 3) | ~~^~~~~~~~~~ elf/subprocess.cc:84:9: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 84 | if (i == size - 1) | ~~^~~~~~~~~~~ elf/subprocess.cc:86:14: warning: comparison of integer expressions of different signedness: 'mold::elf::i64' {aka 'long int'} and 'mold::elf::u64' {aka 'long unsigned int'} [-Wsign-compare] 86 | else if (i == size - 2) | ~~^~~~~~~~~~~ elf/subprocess.cc: In function 'std::string mold::elf::compute_sha256(std::span >)': elf/subprocess.cc:93:14: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | SHA256_Init(&sha); | ~~~~~~~~~~~^~~~~~ In file included from elf/subprocess.cc:16: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ elf/subprocess.cc:97:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | SHA256_Update(&sha, arg.data(), arg.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from elf/subprocess.cc:16: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/subprocess.cc:99:20: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | SHA256_Update(&sha, buf, 1); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from elf/subprocess.cc:16: /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ elf/subprocess.cc:104:15: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | SHA256_Final(digest, &sha); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from elf/subprocess.cc:16: /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/arch-arm64.o macho/arch-arm64.cc elf/subprocess.cc: At global scope: elf/subprocess.cc:257:13: warning: 'bool mold::elf::is_regular_file(const string&)' defined but not used [-Wunused-function] 257 | static bool is_regular_file(const std::string &path) { | ^~~~~~~~~~~~~~~ macho/arch-arm64.cc: In member function 'void mold::macho::StubsSection::copy_buf(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/arch-arm64.cc:22:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ macho/arch-arm64.cc: In member function 'void mold::macho::StubHelperSection::copy_buf(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/arch-arm64.cc:68:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 68 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/arch-arm64.cc: In member function 'void mold::macho::Subsection::apply_reloc(mold::macho::Context&, mold::macho::u8*) [with E = mold::macho::ARM64; mold::macho::u8 = unsigned char]': macho/arch-arm64.cc:173:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (i64 i = 0; i < rels.size(); i++) { | ~~^~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/arch-x86-64.o macho/arch-x86-64.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/cmdline.o macho/cmdline.cc macho/arch-x86-64.cc: In member function 'void mold::macho::StubsSection::copy_buf(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/arch-x86-64.cc:9:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 9 | for (i64 i = 0; i < syms.size(); i++) { | ~~^~~~~~~~~~~~~ macho/arch-x86-64.cc: In member function 'void mold::macho::StubHelperSection::copy_buf(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/arch-x86-64.cc:44:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/cmdline.cc: In instantiation of 'void mold::macho::parse_nonpositional_args(mold::macho::Context&, std::vector >&) [with E = mold::macho::ARM64]': macho/cmdline.cc:319:1: required from here macho/cmdline.cc:115:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 115 | while (i < args.size()) { | ~~^~~~~~~~~~~~~ macho/cmdline.cc:122:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 122 | if (args.size() <= i + 1) | ~~~~~~~~~~~~^~~~~~~~ macho/cmdline.cc:133:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 133 | if (args.size() <= i + 3) | ~~~~~~~~~~~~^~~~~~~~ macho/cmdline.cc: In instantiation of 'void mold::macho::parse_nonpositional_args(mold::macho::Context&, std::vector >&) [with E = mold::macho::X86_64]': macho/cmdline.cc:320:1: required from here macho/cmdline.cc:115:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 115 | while (i < args.size()) { | ~~^~~~~~~~~~~~~ macho/cmdline.cc:122:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 122 | if (args.size() <= i + 1) | ~~~~~~~~~~~~^~~~~~~~ macho/cmdline.cc:133:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 133 | if (args.size() <= i + 3) | ~~~~~~~~~~~~^~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/dead-strip.o macho/dead-strip.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/dumper.o macho/dumper.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/input-sections.o macho/input-sections.cc macho/dumper.cc: In function 'void mold::macho::dump_unwind_info(mold::macho::u8*, mold::macho::MachSection&)': macho/dumper.cc:107:25: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 107 | for (i64 j = 0; j < lsda_size / sizeof(UnwindLsdaEntry); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from macho/macho.h:3, from macho/mold.h:3, from macho/dumper.cc:1: macho/../byteorder.h: In instantiation of 'mold::BigEndian::operator T() const [with T = unsigned int]': macho/dumper.cc:477:38: required from here macho/../byteorder.h:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 18 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ macho/input-sections.cc: In instantiation of 'void mold::macho::InputSection::parse_relocations(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/input-sections.cc:57:1: required from here macho/input-sections.cc:45:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | while (i < rels.size() && | ~~^~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/main.o macho/main.cc macho/input-sections.cc: In instantiation of 'void mold::macho::InputSection::parse_relocations(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/input-sections.cc:58:1: required from here macho/input-sections.cc:45:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/mapfile.o macho/mapfile.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/object-file.o macho/object-file.cc macho/main.cc: In lambda function: macho/main.cc:128:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 128 | for (; i < sizeof(rank) / sizeof(rank[0]); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macho/main.cc: In instantiation of 'int mold::macho::do_main(int, char**) [with E = mold::macho::ARM64]': macho/main.cc:477:24: required from here macho/main.cc:388:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 388 | for (i64 i = 0; i < ctx.dylibs.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ macho/main.cc:413:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 413 | for (i64 i = 0; i < live_objs.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ macho/main.cc:445:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 445 | for (i64 i = 0; i < ctx.segments.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ macho/main.cc: In instantiation of 'int mold::macho::do_main(int, char**) [with E = mold::macho::X86_64]': macho/main.cc:377:29: required from 'int mold::macho::do_main(int, char**) [with E = mold::macho::ARM64]' macho/main.cc:477:24: required from here macho/main.cc:388:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 388 | for (i64 i = 0; i < ctx.dylibs.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ macho/main.cc:413:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 413 | for (i64 i = 0; i < live_objs.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ macho/main.cc:445:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 445 | for (i64 i = 0; i < ctx.segments.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ macho/main.cc: In instantiation of 'bool mold::macho::compare_chunks(const mold::macho::Chunk*, const mold::macho::Chunk*) [with E = mold::macho::ARM64]': macho/main.cc:160:9: required from 'void mold::macho::create_synthetic_chunks(mold::macho::Context&) [with E = mold::macho::ARM64]' macho/main.cc:440:26: required from 'int mold::macho::do_main(int, char**) [with E = mold::macho::ARM64]' macho/main.cc:477:24: required from here macho/main.cc:128:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 128 | for (; i < sizeof(rank) / sizeof(rank[0]); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macho/main.cc: In instantiation of 'bool mold::macho::compare_chunks(const mold::macho::Chunk*, const mold::macho::Chunk*) [with E = mold::macho::X86_64]': macho/main.cc:160:9: required from 'void mold::macho::create_synthetic_chunks(mold::macho::Context&) [with E = mold::macho::X86_64]' macho/main.cc:440:26: required from 'int mold::macho::do_main(int, char**) [with E = mold::macho::X86_64]' macho/main.cc:377:29: required from 'int mold::macho::do_main(int, char**) [with E = mold::macho::ARM64]' macho/main.cc:477:24: required from here macho/main.cc:128:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] In file included from macho/macho.h:3, from macho/mold.h:3, from macho/main.cc:1: macho/../byteorder.h: In instantiation of 'mold::BigEndian::operator T() const [with T = unsigned int]': macho/main.cc:264:3: required from 'mold::MappedFile >* mold::macho::strip_universal_header(mold::macho::Context&, mold::MappedFile >*) [with E = mold::macho::ARM64]' macho/main.cc:277:32: required from 'void mold::macho::read_file(mold::macho::Context&, mold::MappedFile >*, bool) [with E = mold::macho::ARM64]' macho/main.cc:334:18: required from 'void mold::macho::read_input_files(mold::macho::Context&, std::span >) [with E = mold::macho::ARM64]' macho/main.cc:380:19: required from 'int mold::macho::do_main(int, char**) [with E = mold::macho::ARM64]' macho/main.cc:477:24: required from here macho/../byteorder.h:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 18 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ macho/mapfile.cc: In instantiation of 'void mold::macho::print_map(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/mapfile.cc:77:1: required from here macho/mapfile.cc:27:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for (i64 i = 0; i < ctx.objs.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ macho/mapfile.cc: In instantiation of 'void mold::macho::print_map(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/mapfile.cc:78:1: required from here macho/mapfile.cc:27:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::resolve_regular_symbols(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:398:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::resolve_lazy_symbols(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:412:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 412 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'bool mold::macho::ObjectFile::is_objc_object(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:438:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 438 | for (i64 i = 0; i < this->syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'std::vector*> mold::macho::ObjectFile::mark_live_objects(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:450:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 450 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::convert_common_symbols(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:472:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 472 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::check_duplicate_symbols(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:495:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 495 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::split_subsections(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/object-file.cc:618:1: required from here macho/object-file.cc:191:20: warning: comparison of integer expressions of different signedness: 'mold::macho::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 191 | if (r.symidx != -1) | ~~~~~~~~~^~~~~ macho/object-file.cc:196:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | for (i64 i = 0; i < mach_syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::resolve_regular_symbols(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:398:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::resolve_lazy_symbols(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:412:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 412 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'bool mold::macho::ObjectFile::is_objc_object(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:438:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 438 | for (i64 i = 0; i < this->syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'std::vector*> mold::macho::ObjectFile::mark_live_objects(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:450:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 450 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::convert_common_symbols(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:472:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 472 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::check_duplicate_symbols(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:495:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 495 | for (i64 i = 0; i < this->syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'void mold::macho::ObjectFile::split_subsections(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/object-file.cc:619:1: required from here macho/object-file.cc:191:20: warning: comparison of integer expressions of different signedness: 'mold::macho::u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 191 | if (r.symidx != -1) | ~~~~~~~~~^~~~~ macho/object-file.cc:196:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | for (i64 i = 0; i < mach_syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ macho/object-file.cc: In instantiation of 'std::vector > mold::macho::split(mold::macho::Context&, mold::macho::ObjectFile&) [with E = mold::macho::ARM64]': macho/object-file.cc:176:34: required from 'void mold::macho::ObjectFile::split_subsections(mold::macho::Context&) [with E = mold::macho::ARM64]' macho/object-file.cc:618:1: required from here macho/object-file.cc:121:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (i64 i = 0; i < file.mach_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/object-file.cc:153:23: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (i64 i = 1; i < r.size(); i++) | ~~^~~~~~~~~~ macho/object-file.cc:158:23: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 158 | for (i64 i = 0; i < r.size(); i++) { | ~~^~~~~~~~~~ macho/object-file.cc: In instantiation of 'std::vector > mold::macho::split(mold::macho::Context&, mold::macho::ObjectFile&) [with E = mold::macho::X86_64]': macho/object-file.cc:176:34: required from 'void mold::macho::ObjectFile::split_subsections(mold::macho::Context&) [with E = mold::macho::X86_64]' macho/object-file.cc:619:1: required from here macho/object-file.cc:121:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (i64 i = 0; i < file.mach_syms.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/object-file.cc:153:23: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (i64 i = 1; i < r.size(); i++) | ~~^~~~~~~~~~ macho/object-file.cc:158:23: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 158 | for (i64 i = 0; i < r.size(); i++) { | ~~^~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/output-chunks.o macho/output-chunks.cc macho/output-chunks.cc: In static member function 'static mold::macho::i64 mold::macho::ExportEncoder::common_prefix_len(std::span, mold::macho::i64)': macho/output-chunks.cc:743:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::basic_string_view::size_type' {aka 'long unsigned int'} [-Wsign-compare] 743 | for (; len < entries[0].name.size(); len++) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ macho/output-chunks.cc:745:27: warning: comparison of integer expressions of different signedness: 'std::basic_string_view::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 745 | if (ent.name.size() == len || ent.name[len] != entries[0].name[len]) | ~~~~~~~~~~~~~~~~^~~~~~ macho/output-chunks.cc: In static member function 'static mold::macho::ExportEncoder::TrieNode mold::macho::ExportEncoder::construct_trie(std::span, mold::macho::i64)': macho/output-chunks.cc:757:32: warning: comparison of integer expressions of different signedness: 'std::basic_string_view::size_type' {aka 'long unsigned int'} and 'mold::macho::i64' {aka 'long int'} [-Wsign-compare] 757 | if (entries[0].name.size() == new_len) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ macho/output-chunks.cc:765:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 765 | for (i64 i = 0; i < entries.size();) { | ~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc:768:14: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span::size_type' {aka 'long unsigned int'} [-Wsign-compare] 768 | while (j < entries.size() && c == entries[j].name[new_len]) | ~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::OutputSegment::set_offset(mold::macho::Context&, mold::macho::i64, mold::macho::u64) [with E = mold::macho::ARM64; mold::macho::i64 = long int; mold::macho::u64 = long unsigned int]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:465:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 465 | while (i < chunks.size() && chunks[i]->hdr.type != S_ZEROFILL) { | ~~^~~~~~~~~~~~~~~ macho/output-chunks.cc:478:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 478 | while (i < chunks.size()) { | ~~^~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::OutputRebaseSection::compute_size(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:567:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 567 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'mold::macho::u32 mold::macho::UnwindEncoder::encode_personality(mold::macho::Context&, mold::macho::Symbol*) [with E = mold::macho::ARM64; mold::macho::u32 = unsigned int]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:1176:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1176 | for (i64 i = 0; i < personalities.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'std::vector > > mold::macho::UnwindEncoder::split_records(mold::macho::Context&, std::span >) [with E = mold::macho::ARM64]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:1199:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1199 | for (i64 i = 0; i < records.size();) { | ~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc:1202:40: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1202 | while (j < max_group_size && i + j < records.size() && | ~~~~~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::GotSection::copy_buf(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:1249:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1249 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::LazySymbolPtrSection::copy_buf(mold::macho::Context&) [with E = mold::macho::ARM64]': macho/output-chunks.cc:1301:1: required from here macho/output-chunks.cc:1258:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1258 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ 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:1301:1: required from here macho/output-chunks.cc:1274:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1274 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::OutputSegment::set_offset(mold::macho::Context&, mold::macho::i64, mold::macho::u64) [with E = mold::macho::X86_64; mold::macho::i64 = long int; mold::macho::u64 = long unsigned int]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:465:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 465 | while (i < chunks.size() && chunks[i]->hdr.type != S_ZEROFILL) { | ~~^~~~~~~~~~~~~~~ macho/output-chunks.cc:478:12: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 478 | while (i < chunks.size()) { | ~~^~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::OutputRebaseSection::compute_size(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:567:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 567 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'mold::macho::u32 mold::macho::UnwindEncoder::encode_personality(mold::macho::Context&, mold::macho::Symbol*) [with E = mold::macho::X86_64; mold::macho::u32 = unsigned int]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:1176:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1176 | for (i64 i = 0; i < personalities.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'std::vector > > mold::macho::UnwindEncoder::split_records(mold::macho::Context&, std::span >) [with E = mold::macho::X86_64]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:1199:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1199 | for (i64 i = 0; i < records.size();) { | ~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc:1202:40: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::span, 18446744073709551615>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1202 | while (j < max_group_size && i + j < records.size() && | ~~~~~~^~~~~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::GotSection::copy_buf(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:1249:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1249 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ macho/output-chunks.cc: In instantiation of 'void mold::macho::LazySymbolPtrSection::copy_buf(mold::macho::Context&) [with E = mold::macho::X86_64]': macho/output-chunks.cc:1302:1: required from here macho/output-chunks.cc:1258:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1258 | for (i64 i = 0; i < ctx.stubs.syms.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ 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:1302:1: required from here macho/output-chunks.cc:1274:21: warning: comparison of integer expressions of different signedness: 'mold::macho::i64' {aka 'long int'} and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1274 | for (i64 i = 0; i < syms.size(); i++) | ~~^~~~~~~~~~~~~ In file included from macho/macho.h:3, from macho/mold.h:3, from macho/output-chunks.cc:1: macho/../byteorder.h: In instantiation of 'mold::BigEndian& mold::BigEndian::operator=(T) [with T = unsigned int]': macho/output-chunks.cc:991:16: required from 'void mold::macho::CodeSignatureSection::write_signature(mold::macho::Context&) [with E = mold::macho::ARM64]' macho/output-chunks.cc:1301:1: required from here macho/../byteorder.h:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 24 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ macho/../byteorder.h: In instantiation of 'mold::BigEndian& mold::BigEndian::operator=(T) [with T = long unsigned int]': macho/output-chunks.cc:1015:21: required from 'void mold::macho::CodeSignatureSection::write_signature(mold::macho::Context&) [with E = mold::macho::ARM64]' macho/output-chunks.cc:1301:1: required from here macho/../byteorder.h:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/output-file.o macho/output-file.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/tapi.o macho/tapi.cc g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -c -o out/macho/yaml.o macho/yaml.cc macho/yaml.cc: In lambda function: macho/yaml.cc:85:24: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits, long int>::value_type' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 85 | if (indents.back() != pos) { | ~~~~~~~~~~~~~~~^~~~~~ macho/yaml.cc:86:26: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits, long int>::value_type' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 86 | if (indents.back() < pos) { | ~~~~~~~~~~~~~~~^~~~~ macho/yaml.cc:89:31: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits, long int>::value_type' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | while (indents.back() != pos) { | ~~~~~~~~~~~~~~~^~~~~~ macho/yaml.cc:90:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '__gnu_cxx::__alloc_traits, long int>::value_type' {aka 'long int'} [-Wsign-compare] 90 | if (pos < indents.back()) | ~~~~^~~~~~~~~~~~~~~~ g++ -DMOLD_VERSION=\"1.0.1\" -DLIBDIR="\"/usr/lib64\"" -Ithird-party/mimalloc/include -Ithird-party/tbb/include -Ithird-party/xxhash -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -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 out/compress.o out/demangle.o out/filepath.o out/hyperloglog.o out/main.o out/perf.o out/tar.o out/elf/arch-arm64.o out/elf/arch-i386.o out/elf/arch-x86-64.o out/elf/cmdline.o out/elf/gc-sections.o out/elf/icf.o out/elf/input-sections.o out/elf/linker-script.o out/elf/main.o out/elf/mapfile.o out/elf/object-file.o out/elf/output-chunks.o out/elf/output-file.o out/elf/passes.o out/elf/relocatable.o out/elf/subprocess.o out/macho/arch-arm64.o out/macho/arch-x86-64.o out/macho/cmdline.o out/macho/dead-strip.o out/macho/dumper.o out/macho/input-sections.o out/macho/main.o out/macho/mapfile.o out/macho/object-file.o out/macho/output-chunks.o out/macho/output-file.o out/macho/tapi.o out/macho/yaml.o -o mold -pthread -lz -ldl -lm -Wl,-whole-archive out/mimalloc/libmimalloc.a -Wl,-no-whole-archive out/tbb/libs/libtbb.a third-party/xxhash/libxxhash.a -lrt -lcrypto elf/mold.h:34:12: warning: type 'struct tbb_hash_compare' violates the C++ One Definition Rule [-Wodr] 34 | class tbb::tbb_hash_compare { | ^ third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:72:7: note: a different type is defined in another translation unit 72 | class tbb_hash_compare { | ^ third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:85:20: note: the first difference of corresponding definitions is field 'my_hash_func' 85 | std::hash my_hash_func; | ^ third-party/tbb/include/tbb/../oneapi/tbb/detail/_hash_compare.h:72:7: note: a type with different number of fields is defined in another translation unit 72 | class tbb_hash_compare { | ^ ln -sf mold ld ln -sf mold ld64.mold + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.11R89G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 ++ dirname /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 + cd mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + make install -j4 STRIP=/usr/bin/echo DESTDIR=/builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 PREFIX=/usr LIBDIR=/usr/lib64 install -m 755 -d /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin install -m 755 mold /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin /usr/bin/echo /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin/mold /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin/mold install -m 755 -d /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/lib64/mold install -m 644 mold-wrapper.so /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/lib64/mold /usr/bin/echo /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/lib64/mold/mold-wrapper.so /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/lib64/mold/mold-wrapper.so install -m 755 -d /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/libexec/mold ln -sf /usr/bin/mold /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/libexec/mold/ld install -m 755 -d /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/share/man/man1 install -m 644 docs/mold.1 /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/share/man/man1 ln -sf mold /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin/ld.mold ln -sf mold /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin/ld64.mold + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.1-1.20220111gitb6316ef.fc36 --unique-debug-suffix -1.0.1-1.20220111gitb6316ef.fc36.aarch64 --unique-debug-src-base mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mold-b6316ef085b3416d9e5af273c2e1abf724c9561c extracting debug info from /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/bin/mold original debug info size: 85232kB, size after compression: 70996kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3759 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uNWTCN + umask 022 + cd /builddir/build/BUILD + cd mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + LICENSEDIR=/builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/share/licenses/mold + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/share/licenses/mold + cp -pr LICENSE /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64/usr/share/licenses/mold + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/libexec/mold/ld -> /usr/bin/mold Provides: mold = 1.0.1-1.20220111gitb6316ef.fc36 mold(aarch-64) = 1.0.1-1.20220111gitb6316ef.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.2)(64bit) rtld(GNU_HASH) Processing files: mold-debugsource-1.0.1-1.20220111gitb6316ef.fc36.aarch64 Provides: mold-debugsource = 1.0.1-1.20220111gitb6316ef.fc36 mold-debugsource(aarch-64) = 1.0.1-1.20220111gitb6316ef.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mold-debuginfo-1.0.1-1.20220111gitb6316ef.fc36.aarch64 Provides: debuginfo(build-id) = 09203838a0361f05aeb5807125e4ba05c6bd0b0c mold-debuginfo = 1.0.1-1.20220111gitb6316ef.fc36 mold-debuginfo(aarch-64) = 1.0.1-1.20220111gitb6316ef.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mold-debugsource(aarch-64) = 1.0.1-1.20220111gitb6316ef.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 Wrote: /builddir/build/RPMS/mold-debugsource-1.0.1-1.20220111gitb6316ef.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/mold-debuginfo-1.0.1-1.20220111gitb6316ef.fc36.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h9Zxjo + umask 022 + cd /builddir/build/BUILD + cd mold-b6316ef085b3416d9e5af273c2e1abf724c9561c + /usr/bin/rm -rf /builddir/build/BUILDROOT/mold-1.0.1-1.20220111gitb6316ef.fc36.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0