+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hercules-3.13nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hercules-3.13nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for hercules-3.13nb3 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' Making all in decNumber gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' CC decContext.lo CC decimal128.lo CC decimal32.lo CC decimal64.lo CC decNumber.lo CC decPacked.lo CCLD libdecNumber.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' Making all in softfloat gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' CC softfloat.lo CCLD libsoftfloat.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' Making all in m4 gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' Making all in util gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' Making all in html gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' Making all in man gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' Making all in . gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' CC hsys.lo CCLD libhercs.la CC version.lo CC hscutl.lo In function 'get_symbol_token', inlined from 'set_symbol' at hscutl.c:337:9: hscutl.c:327:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 327 | strncpy(tok->var,sym,MIN(MAX_SYMBOL_SIZE+1,strlen(sym)+1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hercules.h:88, from hscutl.c:19: hscutl.c: In function 'set_symbol': hscutl.c:327:48: note: length computed here 327 | strncpy(tok->var,sym,MIN(MAX_SYMBOL_SIZE+1,strlen(sym)+1)); | ^~~~~~~~~~~ hmacros.h:735:35: note: in definition of macro 'MIN' 735 | #define MIN(_x,_y) ( ( ( _x ) < ( _y ) ) ? ( _x ) : ( _y ) ) | ^~ CC hscutl2.lo CC codepage.lo codepage.c: In function 'set_iconv_cp': codepage.c:1011:28: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1011 | if(iconv(codepage_g2h, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c:1022:28: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1022 | if(iconv(codepage_h2g, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'host_to_guest': codepage.c:1081:29: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1081 | iconv(codepage_h2g, (char**)&hbyte, &inbytes, &gbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'guest_to_host': codepage.c:1100:29: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1100 | iconv(codepage_g2h, (char**)&gbyte, &inbytes, &hbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ CC logger.lo In file included from hercules.h:87, from logger.c:19: logger.c: In function 'logger_init': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ logger.c:524:9: note: in expansion of macro 'create_thread' 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~ CC logmsg.lo CC hdl.lo CC hostinfo.lo hostinfo.c: In function 'display_hostinfo': hostinfo.c:103:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 103 | if (!f) f = stdout; if (f != stdout) | ^~ hostinfo.c:103:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 103 | if (!f) f = stdout; if (f != stdout) | ^~ CC hsocket.lo CC memrchr.lo CC parser.lo CC pttrace.lo In file included from hthreads.h:118, from hercules.h:87, from pttrace.c:13: pttrace.c: In function 'ptt_pthread_create': pttrace.c:401:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 401 | PTTRACE ("create", (void *)*tid, NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_join': pttrace.c:409:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 409 | PTTRACE ("join before", (void *)tid, value ? *value : NULL, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c:411:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 411 | PTTRACE ("join after", (void *)tid, value ? *value : NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_detach': pttrace.c:419:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 419 | PTTRACE ("dtch before", (void *)tid, NULL, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c:421:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 421 | PTTRACE ("dtch after", (void *)tid, NULL, loc, result); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ pttrace.c: In function 'ptt_pthread_kill': pttrace.c:427:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 427 | PTTRACE ("kill", (void *)tid, (void *)(long)sig, loc, PTT_MAGIC); | ^ pttrace.h:112:40: note: in definition of macro 'PTTRACE' 112 | ptt_pthread_trace(PTT_CL_THR,_type,_data1,_data2,_loc,_result); \ | ^~~~~~ CCLD libhercu.la CC sllib.lo CC hetlib.lo CCLD libherct.la ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercs.so: linked to ./.libs/libhercs.so: attempted multiple inclusion of file CC ckddasd.lo ckddasd.c: In function 'ckddasd_execute_ccw': ckddasd.c:3787:67: warning: '?:' using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] 3785 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3786 | && dev->ckdlcount == | ~~~~~~~~~~~~~~~~~~~~ 3787 | (dev->ckdlaux & CKDLAUX_RDCNTSUF) ? 2 : 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ckddasd.c:3999:67: warning: '?:' using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] 3997 | if (!(((dev->ckdloper & CKDOPER_CODE) == CKDOPER_WRITE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3998 | && dev->ckdlcount == | ~~~~~~~~~~~~~~~~~~~~ 3999 | (dev->ckdlaux & CKDLAUX_RDCNTSUF) ? 2 : 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ckddasd.c: In function 'ckd_build_sense': ckddasd.c:1463:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1463 | if (dev->devid[6] == 0x01) | ^ ckddasd.c:1467:9: note: here 1467 | case 0x3340: case 0x3350: shift = 5; | ^~~~ ckddasd.c:1467:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 1467 | case 0x3340: case 0x3350: shift = 5; | ~~~~~~^~~ ckddasd.c:1468:9: note: here 1468 | case 0x3375: shift = 6; | ^~~~ ckddasd.c:1468:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 1468 | case 0x3375: shift = 6; | ~~~~~~^~~ ckddasd.c:1469:9: note: here 1469 | default: shift = 4; | ^~~~~~~ CC fbadasd.lo CC cckddasd.lo In file included from hercules.h:87, from cckddasd.c:13: cckddasd.c: In function 'cckd_readahead': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1454:13: note: in expansion of macro 'create_thread' 1454 | create_thread (&tid, JOINABLE, cckd_ra, NULL, "cckd_ra"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_ra': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1542:17: note: in expansion of macro 'create_thread' 1542 | create_thread (&tid, JOINABLE, cckd_ra, dev, "cckd_ra"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_flush_cache': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1590:13: note: in expansion of macro 'create_thread' 1590 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_writer': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1744:17: note: in expansion of macro 'create_thread' 1744 | create_thread (&tid, JOINABLE, cckd_writer, NULL, "cckd_writer"); | ^~~~~~~~~~~~~ hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:1809:13: note: in expansion of macro 'create_thread' 1809 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_command': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)()' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ cckddasd.c:5617:17: note: in expansion of macro 'create_thread' 5617 | create_thread (&tid, JOINABLE, cckd_gcol, NULL, "cckd_gcol"); | ^~~~~~~~~~~~~ cckddasd.c: In function 'cckd_print_itrace': cckddasd.c:5648:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] 5648 | if (p[0] != '\0') | ^~ cckddasd.c:5648:13: note: did you mean to dereference the pointer? 5648 | if (p[0] != '\0') | ^ CC cckdutil.lo CC dasdtab.lo CC cache.lo CC dasdutil.lo CC shared.lo shared.c: In function 'shared_cmd': shared.c:2963:22: warning: comparison between pointer and zero character constant [-Wpointer-compare] 2963 | if (i[0] != '\0') logmsg ("%s",(char *)i); | ^~ shared.c:2963:17: note: did you mean to dereference the pointer? 2963 | if (i[0] != '\0') logmsg ("%s",(char *)i); | ^ CCLD libhercd.la ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercs.so: linked to ./.libs/libhercs.so: attempted multiple inclusion of file CC hconsole.lo CC w32util.lo CC strsignal.lo CC impl.lo In file included from hercules.h:87, from impl.c:17: impl.c: In function 'impl': hthreads.h:157:37: warning: cast between incompatible function types from 'int (*)(DEVBLK *, int, char **)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ impl.c:605:22: note: in expansion of macro 'create_thread' 605 | if ( create_thread (&tid, DETACHED, | ^~~~~~~~~~~~~ CC config.lo CC bldcfg.lo bldcfg.c: In function 'parse_args': bldcfg.c:127:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~~~~ bldcfg.c:127:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 127 | while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg | ^~ bldcfg.c:133:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~~~~ bldcfg.c:133:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 133 | while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg | ^~ CC panel.lo CC history.lo CC fillfnam.lo fillfnam.c: In function 'tab_pressed': fillfnam.c:108:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 108 | strncpy(path, part2, strlen(part2)-strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillfnam.c:108:26: note: length computed here 108 | strncpy(path, part2, strlen(part2)-strlen(filename)); | ^~~~~~~~~~~~~ CC ipl.lo CC assist.lo In file included from inline.h:734, from assist.c:29, from assist.c:623: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC dat.lo CC stack.lo In file included from inline.h:734, from stack.c:42, from stack.c:1432: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC cpu.lo In file included from cpu.c:1880: cpu.c: In function 'z900_run_cpu': cpu.c:1643:21: warning: cast between incompatible function types from 'U64 (*)(int, U64, REGS *)' {aka 'long unsigned int (*)(int, long unsigned int, REGS *)'} to 'int (*)()' [-Wcast-function-type] 1643 | regs.trace_br = (func)&ARCH_DEP(trace_br); | ^ In file included from inline.h:734, from cpu.c:42, from cpu.c:1880: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC vstore.lo CC general1.lo In file included from general1.c:4698: general1.c: In function 'z900_branch_and_link_register': general1.c:397:25: warning: cast between incompatible function types from 'func' {aka 'int (*)()'} to 'U64 (*)(int, U64, REGS *)' {aka 'long unsigned int (*)(int, long unsigned int, REGS *)'} [-Wcast-function-type] 397 | regs->CR(12) = ((ARCH_DEP(trace_br_func))regs->trace_br) | ^ general1.c: In function 'z900_branch_and_save_register': general1.c:470:25: warning: cast between incompatible function types from 'func' {aka 'int (*)()'} to 'U64 (*)(int, U64, REGS *)' {aka 'long unsigned int (*)(int, long unsigned int, REGS *)'} [-Wcast-function-type] 470 | regs->CR(12) = ((ARCH_DEP(trace_br_func))regs->trace_br) | ^ In file included from inline.h:734, from general1.c:44, from general1.c:4698: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ general1.c: In function 's370_compare_logical_character': general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ In file included from general1.c:4692: general1.c: In function 's390_compare_logical_character': general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ In file included from general1.c:4698: general1.c: In function 'z900_compare_logical_character': general1.c:1765:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1765 | if (sizeof(unsigned int) >= 8) | ^ general1.c:1774:13: note: here 1774 | default: | ^~~~~~~ CC general2.lo In file included from inline.h:734, from general2.c:44, from general2.c:2900: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC general3.lo In file included from inline.h:734, from general3.c:22, from general3.c:3848: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC pfpo.lo CC plo.lo In file included from inline.h:734, from plo.c:21, from plo.c:1654: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC control.lo In file included from inline.h:734, from control.c:46, from control.c:7363: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ control.c: In function 's370_signal_processor': control.c:5872:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 5872 | channelset_reset(tregs); | ^~~~~~~~~~~~~~~~~~~~~~~ control.c:5875:9: note: here 5875 | case SIGP_RESET: | ^~~~ control.c: In function 's370_program_transfer_proc': control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c: In function 's370_set_secondary_asn_proc': control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c: In function 's390_program_return': control.c:3450:36: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3450 | newregs.CR_L(4) |= aste[1] & ASTE1_AX; | ~~~~^~~ control.c:3450:36: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] control.c:3450:36: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] control.c:3450:36: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] control.c: In function 's390_program_transfer_proc': control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:3757:37: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 3757 | if (pti_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c: In function 's390_set_secondary_asn_proc': control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from control.c:7357: control.c:4794:39: warning: 'aste[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] 4794 | if (ssair_instruction && (aste[1] & ASTE1_CA) != 0 | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7357: dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ In file included from inline.h:734, from control.c:46, from control.c:7363: control.c: In function 'z900_program_transfer_proc': dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ control.c: In function 'z900_set_secondary_asn_proc': dat.h:213:15: warning: 'aste' may be used uninitialized in this function [-Wmaybe-uninitialized] 213 | ato = aste[0] & ASTE0_ATO; | ~~~~^~~ CC crypto.lo CC io.lo In file included from inline.h:734, from io.c:47, from io.c:1256: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC decimal.lo In file included from inline.h:734, from decimal.c:39, from decimal.c:1423: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC service.lo In file included from hercules.h:87, from service.c:33: service.c: In function 'sclp_attn_async': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(U16 *)' {aka 'void (*)(short unsigned int *)'} to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ service.c:129:9: note: in expansion of macro 'create_thread' 129 | create_thread(&sclp_attn_tid, &sysblk.detattr, sclp_attn_thread, typ, "attn_thread"); | ^~~~~~~~~~~~~ CC scedasd.lo In file included from hercules.h:87, from scedasd.c:8: scedasd.c: In function 's390_scedio_request': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(SCCB_SCEDIO_BK *)' {aka 'void (*)(struct _SCCB_SCEDIO_BK *)'} to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ scedasd.c:751:13: note: in expansion of macro 'create_thread' 751 | if( create_thread(&scedio_tid, &sysblk.detattr, | ^~~~~~~~~~~~~ scedasd.c: In function 'z900_scedio_request': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(SCCB_SCEDIO_BK *)' {aka 'void (*)(struct _SCCB_SCEDIO_BK *)'} to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ scedasd.c:751:13: note: in expansion of macro 'create_thread' 751 | if( create_thread(&scedio_tid, &sysblk.detattr, | ^~~~~~~~~~~~~ CC losc.lo CC chsc.lo In file included from inline.h:734, from chsc.c:26, from chsc.c:251: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC opcode.lo CC diagnose.lo In file included from inline.h:734, from diagnose.c:29, from diagnose.c:676: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC diagmssf.lo In file included from inline.h:734, from diagmssf.c:28, from diagmssf.c:754: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC vm.lo vm.c: In function 's370_syncgen_io': vm.c:860:28: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 860 | lastccw = (dev->csw[1] << 16) || (dev->csw[2] << 8) | ~~~~~~~~~~~~~^~~~~~ vm.c:860:51: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 860 | lastccw = (dev->csw[1] << 16) || (dev->csw[2] << 8) | ~~~~~~~~~~~~~^~~~~ vm.c:864:29: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 864 | residual = (dev->csw[6] << 8) || dev->csw[7]; | ~~~~~~~~~~~~~^~~~~ In file included from vm.c:1702: vm.c: In function 's390_syncgen_io': vm.c:868:37: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 868 | lastccw = (dev->scsw.ccwaddr[0] << 24) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:869:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 869 | || (dev->scsw.ccwaddr[1] << 16) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:870:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 870 | || (dev->scsw.ccwaddr[2] << 8) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ vm.c:874:36: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 874 | residual = (dev->scsw.count[0] << 8) || dev->scsw.count[1]; | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from vm.c:1708: vm.c: In function 'z900_syncgen_io': vm.c:868:37: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 868 | lastccw = (dev->scsw.ccwaddr[0] << 24) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:869:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 869 | || (dev->scsw.ccwaddr[1] << 16) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ vm.c:870:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 870 | || (dev->scsw.ccwaddr[2] << 8) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ vm.c:874:36: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 874 | residual = (dev->scsw.count[0] << 8) || dev->scsw.count[1]; | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from inline.h:734, from vm.c:27, from vm.c:1708: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC vmd250.lo In file included from hercules.h:87, from vmd250.c:85: vmd250.c: In function 'z900_d250_iorq64': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ vmd250.c:1908:13: note: in expansion of macro 'create_thread' 1908 | if ( create_thread (&tid, DETACHED, ARCH_DEP(d250_async64), | ^~~~~~~~~~~~~ In file included from inline.h:734, from vmd250.c:87, from vmd250.c:2293: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC channel.lo CC external.lo In file included from inline.h:734, from external.c:37, from external.c:583: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC float.lo In file included from float.c:8023: float.c: In function 's390_square_root_fraction': float.c:2876:28: warning: taking the absolute value of unsigned type 'U32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 2876 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c: In function 's390_squareroot_float_ext_reg': float.c:5345:36: warning: taking the absolute value of unsigned type 'U64' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 5345 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c:5345:36: warning: absolute value function 'abs' given an argument of type 'U64' {aka 'long unsigned int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] In file included from float.c:8029: float.c: In function 'z900_square_root_fraction': float.c:2876:28: warning: taking the absolute value of unsigned type 'U32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 2876 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c: In function 'z900_squareroot_float_ext_reg': float.c:5345:36: warning: taking the absolute value of unsigned type 'U64' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 5345 | if ((xj == xi) || (abs(xj - xi) == 1)) { | ^~~ float.c:5345:36: warning: absolute value function 'abs' given an argument of type 'U64' {aka 'long unsigned int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] In file included from inline.h:734, from float.c:44, from float.c:8029: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC trace.lo In file included from inline.h:734, from trace.c:33, from trace.c:1180: dat.h: In function 'z900_translate_addr': dat.h:1243:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1243 | tl = rte & REGTAB_TL; dat.h:1248:13: note: here 1248 | case TT_R2TABL: | ^~~~ dat.h:1296:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1296 | tl = rte & REGTAB_TL; dat.h:1301:13: note: here 1301 | case TT_R3TABL: | ^~~~ CC machchk.lo CC vector.lo mv: cannot rename .deps/vector.Tpo to .deps/vector.Plo: Disc quota exceeded gmake[2]: *** [Makefile:1755: vector.lo] Error 2 gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake[1]: *** [Makefile:1776: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake: *** [Makefile:1309: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules