<86>Jul 1 09:23:02 userdel[403242]: delete user 'rooter' <86>Jul 1 09:23:02 userdel[403242]: removed group 'rooter' owned by 'rooter' <86>Jul 1 09:23:02 userdel[403242]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 1 09:23:02 groupadd[403253]: group added to /etc/group: name=rooter, GID=663 <86>Jul 1 09:23:02 groupadd[403253]: group added to /etc/gshadow: name=rooter <86>Jul 1 09:23:02 groupadd[403253]: new group: name=rooter, GID=663 <86>Jul 1 09:23:02 useradd[403263]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Jul 1 09:23:02 userdel[403276]: delete user 'builder' <86>Jul 1 09:23:02 userdel[403276]: removed group 'builder' owned by 'builder' <86>Jul 1 09:23:02 userdel[403276]: removed shadow group 'builder' owned by 'builder' <86>Jul 1 09:23:02 groupadd[403283]: group added to /etc/group: name=builder, GID=664 <86>Jul 1 09:23:02 groupadd[403283]: group added to /etc/gshadow: name=builder <86>Jul 1 09:23:02 groupadd[403283]: new group: name=builder, GID=664 <86>Jul 1 09:23:02 useradd[403295]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Jul 1 09:23:04 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:04 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849991 installed <13>Jul 1 09:23:04 rpmi: libidn2-2.3.1-alt1 sisyphus+272590.100.1.1 1622036908 installed <13>Jul 1 09:23:04 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Jul 1 09:23:04 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Jul 1 09:23:04 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Jul 1 09:23:04 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801575 installed <13>Jul 1 09:23:04 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Jul 1 09:23:04 rpmi: libGLES-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:04 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:04 rpmi: publicsuffix-list-dafsa-20210419-alt1 sisyphus+270358.100.1.1 1618924010 installed <13>Jul 1 09:23:04 rpmi: libpsl-0.21.1-alt2 sisyphus+271468.100.1.1 1620753481 installed <13>Jul 1 09:23:04 rpmi: libnghttp2-1.41.0-alt1 sisyphus+275115.100.1.1 1624405462 installed <13>Jul 1 09:23:04 rpmi: openldap-common-2.4.57-alt1 sisyphus+274516.200.1.1 1623612493 installed <13>Jul 1 09:23:04 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717436 installed <13>Jul 1 09:23:04 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Jul 1 09:23:04 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Jul 1 09:23:04 rpmi: libcom_err-1.46.2.0.16.f114-alt1 sisyphus+276538.100.2.1 1625107888 installed <13>Jul 1 09:23:04 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688015 installed <13>Jul 1 09:23:04 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688015 installed <13>Jul 1 09:23:04 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520346 installed <13>Jul 1 09:23:04 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Jul 1 09:23:04 rpmi: libsndfile-1.0.31-alt1 sisyphus+272065.100.1.1 1621321692 installed <13>Jul 1 09:23:04 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099128 installed <13>Jul 1 09:23:04 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455807 installed <13>Jul 1 09:23:04 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624455938 installed <13>Jul 1 09:23:04 rpmi: libsystemd-1:248.3-alt1 sisyphus+272702.500.6.1 1622206882 installed <13>Jul 1 09:23:04 rpmi: libdbus-1.12.18-alt1 sisyphus+275285.100.2.2 1624573321 installed <13>Jul 1 09:23:04 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Jul 1 09:23:04 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jul 1 09:23:04 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jul 1 09:23:04 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jul 1 09:23:04 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jul 1 09:23:04 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jul 1 09:23:04 rpmi: libX11-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jul 1 09:23:04 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jul 1 09:23:04 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Jul 1 09:23:05 rpmi: libXfixes-5.0.3-alt1 sisyphus+275326.100.2.2 1624573638 installed <13>Jul 1 09:23:05 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595144 installed <13>Jul 1 09:23:05 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Jul 1 09:23:06 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jul 1 09:23:06 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jul 1 09:23:06 rpmi: libpulseaudio-14.2-alt5 sisyphus+275541.100.1.1 1624460812 installed <13>Jul 1 09:23:06 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Jul 1 09:23:06 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Jul 1 09:23:06 rpmi: libdrm-1:2.4.106-alt1 sisyphus+272066.100.1.1 1621322255 installed <13>Jul 1 09:23:06 rpmi: libGLX-mesa-4:21.1.3-alt1 sisyphus+274948.100.1.1 1624354849 installed <13>Jul 1 09:23:06 rpmi: libGLX-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:06 rpmi: libGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:06 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jul 1 09:23:06 rpmi: libgbm-4:21.1.3-alt1 sisyphus+274948.100.1.1 1624354849 installed <13>Jul 1 09:23:06 rpmi: libEGL-mesa-4:21.1.3-alt1 sisyphus+274948.100.1.1 1624354849 installed <13>Jul 1 09:23:06 rpmi: libEGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:06 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jul 1 09:23:06 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jul 1 09:23:06 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jul 1 09:23:06 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jul 1 09:23:06 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>Jul 1 09:23:06 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 1 09:23:06 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 1 09:23:06 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jul 1 09:23:06 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 1 09:23:06 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jul 1 09:23:06 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jul 1 09:23:06 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <86>Jul 1 09:23:06 groupadd[412204]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 1 09:23:06 groupadd[412204]: group added to /etc/gshadow: name=_keytab <86>Jul 1 09:23:06 groupadd[412204]: new group: name=_keytab, GID=499 <13>Jul 1 09:23:06 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814479 installed <86>Jul 1 09:23:06 groupadd[412231]: group added to /etc/group: name=sasl, GID=498 <86>Jul 1 09:23:06 groupadd[412231]: group added to /etc/gshadow: name=sasl <86>Jul 1 09:23:06 groupadd[412231]: new group: name=sasl, GID=498 <13>Jul 1 09:23:06 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199521 installed <13>Jul 1 09:23:06 rpmi: libldap-2.4.57-alt1 sisyphus+274516.200.1.1 1623612493 installed <13>Jul 1 09:23:06 rpmi: libcurl-7.77.0-alt1 sisyphus+272616.100.1.1 1622105555 installed <13>Jul 1 09:23:06 rpmi: alsa-ucm-conf-1.2.5.1-alt1 sisyphus+274777.200.1.1 1624089157 installed <13>Jul 1 09:23:06 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Jul 1 09:23:06 rpmi: libalsa-1:1.2.5.1-alt1 sisyphus+274777.300.1.1 1624089218 installed <13>Jul 1 09:23:06 rpmi: libSDL-1.2.14-alt9 sisyphus+275261.100.1.2 1624469000 installed <13>Jul 1 09:23:06 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+275261.100.1.2 1624469000 installed <13>Jul 1 09:23:06 rpmi: libcurl-devel-7.77.0-alt1 sisyphus+272616.100.1.1 1622105555 installed <13>Jul 1 09:23:06 rpmi: libssl-devel-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/marss-riscv-1.0a-alt1.nosrc.rpm (w1.gzdio) Installing marss-riscv-1.0a-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf marss-riscv-1.0a + echo 'Source #0 (marss-riscv-1.0a.tar):' Source #0 (marss-riscv-1.0a.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/marss-riscv-1.0a.tar + cd marss-riscv-1.0a + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.5512 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd marss-riscv-1.0a + pushd src + make splitimg build_filelist stats-display make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC splitimg.c gcc -o splitimg splitimg.o CC build_filelist.c CC fs_utils.c CC cutils.c gcc -o build_filelist build_filelist.o fs_utils.o cutils.o -lm gcc stats_display.c -o stats-display -lrt make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + for xlen in 32 64 + for flen in 0 32 64 + make -B CONFIG_XLEN=32 CONFIG_FLEN=0 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x32-f0 + for flen in 0 32 64 + make -B CONFIG_XLEN=32 CONFIG_FLEN=32 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x32-f32 + for flen in 0 32 64 + make -B CONFIG_XLEN=32 CONFIG_FLEN=64 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x32-f64 + for xlen in 32 64 + for flen in 0 32 64 + make -B CONFIG_XLEN=64 CONFIG_FLEN=0 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x64-f0 + for flen in 0 32 64 + make -B CONFIG_XLEN=64 CONFIG_FLEN=32 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x64-f32 + for flen in 0 32 64 + make -B CONFIG_XLEN=64 CONFIG_FLEN=64 marss-riscv make: Entering directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' CC riscvsim/circular_queue.c CC riscvsim/common_core_utils.c CC riscvsim/riscv_ins_str_creator.c CC riscvsim/riscv_isa_decoder.c CC riscvsim/riscv_ins_execute.c CC riscvsim/btb.c CC riscvsim/adaptive_predictor.c CC riscvsim/bpu.c CC riscvsim/mmu.c CC riscvsim/dram.c CC riscvsim/memory_controller.c CC riscvsim/cache.c CC riscvsim/riscv_sim_cpu.c CC riscvsim/inorder_frontend.c CC riscvsim/inorder_backend.c CC riscvsim/inorder.c CC riscvsim/ooo_frontend.c CC riscvsim/ooo_branch.c CC riscvsim/ooo_lsu.c CC riscvsim/ooo_backend.c CC riscvsim/ooo.c ld -r -o riscvsim.o riscvsim/circular_queue.o riscvsim/common_core_utils.o riscvsim/riscv_ins_str_creator.o riscvsim/riscv_isa_decoder.o riscvsim/riscv_ins_execute.o riscvsim/btb.o riscvsim/adaptive_predictor.o riscvsim/bpu.o riscvsim/mmu.o riscvsim/dram.o riscvsim/memory_controller.o riscvsim/cache.o riscvsim/riscv_sim_cpu.o riscvsim/inorder_frontend.o riscvsim/inorder_backend.o riscvsim/inorder.o riscvsim/ooo_frontend.o riscvsim/ooo_branch.o riscvsim/ooo_lsu.o riscvsim/ooo_backend.o riscvsim/ooo.o CC riscv_cpu.c CC virtio.c CC pci.c CC fs.c CC cutils.c CC iomem.c CC simplefb.c CC json.c CC machine.c CC sim_params_stats.c CC slirp/bootp.c CC slirp/ip_icmp.c CC slirp/mbuf.c CC slirp/slirp.c CC slirp/tcp_output.c CC slirp/cksum.c CC slirp/ip_input.c CC slirp/misc.c slirp/socket.c: In function 'soread': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from slirp/socket.c:8: slirp/socket.c: In function 'soreadbuf': slirp/slirp.h:304:35: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 304 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ^ slirp/socket.c:208:15: note: 'iov.iov_len' was declared here 208 | struct iovec iov[2]; | ^~~ slirp/socket.c: In function 'sorecvoob': slirp/socket.c:186:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ^ slirp/socket.c:146:6: note: 'n' was declared here 146 | int n, nn; | ^ slirp/socket.c:186:13: warning: 'iov.iov_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | if (n == 2 && nn == iov[0].iov_len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ slirp/socket.c:148:15: note: 'iov.iov_len' was declared here 148 | struct iovec iov[2]; | ^~~ CC slirp/socket.c CC slirp/tcp_subr.c CC slirp/udp.c CC slirp/if.c CC slirp/ip_output.c CC slirp/sbuf.c CC slirp/tcp_input.c CC slirp/tcp_timer.c CC fs_disk.c CC fs_net.c fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:298:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 298 | select(fd_max + 1, &rfds, &wfds, &rfds, &tv); | ^~~~~ ~~~~~ CC fs_wget.c CC fs_utils.c block_net.c: In function 'bf_start_load_block.isra': block_net.c:159:17: warning: 'blk' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ block_net.c:159:20: note: format string is defined here 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~ block_net.c:159:17: note: using the range [0, 4294967295] for directive argument 159 | #define BLK_FMT "%sblk%09u.bin" | ^~~~~~~~~~~~~~~ block_net.c:180:42: note: in expansion of macro 'BLK_FMT' 180 | snprintf(filename, sizeof(filename), BLK_FMT, bf->url, block_num); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from block_net.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC block_net.c CC sdl.c riscvemu.c: In function 'bf_read_async': riscvemu.c:255:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | fread(buf, 1, SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c:264:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread(buf, 1, n * SECTOR_SIZE, bf->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscvemu.c: In function 'tun_write_packet': riscvemu.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(s->fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~ CC riscvemu.c CC riscv_machine.c CC softfp.c gcc -o marss-riscv riscvsim.o riscv_cpu.o virtio.o pci.o fs.o cutils.o iomem.o simplefb.o json.o machine.o sim_params_stats.o slirp/bootp.o slirp/ip_icmp.o slirp/mbuf.o slirp/slirp.o slirp/tcp_output.o slirp/cksum.o slirp/ip_input.o slirp/misc.o slirp/socket.o slirp/tcp_subr.o slirp/udp.o slirp/if.o slirp/ip_output.o slirp/sbuf.o slirp/tcp_input.o slirp/tcp_timer.o fs_disk.o fs_net.o fs_wget.o fs_utils.o block_net.o sdl.o riscvemu.o riscv_machine.o softfp.o -lrt -lcurl -lcrypto -lSDL -lrt -lpthread -lm make: Leaving directory '/usr/src/RPM/BUILD/marss-riscv-1.0a/src' + mv marss-riscv marss-riscv-x64-f64 + popd + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.53073 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/marss-riscv-buildroot + : + /bin/rm -rf -- /usr/src/tmp/marss-riscv-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd marss-riscv-1.0a + pushd src + for i in splitimg build_filelist stats-display + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin splitimg + for i in splitimg build_filelist stats-display + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin build_filelist + for i in splitimg build_filelist stats-display + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin stats-display + for xlen in 32 64 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x32-f0 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x32-f32 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x32-f64 + for xlen in 32 64 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x64-f0 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x64-f32 + for flen in 0 32 64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/bin marss-riscv-x64-f64 + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/sbin netinit.sh + popd + /bin/install -Dm755 -t /usr/src/tmp/marss-riscv-buildroot//usr/share/marss-riscv-scripts scripts/simstart.c scripts/simstop.c scripts/simulate.c + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/marss-riscv-buildroot (auto) Verifying and fixing files in /usr/src/tmp/marss-riscv-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/marss-riscv-buildroot/ (default) Compressing files in /usr/src/tmp/marss-riscv-buildroot (auto) Verifying ELF objects in /usr/src/tmp/marss-riscv-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: marss-riscv-1.0a-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.77661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd marss-riscv-1.0a + DOCDIR=/usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + export DOCDIR + rm -rf /usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + /bin/mkdir -p /usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + cp -prL README.md /usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + chmod -R go-w /usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + chmod -R a+rX /usr/src/tmp/marss-riscv-buildroot/usr/share/doc/marss-riscv-1.0a + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Pj64mn find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f0Er2m find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: ifconfig ip iptables Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, iproute2, iptables, libSDL-1.2.so.0()(64bit) >= set:lhc6oZl23KMiMreOPoNk7YUZczKrsKqN8j0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.1.1()(64bit) >= set:qnZ3Xo8jyXJpaN9D70, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libcurl.so.4()(64bit) >= set:kgZtdjeIuNOZmrVnSmNN4DD8Pw45rkQXUOtAjX7, libm.so.6(GLIBC_2.29)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), librt.so.1(GLIBC_2.2.5)(64bit), net-tools, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1ZqWEm Creating marss-riscv-debuginfo package Processing files: marss-riscv-debuginfo-1.0a-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i166yl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vgSd1m find-requires: running scripts (debuginfo) Requires: marss-riscv = 1.0a-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libcurl.so.4), debug64(libm.so.6), debug64(libpthread.so.0), debug64(librt.so.1) Adding to marss-riscv-debuginfo a strict dependency on marss-riscv Wrote: /usr/src/RPM/RPMS/x86_64/marss-riscv-1.0a-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/marss-riscv-debuginfo-1.0a-alt1.x86_64.rpm (w2T8.xzdio) 80.32user 10.08system 1:34.95elapsed 95%CPU (0avgtext+0avgdata 74280maxresident)k 0inputs+0outputs (0major+3584707minor)pagefaults 0swaps 86.45user 13.10system 1:44.52elapsed 95%CPU (0avgtext+0avgdata 105860maxresident)k 0inputs+0outputs (0major+3951989minor)pagefaults 0swaps --- marss-riscv-1.0a-alt1.x86_64.rpm.repo 2019-08-30 16:07:56.000000000 +0000 +++ marss-riscv-1.0a-alt1.x86_64.rpm.hasher 2021-07-01 09:24:44.814332737 +0000 @@ -24,3 +24,5 @@ Requires: libc.so.6(GLIBC_2.15)(64bit) +Requires: libc.so.6(GLIBC_2.17)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) +Requires: libc.so.6(GLIBC_2.28)(64bit) Requires: libc.so.6(GLIBC_2.3)(64bit) @@ -33,3 +35,3 @@ Requires: libcurl.so.4()(64bit) >= set:kgZtdjeIuNOZmrVnSmNN4DD8Pw45rkQXUOtAjX7 -Requires: libm.so.6(GLIBC_2.2.5)(64bit) +Requires: libm.so.6(GLIBC_2.29)(64bit) Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) @@ -39,2 +41,2 @@ Provides: marss-riscv = 1.0a-alt1:sisyphus+236934.100.1.1 -RPMIdentity: 0ae31de8684bcc87a0a5bfca66eb3dfc +RPMIdentity: 89152d2903f9662c8542daaca9424073 --- marss-riscv-debuginfo-1.0a-alt1.x86_64.rpm.repo 2019-08-30 16:07:56.000000000 +0000 +++ marss-riscv-debuginfo-1.0a-alt1.x86_64.rpm.hasher 2021-07-01 09:24:44.885332951 +0000 @@ -136,2 +136,2 @@ Provides: marss-riscv-debuginfo = 1.0a-alt1:sisyphus+236934.100.1.1 -RPMIdentity: 4fad3fb6bc508af25748049b665e633d +RPMIdentity: 08ded390dd628521ff26c1e3395ee356