<86>Jan 2 06:09:10 userdel[118656]: delete user 'rooter' <86>Jan 2 06:09:10 groupadd[118661]: group added to /etc/group: name=rooter, GID=549 <86>Jan 2 06:09:10 groupadd[118661]: group added to /etc/gshadow: name=rooter <86>Jan 2 06:09:10 groupadd[118661]: new group: name=rooter, GID=549 <86>Jan 2 06:09:10 useradd[118665]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Jan 2 06:09:10 userdel[118677]: delete user 'builder' <86>Jan 2 06:09:10 userdel[118677]: removed group 'builder' owned by 'builder' <86>Jan 2 06:09:10 userdel[118677]: removed shadow group 'builder' owned by 'builder' <86>Jan 2 06:09:10 groupadd[118683]: group added to /etc/group: name=builder, GID=550 <86>Jan 2 06:09:10 groupadd[118683]: group added to /etc/gshadow: name=builder <86>Jan 2 06:09:10 groupadd[118683]: new group: name=builder, GID=550 <86>Jan 2 06:09:10 useradd[118687]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash <13>Jan 2 06:09:12 rpmi: libglvnd-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:12 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Jan 2 06:09:12 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Jan 2 06:09:12 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Jan 2 06:09:12 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jan 2 06:09:12 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Jan 2 06:09:12 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Jan 2 06:09:12 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Jan 2 06:09:12 rpmi: libOpenGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:12 rpmi: libGLES-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:12 rpmi: publicsuffix-list-dafsa-20191108-alt1 sisyphus+240482.100.1.2 1573431390 installed <13>Jan 2 06:09:12 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531663 installed <13>Jan 2 06:09:12 rpmi: libnghttp2-1.39.2-alt1 sisyphus+236978.100.1.1 1567325215 installed <13>Jan 2 06:09:12 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Jan 2 06:09:12 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Jan 2 06:09:12 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Jan 2 06:09:12 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Jan 2 06:09:12 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Jan 2 06:09:12 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jan 2 06:09:12 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Jan 2 06:09:12 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Jan 2 06:09:12 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Jan 2 06:09:12 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Jan 2 06:09:12 rpmi: libsystemd-1:244.1-alt1 sisyphus+243289.100.2.3 1576850544 installed <13>Jan 2 06:09:12 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Jan 2 06:09:12 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jan 2 06:09:12 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jan 2 06:09:12 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jan 2 06:09:12 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jan 2 06:09:12 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jan 2 06:09:12 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 2 06:09:12 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jan 2 06:09:12 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jan 2 06:09:12 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Jan 2 06:09:12 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Jan 2 06:09:12 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Jan 2 06:09:12 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Jan 2 06:09:12 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Jan 2 06:09:13 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 2 06:09:13 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Jan 2 06:09:13 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382762 installed <13>Jan 2 06:09:13 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Jan 2 06:09:13 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Jan 2 06:09:13 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599782 installed <13>Jan 2 06:09:13 rpmi: libGLX-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Jan 2 06:09:13 rpmi: libGLX-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:13 rpmi: libGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:13 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Jan 2 06:09:13 rpmi: libgbm-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Jan 2 06:09:13 rpmi: libEGL-mesa-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Jan 2 06:09:13 rpmi: libEGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:13 rpmi: libglvnd-devel-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755340 installed <13>Jan 2 06:09:13 rpmi: libGL-devel-4:19.2.8-alt1 sisyphus+243247.100.1.3 1576829396 installed <13>Jan 2 06:09:13 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Jan 2 06:09:14 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 2 06:09:14 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959862 installed <13>Jan 2 06:09:14 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>Jan 2 06:09:14 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 2 06:09:14 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 2 06:09:14 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Jan 2 06:09:14 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 2 06:09:14 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Jan 2 06:09:14 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Jan 2 06:09:14 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <86>Jan 2 06:09:14 groupadd[123224]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 2 06:09:14 groupadd[123224]: group added to /etc/gshadow: name=_keytab <86>Jan 2 06:09:14 groupadd[123224]: new group: name=_keytab, GID=499 <13>Jan 2 06:09:14 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137160 installed <86>Jan 2 06:09:14 groupadd[123296]: group added to /etc/group: name=sasl, GID=498 <86>Jan 2 06:09:14 groupadd[123296]: group added to /etc/gshadow: name=sasl <86>Jan 2 06:09:14 groupadd[123296]: new group: name=sasl, GID=498 <13>Jan 2 06:09:14 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139861 installed <13>Jan 2 06:09:14 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449061 installed <13>Jan 2 06:09:14 rpmi: libcurl-7.67.0-alt1 sisyphus+240544.100.1.1 1573453423 installed <13>Jan 2 06:09:14 rpmi: alsa-ucm-conf-1.2.1.2-alt1 sisyphus+242075.200.1.1 1575268256 installed <13>Jan 2 06:09:14 rpmi: alsa-topology-conf-1.2.1-alt1 sisyphus+240942.100.4.1 1574247451 installed <13>Jan 2 06:09:14 rpmi: libalsa-1:1.2.1.2-alt1 sisyphus+242075.100.1.1 1575268229 installed <13>Jan 2 06:09:14 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Jan 2 06:09:14 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Jan 2 06:09:14 rpmi: libcurl-devel-7.67.0-alt1 sisyphus+240544.100.1.1 1573453423 installed <13>Jan 2 06:09:14 rpmi: libssl-devel-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/marss-riscv-1.0a-alt1.nosrc.rpm 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.51644 + 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.49000 + 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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.0': 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:867, from block_net.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 1041 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __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.51404 + 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 + 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) 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) Hardlinking identical .pyc and .pyo files Processing files: marss-riscv-1.0a-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.27821 + 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.gzG4c6 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5ssDW3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) 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.V5sdS5 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.cYyZg2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HJfoL2 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 Wrote: /usr/src/RPM/RPMS/x86_64/marss-riscv-debuginfo-1.0a-alt1.x86_64.rpm 99.76user 12.39system 2:53.82elapsed 64%CPU (0avgtext+0avgdata 75656maxresident)k 0inputs+0outputs (0major+3110503minor)pagefaults 0swaps 106.26user 16.08system 3:04.45elapsed 66%CPU (0avgtext+0avgdata 110016maxresident)k 0inputs+0outputs (0major+3479712minor)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 2020-01-02 06:12:12.947334228 +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)