Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gdbwave.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662298422.742019/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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', '0f98be45e8874833add5b403bd66f93e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662298422.742019/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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 x86_64 --nodeps /builddir/build/SPECS/gdbwave.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1645660800 Wrote: /builddir/build/SRPMS/gdbwave-0-20220220.2.gitfd59fbb8.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gdbwave.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662298422.742019/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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', '3cd8be87e31a4af8a10158e8e13d35b0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662298422.742019/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21v37lpo:/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 x86_64 --nodeps /builddir/build/SPECS/gdbwave.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1645660800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29pjxt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gdbwave + /usr/bin/mkdir -p gdbwave + cd gdbwave + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git clone --depth 1 -n -b main https://github.com/tomverbeure/gdbwave.git . Cloning into '.'... + git fetch --depth 1 origin fd59fbb80c731e62634d07647c089ec2f7a84d7d From https://github.com/tomverbeure/gdbwave * branch fd59fbb80c731e62634d07647c089ec2f7a84d7d -> FETCH_HEAD + git reset --hard fd59fbb80c731e62634d07647c089ec2f7a84d7d HEAD is now at fd59fbb Fix URL to blog post. + git log --format=fuller commit fd59fbb80c731e62634d07647c089ec2f7a84d7d Author: Tom Verbeure AuthorDate: Sun Feb 20 23:31:14 2022 -0800 Commit: Tom Verbeure CommitDate: Sun Feb 20 23:31:14 2022 -0800 Fix URL to blog post. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IkEWqT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gdbwave + sed -i -e 's|$(RISCV_TOOLCHAIN)/||g' src/Makefile + sed -i -e 's|$(TOOLS_PREFIX)/||g' test_data/sw_semihosting/Makefile + sed -i -e 's|rv32ic|rv32ic_zicsr_zifencei|' test_data/sw_semihosting/Makefile + sed -i -e 's|-march=$(MARCH) -g -ggdb -mabi=ilp32|-march=rv32ic -g -ggdb -mabi=ilp32|' test_data/sw_semihosting/Makefile + pushd src ~/build/BUILD/gdbwave/src ~/build/BUILD/gdbwave + make -j2 cd fst && make g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o main.o main.cc make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/gdbwave/src/fst' 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -g -c -o fastlz.o fastlz.c In file included from /usr/include/unistd.h:25, from main.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -g -c -o lz4.o lz4.c g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o FstProcess.o FstProcess.cc In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/exception:37, from FstProcess.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -g -c -o fstapi.o fstapi.c ar rcs libfstapi.a fastlz.o lz4.o fstapi.o make[1]: Leaving directory '/builddir/build/BUILD/gdbwave/src/fst' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o CpuTrace.o CpuTrace.cc In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/iostream:38, from CpuTrace.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o RegFileTrace.o RegFileTrace.cc In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from RegFileTrace.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o MemTrace.o MemTrace.cc In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from MemTrace.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o TcpServer.o TcpServer.cc In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/exception:37, from TcpServer.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o Logger.o Logger.cc g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o gdbstub.o gdbstub.cc In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/iostream:38, from gdbstub.cc:23: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -c -o gdbstub_sys.o gdbstub_sys.cc In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/cstdio:41, from gdbstub_sys.cc:2: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection --std=c++14 -I. -Wall -pedantic -g -O0 -Wno-format-zero-length -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L./fst -Wall -g -o gdbwave main.o FstProcess.o CpuTrace.o RegFileTrace.o MemTrace.o TcpServer.o Logger.o gdbstub.o gdbstub_sys.o -lfstapi -lz + popd + pushd test_data/sw_semihosting + make -j2 ~/build/BUILD/gdbwave ~/build/BUILD/gdbwave/test_data/sw_semihosting ~/build/BUILD/gdbwave riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -mabi=ilp32 -c -o start.o start.S riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -g -ggdb -mno-div -mabi=ilp32 -ffunction-sections -fdata-sections -Wall -Wextra -pedantic -DCPU_FREQ=50000000 -DPRINTF_INCLUDE_CONFIG_H -Os -c -o main.o main.c riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -g -ggdb -mno-div -mabi=ilp32 -ffunction-sections -fdata-sections -Wall -Wextra -pedantic -DCPU_FREQ=50000000 -DPRINTF_INCLUDE_CONFIG_H -Os -c -o lib.o lib.c riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -g -ggdb -mno-div -mabi=ilp32 -ffunction-sections -fdata-sections -Wall -Wextra -pedantic -DCPU_FREQ=50000000 -DPRINTF_INCLUDE_CONFIG_H -Os -c -o trap.o trap.c riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -g -ggdb -mno-div -mabi=ilp32 -ffunction-sections -fdata-sections -Wall -Wextra -pedantic -DCPU_FREQ=50000000 -DPRINTF_INCLUDE_CONFIG_H -Os -c -o semihosting.o semihosting.c riscv64-unknown-elf-gcc -march=rv32ic_zicsr_zifencei -g -ggdb -mno-div -mabi=ilp32 -ffunction-sections -fdata-sections -Wall -Wextra -pedantic -DCPU_FREQ=50000000 -DPRINTF_INCLUDE_CONFIG_H -Os -c -o printf.o printf.c riscv64-unknown-elf-gcc -march=rv32ic -g -ggdb -mabi=ilp32 -Wl,-Tsections.lds,-Map,progmem.map -ffreestanding -nostartfiles -Wl,--no-relax -Wl,--start-group,--end-group -o progmem.elf start.o main.o lib.o trap.o semihosting.o printf.o -lm /usr/bin/riscv64-unknown-elf-ld: warning: progmem.elf has a LOAD segment with RWX permissions riscv64-unknown-elf-objdump -s -D progmem.elf > progmem.dis riscv64-unknown-elf-objcopy -O binary progmem.elf progmem.bin + mv -f progmem.bin progmem.dis progmem.elf progmem.map .. + popd ~/build/BUILD/gdbwave + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CpzIr3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gdbwave + mkdir -p /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64//usr/bin + install -D -pm 755 src/gdbwave /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64//usr/bin/ + /usr/bin/find-debuginfo -j2 -m -i --build-id-seed 0-20220220.2.gitfd59fbb8.fc38 --unique-debug-suffix -0-20220220.2.gitfd59fbb8.fc38.x86_64 --unique-debug-src-base gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/gdbwave extracting debug info from /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/bin/gdbwave original debug info size: 4092kB, size after compression: 3840kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 860 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IXtg5O + umask 022 + cd /builddir/build/BUILD + cd gdbwave + DOCDIR=/builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave + cp -pr README.md /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave + cp -pr test_data /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vPNMU0 + umask 022 + cd /builddir/build/BUILD + cd gdbwave + LICENSEDIR=/builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/licenses/gdbwave + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/licenses/gdbwave + cp -pr LICENSE /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/licenses/gdbwave + RPM_EC=0 ++ jobs -p + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave/test_data/progmem.elf Provides: gdbwave = 0-20220220.2.gitfd59fbb8.fc38 gdbwave(x86-64) = 0-20220220.2.gitfd59fbb8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: gdbwave-debugsource-0-20220220.2.gitfd59fbb8.fc38.x86_64 Provides: gdbwave-debugsource = 0-20220220.2.gitfd59fbb8.fc38 gdbwave-debugsource(x86-64) = 0-20220220.2.gitfd59fbb8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gdbwave-debuginfo-0-20220220.2.gitfd59fbb8.fc38.x86_64 Provides: debuginfo(build-id) = eb3ea85def91511a61dee9e622dc48c6abf8aa07 gdbwave-debuginfo = 0-20220220.2.gitfd59fbb8.fc38 gdbwave-debuginfo(x86-64) = 0-20220220.2.gitfd59fbb8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gdbwave-debugsource(x86-64) = 0-20220220.2.gitfd59fbb8.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 Wrote: /builddir/build/RPMS/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/gdbwave-debugsource-0-20220220.2.gitfd59fbb8.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/gdbwave-debuginfo-0-20220220.2.gitfd59fbb8.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EQ3ypG + umask 022 + cd /builddir/build/BUILD + cd gdbwave + /usr/bin/rm -rf /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cXIeDk + umask 022 + cd /builddir/build/BUILD + rm -rf gdbwave gdbwave.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Missing build-id in /builddir/build/BUILDROOT/gdbwave-0-20220220.2.gitfd59fbb8.fc38.x86_64/usr/share/doc/gdbwave/test_data/progmem.elf Child return code was: 0