+ 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
  CC       hscutl2.lo
  CC       codepage.lo
  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
sllib.c: In function 'sl_fmtdate':
sllib.c:632:53: warning: 'curtime' may be used uninitialized [-Wmaybe-uninitialized]
  632 |             strftime( sbuf, sizeof( sbuf ), "%Y%j", localtime( &curtime ) );
      |                                                     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/time.h:40,
                 from /usr/include/sys/time.h:490,
                 from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:672,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:46,
                 from hstdinc.h:52,
                 from sllib.c:15:
/usr/include/iso/time_iso.h:98:19: note: by argument 1 of type 'const time_t *' {aka 'const long int *'} to 'localtime' declared here
   98 | extern struct tm *localtime(const time_t *);
      |                   ^~~~~~~~~
sllib.c:591:12: note: 'curtime' declared here
  591 |     time_t curtime;
      |            ^~~~~~~
  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-truncation]
  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:
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:
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:
      |             ^~~~~~~
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:
      |         ^~~~
In file included from inline.h:734,
                 from control.c:46:
In function 's370_authorize_asn',
    inlined from 's370_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's370_authorize_asn',
    inlined from 's370_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's370_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In file included from control.c:7357:
control.c: In function 's390_program_return':
control.c:3450:36: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
 3450 |             newregs.CR_L(4) |= aste[1] & ASTE1_AX;
      |                                ~~~~^~~
control.c:3341:9: note: 'aste' declared here
 3341 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
control.c:3450:36: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
 3450 |             newregs.CR_L(4) |= aste[1] & ASTE1_AX;
      |                                ~~~~^~~
control.c:3341:9: note: 'aste' declared here
 3341 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
control.c:3450:36: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
 3450 |             newregs.CR_L(4) |= aste[1] & ASTE1_AX;
      |                                ~~~~^~~
control.c:3341:9: note: 'aste' declared here
 3341 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
control.c:3450:36: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
 3450 |             newregs.CR_L(4) |= aste[1] & ASTE1_AX;
      |                                ~~~~^~~
control.c:3341:9: note: 'aste' declared here
 3341 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In file included from inline.h:734,
                 from control.c:46:
In function 's390_authorize_asn',
    inlined from 's390_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 's390_authorize_asn',
    inlined from 's390_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 's390_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 'z900_authorize_asn',
    inlined from 'z900_program_transfer_proc' at control.c:3778:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 'z900_program_transfer_proc':
control.c:3616:9: note: 'aste' declared here
 3616 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
In function 'z900_authorize_asn',
    inlined from 'z900_set_secondary_asn_proc' at control.c:4814:13:
dat.h:213:15: warning: 'aste' may be used uninitialized [-Wmaybe-uninitialized]
  213 |     ato = aste[0] & ASTE0_ATO;
      |           ~~~~^~~
control.c: In function 'z900_set_secondary_asn_proc':
control.c:4731:9: note: 'aste' declared here
 4731 | U32     aste[16];                       /* ASN second table entry    */
      |         ^~~~
  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
diagnose.c: In function 's370_diagnose_call':
diagnose.c:639:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  639 |         if(!(sysblk.diag8cmd & DIAG8CMD_ENABLE))
      |         ^~
diagnose.c:642:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  642 |             regs->cpustate = CPUSTATE_STOPPING;
      |             ^~~~
In file included from diagnose.c:670:
diagnose.c: In function 's390_diagnose_call':
diagnose.c:639:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  639 |         if(!(sysblk.diag8cmd & DIAG8CMD_ENABLE))
      |         ^~
diagnose.c:642:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  642 |             regs->cpustate = CPUSTATE_STOPPING;
      |             ^~~~
In file included from diagnose.c:676:
diagnose.c: In function 'z900_diagnose_call':
diagnose.c:639:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  639 |         if(!(sysblk.diag8cmd & DIAG8CMD_ENABLE))
      |         ^~
diagnose.c:642:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  642 |             regs->cpustate = CPUSTATE_STOPPING;
      |             ^~~~
In file included from inline.h:734,
                 from diagnose.c:29:
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:
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:
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
  CC       xstore.lo
In file included from inline.h:734,
                 from xstore.c:26,
                 from xstore.c:620:
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       cmpsc.lo
In file included from inline.h:734,
                 from cmpsc.c:38,
                 from cmpsc.c:2010:
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       sie.lo
In file included from sie.c:1390:
sie.c: In function 'z900_start_interpretive_execution':
sie.c:304:31: 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]
  304 |         GUESTREGS->trace_br = (func)&z900_trace_br;
      |                               ^
In file included from inline.h:734,
                 from sie.c:28:
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       qdio.lo
  CC       clock.lo
In file included from inline.h:734,
                 from clock.c:19,
                 from clock.c:673:
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       timer.lo
  CC       esame.lo
In file included from inline.h:734,
                 from esame.c:35,
                 from esame.c:8870:
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       ieee.lo
In file included from inline.h:734,
                 from ieee.c:50,
                 from ieee.c:4256:
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       dfp.lo
In file included from inline.h:734,
                 from dfp.c:22,
                 from dfp.c:5079:
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       httpserv.lo
In file included from hercules.h:87,
                 from httpserv.c:35:
httpserv.c: In function 'http_server':
hthreads.h:157:37: warning: cast between incompatible function types from 'void * (*)(int)' to 'void * (*)(void *)' [-Wcast-function-type]
  157 |         ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC)
      |                                     ^
httpserv.c:783:18: note: in expansion of macro 'create_thread'
  783 |             if ( create_thread (&httptid, DETACHED,
      |                  ^~~~~~~~~~~~~
  CC       cgibin.lo
cgibin.c: In function 'cgibin_configure_cpu':
cgibin.c:1039:29: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=]
 1039 |         sprintf(cpuname,"cpu%d",i);
      |                             ^~
cgibin.c:1039:25: note: directive argument in the range [0, 2147483646]
 1039 |         sprintf(cpuname,"cpu%d",i);
      |                         ^~~~~~~
cgibin.c:1039:9: note: 'sprintf' output between 5 and 14 bytes into a destination of size 8
 1039 |         sprintf(cpuname,"cpu%d",i);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       loadparm.lo
  CC       hsccmd.lo
  CC       cmdtab.lo
  CC       hao.lo
In function 'hao_cpstrp',
    inlined from 'hao_command' at hao.c:140:3:
hao.c:197:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
  197 |   strncpy(dest, &src[i], HAO_WKLEN);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'hao_cpstrp',
    inlined from 'hao_message' at hao.c:620:3:
hao.c:197:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
  197 |   strncpy(dest, &src[i], HAO_WKLEN);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       hscmisc.lo
In file included from hercules.h:87,
                 from hscmisc.c:15:
hscmisc.c: In function 'do_shutdown':
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)
      |                                     ^
hscmisc.c:210:17: note: in expansion of macro 'create_thread'
  210 |                 create_thread(&tid, DETACHED, do_shutdown_wait,
      |                 ^~~~~~~~~~~~~
In file included from inline.h:734,
                 from hscmisc.c:18,
                 from hscmisc.c:1305:
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       sr.lo
  CC       ecpsvm.lo
In file included from inline.h:734,
                 from ecpsvm.c:136,
                 from ecpsvm.c:3036:
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:
      |             ^~~~
  CCLD     libherc.la
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dyngui.lo
dyngui.c: In function 'NewUpdateDevStats':
dyngui.c:1834:48: warning: '%s' directive output may be truncated writing up to 1280 bytes into a region of size 231 [-Wformat-truncation=]
 1834 |             "DEV%c=%4.4X %4.4X %-4.4s %c%c%c%c %s"
      |                                                ^~
......
 1846 |             ,szQueryDeviceBuff
      |              ~~~~~~~~~~~~~~~~~                  
In function 'NewUpdateDevStats',
    inlined from 'NewUpdateDevStats' at dyngui.c:1736:7:
dyngui.c:1832:9: note: 'snprintf' output between 26 and 1306 bytes into a destination of size 256
 1832 |         snprintf( pGUIStat->pszNewStatStr, GUI_STATSTR_BUFSIZ,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1833 | 
      |          
 1834 |             "DEV%c=%4.4X %4.4X %-4.4s %c%c%c%c %s"
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1835 | 
      |          
 1836 |             ,*pGUIStat->pszOldStatStr ? 'C' : 'A'
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1837 |             ,pDEVBLK->devnum
      |             ~~~~~~~~~~~~~~~~
 1838 |             ,pDEVBLK->devtype
      |             ~~~~~~~~~~~~~~~~~
 1839 |             ,pDEVClass
      |             ~~~~~~~~~~
 1840 | 
      |          
 1841 |             ,chOnlineStat
      |             ~~~~~~~~~~~~~
 1842 |             ,chBusyStat
      |             ~~~~~~~~~~~
 1843 |             ,chPendingStat
      |             ~~~~~~~~~~~~~~
 1844 |             ,chOpenStat
      |             ~~~~~~~~~~~
 1845 | 
      |          
 1846 |             ,szQueryDeviceBuff
      |             ~~~~~~~~~~~~~~~~~~
 1847 |         );
      |         ~
dyngui.c: In function 'NewUpdateDevStats':
dyngui.c:1817:50: warning: '%s' directive output may be truncated writing up to 1280 bytes into a region of size 231 [-Wformat-truncation=]
 1817 |                 "DEV%c=0000 SYSG %-4.4s %c%c%c%c %s"
      |                                                  ^~
......
 1827 |                 ,szQueryDeviceBuff
      |                  ~~~~~~~~~~~~~~~~~                
In function 'NewUpdateDevStats',
    inlined from 'NewUpdateDevStats' at dyngui.c:1736:7:
dyngui.c:1815:13: note: 'snprintf' output between 26 and 1306 bytes into a destination of size 256
 1815 |             snprintf( pGUIStat->pszNewStatStr, GUI_STATSTR_BUFSIZ,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1816 | 
      |              
 1817 |                 "DEV%c=0000 SYSG %-4.4s %c%c%c%c %s"
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1818 | 
      |              
 1819 |                 ,*pGUIStat->pszOldStatStr ? 'C' : 'A'
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1820 |                 ,pDEVClass
      |                 ~~~~~~~~~~
 1821 | 
      |              
 1822 |                 ,chOnlineStat
      |                 ~~~~~~~~~~~~~
 1823 |                 ,chBusyStat
      |                 ~~~~~~~~~~~
 1824 |                 ,chPendingStat
      |                 ~~~~~~~~~~~~~~
 1825 |                 ,chOpenStat
      |                 ~~~~~~~~~~~
 1826 | 
      |              
 1827 |                 ,szQueryDeviceBuff
      |                 ~~~~~~~~~~~~~~~~~~
 1828 |             );
      |             ~
  CCLD     dyngui.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       dyninst.lo
dyninst.c: In function 'hdl_reso':
dyninst.c:365:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  365 |                     assign_extop1(opcode, extop, opcode_a5xx, save_a5xx);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:365:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:370:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  370 |                     assign_extop1(opcode, extop, opcode_a7xx, save_a7xx);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:370:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:390:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  390 |                     assign_extop1(opcode, extop, opcode_c0xx, save_c0xx);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:390:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:395:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  395 |                     assign_extop1(opcode, extop, opcode_c2xx, save_c2xx);  /*@Z9*/
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:395:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:400:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  400 |                     assign_extop1(opcode, extop, opcode_c4xx, save_c4xx);  /*208*/
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:400:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:405:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  405 |                     assign_extop1(opcode, extop, opcode_c6xx, save_c6xx);  /*208*/
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:405:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:410:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  410 |                     assign_extop1(opcode, extop, opcode_c8xx, save_c8xx);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:410:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
dyninst.c:415:21: warning: 'assign_extop1' accessing 10240 bytes in a region of size 640 [-Wstringop-overflow=]
  415 |                     assign_extop1(opcode, extop, opcode_ccxx, save_ccxx);  /*810*/
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dyninst.c:415:21: note: referencing argument 4 of type 'void (__attribute__((regparm(2))) *[256][5])(BYTE *, REGS *)' {aka 'void (__attribute__((regparm(2))) *[256][5])(unsigned char *, REGS *)'}
dyninst.c:207:13: note: in a call to function 'assign_extop1'
  207 | static void assign_extop1(int opcode, int extop, zz_func table[256][GEN_MAXARCH],
      |             ^~~~~~~~~~~~~
  CCLD     dyninst.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       hdteq.lo
  CCLD     hdteq.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       printer.lo
  CC       sockdev.lo
  CCLD     hdt1403.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       commadpt.lo
commadpt.c: In function 'commadpt_thread':
commadpt.c:1250:50: warning: passing argument 3 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict]
 1250 |                     rc=select(ca->pipe[1]+1,&rfd,&wfd,&wfd,&tv);
      |                                                  ^~~~ ~~~~
commadpt.c:1405:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1405 |                 if(!writecont && ca->pto!=0)
      |                   ^
commadpt.c:1414:13: note: here
 1414 |             case COMMADPT_PEND_WRITE:
      |             ^~~~
  CCLD     hdt2703.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       comm3705.lo
  CCLD     hdt3705.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       ctc_lcs.lo
  CC       ctc_ctci.lo
  CC       ctcadpt.lo
ctcadpt.c: In function 'CTCE_RecvThread':
ctcadpt.c:2839:54: warning: '%04X' directive output may be truncated writing 4 bytes into a region of size between 1 and 5 [-Wformat-truncation=]
 2839 |                 snprintf( pDEVBLK->filename, 7, "%1d:%04X",
      |                                                      ^~~~
ctcadpt.c:2839:49: note: directive argument in the range [0, 65535]
 2839 |                 snprintf( pDEVBLK->filename, 7, "%1d:%04X",
      |                                                 ^~~~~~~~~~
ctcadpt.c:2839:17: note: 'snprintf' output between 7 and 11 bytes into a destination of size 7
 2839 |                 snprintf( pDEVBLK->filename, 7, "%1d:%04X",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2840 |                     SSID_TO_LCSS( pSokBuf->ssid ), pSokBuf->DevNum );
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       w32ctca.lo
  CC       tuntap.lo
  CCLD     hdt3088.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       console.lo
  CCLD     hdt3270.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       tapedev.lo
tapedev.c: In function 'tapedev_query_device':
tapedev.c:1498:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1498 |     if (strchr(dev->filename,' ')) strlcat( devparms, "\"",          sizeof(devparms));
      |     ^~
tapedev.c:1499:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1499 |                                    strlcat( devparms, dev->filename, sizeof(devparms));
      |                                    ^~~~~~~
tapedev.c: In function 'ReqAutoMount':
tapedev.c:1810:29: warning: offset '1' outside bounds of constant string [-Warray-bounds=]
 1810 |     strncpy( volser, tapemsg+1, 6 ); volser[6]=0;
      |                      ~~~~~~~^~
  CC       tapeccws.lo
  CC       awstape.lo
  CC       faketape.lo
faketape.c: In function 'writehdr_faketape':
faketape.c:382:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation]
  382 |     strncpy( fakehdr.sprvblkl, sblklen, sizeof(fakehdr.sprvblkl) );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
faketape.c:384:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation]
  384 |     strncpy( fakehdr.scurblkl, sblklen, sizeof(fakehdr.scurblkl) );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
faketape.c:386:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation]
  386 |     strncpy( fakehdr.sxorblkl, sblklen, sizeof(fakehdr.sxorblkl) );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       hettape.lo
  CC       omatape.lo
omatape.c: In function 'read_omadesc':
omatape.c:246:13: warning: 'strncpy' output may be truncated copying between 0 and 254 bytes from a string of length 1024 [-Wstringop-truncation]
  246 |             strncpy (tdftab[filecount].filename, dev->filename, pathlen);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       scsitape.lo
  CC       w32stape.lo
  CCLD     hdt3420.la
ld: warning: file ./.libs/libherct.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       cardrdr.lo
  CCLD     hdt3505.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       hchan.lo
  CCLD     hdt2880.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       cardpch.lo
  CCLD     hdt3525.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       qeth.lo
  CCLD     hdtqeth.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       con1052c.lo
  CCLD     hdt1052c.la
ld: warning: file ./.libs/libhercu.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: attempted multiple inclusion of file
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       bootstrap.o
  CC       hdlmain.o
  CCLD     hercules
ld: warning: file ./.libs/libhercs.so: linked to /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercs.so: attempted multiple inclusion of file
  CC       dasdinit.o
  CCLD     dasdinit
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdisup.o
  CCLD     dasdisup
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdload.o
In function 'process_dirblk',
    inlined from 'process_iebcopy_file' at dasdload.c:2873:22,
    inlined from 'process_control_file' at dasdload.c:4743:18:
dasdload.c:2217:18: warning: array subscript 'DATABLK[0]' is partly outside array bounds of 'unsigned char[276]' [-Warray-bounds=]
 2217 |     blkp->cyl[0] = (cyl >> 8) & 0xFF;
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dasdload.c:2193:22: note: object of size 276 allocated by 'malloc'
 2193 |     blkp = (DATABLK*)malloc(blklen);
      |                      ^~~~~~~~~~~~~~
dasdload.c:2218:18: warning: array subscript 'DATABLK[0]' is partly outside array bounds of 'unsigned char[276]' [-Warray-bounds=]
 2218 |     blkp->cyl[1] = cyl & 0xFF;
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~
dasdload.c:2193:22: note: object of size 276 allocated by 'malloc'
 2193 |     blkp = (DATABLK*)malloc(blklen);
      |                      ^~~~~~~~~~~~~~
dasdload.c:2219:19: warning: array subscript 'DATABLK[0]' is partly outside array bounds of 'unsigned char[276]' [-Warray-bounds=]
 2219 |     blkp->head[0] = (head >> 8) & 0xFF;
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
dasdload.c:2193:22: note: object of size 276 allocated by 'malloc'
 2193 |     blkp = (DATABLK*)malloc(blklen);
      |                      ^~~~~~~~~~~~~~
dasdload.c:2220:19: warning: array subscript 'DATABLK[0]' is partly outside array bounds of 'unsigned char[276]' [-Warray-bounds=]
 2220 |     blkp->head[1] = head & 0xFF;
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~
dasdload.c:2193:22: note: object of size 276 allocated by 'malloc'
 2193 |     blkp = (DATABLK*)malloc(blklen);
      |                      ^~~~~~~~~~~~~~
dasdload.c:2221:15: warning: array subscript 'DATABLK[0]' is partly outside array bounds of 'unsigned char[276]' [-Warray-bounds=]
 2221 |     blkp->rec = rec;
      |     ~~~~~~~~~~^~~~~
dasdload.c:2193:22: note: object of size 276 allocated by 'malloc'
 2193 |     blkp = (DATABLK*)malloc(blklen);
      |                      ^~~~~~~~~~~~~~
  CCLD     dasdload
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdconv.o
  CCLD     dasdconv
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdls.o
dasdls.c: In function 'chainf3':
dasdls.c:172:34: warning: this statement may fall through [-Wimplicit-fallthrough=]
  172 |                            *size += extents_array(&(f3dscb->ds3adext[0]), 9, count, cifx->heads);
      |                                  ^~
dasdls.c:174:13: note: here
  174 |             case 0xf2: ptr = &(f3dscb->ds3ptrds[0]); /* same offset for both F2 and F3 DSCBs */
      |             ^~~~
dasdls.c: In function 'list_contents':
dasdls.c:287:72: warning: this statement may fall through [-Wimplicit-fallthrough=]
  287 |                       case RECFM_FORMAT_F:                      tmpstr = (char*)(tmpstr + 2);
      |                                                                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dasdls.c:288:23: note: here
  288 |                       case RECFM_FORMAT_V:                      tmpstr = (char*)(tmpstr + 2);
      |                       ^~~~
dasdls.c:352:57: warning: this statement may fall through [-Wimplicit-fallthrough=]
  352 |                       case DS1SCALO_UNITS_BLK:   tmpstr = (char*)(tmpstr + 4);
      |                                                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dasdls.c:353:23: note: here
  353 |                       case DS1SCALO_UNITS_TRK:   tmpstr = (char*)(tmpstr + 4);
      |                       ^~~~
dasdls.c:353:57: warning: this statement may fall through [-Wimplicit-fallthrough=]
  353 |                       case DS1SCALO_UNITS_TRK:   tmpstr = (char*)(tmpstr + 4);
      |                                                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dasdls.c:354:23: note: here
  354 |                       case DS1SCALO_UNITS_CYL:   printf(" %3s%8d", tmpstr,
      |                       ^~~~
  CCLD     dasdls
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdcat.o
  CCLD     dasdcat
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdpdsu.o
In function 'process_member',
    inlined from 'process_dirblk' at dasdpdsu.c:199:14,
    inlined from 'main' at dasdpdsu.c:351:14:
dasdpdsu.c:60:5: warning: 'strncpy' output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation]
   60 |     strncpy (ofname, memname, 8);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CCLD     dasdpdsu
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdseq.o
  CCLD     dasdseq
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       tapecopy.o
  CCLD     tapecopy
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       tapemap.o
  CCLD     tapemap
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       tapesplt.o
  CCLD     tapesplt
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       cckdcdsk.o
  CCLD     cckdcdsk
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       cckdcomp.o
  CCLD     cckdcomp
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       cckddiag.o
  CCLD     cckddiag
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       cckdswap.o
  CCLD     cckdswap
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dasdcopy.o
dasdcopy.c: In function 'main':
dasdcopy.c:365:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  365 |             else
      |             ^~~~
dasdcopy.c:367:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  367 |                 rc = 0;
      |                 ^~
  CCLD     dasdcopy
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       hetget.o
  CCLD     hetget
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       hetinit.o
  CCLD     hetinit
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       hetmap.o
  CCLD     hetmap
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       hetupd.o
  CCLD     hetupd
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       dmap2hrc.o
  CCLD     dmap2hrc
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libherct.so: linked to ./.libs/libherct.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercd.so: linked to ./.libs/libhercd.so: attempted multiple inclusion of file
ld: warning: file /home/pbulk/build/emulators/hercules/work/hercules-3.13/.libs/libhercu.so: linked to ./.libs/libhercu.so: attempted multiple inclusion of file
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       hercifc.o
In file included from hercifc.c:23:
hercifc.c: In function 'main':
hercifc.h:48:27: warning: implicit declaration of function '_IOW' [-Wimplicit-function-declaration]
   48 |   #define TUNSETIFF       _IOW('T', 202, int)
      |                           ^~~~
hercifc.c:100:14: note: in expansion of macro 'TUNSETIFF'
  100 |         case TUNSETIFF:
      |              ^~~~~~~~~
hercifc.h:48:42: error: expected expression before 'int'
   48 |   #define TUNSETIFF       _IOW('T', 202, int)
      |                                          ^~~
hercifc.c:100:14: note: in expansion of macro 'TUNSETIFF'
  100 |         case TUNSETIFF:
      |              ^~~~~~~~~
hercifc.c:108:14: error: 'SIOCSIFADDR' undeclared (first use in this function)
  108 |         case SIOCSIFADDR:
      |              ^~~~~~~~~~~
hercifc.c:108:14: note: each undeclared identifier is reported only once for each function it appears in
hercifc.c:114:14: error: 'SIOCSIFDSTADDR' undeclared (first use in this function)
  114 |         case SIOCSIFDSTADDR:
      |              ^~~~~~~~~~~~~~
hercifc.c:120:14: error: 'SIOCSIFFLAGS' undeclared (first use in this function)
  120 |         case SIOCSIFFLAGS:
      |              ^~~~~~~~~~~~
hercifc.c:135:14: error: 'SIOCSIFMTU' undeclared (first use in this function)
  135 |         case SIOCSIFMTU:
      |              ^~~~~~~~~~
hercifc.c:141:14: error: 'SIOCADDMULTI' undeclared (first use in this function)
  141 |         case SIOCADDMULTI:
      |              ^~~~~~~~~~~~
hercifc.c:147:14: error: 'SIOCDELMULTI' undeclared (first use in this function)
  147 |         case SIOCDELMULTI:
      |              ^~~~~~~~~~~~
hercifc.h:48:42: error: expected expression before 'int'
   48 |   #define TUNSETIFF       _IOW('T', 202, int)
      |                                          ^~~
hercifc.c:225:36: note: in expansion of macro 'TUNSETIFF'
  225 |              && !(ctlreq.iCtlOp == TUNSETIFF   && errno == EINVAL)
      |                                    ^~~~~~~~~
gmake[2]: *** [Makefile:1740: hercifc.o] Error 1
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-bulktest/emulators/hercules
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/hercules