* Package: app-emulation/spim-8.0-r3:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking spim-8.0.tar.gz to /var/tmp/portage/app-emulation/spim-8.0-r3/work >>> Source unpacked in /var/tmp/portage/app-emulation/spim-8.0-r3/work >>> Preparing source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... * Applying spim-8.0-r1-respect_env.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... make -j4 -C spim configuration make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' ./Configure clang Check if this machine is big-endian or little-endian. This may take a few minutes. I believe this is a little-endian machine. Look like a 64 bits linux universe exists... Scanning libc nm: sysdep.o: no symbols nm: sigvec.o: no symbols nm: sigsetops.o: no symbols nm: old_atexit.o: no symbols nm: strtoll.o: no symbols nm: strtoll_l.o: no symbols nm: strtoull.o: no symbols nm: strtoull_l.o: no symbols nm: udiv_qrnnd.o: no symbols nm: mp_clz_tab.o: no symbols nm: _itowa.o: no symbols nm: iovfscanf.o: no symbols nm: tmpfile64.o: no symbols nm: iofgetpos64.o: no symbols nm: iofopen64.o: no symbols nm: iofsetpos64.o: no symbols nm: fseeko64.o: no symbols nm: ftello64.o: no symbols nm: oldfmemopen.o: no symbols nm: cleanup_defer_compat.o: no symbols nm: old_pthread_cond_broadcast.o: no symbols nm: old_pthread_cond_destroy.o: no symbols nm: old_pthread_cond_init.o: no symbols nm: old_pthread_cond_signal.o: no symbols nm: old_pthread_cond_timedwait.o: no symbols nm: old_pthread_cond_wait.o: no symbols nm: pthread_kill_other_threads.o: no symbols nm: pthread_spin_init.o: no symbols nm: pthread_yield.o: no symbols nm: pthread_atfork_compat.o: no symbols nm: aio_read64.o: no symbols nm: aio_write64.o: no symbols nm: lio_listio64.o: no symbols nm: string-inlines.o: no symbols nm: wordcopy.o: no symbols nm: wcstoll.o: no symbols nm: wcstoull.o: no symbols nm: wcstoll_l.o: no symbols nm: wcstoull_l.o: no symbols nm: stime.o: no symbols nm: readdir.o: no symbols nm: readdir_r.o: no symbols nm: scandir.o: no symbols nm: alphasort.o: no symbols nm: versionsort.o: no symbols nm: getdents.o: no symbols nm: scandirat.o: no symbols nm: scandir-tail.o: no symbols nm: getdirentries.o: no symbols nm: glob64.o: no symbols nm: globfree64.o: no symbols nm: glob64-lstat-compat.o: no symbols nm: pread.o: no symbols nm: pwrite.o: no symbols nm: streams-compat.o: no symbols nm: glob64-time64.o: no symbols nm: globfree64-time64.o: no symbols nm: init-posix.o: no symbols nm: oldglob.o: no symbols nm: stat.o: no symbols nm: fstat.o: no symbols nm: lstat.o: no symbols nm: fstatat.o: no symbols nm: statfs.o: no symbols nm: fstatfs.o: no symbols nm: statvfs.o: no symbols nm: fstatvfs.o: no symbols nm: open.o: no symbols nm: openat.o: no symbols nm: lseek.o: no symbols nm: fcntl.o: no symbols nm: lockf.o: no symbols nm: creat.o: no symbols nm: ftw64.o: no symbols nm: fts64.o: no symbols nm: posix_fadvise.o: no symbols nm: sendfile64.o: no symbols nm: fts64-time64.o: no symbols nm: ftw64-time64.o: no symbols nm: xstatconv.o: no symbols nm: fallocate.o: no symbols nm: open_nocancel.o: no symbols nm: openat_nocancel.o: no symbols nm: statx_cp.o: no symbols nm: stat_t64_cp.o: no symbols nm: getrlimit.o: no symbols nm: setrlimit.o: no symbols nm: vtimes.o: no symbols nm: sstk.o: no symbols nm: preadv.o: no symbols nm: pwritev.o: no symbols nm: preadv2.o: no symbols nm: pwritev2.o: no symbols nm: mkstemp64.o: no symbols nm: mkostemp64.o: no symbols nm: mkstemps64.o: no symbols nm: mkostemps64.o: no symbols nm: truncate.o: no symbols nm: ftruncate.o: no symbols nm: mmap.o: no symbols nm: ustat.o: no symbols nm: regexp.o: no symbols nm: unwind-link.o: no symbols nm: atomic_wide_counter.o: no symbols nm: sysctl.o: no symbols nm: prlimit.o: no symbols nm: pselect32.o: no symbols nm: xstat.o: no symbols nm: fxstat.o: no symbols nm: lxstat.o: no symbols nm: fxstatat.o: no symbols nm: xmknod.o: no symbols nm: xmknodat.o: no symbols nm: convert_scm_timestamps.o: no symbols nm: memcpy_chk.o: no symbols nm: memmove_chk.o: no symbols nm: mempcpy_chk.o: no symbols nm: memset_chk.o: no symbols nm: wmemset_chk.o: no symbols nm: compat-lookup.o: no symbols nm: getutmpx.o: no symbols nm: tls_get_addr.o: no symbols Checking if libc on this machine contains: vsprintf: Yes, I think so vfprintf: Yes, I think strtoul: Yes, I think strtol: Yes, I think memcpy: Yes, I think Checking for /usr/include/termios.h Yes, it is there make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' >>> Source configured. '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/clang14.log' -> '/var/tmp/clang/app-emulation/spim-8.0-r3/clang14.log' '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/clang15.log' -> '/var/tmp/clang/app-emulation/spim-8.0-r3/clang15.log' >>> Compiling source in /var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0 ... make -j4 DESTDIR= -C spim make: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make -f Makefile spim2 make[1]: Entering directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' bison -d --file-prefix=y ../CPU/parser.y clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o mem.o ../CPU/mem.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o data.o ../CPU/data.c flex -I -8 ../CPU/scanner.l ../CPU/parser.y: warning: 25 shift/reduce conflicts [8;id=da89796e0005ea116ae90d2000000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] ../CPU/parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o syscall.o ../CPU/syscall.c ../CPU/mem.c:546:5: warning: variable 'tmp' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ ../CPU/mem.c:554:54: note: uninitialized use occurs here text_seg [(addr - TEXT_BOT) >> 2] = inst_decode (tmp); ^~~ ../CPU/mem.c:511:15: note: initialize the variable 'tmp' to silence this warning mem_word tmp; ^ = 0 clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o display-utils.o ../CPU/display-utils.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o string-stream.o ../CPU/string-stream.c 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o spim-utils.o ../CPU/spim-utils.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o run.o ../CPU/run.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o inst.o ../CPU/inst.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c -o sym-tbl.o ../CPU/sym-tbl.c ../CPU/run.c:653:12: warning: explicitly assigning value of variable of type 'reg_word' (aka 'int') to itself [-Wself-assign] word = word; ~~~~ ^ ~~~~ ../CPU/run.c:693:12: warning: explicitly assigning value of variable of type 'reg_word' (aka 'int') to itself [-Wself-assign] word = word; ~~~~ ^ ~~~~ ../CPU/run.c:1712:13: warning: cast to smaller integer type 'int' from '__sighandler_t' (aka 'void (*)(int)') [-Wpointer-to-int-cast] if (-1 == (int)signal (SIGALRM, SIG_IGN)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c y.tab.c clang -O -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -I. -I../CPU `cat configuration` -DTEXT_SIZE=65536 -DDATA_SIZE=131072 -DK_TEXT_SIZE=65536 -DDEFAULT_EXCEPTION_HANDLER="\"/var/lib/spim/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" -Wall -c lex.yy.c ../CPU/parser.y:2594:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_op (yyvsp[0].p); ^ ../CPU/parser.y:2598:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_op (yyvsp[0].p); ^ ../CPU/parser.y:2605:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_op (yyvsp[-2].p); ^ ../CPU/parser.y:2612:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_op (yyvsp[0].p); ^ ../CPU/parser.y:2616:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_op (yyvsp[0].p); ^ lex.yy.c:797:24: warning: array subscript is of type 'char' [-Wchar-subscripts] YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; ^~~~~~~~~~~~~~~~~~~~ lex.yy.c:807:20: warning: array subscript is of type 'char' [-Wchar-subscripts] yy_c = yy_meta[yy_c]; ^~~~~ lex.yy.c:1397:33: warning: array subscript is of type 'char' [-Wchar-subscripts] YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 2); ^~~~~~~~~~~~~~~~~~~~ lex.yy.c:1407:19: warning: array subscript is of type 'char' [-Wchar-subscripts] yy_c = yy_meta[yy_c]; ^~~~~ lex.yy.c:1435:18: warning: array subscript is of type 'char' [-Wchar-subscripts] yy_c = yy_meta[yy_c]; ^~~~~ lex.yy.c:1691:40: error: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; ^ 5 warnings and 1 error generated. make[1]: *** [Makefile:221: lex.yy.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 5 warnings generated. 3 warnings generated. make[1]: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' make: *** [Makefile:124: spim] Error 2 make: Leaving directory '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0/spim' * ERROR: app-emulation/spim-8.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/spim-8.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/spim-8.0-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-emulation:spim-8.0-r3:20221002-183010.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/spim-8.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0' * S: '/var/tmp/portage/app-emulation/spim-8.0-r3/work/spim-8.0'