/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c: In function ‘inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:704:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  704 |             state->mode = EXLEN;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:705:9: note: here
  705 |         case EXLEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:716:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  716 |             state->mode = EXTRA;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:717:9: note: here
  717 |         case EXTRA:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:738:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  738 |             state->mode = NAME;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:739:9: note: here
  739 |         case NAME:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:759:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  759 |             state->mode = COMMENT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:760:9: note: here
  760 |         case COMMENT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:779:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  779 |             state->mode = HCRC;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:780:9: note: here
  780 |         case HCRC:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:802:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  802 |             state->mode = DICT;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:803:9: note: here
  803 |         case DICT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:809:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  809 |             state->mode = TYPE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:810:9: note: here
  810 |         case TYPE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:811:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  811 |             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:812:9: note: here
  812 |         case TYPEDO:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:861:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  861 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:862:9: note: here
  862 |         case COPY_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:863:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  863 |             state->mode = COPY;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:864:9: note: here
  864 |         case COPY:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1003:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1003 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1004:9: note: here
 1004 |         case LEN_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1005:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1005 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1006:9: note: here
 1006 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1054:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1054 |             state->mode = LENEXT;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1055:9: note: here
 1055 |         case LENEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1064:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1064 |             state->mode = DIST;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1065:9: note: here
 1065 |         case DIST:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1091:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1091 |             state->mode = DISTEXT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1092:9: note: here
 1092 |         case DISTEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1107:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1107 |             state->mode = MATCH;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1108:9: note: here
 1108 |         case MATCH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1182:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1182 |             state->mode = LENGTH;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1183:9: note: here
 1183 |         case LENGTH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1195:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1195 |             state->mode = DONE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1196:9: note: here
 1196 |         case DONE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c: In function ‘inflateBack’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:471:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  471 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:473:9: note: here
  473 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c: In function ‘png_inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:302:10: warning: dangling pointer ‘msg’ to ‘umsg’ may be used [-Wdangling-pointer=]
  302 |          png_warning(png_ptr, msg);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:280:18: note: ‘umsg’ declared here
  280 |             char umsg[52];
      |                  ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c: In function ‘png_set_crc_action’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:51:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   51 |          png_warning(png_ptr,
      |          ^~~~~~~~~~~~~~~~~~~~
   52 |             "Can't discard critical data on CRC error.");
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:53:7: note: here
   53 |       case PNG_CRC_ERROR_QUIT:                                /* Error/quit */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:53:5: warning: conflicting types for ‘pci_set_config_type’ due to enum/integer mismatch; have ‘int(enum pci_config_type)’ [-Wenum-int-mismatch]
   53 | int pci_set_config_type(enum pci_config_type type)
      |     ^~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/pci.h:9,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:1:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/sys/pci.h:135:22: note: previous declaration of ‘pci_set_config_type’ with type ‘enum pci_config_type(enum pci_config_type)’
  135 | enum pci_config_type pci_set_config_type(enum pci_config_type);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c: In function ‘get_module_name_from_alias’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:684:16: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  684 |         } else if ((strlen(result)>2) &&
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:688:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  688 |                 module_name[strlen(module_name)-1]='\0';
      |                 ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c: In function ‘read_png_file’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c:121:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  121 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c: In function ‘set_mode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:673:57: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  673 |                             gtf_timings(x, y, freqs[j], &modeline->clock,
      |                                                         ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  674 |                                     &modeline->hsyncstart, &modeline->hsyncend,
      |                                     ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:674:60: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  674 |                                     &modeline->hsyncstart, &modeline->hsyncend,
      |                                                            ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  675 |                                     &modeline->hblank, &modeline->vsyncstart,
      |                                     ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:675:56: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  675 |                                     &modeline->hblank, &modeline->vsyncstart,
      |                                                        ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  676 |                                     &modeline->vsyncend, &modeline->vblank);
      |                                     ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:676:58: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  676 |                                     &modeline->vsyncend, &modeline->vblank);
      |                                                          ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:707:57: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  707 |                             gtf_timings(x, y, freqs[j], &modeline->clock,
      |                                                         ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  708 |                                     &modeline->hsyncstart, &modeline->hsyncend,
      |                                     ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:708:60: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  708 |                                     &modeline->hsyncstart, &modeline->hsyncend,
      |                                                            ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  709 |                                     &modeline->hblank, &modeline->vsyncstart,
      |                                     ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:709:56: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  709 |                                     &modeline->hblank, &modeline->vsyncstart,
      |                                                        ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:37: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  710 |                                     &modeline->vsyncend, &modeline->vblank);
      |                                     ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/i915resolution.c:710:58: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  710 |                                     &modeline->vsyncend, &modeline->vblank);
      |                                                          ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c: In function ‘syslinux_reboot’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c:42:5: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 |     *reboot_flag = warm ? 0x1234 : 0;
      |     ^~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c: In function ‘syslinux_compute_movelist’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:399:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  399 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:383:54: warning: argument ‘moves’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  383 | syslinux_compute_movelist(struct syslinux_movelist **moves,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: In function ‘bios_boot_linux’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:422:30: warning: taking address of packed member of ‘struct linux_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  422 |         uint64_t *prev_ptr = &whdr->setup_data;
      |                              ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:451:24: warning: taking address of packed member of ‘struct setup_data_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  451 |             prev_ptr = &sdp->hdr.next;
      |                        ^~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/onexit.c:11:19: warning: ‘on_exit_exit’ defined but not used [-Wunused-function]
   11 | static __noreturn on_exit_exit(int rv)
      |                   ^~~~~~~~~~~~
ld: warning: libcom32.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:10:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   10 | long jrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:61:23: note: previously declared as ‘short unsigned int *’
   61 | __extern long jrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:32:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   32 | long nrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:63:23: note: previously declared as ‘short unsigned int *’
   63 | __extern long nrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:11:45: warning: argument 1 of type ‘const short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   11 | unsigned short *seed48(const unsigned short xsubi[3])
      |                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:65:33: note: previously declared as ‘const short unsigned int *’
   65 | __extern unsigned short *seed48(const unsigned short *);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
opening errno.h
EPERM (1) => "Operation not permitted"
ENOENT (2) => "No such file or directory"
ESRCH (3) => "No such process"
EINTR (4) => "Interrupted system call"
EIO (5) => "I/O error"
ENXIO (6) => "No such device or address"
E2BIG (7) => "Arg list too long"
ENOEXEC (8) => "Exec format error"
EBADF (9) => "Bad file number"
ECHILD (10) => "No child processes"
EAGAIN (11) => "Try again"
ENOMEM (12) => "Out of memory"
EACCES (13) => "Permission denied"
EFAULT (14) => "Bad address"
ENOTBLK (15) => "Block device required"
EBUSY (16) => "Device or resource busy"
EEXIST (17) => "File exists"
EXDEV (18) => "Cross-device link"
ENODEV (19) => "No such device"
ENOTDIR (20) => "Not a directory"
EISDIR (21) => "Is a directory"
EINVAL (22) => "Invalid argument"
ENFILE (23) => "File table overflow"
EMFILE (24) => "Too many open files"
ENOTTY (25) => "Not a typewriter"
ETXTBSY (26) => "Text file busy"
EFBIG (27) => "File too large"
ENOSPC (28) => "No space left on device"
ESPIPE (29) => "Illegal seek"
EROFS (30) => "Read-only file system"
EMLINK (31) => "Too many links"
EPIPE (32) => "Broken pipe"
EDOM (33) => "Math argument out of domain of func"
ERANGE (34) => "Math result not representable"
EDEADLK (35) => "Resource deadlock would occur"
ENAMETOOLONG (36) => "File name too long"
ENOLCK (37) => "No record locks available"
ENOSYS (38) => "Function not implemented"
ENOTEMPTY (39) => "Directory not empty"
ELOOP (40) => "Too many symbolic links encountered"
ENOMSG (42) => "No message of desired type"
EIDRM (43) => "Identifier removed"
ECHRNG (44) => "Channel number out of range"
EL2NSYNC (45) => "Level 2 not synchronized"
EL3HLT (46) => "Level 3 halted"
EL3RST (47) => "Level 3 reset"
ELNRNG (48) => "Link number out of range"
EUNATCH (49) => "Protocol driver not attached"
ENOCSI (50) => "No CSI structure available"
EL2HLT (51) => "Level 2 halted"
EBADE (52) => "Invalid exchange"
EBADR (53) => "Invalid request descriptor"
EXFULL (54) => "Exchange full"
ENOANO (55) => "No anode"
EBADRQC (56) => "Invalid request code"
EBADSLT (57) => "Invalid slot"
EBFONT (59) => "Bad font file format"
ENOSTR (60) => "Device not a stream"
ENODATA (61) => "No data available"
ETIME (62) => "Timer expired"
ENOSR (63) => "Out of streams resources"
ENONET (64) => "Machine is not on the network"
ENOPKG (65) => "Package not installed"
EREMOTE (66) => "Object is remote"
ENOLINK (67) => "Link has been severed"
EADV (68) => "Advertise error"
ESRMNT (69) => "Srmount error"
ECOMM (70) => "Communication error on send"
EPROTO (71) => "Protocol error"
EMULTIHOP (72) => "Multihop attempted"
EDOTDOT (73) => "RFS specific error"
EBADMSG (74) => "Not a data message"
EOVERFLOW (75) => "Value too large for defined data type"
ENOTUNIQ (76) => "Name not unique on network"
EBADFD (77) => "File descriptor in bad state"
EREMCHG (78) => "Remote address changed"
ELIBACC (79) => "Can not access a needed shared library"
ELIBBAD (80) => "Accessing a corrupted shared library"
ELIBSCN (81) => ".lib section in a.out corrupted"
ELIBMAX (82) => "Attempting to link in too many shared libraries"
ELIBEXEC (83) => "Cannot exec a shared library directly"
EILSEQ (84) => "Illegal byte sequence"
ERESTART (85) => "Interrupted system call should be restarted"
ESTRPIPE (86) => "Streams pipe error"
EUSERS (87) => "Too many users"
ENOTSOCK (88) => "Socket operation on non-socket"
EDESTADDRREQ (89) => "Destination address required"
EMSGSIZE (90) => "Message too long"
EPROTOTYPE (91) => "Protocol wrong type for socket"
ENOPROTOOPT (92) => "Protocol not available"
EPROTONOSUPPORT (93) => "Protocol not supported"
ESOCKTNOSUPPORT (94) => "Socket type not supported"
EOPNOTSUPP (95) => "Operation not supported on transport endpoint"
EPFNOSUPPORT (96) => "Protocol family not supported"
EAFNOSUPPORT (97) => "Address family not supported by protocol"
EADDRINUSE (98) => "Address already in use"
EADDRNOTAVAIL (99) => "Cannot assign requested address"
ENETDOWN (100) => "Network is down"
ENETUNREACH (101) => "Network is unreachable"
ENETRESET (102) => "Network dropped connection because of reset"
ECONNABORTED (103) => "Software caused connection abort"
ECONNRESET (104) => "Connection reset by peer"
ENOBUFS (105) => "No buffer space available"
EISCONN (106) => "Transport endpoint is already connected"
ENOTCONN (107) => "Transport endpoint is not connected"
ESHUTDOWN (108) => "Cannot send after transport endpoint shutdown"
ETOOMANYREFS (109) => "Too many references: cannot splice"
ETIMEDOUT (110) => "Connection timed out"
ECONNREFUSED (111) => "Connection refused"
EHOSTDOWN (112) => "Host is down"
EHOSTUNREACH (113) => "No route to host"
EALREADY (114) => "Operation already in progress"
EINPROGRESS (115) => "Operation now in progress"
ESTALE (116) => "Stale NFS file handle"
EUCLEAN (117) => "Structure needs cleaning"
ENOTNAM (118) => "Not a XENIX named type file"
ENAVAIL (119) => "No XENIX semaphores available"
EISNAM (120) => "Is a named type file"
EREMOTEIO (121) => "Remote I/O error"
EDQUOT (122) => "Quota exceeded"
ENOMEDIUM (123) => "No medium found"
EMEDIUMTYPE (124) => "Wrong medium type"
ENSROK (0) => "DNS server returned answer with no data"
ENSRNODATA (160) => "DNS server returned answer with no data"
ENSRFORMERR (161) => "DNS server claims query was misformatted"
ENSRSERVFAIL (162) => "DNS server returned general failure"
ENSRNOTFOUND (163) => "Domain name not found"
ENSRNOTIMP (164) => "DNS server does not implement requested operation"
ENSRREFUSED (165) => "DNS server refused query"
ENSRBADQUERY (166) => "Misformatted DNS query"
ENSRBADNAME (167) => "Misformatted domain name"
ENSRBADFAMILY (168) => "Unsupported address family"
ENSRBADRESP (169) => "Misformatted DNS reply"
ENSRCONNREFUSED (170) => "Could not contact DNS servers"
ENSRTIMEOUT (171) => "Timeout while contacting DNS servers"
ENSROF (172) => "End of file"
ENSRFILE (173) => "Error reading file"
ENSRNOMEM (174) => "Out of memory"
ENSRDESTRUCTION (175) => "Application terminated lookup"
ENSRQUERYDOMAINTOOLONG (176) => "Domain name is too long"
ENSRCNAMELOOP (177) => "Domain name is too long"
closing errno.h
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c: In function ‘vsprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c:10:12: warning: specified bound 4294967295 exceeds maximum object size 2147483647 [-Wformat-truncation=]
   10 |     return vsnprintf(buffer, ~(size_t) 0, format, ap);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c: In function ‘__stdcon_open’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:41:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   41 | #define BIOS_ROWS (*(uint8_t *)0x484)   /* Minus one; if zero use 24 (= 25 lines) */
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:46:18: note: in expansion of macro ‘BIOS_ROWS’
   46 |     fp->o.rows = BIOS_ROWS + 1;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:42:20: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 | #define BIOS_COLS (*(uint16_t *)0x44A)
      |                   ~^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:47:18: note: in expansion of macro ‘BIOS_COLS’
   47 |     fp->o.cols = BIOS_COLS;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c: In function ‘strtod’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:67:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   67 |         negative = 1;           // Fall through to increment position
      |         ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:68:5: note: here
   68 |     case '+':
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:112:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  112 |             negative = 1;       // Fall through to increment pos
      |             ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:113:9: note: here
  113 |         case '+':
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c: In function ‘sprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c:14:10: warning: specified bound 4294967295 exceeds maximum object size 2147483647 [-Wformat-truncation=]
   14 |     rv = vsnprintf(buffer, ~(size_t) 0, format, ap);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c: In function ‘syslinux_debug’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:4:1: note: include ‘’ or provide a declaration of ‘printf’
    3 | #include 
  +++ |+#include 
    4 | 
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: note: include ‘’ or provide a declaration of ‘printf’
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c: In function ‘resolve_symbols’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:290:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  290 |                         if (dyn_entry->d_un.d_val != DT_REL) {
      |                            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:294:17: note: here
  294 |                 case DT_JMPREL:
      |                 ^~~~
ld: warning: libutil.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c: In function ‘generic_identify’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c:344:24: warning: taking address of packed member of ‘struct cpuinfo_x86’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  344 |           (uint32_t *) & c->cpuid_level,
      |                        ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:982:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  982 |         dmi_system_boot_status(data[0x0A], dmi->system.system_boot_status);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:983:5: note: here
  983 |     case 38:                    /* 3.3.39 IPMI Device Information */
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:955:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:958:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:163:57: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 49 [-Wformat-truncation=]
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                                                         ^~
In function ‘dmi_system_configuration_options’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:853:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: note: ‘snprintf’ output 5 or more bytes (assuming 54) into a destination of size 50
  162 |         snprintf(dmi->system.configuration_options,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164 |                  dmi->system.configuration_options, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:58: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=]
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |                                                          ^~
In function ‘dmi_oem_strings’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:848:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: note: ‘snprintf’ output 5 or more bytes (assuming 516) into a destination of size 512
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  148 |                  dmi->oem_strings, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_types’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:213:17: warning: ‘snprintf’ argument 4 overlaps destination object ‘type’ [-Wrestrict]
  213 |                 snprintf(type, sizeof_type, "%s%s%s", type, sep, types[i]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:189:68: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  189 | void dmi_memory_module_types(uint16_t code, const char *sep, char *type, int sizeof_type)
      |                                                              ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_connections’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:225:13: warning: ‘snprintf’ argument 4 overlaps destination object ‘connection’ [-Wrestrict]
  225 |             snprintf(connection, sizeof_connection, "%s%u", connection, code & 0x0F);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  217 | void dmi_memory_module_connections(uint8_t code, char *connection, int sizeof_connection)
      |                                                  ~~~~~~^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_size’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:257:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  257 |         snprintf(size, sizeof_size, "%s %s", size, "(Single-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:255:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  255 |         snprintf(size, sizeof_size, "%s %s", size, "(Double-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c: In function ‘flags_to_string’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:44:9: warning: ‘strncat’ specified bound 5 equals source length [-Wstringop-overflow=]
   44 |         strncat(buffer, " edge", 5);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:46:9: warning: ‘strncat’ specified bound 6 equals source length [-Wstringop-overflow=]
   46 |         strncat(buffer, " level", 6);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:48:9: warning: ‘strncat’ specified bound 8 equals source length [-Wstringop-overflow=]
   48 |         strncat(buffer, " default", 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: libgpl.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c: In function ‘serial_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c:45:48: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   45 |             uint16_t addr = ((uint16_t *)0x400)[port];
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c: In function ‘upload_tftp_write’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c:64:11: warning: implicit declaration of function ‘tftp_put’; did you mean ‘tftp_open’? [-Wimplicit-function-declaration]
   64 |     err = tftp_put(&url, 0, &inode, NULL, be->outbuf, be->zbytes);
      |           ^~~~~~~~
      |           tftp_open
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c: In function ‘record’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:427:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  427 |             else
      |             ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:27:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/dprintf.h:31:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
   31 |     if (syslinux_debug_enabled) \
      |     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:430:17: note: in expansion of macro ‘dprintf’
  430 |                 dprintf("type = %s, cmd = %s", kernel_types[ld->type], me->cmdline);
      |                 ^~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:29:
In function ‘get_serial_port’,
    inlined from ‘parse_config_file’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:1362:10:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:104:24: warning: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’} [-Warray-bounds=]
  104 |     return serial_ports[port];
      |            ~~~~~~~~~~~~^~~~~~
In function ‘parse_config_file’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:39:6: warning: conflicting types for ‘chainboot_file’ due to enum/integer mismatch; have ‘void(const char *, uint32_t)’ {aka ‘void(const char *, unsigned int)’} [-Wenum-int-mismatch]
   39 | void chainboot_file(const char *file, uint32_t type)
      |      ^~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:28:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/menu.h:232:6: note: previous declaration of ‘chainboot_file’ with type ‘void(const char *, enum kernel_type)’
  232 | void chainboot_file(const char *file, enum kernel_type type);
      |      ^~~~~~~~~~~~~~
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: ldlinux.elf has a LOAD segment with RWX permissions
ld: warning: cat.elf has a LOAD segment with RWX permissions
ld: warning: cmd.elf has a LOAD segment with RWX permissions
ld: warning: config.elf has a LOAD segment with RWX permissions
ld: warning: cptime.elf has a LOAD segment with RWX permissions
ld: warning: cpuid.elf has a LOAD segment with RWX permissions
ld: warning: cpuidtest.elf has a LOAD segment with RWX permissions
ld: warning: debug.elf has a LOAD segment with RWX permissions
ld: warning: dir.elf has a LOAD segment with RWX permissions
ld: warning: dmitest.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c: In function ‘do_page’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:196:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  196 |             fprintf(stderr, "No response.  Continuing...\n");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:199:13: note: here
  199 |             case 'y':
      |             ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:201:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  201 |             eat_stdin();
      |             ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:202:13: note: here
  202 |             case '\n':
      |             ^~~~
ld: warning: hexdump.elf has a LOAD segment with RWX permissions
ld: warning: host.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu64.elf has a LOAD segment with RWX permissions
ld: warning: linux.elf has a LOAD segment with RWX permissions
ld: warning: ls.elf has a LOAD segment with RWX permissions
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:99:14: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   99 |     uint16_t dosram = *(uint16_t *) 0x413;
      |              ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:34: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |                         ~~~~~~~~~^~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:19: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |          ~~~~~~~~~^~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: meminfo.elf has a LOAD segment with RWX permissions
ld: warning: pwd.elf has a LOAD segment with RWX permissions
ld: warning: reboot.elf has a LOAD segment with RWX permissions
ld: warning: vpdtest.elf has a LOAD segment with RWX permissions
ld: warning: whichsys.elf has a LOAD segment with RWX permissions
ld: warning: zzjson.elf has a LOAD segment with RWX permissions
ld: warning: disk.elf has a LOAD segment with RWX permissions
ld: warning: elf.elf has a LOAD segment with RWX permissions
ld: warning: ethersel.elf has a LOAD segment with RWX permissions
ld: warning: gpxecmd.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/ifmemdsk.c: In function ‘scan_mbfts’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/ifmemdsk.c:271:24: warning: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’} [-Warray-bounds=]
  271 |     for (addr = MK_PTR(*free_base_mem << 4, 0); addr < top; addr += 1 << 4) {
      |                        ^~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/ifmemdsk.c: In function ‘walk_safe_hooks’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/ifmemdsk.c:219:48: warning: array subscript 0 is outside array bounds of ‘const u_segoff[0]’ {aka ‘const real_addr_t[]’} [-Warray-bounds=]
  219 |     addr = MK_PTR(int13->seg_off.segment, int13->seg_off.offset);
      |                                                ^~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/ifmemdsk.c:219:24: warning: array subscript 0 is outside array bounds of ‘const u_segoff[0]’ {aka ‘const real_addr_t[]’} [-Warray-bounds=]
  219 |     addr = MK_PTR(int13->seg_off.segment, int13->seg_off.offset);
      |                        ^~
cc1: note: source object is likely at address zero
ld: warning: ifmemdsk.elf has a LOAD segment with RWX permissions
ld: warning: ifplop.elf has a LOAD segment with RWX permissions
ld: warning: kbdmap.elf has a LOAD segment with RWX permissions
ld: warning: kontron_wdt.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pcitest.c: In function ‘display_pci_devices’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pcitest.c:75:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   75 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: pcitest.elf has a LOAD segment with RWX permissions
ld: warning: pmload.elf has a LOAD segment with RWX permissions
ld: warning: poweroff.elf has a LOAD segment with RWX permissions
ld: warning: prdhcp.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pxechn.c: In function ‘pxechn_uuid_set’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pxechn.c:738:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  738 |     if (pxe->opts[0][97].len >= 0 )
      |     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pxechn.c:740:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  740 |         return 1;
      |         ^~~~~~
In function ‘do_boot’,
    inlined from ‘pxechn’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pxechn.c:1032:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/pxechn.c:147:21: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
  147 |     addr_t dosmem = *bios_fbm << 10;    /* Technically a low bound */
      |                     ^~~~~~~~~
In function ‘pxechn’:
cc1: note: source object is likely at address zero
ld: warning: pxechn.elf has a LOAD segment with RWX permissions
ld: warning: sanboot.elf has a LOAD segment with RWX permissions
ld: warning: sdi.elf has a LOAD segment with RWX permissions
ld: warning: vesainfo.elf has a LOAD segment with RWX permissions
In function ‘mboot_scan_memory’,
    inlined from ‘mboot_make_memmap’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:179:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:62:18: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   62 |         uint16_t ebda_seg = *(uint16_t *) 0x40e;
      |                  ^~~~~~~~
In function ‘mboot_make_memmap’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:218:24: warning: ‘ard’ may be used uninitialized [-Wmaybe-uninitialized]
  218 |     mbinfo.mmap_addr = map_data(ard, nmap * sizeof *ard, 4, false);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:172:27: note: ‘ard’ was declared here
  172 |     struct AddrRangeDesc *ard;
      |                           ^~~
ld: warning: mboot.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c: In function ‘run_menu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:746:9: warning: variable ‘done’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  746 |     int done = 0;
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:748:9: warning: variable ‘prev_entry’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  748 |     int prev_entry = -1;
      |         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:750:9: warning: variable ‘prev_top’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  750 |     int prev_top = -1;
      |         ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:751:9: warning: variable ‘clear’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  751 |     int clear = 1, to_clear;
      |         ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:752:17: warning: variable ‘cmdline’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  752 |     const char *cmdline = NULL;
      |                 ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c: In function ‘drain_keyboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:20:5: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
   20 |     *(volatile uint8_t *)0x419 = 0;     /* Alt-XXX keyboard area */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:21:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   21 |     *(volatile uint16_t *)0x41a = 0x1e; /* Keyboard buffer empty */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:22:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   22 |     *(volatile uint16_t *)0x41c = 0x1e;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:23:5: warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds=]
   23 |     memset((void *)0x41e, 0, 32);       /* Clear the actual keyboard buffer */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: menu.elf has a LOAD segment with RWX permissions
ld: warning: vesamenu.elf has a LOAD segment with RWX permissions
ld: warning: hello.elf has a LOAD segment with RWX permissions
ld: warning: resolv.elf has a LOAD segment with RWX permissions
ld: warning: serialinfo.elf has a LOAD segment with RWX permissions
ld: warning: localboot.elf has a LOAD segment with RWX permissions
ld: warning: fancyhello.elf has a LOAD segment with RWX permissions
ld: warning: keytest.elf has a LOAD segment with RWX permissions
ld: warning: advdump.elf has a LOAD segment with RWX permissions
ld: warning: entrydump.elf has a LOAD segment with RWX permissions
ld: warning: rosh.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c: In function ‘getmenuoption’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:485:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  485 |         if (ms->keys_handler)   // Call extra keys handler
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:489:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  489 |             reset_ui();
      |             ^~~~~~~~
ld: warning: libmenu/libmenu.elf has a LOAD segment with RWX permissions
ld: warning: complex.elf has a LOAD segment with RWX permissions
ld: warning: display.elf has a LOAD segment with RWX permissions
ld: warning: simple.elf has a LOAD segment with RWX permissions
ld: warning: test.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/cmenu.h:22,
                 from test2.c:17:
In function ‘readbiosb’,
    inlined from ‘getshiftflags’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:54:12,
    inlined from ‘main’ at test2.c:493:7:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:49:12: warning: array subscript 0 is outside array bounds of ‘void[0]’ [-Warray-bounds=]
   49 |     return *((unsigned char *)MK_PTR(0, ofs));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: test2.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:76:51: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   76 |             strncat(buffer, kernel_modules, sizeof(kernel_modules));
      |                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:123:27: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  123 |                     sizeof(kernel_modules));
      |                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:64:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   64 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:75:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   75 |                 strncat(buffer, "(", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:78:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   78 |                 strncat(buffer, ")", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:79:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   79 |             strncat(buffer, " # ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:84:9: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   84 |         strncat(buffer, "\n", 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:117:13: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
  117 |             strncat(kernel_modules, " ", 1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:102:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  102 |             strncat(kernel_modules, " | ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_devices’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:182:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  182 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:193:29: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 68 and 77 [-Wformat-truncation=]
  193 |                      "%02d: %s %s \n", i,
      |                             ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:192:13: note: ‘snprintf’ output between 8 and 527 bytes into a destination of size 81
  192 |             snprintf(first_line, sizeof(first_line),
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193 |                      "%02d: %s %s \n", i,
      |                      ~~~~~~~~~~~~~~~~~~~~
  194 |                      pci_device->dev_info->vendor_name,
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |                      pci_device->dev_info->product_name);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:198:33: warning: ‘%-25s’ directive output may be truncated writing between 25 and 255 bytes into a region of size 75 [-Wformat-truncation=]
  198 |                          "    # %-25s # Kmod: %s\n",
      |                                 ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:197:17: note: ‘snprintf’ output between 42 and 911 bytes into a destination of size 81
  197 |                 snprintf(second_line, sizeof(second_line),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  198 |                          "    # %-25s # Kmod: %s\n",
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  199 |                          pci_device->dev_info->class_name, kernel_modules);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c: In function ‘main_show_pxe’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:45: warning: ‘snprintf’ output truncated before the last format character [-Wformat-truncation=]
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |                                             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:9: note: ‘snprintf’ output 17 bytes into a destination of size 16
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262 |                         (uint32_t)(hardware->dmi.ipmi.base_address >> 32),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  263 |                         (uint32_t)((hardware->dmi.ipmi.base_address & 0xFFFF) & ~1));
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:46: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |                                              ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_dmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:52: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:48: note: directive argument in the range [0, 65535]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:17: note: ‘snprintf’ output between 4 and 12 bytes into a destination of size 8
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c: In function ‘dump_pci’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c:82:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   82 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_system’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |              dmi->system.serial);
      |              ~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:50: warning: ‘%s’ directive output may be truncated writing up to 39 bytes into a region of size 35 [-Wformat-truncation=]
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:5: note: ‘snprintf’ output between 13 and 52 bytes into a destination of size 47
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_chassis’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |              dmi->chassis.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  118 |              dmi->chassis.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_motherboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189 |              dmi->base_board.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |              dmi->base_board.product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210 |              dmi->base_board.serial);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |              dmi->base_board.asset_tag);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  245 |              dmi->ipmi.interface_type);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_battery’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  302 |              dmi->battery.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:64: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 61 [-Wformat-truncation=]
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 79
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  311 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316 |              dmi->battery.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327 |              dmi->battery.chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:52: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 73 [-Wformat-truncation=]
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:5: note: ‘snprintf’ output between 7 and 261 bytes into a destination of size 79
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  353 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 56 [-Wformat-truncation=]
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:5: note: ‘snprintf’ output between 24 and 278 bytes into a destination of size 79
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  360 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:63: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=]
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |                                                               ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:5: note: ‘snprintf’ output between 18 and 82 bytes into a destination of size 79
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  362 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367 |              dmi->battery.maximum_error);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  374 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 69 [-Wformat-truncation=]
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:5: note: ‘snprintf’ output between 11 and 265 bytes into a destination of size 79
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  376 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c: In function ‘compute_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:63:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   63 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:74:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
   74 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:73:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
   73 |                 snprintf(infobar, sizeof infobar,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
   75 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
   76 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
   77 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   78 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:162:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  162 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:107:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  107 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   47 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 78
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   49 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   54 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |                                                            ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 78
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   61 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |                                                          ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:5: note: ‘snprintf’ output between 13 and 268 bytes into a destination of size 78
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   63 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:52: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 46 [-Wformat-truncation=]
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |                                                    ^~   ~~~~~~~~~~~~~~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:9: note: ‘snprintf’ output between 11 and 650 bytes into a destination of size 56
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:66: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 62 [-Wformat-truncation=]
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |                                                                  ^~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~                                   
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:9: note: ‘snprintf’ output between 17 and 656 bytes into a destination of size 78
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 59 [-Wformat-truncation=]
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:9: note: ‘snprintf’ output between 2 and 512 bytes into a destination of size 59
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174 |                  pci_device->dev_info->vendor_name,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  175 |                  pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 68 [-Wformat-truncation=]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:176:9: note: ‘snprintf’ output between 45 and 939 bytes into a destination of size 78
  176 |         snprintf(infobar[i], STATLEN,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178 |                  __pci_bus, __pci_slot, __pci_func,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179 |                  pci_device->dev_info->class_name, pci_device->vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                  pci_device->product, pci_device->sub_vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                  pci_device->sub_product, kernel_modules);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c: In function ‘compute_processor’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c: In function ‘compute_PXE’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   90 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   92 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c: In function ‘compute_summarymenu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:173:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  173 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:38: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 47 [-Wformat-truncation=]
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |                                      ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:5: note: ‘snprintf’ output between 1 and 255 bytes into a destination of size 47
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:57: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=]
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |                                                         ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:5: note: ‘snprintf’ output between 12 and 266 bytes into a destination of size 79
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   79 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:67: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |                                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:9: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   81 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   86 |                  hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:88:40: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 58 [-Wformat-truncation=]
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:87:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 79
   87 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   93 |                  hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:95:41: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 57 [-Wformat-truncation=]
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:94:9: note: ‘snprintf’ output between 23 and 87 bytes into a destination of size 79
   94 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102 |                  hardware->dmi.bios.version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:69: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 60 [-Wformat-truncation=]
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:9: note: ‘snprintf’ output between 20 and 84 bytes into a destination of size 79
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:184:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
  184 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:183:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
  183 |                 snprintf(statbuffer, sizeof statbuffer,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
  185 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
  186 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
  187 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  188 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 79
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   51 |              hardware->vesa.vendor);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |                                                            ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 79
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   57 |              hardware->vesa.product);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   62 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:63: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 62 [-Wformat-truncation=]
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |                                                               ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:5: note: ‘snprintf’ output between 18 and 273 bytes into a destination of size 79
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c: In function ‘compute_vpd’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 20 [-Wformat-truncation=]
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:9: note: ‘snprintf’ output between 28 and 282 bytes into a destination of size 47
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:64: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 65 [-Wformat-truncation=]
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:9: note: ‘snprintf’ output between 15 and 269 bytes into a destination of size 79
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: hdt.elf has a LOAD segment with RWX permissions
ld: warning: realmode_callback.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: gfxboot.elf has a LOAD segment with RWX permissions
In function ‘find_rsdp’,
    inlined from ‘dump_acpi’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:238:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:142:13: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
  142 |     ebda = (*(uint16_t *)0x40e) << 4;
      |            ~^~~~~~~~~~~~~~~~~~~
In function ‘dump_acpi’:
cc1: note: source object is likely at address zero
In function ‘dump_e820’,
    inlined from ‘dump_memory_map’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:85:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:50:9: warning: ‘memcpy’ offset [0, 23] is out of the bounds [0, 0] [-Warray-bounds=]
   50 |         memcpy(buf[nentry].data, curr->data, sizeof curr->data);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: sysdump.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c: In function ‘collectargs’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:380:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  380 |         args[has_i] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:381:7: note: here
  381 |       case 'v':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:386:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  386 |         args[has_e] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:387:7: note: here
  387 |       case 'l':  /* both options need an argument */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c: In function ‘freeobj’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:679:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  679 |       G(L)->strt.nuse--;
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:681:5: note: here
  681 |     case LUA_TLNGSTR: {
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c: In function ‘llex’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:481:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  481 |         else if (!lisdigit(ls->current)) return '.';
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:484:7: note: here
  484 |       case '0': case '1': case '2': case '3': case '4':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c: In function ‘luaH_get’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:486:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  486 |     case LUA_TNUMBER: {
      |                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:494:5: note: here
  494 |     default: {
      |     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c: In function ‘match’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:492:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  492 |               s++;  /* 1 match already done */
      |               ~^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:494:13: note: here
  494 |             case '*':  /* 0 or more repetitions */
      |             ^~~~
ld: warning: liblua.elf has a LOAD segment with RWX permissions
ld: warning: lua.elf has a LOAD segment with RWX permissions
ld: warning: cpu.elf has a LOAD segment with RWX permissions
ld: warning: dhcp.elf has a LOAD segment with RWX permissions
ld: warning: dmi.elf has a LOAD segment with RWX permissions
ld: warning: lfs.elf has a LOAD segment with RWX permissions
ld: warning: pci.elf has a LOAD segment with RWX permissions
ld: warning: syslinux.elf has a LOAD segment with RWX permissions
ld: warning: vesa.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c: In function ‘l_add_sep’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c:42:34: warning: unused parameter ‘L’ [-Wunused-parameter]
   42 | static int l_add_sep (lua_State *L)
      |                       ~~~~~~~~~~~^
ld: warning: cmenu.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:38:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:521:37: note: in expansion of macro ‘dosmax’
  521 |         if (fdat.base + fdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:532:37: note: in expansion of macro ‘dosmax’
  532 |         if (sdat.base + sdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
In function ‘do_boot’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:630:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:167:20: note: in expansion of macro ‘dosmax’
  167 |     if (endimage > dosmax)
      |                    ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘opt_parse_args’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:364:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
  364 |                 case '2': opt.piflags |= PIF_STRICTER;
      |                           ~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:365:17: note: here
  365 |                 case '1': opt.piflags |= PIF_STRICT; break;
      |                 ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:37:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘soi_s2n.constprop’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:65:32: note: in expansion of macro ‘dosmax’
   65 |     if (val < dosmin || val >= dosmax) {
      |                                ^~~~~~
cc1: note: source object is likely at address zero
ld: warning: chain.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:8: warning: "dprintf" redefined
    8 | #define dprintf
      | 
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/core.h:10,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:4:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/dprintf.h:30: note: this is the location of the previous definition
   30 | #define dprintf(...) \
      | 
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c: In function ‘__schedule’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:36:12: warning: statement with no effect [-Wunused-value]
   36 |     dprintf("Schedule ");
      |            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:56:72: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   56 |             dprintf("Invalid thread on thread list %p magic = 0x%08x\n",
      |                                                                        ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:57:23: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   57 |                     nt, nt->thread_magic);
      |                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:57:23: warning: statement with no effect [-Wunused-value]
   56 |             dprintf("Invalid thread on thread list %p magic = 0x%08x\n",
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   57 |                     nt, nt->thread_magic);
      |                     ~~^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:61:34: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   61 |         dprintf("Thread %p (%s) ", nt, nt->name);
      |                                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:61:38: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   61 |         dprintf("Thread %p (%s) ", nt, nt->name);
      |                                      ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:61:38: warning: statement with no effect [-Wunused-value]
   61 |         dprintf("Thread %p (%s) ", nt, nt->name);
      |                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:63:45: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   63 |             dprintf("runnable priority %d\n", nt->prio);
      |                                             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:63:45: warning: statement with no effect [-Wunused-value]
   63 |             dprintf("runnable priority %d\n", nt->prio);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:67:20: warning: statement with no effect [-Wunused-value]
   67 |             dprintf("blocked\n");
      |                    ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:80:38: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   80 |         dprintf("@ %llu -> %p (%s)\n", tsc, best, best->name);
      |                                      ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:80:43: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   80 |         dprintf("@ %llu -> %p (%s)\n", tsc, best, best->name);
      |                                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:80:49: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   80 |         dprintf("@ %llu -> %p (%s)\n", tsc, best, best->name);
      |                                                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:80:49: warning: statement with no effect [-Wunused-value]
   80 |         dprintf("@ %llu -> %p (%s)\n", tsc, best, best->name);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/thread/schedule.c:83:16: warning: statement with no effect [-Wunused-value]
   83 |         dprintf("no change\n");
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_get_mode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:22:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   22 | #define BIOS_ROWS (*(uint8_t *)0x484)   /* Minus one; if zero use 24 (= 25 lines) */
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:33:13: note: in expansion of macro ‘BIOS_ROWS’
   33 |     *rows = BIOS_ROWS ? BIOS_ROWS + 1 : 25;
      |             ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:23:20: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   23 | #define BIOS_COLS (*(uint16_t *)0x44A)
      |                   ~^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:34:13: note: in expansion of macro ‘BIOS_COLS’
   34 |     *cols = BIOS_COLS;
      |             ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_get_cursor’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:24:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   24 | #define BIOS_PAGE (*(uint8_t *)0x462)
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:46:21: note: in expansion of macro ‘BIOS_PAGE’
   46 |     ireg.ebx.b[1] = BIOS_PAGE;
      |                     ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_beep’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:24:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   24 | #define BIOS_PAGE (*(uint8_t *)0x462)
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:133:21: note: in expansion of macro ‘BIOS_PAGE’
  133 |     ireg.ebx.b[1] = BIOS_PAGE;
      |                     ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_set_cursor’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:24:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   24 | #define BIOS_PAGE (*(uint8_t *)0x462)
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:81:22: note: in expansion of macro ‘BIOS_PAGE’
   81 |     const int page = BIOS_PAGE;
      |                      ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:82:33: warning: array subscript 0 is outside array bounds of ‘struct curxy[0]’ [-Warray-bounds=]
   82 |     struct curxy xy = BIOS_CURXY[page];
      |                                 ^
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:82:33: warning: array subscript 0 is outside array bounds of ‘struct curxy[0]’ [-Warray-bounds=]
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_write_char’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:24:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   24 | #define BIOS_PAGE (*(uint8_t *)0x462)
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:106:21: note: in expansion of macro ‘BIOS_PAGE’
  106 |     ireg.ebx.b[1] = BIOS_PAGE;
      |                     ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_scan_memory’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:537:29: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
  537 |         uint16_t ebda_seg = *(uint16_t *) 0x40e;
      |                             ^~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
In function ‘bios_timer_init’,
    inlined from ‘bios_init’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:647:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:508:14: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  508 |         next = *hook;
      |         ~~~~~^~~~~~~
In function ‘bios_init’:
cc1: note: source object is likely at address zero
In function ‘bios_timer_init’,
    inlined from ‘bios_init’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:647:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:510:15: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  510 |         *hook = (uint32_t)&timer_irq;
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In function ‘bios_init’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c: In function ‘bios_cleanup_hardware’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/bios.c:678:17: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  678 |                 *((uint32_t *)(4 * 0x1e)) = OrigFDCTabPtr;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c: In function ‘bios_adjust_screen’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c:160:16: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
  160 |         rows = *vidrows;
      |                ^~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘ufs1_iget_by_inr’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:224:27: warning: taking address of packed member of ‘struct ufs1_inode’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  224 |     source = (uint32_t *) ufs_inode->direct_blk_ptr;
      |                           ^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘get_inode_mode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:359:37: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  359 |         case UFS_DTYPE_FIFO: return DT_FIFO;
      |                                     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:360:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  360 |         case UFS_DTYPE_CHARDEV: return DT_CHR;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:361:36: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  361 |         case UFS_DTYPE_DIR: return DT_DIR;
      |                                    ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:362:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  362 |         case UFS_DTYPE_BLOCK: return DT_BLK;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:363:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  363 |         case UFS_DTYPE_RFILE: return DT_REG;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:364:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  364 |         case UFS_DTYPE_SYMLINK: return DT_LNK;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:365:39: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  365 |         case UFS_DTYPE_SOCKET: return DT_SOCK;
      |                                       ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:366:41: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  366 |         case UFS_DTYPE_WHITEOUT: return DT_WHT;
      |                                         ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:367:25: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  367 |         default: return DT_UNKNOWN;
      |                         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_filename_cmp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:303:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  303 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_cvt_filename’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:902:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  902 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c: In function ‘__ext2_get_group_desc’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c:47:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |     p = get_cache(fs->fs_dev, desc_block);
      |       ^
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:106:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  106 |                 *dst++ = (uint32_t)serstub_irq0;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:107:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  107 |                 *dst++ = (uint32_t)serstub_irq1;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:108:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  108 |                 *dst++ = (uint32_t)serstub_irq2;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:109:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  109 |                 *dst++ = (uint32_t)serstub_irq3;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:110:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  110 |                 *dst++ = (uint32_t)serstub_irq4;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:111:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  111 |                 *dst++ = (uint32_t)serstub_irq5;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:112:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  112 |                 *dst++ = (uint32_t)serstub_irq6;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:113:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  113 |                 *dst++ = (uint32_t)serstub_irq7;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:115:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  115 |                 *dst++ = (uint32_t)serstub_irq8;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:116:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  116 |                 *dst++ = (uint32_t)serstub_irq9;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:117:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  117 |                 *dst++ = (uint32_t)serstub_irq10;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:118:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  118 |                 *dst++ = (uint32_t)serstub_irq11;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:119:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  119 |                 *dst++ = (uint32_t)serstub_irq12;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:120:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  120 |                 *dst++ = (uint32_t)serstub_irq13;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:121:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  121 |                 *dst++ = (uint32_t)serstub_irq14;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:122:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  122 |                 *dst++ = (uint32_t)serstub_irq15;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘writechr’,
    inlined from ‘writechr’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:14:15:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:28:33: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   28 |                 ireg.ebx.b[1] = *(uint8_t *)BIOS_page;
In function ‘writechr’:
cc1: note: source object is likely at address zero
In function ‘writechr’,
    inlined from ‘writechr’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:14:15:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:58:41: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   58 |                         ireg.ebx.b[1] = *(uint8_t *)BIOS_page;
In function ‘writechr’:
cc1: note: source object is likely at address zero
In function ‘writechr’,
    inlined from ‘writechr’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:14:15:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:75:41: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   75 |                         ireg.ebx.b[1] = *(uint8_t *)BIOS_page;
In function ‘writechr’:
cc1: note: source object is likely at address zero
In function ‘writechr’,
    inlined from ‘writechr’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:14:15:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rawcon.c:85:41: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   85 |                         ireg.ebx.b[1] = *(uint8_t *)BIOS_page;
In function ‘writechr’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/plaincon.c: In function ‘writechr’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/plaincon.c:30:25: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   30 |         ireg.ebx.b[1] = *(uint8_t *)BIOS_page; /* current page */
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c: In function ‘parse_dhcp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c:234:9: warning: variable ‘min_opt’ set but not used [-Wunused-but-set-variable]
  234 |     int min_opt = 0;
      |         ^~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:7:
In function ‘bios_fbm’,
    inlined from ‘pxelinux_scan_memory’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:109:13,
    inlined from ‘pxelinux_scan_memory’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:95:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘pxelinux_scan_memory’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘pxelinux_scan_memory’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:110:29,
    inlined from ‘pxelinux_scan_memory’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:95:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘pxelinux_scan_memory’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘memory_scan_for_pxe_struct’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:85:22,
    inlined from ‘pxe_init’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:177:16:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘pxe_init’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘memory_scan_for_pxe_struct’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:85:22,
    inlined from ‘pxe_init’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:211:17:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘pxe_init’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘unload_pxe’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:363:26:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘unload_pxe’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘unload_pxe’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:372:49:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘unload_pxe’:
cc1: note: source object is likely at address zero
In function ‘set_bios_fbm’,
    inlined from ‘unload_pxe’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:373:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:47:40: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   47 |         *(volatile uint16_t *)BIOS_fbm = mem;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In function ‘unload_pxe’:
cc1: note: source object is likely at address zero
In function ‘bios_fbm’,
    inlined from ‘unload_pxe’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:385:35:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:42:16: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   42 |         return *(volatile uint16_t *)BIOS_fbm;
      |                ^
In function ‘unload_pxe’:
cc1: note: source object is likely at address zero
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/core.h:10,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:3:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/dprintf.h:36:25: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   36 | #define ddprintf        printf
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/bios.c:384:5: note: in expansion of macro ‘ddprintf’
  384 |     ddprintf("Failed to free base memory error %04x-%08x (%d/%dK)\n",
      |     ^~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/isr.c: In function ‘pxe_start_isr’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/isr.c:269:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  269 |         if ((hwad == 0x000023ae) && (pxe_undi_iface.ServiceFlags == 0xdc1b) ||
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/isr.c:271:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  271 |             (hwad == 0x00180373) && (pxe_undi_iface.ServiceFlags == 0xdc1b)) {
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: ldlinux.o: warning: relocation in read-only section `.text'
ld: warning: ldlinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
1+0 records in
1+0 records out
512 bytes copied, 0.000356051 s, 1.4 MB/s
116+1 records in
116+1 records out
59634 bytes (60 kB, 58 KiB) copied, 0.00864076 s, 6.9 MB/s
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: isolinux.o: warning: relocation in read-only section `.text'
ld: warning: isolinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: isolinux-debug.o: warning: relocation in read-only section `.text'
ld: warning: isolinux-debug.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: pxelinux.o: warning: relocation in read-only section `.text'
ld: warning: pxelinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: lpxelinux.o: warning: relocation in read-only section `.text'
ld: warning: lpxelinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:19:
In function ‘rdz_16’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:849:16:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:50:12: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   50 |     return *((uint16_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:943:28:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_16’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1018:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:35:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   35 |     *((uint16_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1041:33:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1042:33:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1090:22:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1088:20:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1058:20:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1058:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:30:25: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   30 |     *((uint8_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1059:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:30:25: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   30 |     *((uint8_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1158:18:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1168:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:30:25: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   30 |     *((uint8_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_8’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1155:6:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:30:25: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   30 |     *((uint8_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1188:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1188:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1188:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1191:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:40:26: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   40 |     *((uint32_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1192:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:40:26: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   40 |     *((uint32_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘wrz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1194:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:40:26: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   40 |     *((uint32_t *) addr) = data;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1196:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1196:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
In function ‘rdz_32’,
    inlined from ‘setup’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/setup.c:1196:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:55:12: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
   55 |     return *((uint32_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~~
In function ‘setup’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/conio.c: In function ‘vsprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/conio.c:312:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  312 |             flags |= LARGE;
      |                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/conio.c:313:9: note: here
  313 |         case 'x':
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/conio.c: In function ‘number’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/conio.c:162:28: warning: array subscript 33 is outside array bounds of ‘const char[17]’ [-Warray-bounds=]
  162 |             *str++ = digits[33];
      |                      ~~~~~~^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/dskprobe.c:24:
In function ‘rdz_8’,
    inlined from ‘probe_bda_drive’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/dskprobe.c:160:18:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘probe_bda_drive’:
cc1: note: source object is likely at address zero
In function ‘rdz_8’,
    inlined from ‘probe_bda_drive’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/dskprobe.c:158:16:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/memdisk/bda.h:45:12: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   45 |     return *((uint8_t *) addr);
      |            ^~~~~~~~~~~~~~~~~~~
In function ‘probe_bda_drive’:
cc1: note: source object is likely at address zero
ld: warning: memdisk_iso_2048.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: memdisk32.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c: In function ‘check_fat_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:61:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:67:22: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   67 |     sectors = get_16(§buf->bsSectors);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:68:42: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   68 |     sectors = sectors ? sectors : get_32(§buf->bsHugeSectors);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:70:33: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   70 |     dsectors = sectors - get_16(§buf->bsResSectors);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:72:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   72 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:73:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   73 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:77:26: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |     rootdirents = get_16(§buf->bsRootDirEnts);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:85:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   85 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:86:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   86 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:94:21: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   94 |         if (!get_16(§buf->bsFATsecs))
      |                     ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c: In function ‘syslinux_check_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/fs.c:160:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  160 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c: In function ‘generate_extents’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:61:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |             set_64_sl(&ex->lba, lba);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:62:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   62 |             set_16_sl(&ex->len, len);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:76:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   76 |         set_64_sl(&ex->lba, lba);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/../libinstaller/syslxmod.c:77:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |         set_16_sl(&ex->len, len);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/printf.c: In function ‘vsprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/printf.c:249:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  249 |             flags |= LARGE;
      |                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/dos/printf.c:250:9: note: here
  250 |         case 'x':
      |         ^~~~
ld: warning: memmove.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: syslinux.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c: In function ‘check_fat_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:61:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:67:22: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   67 |     sectors = get_16(§buf->bsSectors);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:68:42: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   68 |     sectors = sectors ? sectors : get_32(§buf->bsHugeSectors);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:70:33: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   70 |     dsectors = sectors - get_16(§buf->bsResSectors);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:72:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   72 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:73:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   73 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:77:26: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |     rootdirents = get_16(§buf->bsRootDirEnts);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:85:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   85 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:86:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   86 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:94:21: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   94 |         if (!get_16(§buf->bsFATsecs))
      |                     ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c: In function ‘syslinux_check_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/fs.c:160:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  160 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c: In function ‘generate_extents’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:61:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |             set_64_sl(&ex->lba, lba);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:62:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   62 |             set_16_sl(&ex->len, len);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:76:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   76 |         set_64_sl(&ex->lba, lba);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/mtools/../libinstaller/syslxmod.c:77:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |         set_16_sl(&ex->len, len);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/syslinux.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/syslinux.c:408:13: warning: ‘mnt_cookie’ may be used uninitialized [-Wmaybe-uninitialized]
  408 |             do_umount(mntpath, mnt_cookie);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/syslinux.c:273:9: note: ‘mnt_cookie’ declared here
  273 |     int mnt_cookie;
      |         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/syslinux.c:493:5: warning: ‘mnt_cookie’ may be used uninitialized [-Wmaybe-uninitialized]
  493 |     do_umount(mntpath, mnt_cookie);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/syslinux.c:273:9: note: ‘mnt_cookie’ declared here
  273 |     int mnt_cookie;
      |         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c: In function ‘check_fat_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:61:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:67:22: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   67 |     sectors = get_16(§buf->bsSectors);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:68:42: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   68 |     sectors = sectors ? sectors : get_32(§buf->bsHugeSectors);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:70:33: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   70 |     dsectors = sectors - get_16(§buf->bsResSectors);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:72:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   72 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:73:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   73 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:77:26: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |     rootdirents = get_16(§buf->bsRootDirEnts);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:85:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   85 |     fatsectors = get_16(§buf->bsFATsecs);
      |                         ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:86:51: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   86 |     fatsectors = fatsectors ? fatsectors : get_32(§buf->bs32.FATSz32);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:94:21: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   94 |         if (!get_16(§buf->bsFATsecs))
      |                     ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c: In function ‘syslinux_check_bootsect’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/fs.c:160:25: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  160 |     sectorsize = get_16(§buf->bsBytesPerSec);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c: In function ‘generate_extents’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:61:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |             set_64_sl(&ex->lba, lba);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:62:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   62 |             set_16_sl(&ex->len, len);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:76:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   76 |         set_64_sl(&ex->lba, lba);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/linux/../libinstaller/syslxmod.c:77:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |         set_16_sl(&ex->len, len);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c: In function ‘patch_file_and_bootblock’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:301:16: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  301 |         set_16(&sbs->bsSectors, 0);
      |                ^~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:303:16: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  303 |         set_16(&sbs->bsSectors, totalsectors);
      |                ^~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:305:12: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  305 |     set_32(&sbs->bsHugeSectors, totalsectors);
      |            ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:307:12: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  307 |     set_16(&sbs->bsBytesPerSec, SECTOR_SIZE);
      |            ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:308:12: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  308 |     set_16(&sbs->bsSecPerTrack, geo.sectors);
      |            ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:309:12: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  309 |     set_16(&sbs->bsHeads, geo.heads);
      |            ^~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:310:12: warning: taking address of packed member of ‘struct fat_boot_sector’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  310 |     set_32(&sbs->bsHiddenSecs, geo.start);
      |            ^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c: In function ‘find_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:1117:49: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1116 |             if ((!strcmp(mnt->mnt_type, "ext2") ||
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1117 |                  !strcmp(mnt->mnt_type, "ext3") ||
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
 1118 |                  !strcmp(mnt->mnt_type, "ext4")) &&
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:1124:9: note: here
 1124 |         case VFAT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:1125:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1125 |             if ((!strcmp(mnt->mnt_type, "vfat")) &&
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/main.c:1131:9: note: here
 1131 |         case NTFS:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c: In function ‘generate_extents’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:61:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   61 |             set_64_sl(&ex->lba, lba);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:62:23: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   62 |             set_16_sl(&ex->len, len);
      |                       ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:76:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   76 |         set_64_sl(&ex->lba, lba);
      |                   ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/extlinux/../libinstaller/syslxmod.c:77:19: warning: taking address of packed member of ‘struct syslinux_extent’ may result in an unaligned pointer value [-Waddress-of-packed-member]
   77 |         set_16_sl(&ex->len, len);
      |                   ^~~~~~~~
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c: In function ‘inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:704:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  704 |             state->mode = EXLEN;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:705:9: note: here
  705 |         case EXLEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:716:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  716 |             state->mode = EXTRA;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:717:9: note: here
  717 |         case EXTRA:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:738:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  738 |             state->mode = NAME;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:739:9: note: here
  739 |         case NAME:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:759:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  759 |             state->mode = COMMENT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:760:9: note: here
  760 |         case COMMENT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:779:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  779 |             state->mode = HCRC;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:780:9: note: here
  780 |         case HCRC:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:802:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  802 |             state->mode = DICT;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:803:9: note: here
  803 |         case DICT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:809:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  809 |             state->mode = TYPE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:810:9: note: here
  810 |         case TYPE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:811:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  811 |             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:812:9: note: here
  812 |         case TYPEDO:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:861:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  861 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:862:9: note: here
  862 |         case COPY_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:863:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  863 |             state->mode = COPY;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:864:9: note: here
  864 |         case COPY:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1003:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1003 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1004:9: note: here
 1004 |         case LEN_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1005:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1005 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1006:9: note: here
 1006 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1054:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1054 |             state->mode = LENEXT;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1055:9: note: here
 1055 |         case LENEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1064:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1064 |             state->mode = DIST;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1065:9: note: here
 1065 |         case DIST:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1091:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1091 |             state->mode = DISTEXT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1092:9: note: here
 1092 |         case DISTEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1107:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1107 |             state->mode = MATCH;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1108:9: note: here
 1108 |         case MATCH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1182:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1182 |             state->mode = LENGTH;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1183:9: note: here
 1183 |         case LENGTH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1195:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1195 |             state->mode = DONE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1196:9: note: here
 1196 |         case DONE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c: In function ‘inflateBack’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:471:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  471 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:473:9: note: here
  473 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c: In function ‘png_inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:302:10: warning: dangling pointer ‘msg’ to ‘umsg’ may be used [-Wdangling-pointer=]
  302 |          png_warning(png_ptr, msg);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:280:18: note: ‘umsg’ declared here
  280 |             char umsg[52];
      |                  ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c: In function ‘png_set_crc_action’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:51:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   51 |          png_warning(png_ptr,
      |          ^~~~~~~~~~~~~~~~~~~~
   52 |             "Can't discard critical data on CRC error.");
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:53:7: note: here
   53 |       case PNG_CRC_ERROR_QUIT:                                /* Error/quit */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:53:5: warning: conflicting types for ‘pci_set_config_type’ due to enum/integer mismatch; have ‘int(enum pci_config_type)’ [-Wenum-int-mismatch]
   53 | int pci_set_config_type(enum pci_config_type type)
      |     ^~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/pci.h:9,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:1:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/sys/pci.h:135:22: note: previous declaration of ‘pci_set_config_type’ with type ‘enum pci_config_type(enum pci_config_type)’
  135 | enum pci_config_type pci_set_config_type(enum pci_config_type);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c: In function ‘get_module_name_from_alias’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:684:16: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  684 |         } else if ((strlen(result)>2) &&
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:688:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  688 |                 module_name[strlen(module_name)-1]='\0';
      |                 ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c: In function ‘read_png_file’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c:121:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  121 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/screencpy.c: In function ‘__vesacon_init_copy_to_screen’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/screencpy.c:62:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   62 |         wi.win_base = (char *)(mi->win_seg[winn] << 4);
      |                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c: In function ‘syslinux_reboot’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c:42:5: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 |     *reboot_flag = warm ? 0x1234 : 0;
      |     ^~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c: In function ‘syslinux_compute_movelist’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:399:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  399 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:383:54: warning: argument ‘moves’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  383 | syslinux_compute_movelist(struct syslinux_movelist **moves,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/shuffle_pm.c: In function ‘syslinux_shuffle_boot_pm’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/shuffle_pm.c:72:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   72 |     if (syslinux_add_movelist(&fraglist, regstub, (addr_t) handoff_code,
      |                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/shuffle_rm.c: In function ‘syslinux_shuffle_boot_rm’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/shuffle_rm.c:166:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  166 |     if (syslinux_add_movelist(&fraglist, regstub, (addr_t) handoff_code,
      |                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: In function ‘map_initramfs’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:113:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  113 |             if (syslinux_add_movelist(fraglist, addr, (addr_t) ip->data, len))
      |                                                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: In function ‘bios_boot_linux’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:336:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  336 |     if (syslinux_add_movelist(&fraglist, real_mode_base, (addr_t) kernel_buf,
      |                                                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:354:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  354 |                               (addr_t) cmdline, cmdline_size)) {
      |                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:372:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  372 |                                   (addr_t) kernel_buf + real_mode_size,
      |                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:422:30: warning: taking address of packed member of ‘struct linux_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  422 |         uint64_t *prev_ptr = &whdr->setup_data;
      |                              ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:451:24: warning: taking address of packed member of ‘struct setup_data_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  451 |             prev_ptr = &sdp->hdr.next;
      |                        ^~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:458:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  458 |                                       (addr_t)&sdp->hdr, sizeof sdp->hdr)) {
      |                                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:463:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  463 |                                       (addr_t)sdp->data, sdp->hdr.len)) {
      |                                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/onexit.c:11:19: warning: ‘on_exit_exit’ defined but not used [-Wunused-function]
   11 | static __noreturn on_exit_exit(int rv)
      |                   ^~~~~~~~~~~~
ld: warning: libcom32.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:10:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   10 | long jrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:61:23: note: previously declared as ‘short unsigned int *’
   61 | __extern long jrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:32:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   32 | long nrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:63:23: note: previously declared as ‘short unsigned int *’
   63 | __extern long nrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:11:45: warning: argument 1 of type ‘const short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   11 | unsigned short *seed48(const unsigned short xsubi[3])
      |                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:65:33: note: previously declared as ‘const short unsigned int *’
   65 | __extern unsigned short *seed48(const unsigned short *);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
opening errno.h
EPERM (1) => "Operation not permitted"
ENOENT (2) => "No such file or directory"
ESRCH (3) => "No such process"
EINTR (4) => "Interrupted system call"
EIO (5) => "I/O error"
ENXIO (6) => "No such device or address"
E2BIG (7) => "Arg list too long"
ENOEXEC (8) => "Exec format error"
EBADF (9) => "Bad file number"
ECHILD (10) => "No child processes"
EAGAIN (11) => "Try again"
ENOMEM (12) => "Out of memory"
EACCES (13) => "Permission denied"
EFAULT (14) => "Bad address"
ENOTBLK (15) => "Block device required"
EBUSY (16) => "Device or resource busy"
EEXIST (17) => "File exists"
EXDEV (18) => "Cross-device link"
ENODEV (19) => "No such device"
ENOTDIR (20) => "Not a directory"
EISDIR (21) => "Is a directory"
EINVAL (22) => "Invalid argument"
ENFILE (23) => "File table overflow"
EMFILE (24) => "Too many open files"
ENOTTY (25) => "Not a typewriter"
ETXTBSY (26) => "Text file busy"
EFBIG (27) => "File too large"
ENOSPC (28) => "No space left on device"
ESPIPE (29) => "Illegal seek"
EROFS (30) => "Read-only file system"
EMLINK (31) => "Too many links"
EPIPE (32) => "Broken pipe"
EDOM (33) => "Math argument out of domain of func"
ERANGE (34) => "Math result not representable"
EDEADLK (35) => "Resource deadlock would occur"
ENAMETOOLONG (36) => "File name too long"
ENOLCK (37) => "No record locks available"
ENOSYS (38) => "Function not implemented"
ENOTEMPTY (39) => "Directory not empty"
ELOOP (40) => "Too many symbolic links encountered"
ENOMSG (42) => "No message of desired type"
EIDRM (43) => "Identifier removed"
ECHRNG (44) => "Channel number out of range"
EL2NSYNC (45) => "Level 2 not synchronized"
EL3HLT (46) => "Level 3 halted"
EL3RST (47) => "Level 3 reset"
ELNRNG (48) => "Link number out of range"
EUNATCH (49) => "Protocol driver not attached"
ENOCSI (50) => "No CSI structure available"
EL2HLT (51) => "Level 2 halted"
EBADE (52) => "Invalid exchange"
EBADR (53) => "Invalid request descriptor"
EXFULL (54) => "Exchange full"
ENOANO (55) => "No anode"
EBADRQC (56) => "Invalid request code"
EBADSLT (57) => "Invalid slot"
EBFONT (59) => "Bad font file format"
ENOSTR (60) => "Device not a stream"
ENODATA (61) => "No data available"
ETIME (62) => "Timer expired"
ENOSR (63) => "Out of streams resources"
ENONET (64) => "Machine is not on the network"
ENOPKG (65) => "Package not installed"
EREMOTE (66) => "Object is remote"
ENOLINK (67) => "Link has been severed"
EADV (68) => "Advertise error"
ESRMNT (69) => "Srmount error"
ECOMM (70) => "Communication error on send"
EPROTO (71) => "Protocol error"
EMULTIHOP (72) => "Multihop attempted"
EDOTDOT (73) => "RFS specific error"
EBADMSG (74) => "Not a data message"
EOVERFLOW (75) => "Value too large for defined data type"
ENOTUNIQ (76) => "Name not unique on network"
EBADFD (77) => "File descriptor in bad state"
EREMCHG (78) => "Remote address changed"
ELIBACC (79) => "Can not access a needed shared library"
ELIBBAD (80) => "Accessing a corrupted shared library"
ELIBSCN (81) => ".lib section in a.out corrupted"
ELIBMAX (82) => "Attempting to link in too many shared libraries"
ELIBEXEC (83) => "Cannot exec a shared library directly"
EILSEQ (84) => "Illegal byte sequence"
ERESTART (85) => "Interrupted system call should be restarted"
ESTRPIPE (86) => "Streams pipe error"
EUSERS (87) => "Too many users"
ENOTSOCK (88) => "Socket operation on non-socket"
EDESTADDRREQ (89) => "Destination address required"
EMSGSIZE (90) => "Message too long"
EPROTOTYPE (91) => "Protocol wrong type for socket"
ENOPROTOOPT (92) => "Protocol not available"
EPROTONOSUPPORT (93) => "Protocol not supported"
ESOCKTNOSUPPORT (94) => "Socket type not supported"
EOPNOTSUPP (95) => "Operation not supported on transport endpoint"
EPFNOSUPPORT (96) => "Protocol family not supported"
EAFNOSUPPORT (97) => "Address family not supported by protocol"
EADDRINUSE (98) => "Address already in use"
EADDRNOTAVAIL (99) => "Cannot assign requested address"
ENETDOWN (100) => "Network is down"
ENETUNREACH (101) => "Network is unreachable"
ENETRESET (102) => "Network dropped connection because of reset"
ECONNABORTED (103) => "Software caused connection abort"
ECONNRESET (104) => "Connection reset by peer"
ENOBUFS (105) => "No buffer space available"
EISCONN (106) => "Transport endpoint is already connected"
ENOTCONN (107) => "Transport endpoint is not connected"
ESHUTDOWN (108) => "Cannot send after transport endpoint shutdown"
ETOOMANYREFS (109) => "Too many references: cannot splice"
ETIMEDOUT (110) => "Connection timed out"
ECONNREFUSED (111) => "Connection refused"
EHOSTDOWN (112) => "Host is down"
EHOSTUNREACH (113) => "No route to host"
EALREADY (114) => "Operation already in progress"
EINPROGRESS (115) => "Operation now in progress"
ESTALE (116) => "Stale NFS file handle"
EUCLEAN (117) => "Structure needs cleaning"
ENOTNAM (118) => "Not a XENIX named type file"
ENAVAIL (119) => "No XENIX semaphores available"
EISNAM (120) => "Is a named type file"
EREMOTEIO (121) => "Remote I/O error"
EDQUOT (122) => "Quota exceeded"
ENOMEDIUM (123) => "No medium found"
EMEDIUMTYPE (124) => "Wrong medium type"
ENSROK (0) => "DNS server returned answer with no data"
ENSRNODATA (160) => "DNS server returned answer with no data"
ENSRFORMERR (161) => "DNS server claims query was misformatted"
ENSRSERVFAIL (162) => "DNS server returned general failure"
ENSRNOTFOUND (163) => "Domain name not found"
ENSRNOTIMP (164) => "DNS server does not implement requested operation"
ENSRREFUSED (165) => "DNS server refused query"
ENSRBADQUERY (166) => "Misformatted DNS query"
ENSRBADNAME (167) => "Misformatted domain name"
ENSRBADFAMILY (168) => "Unsupported address family"
ENSRBADRESP (169) => "Misformatted DNS reply"
ENSRCONNREFUSED (170) => "Could not contact DNS servers"
ENSRTIMEOUT (171) => "Timeout while contacting DNS servers"
ENSROF (172) => "End of file"
ENSRFILE (173) => "Error reading file"
ENSRNOMEM (174) => "Out of memory"
ENSRDESTRUCTION (175) => "Application terminated lookup"
ENSRQUERYDOMAINTOOLONG (176) => "Domain name is too long"
ENSRCNAMELOOP (177) => "Domain name is too long"
closing errno.h
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c: In function ‘vsprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c:10:12: warning: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wformat-truncation=]
   10 |     return vsnprintf(buffer, ~(size_t) 0, format, ap);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c: In function ‘__stdcon_open’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:41:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   41 | #define BIOS_ROWS (*(uint8_t *)0x484)   /* Minus one; if zero use 24 (= 25 lines) */
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:46:18: note: in expansion of macro ‘BIOS_ROWS’
   46 |     fp->o.rows = BIOS_ROWS + 1;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:42:20: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 | #define BIOS_COLS (*(uint16_t *)0x44A)
      |                   ~^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:47:18: note: in expansion of macro ‘BIOS_COLS’
   47 |     fp->o.cols = BIOS_COLS;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c: In function ‘strtod’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:67:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   67 |         negative = 1;           // Fall through to increment position
      |         ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:68:5: note: here
   68 |     case '+':
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:112:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  112 |             negative = 1;       // Fall through to increment pos
      |             ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:113:9: note: here
  113 |         case '+':
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c: In function ‘sprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c:14:10: warning: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wformat-truncation=]
   14 |     rv = vsnprintf(buffer, ~(size_t) 0, format, ap);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c: In function ‘syslinux_debug’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:4:1: note: include ‘’ or provide a declaration of ‘printf’
    3 | #include 
  +++ |+#include 
    4 | 
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: note: include ‘’ or provide a declaration of ‘printf’
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c: In function ‘perform_relocation’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:244:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  244 |                 *dest += sym_addr - (Elf32_Addr)dest;
      |                                     ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c: In function ‘resolve_symbols’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:341:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  341 |                         crt_rel = (Elf64_Rel*)(rel + i*rel_entry);
      |                                                    ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:354:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  354 |                         crt_rel = (Elf64_Rel*)(rel + i*rela_entry);
      |                                                    ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:370:56: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  370 |                         crt_rel = (Elf64_Rel*)(plt_rel + i*rela_entry);
      |                                                        ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:293:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  293 |                         if (dyn_entry->d_un.d_val != DT_REL && dyn_entry->d_un.d_val != DT_RELA) {
      |                            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/x86_64/elf_module.c:298:17: note: here
  298 |                 case DT_JMPREL:
      |                 ^~~~
ld: warning: libutil.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c: In function ‘generic_identify’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c:344:24: warning: taking address of packed member of ‘struct cpuinfo_x86’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  344 |           (uint32_t *) & c->cpuid_level,
      |                        ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h: Assembler messages:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/sys/x86_64/bitops.h:51: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘parse_dmitable’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:1012:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1012 |     memcpy(buf, (int *)dmi->dmitable.base, sizeof(uint8_t) * dmi->dmitable.len);
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:982:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  982 |         dmi_system_boot_status(data[0x0A], dmi->system.system_boot_status);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:983:5: note: here
  983 |     case 38:                    /* 3.3.39 IPMI Device Information */
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:955:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:958:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:163:57: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 49 [-Wformat-truncation=]
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                                                         ^~
In function ‘dmi_system_configuration_options’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:853:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: note: ‘snprintf’ output 5 or more bytes (assuming 54) into a destination of size 50
  162 |         snprintf(dmi->system.configuration_options,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164 |                  dmi->system.configuration_options, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:58: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=]
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |                                                          ^~
In function ‘dmi_oem_strings’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:848:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: note: ‘snprintf’ output 5 or more bytes (assuming 516) into a destination of size 512
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  148 |                  dmi->oem_strings, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_types’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:213:17: warning: ‘snprintf’ argument 4 overlaps destination object ‘type’ [-Wrestrict]
  213 |                 snprintf(type, sizeof_type, "%s%s%s", type, sep, types[i]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:189:68: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  189 | void dmi_memory_module_types(uint16_t code, const char *sep, char *type, int sizeof_type)
      |                                                              ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_connections’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:225:13: warning: ‘snprintf’ argument 4 overlaps destination object ‘connection’ [-Wrestrict]
  225 |             snprintf(connection, sizeof_connection, "%s%u", connection, code & 0x0F);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  217 | void dmi_memory_module_connections(uint8_t code, char *connection, int sizeof_connection)
      |                                                  ~~~~~~^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_size’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:257:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  257 |         snprintf(size, sizeof_size, "%s %s", size, "(Single-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:255:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  255 |         snprintf(size, sizeof_size, "%s %s", size, "(Double-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c: In function ‘flags_to_string’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:44:9: warning: ‘strncat’ specified bound 5 equals source length [-Wstringop-overflow=]
   44 |         strncat(buffer, " edge", 5);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:46:9: warning: ‘strncat’ specified bound 6 equals source length [-Wstringop-overflow=]
   46 |         strncat(buffer, " level", 6);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:48:9: warning: ‘strncat’ specified bound 8 equals source length [-Wstringop-overflow=]
   48 |         strncat(buffer, " default", 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: libgpl.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c: In function ‘serial_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c:45:48: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   45 |             uint16_t addr = ((uint16_t *)0x400)[port];
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c: In function ‘upload_tftp_write’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c:64:11: warning: implicit declaration of function ‘tftp_put’; did you mean ‘tftp_open’? [-Wimplicit-function-declaration]
   64 |     err = tftp_put(&url, 0, &inode, NULL, be->outbuf, be->zbytes);
      |           ^~~~~~~~
      |           tftp_open
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c: In function ‘record’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:427:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  427 |             else
      |             ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:27:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/dprintf.h:31:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
   31 |     if (syslinux_debug_enabled) \
      |     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:430:17: note: in expansion of macro ‘dprintf’
  430 |                 dprintf("type = %s, cmd = %s", kernel_types[ld->type], me->cmdline);
      |                 ^~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:29:
In function ‘get_serial_port’,
    inlined from ‘parse_config_file’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:1362:10:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:104:24: warning: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’} [-Warray-bounds=]
  104 |     return serial_ports[port];
      |            ~~~~~~~~~~~~^~~~~~
In function ‘parse_config_file’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:39:6: warning: conflicting types for ‘chainboot_file’ due to enum/integer mismatch; have ‘void(const char *, uint32_t)’ {aka ‘void(const char *, unsigned int)’} [-Wenum-int-mismatch]
   39 | void chainboot_file(const char *file, uint32_t type)
      |      ^~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:28:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/menu.h:232:6: note: previous declaration of ‘chainboot_file’ with type ‘void(const char *, enum kernel_type)’
  232 | void chainboot_file(const char *file, enum kernel_type type);
      |      ^~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c: In function ‘chainboot_file’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:64:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   64 |     reg.edi.l = (uint32_t)buf;
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:88:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   88 |                                   (addr_t)sdi->r.esbx, 16))
      |                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:143:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  143 |     if (syslinux_add_movelist(&fraglist, 0x7c00, (addr_t)buf, size))
      |                                                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c: In function ‘pm_load_high’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:57:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   57 |     buf       = (char *)regs->edi.l;
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/loadhigh.c:58:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   58 |     limit     = (char *)(regs->ebp.l & ~zero_mask);
      |                 ^
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: ldlinux.elf has a LOAD segment with RWX permissions
ld: warning: cat.elf has a LOAD segment with RWX permissions
ld: warning: cmd.elf has a LOAD segment with RWX permissions
ld: warning: config.elf has a LOAD segment with RWX permissions
ld: warning: cptime.elf has a LOAD segment with RWX permissions
ld: warning: cpuid.elf has a LOAD segment with RWX permissions
ld: warning: cpuidtest.elf has a LOAD segment with RWX permissions
ld: warning: debug.elf has a LOAD segment with RWX permissions
ld: warning: dir.elf has a LOAD segment with RWX permissions
ld: warning: dmitest.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c: In function ‘do_page’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:196:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  196 |             fprintf(stderr, "No response.  Continuing...\n");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:199:13: note: here
  199 |             case 'y':
      |             ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:201:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  201 |             eat_stdin();
      |             ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:202:13: note: here
  202 |             case '\n':
      |             ^~~~
ld: warning: hexdump.elf has a LOAD segment with RWX permissions
ld: warning: host.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu64.elf has a LOAD segment with RWX permissions
ld: warning: linux.elf has a LOAD segment with RWX permissions
ld: warning: ls.elf has a LOAD segment with RWX permissions
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:99:14: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   99 |     uint16_t dosram = *(uint16_t *) 0x413;
      |              ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:34: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |                         ~~~~~~~~~^~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:19: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |          ~~~~~~~~~^~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: meminfo.elf has a LOAD segment with RWX permissions
ld: warning: pwd.elf has a LOAD segment with RWX permissions
ld: warning: reboot.elf has a LOAD segment with RWX permissions
ld: warning: vpdtest.elf has a LOAD segment with RWX permissions
ld: warning: whichsys.elf has a LOAD segment with RWX permissions
ld: warning: zzjson.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c: In function ‘map_data’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c:58:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   58 |         syslinux_add_movelist(&ml, start, (addr_t) data, len) ||
      |                                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c: In function ‘map_image’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c:222:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  222 |                         (&ml, addr, (addr_t) cptr + ph->p_offset, dsize)) {
      |                                     ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c:328:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  328 |                         (&ml, addr, (addr_t) cptr + ph64->p_offset, dsize)) {
      |                                     ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/map.c:427:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  427 |             if (syslinux_add_movelist(&ml, mbh->load_addr, (addr_t) data_ptr,
      |                                                            ^
In function ‘mboot_scan_memory’,
    inlined from ‘mboot_make_memmap’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:179:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:62:18: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   62 |         uint16_t ebda_seg = *(uint16_t *) 0x40e;
      |                  ^~~~~~~~
In function ‘mboot_make_memmap’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:218:24: warning: ‘ard’ may be used uninitialized [-Wmaybe-uninitialized]
  218 |     mbinfo.mmap_addr = map_data(ard, nmap * sizeof *ard, 4, false);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:172:27: note: ‘ard’ was declared here
  172 |     struct AddrRangeDesc *ard;
      |                           ^~~
ld: warning: mboot.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c: In function ‘run_menu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:746:9: warning: variable ‘done’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  746 |     int done = 0;
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:748:9: warning: variable ‘prev_entry’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  748 |     int prev_entry = -1;
      |         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:750:9: warning: variable ‘prev_top’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  750 |     int prev_top = -1;
      |         ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:751:9: warning: variable ‘clear’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  751 |     int clear = 1, to_clear;
      |         ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:752:17: warning: variable ‘cmdline’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  752 |     const char *cmdline = NULL;
      |                 ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c: In function ‘drain_keyboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:20:5: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
   20 |     *(volatile uint8_t *)0x419 = 0;     /* Alt-XXX keyboard area */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:21:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   21 |     *(volatile uint16_t *)0x41a = 0x1e; /* Keyboard buffer empty */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:22:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   22 |     *(volatile uint16_t *)0x41c = 0x1e;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:23:5: warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds=]
   23 |     memset((void *)0x41e, 0, 32);       /* Clear the actual keyboard buffer */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: menu.elf has a LOAD segment with RWX permissions
ld: warning: vesamenu.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/samples/hello.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/samples/hello.c:21:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   21 |     printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&main, nums);
      |                                                             ^
ld: warning: hello.elf has a LOAD segment with RWX permissions
ld: warning: resolv.elf has a LOAD segment with RWX permissions
ld: warning: serialinfo.elf has a LOAD segment with RWX permissions
ld: warning: localboot.elf has a LOAD segment with RWX permissions
ld: warning: fancyhello.elf has a LOAD segment with RWX permissions
ld: warning: keytest.elf has a LOAD segment with RWX permissions
ld: warning: advdump.elf has a LOAD segment with RWX permissions
ld: warning: entrydump.elf has a LOAD segment with RWX permissions
ld: warning: rosh.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c: In function ‘getmenuoption’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:485:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  485 |         if (ms->keys_handler)   // Call extra keys handler
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:489:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  489 |             reset_ui();
      |             ^~~~~~~~
ld: warning: libmenu/libmenu.elf has a LOAD segment with RWX permissions
ld: warning: complex.elf has a LOAD segment with RWX permissions
ld: warning: display.elf has a LOAD segment with RWX permissions
ld: warning: simple.elf has a LOAD segment with RWX permissions
ld: warning: test.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/cmenu.h:22,
                 from test2.c:17:
In function ‘readbiosb’,
    inlined from ‘getshiftflags’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:54:12,
    inlined from ‘main’ at test2.c:493:7:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:49:12: warning: array subscript 0 is outside array bounds of ‘void[0]’ [-Warray-bounds=]
   49 |     return *((unsigned char *)MK_PTR(0, ofs));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: test2.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:76:51: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   76 |             strncat(buffer, kernel_modules, sizeof(kernel_modules));
      |                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:123:27: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  123 |                     sizeof(kernel_modules));
      |                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:64:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   64 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:75:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   75 |                 strncat(buffer, "(", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:78:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   78 |                 strncat(buffer, ")", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:79:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   79 |             strncat(buffer, " # ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:84:9: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   84 |         strncat(buffer, "\n", 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:117:13: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
  117 |             strncat(kernel_modules, " ", 1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:102:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  102 |             strncat(kernel_modules, " | ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_devices’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:182:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  182 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:193:29: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 68 and 77 [-Wformat-truncation=]
  193 |                      "%02d: %s %s \n", i,
      |                             ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:192:13: note: ‘snprintf’ output between 8 and 527 bytes into a destination of size 81
  192 |             snprintf(first_line, sizeof(first_line),
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193 |                      "%02d: %s %s \n", i,
      |                      ~~~~~~~~~~~~~~~~~~~~
  194 |                      pci_device->dev_info->vendor_name,
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |                      pci_device->dev_info->product_name);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:198:33: warning: ‘%-25s’ directive output may be truncated writing between 25 and 255 bytes into a region of size 75 [-Wformat-truncation=]
  198 |                          "    # %-25s # Kmod: %s\n",
      |                                 ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:197:17: note: ‘snprintf’ output between 42 and 911 bytes into a destination of size 81
  197 |                 snprintf(second_line, sizeof(second_line),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  198 |                          "    # %-25s # Kmod: %s\n",
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  199 |                          pci_device->dev_info->class_name, kernel_modules);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c: In function ‘main_show_pxe’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:45: warning: ‘snprintf’ output truncated before the last format character [-Wformat-truncation=]
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |                                             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:9: note: ‘snprintf’ output 17 bytes into a destination of size 16
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262 |                         (uint32_t)(hardware->dmi.ipmi.base_address >> 32),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  263 |                         (uint32_t)((hardware->dmi.ipmi.base_address & 0xFFFF) & ~1));
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:46: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |                                              ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_dmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:52: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:48: note: directive argument in the range [0, 65535]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:17: note: ‘snprintf’ output between 4 and 12 bytes into a destination of size 8
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c: In function ‘dump_pci’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c:82:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   82 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_system’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |              dmi->system.serial);
      |              ~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:50: warning: ‘%s’ directive output may be truncated writing up to 39 bytes into a region of size 35 [-Wformat-truncation=]
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:5: note: ‘snprintf’ output between 13 and 52 bytes into a destination of size 47
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_chassis’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |              dmi->chassis.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  118 |              dmi->chassis.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_motherboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189 |              dmi->base_board.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |              dmi->base_board.product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210 |              dmi->base_board.serial);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |              dmi->base_board.asset_tag);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  245 |              dmi->ipmi.interface_type);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_battery’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  302 |              dmi->battery.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:64: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 61 [-Wformat-truncation=]
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 79
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  311 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316 |              dmi->battery.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327 |              dmi->battery.chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:52: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 73 [-Wformat-truncation=]
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:5: note: ‘snprintf’ output between 7 and 261 bytes into a destination of size 79
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  353 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 56 [-Wformat-truncation=]
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:5: note: ‘snprintf’ output between 24 and 278 bytes into a destination of size 79
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  360 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:63: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=]
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |                                                               ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:5: note: ‘snprintf’ output between 18 and 82 bytes into a destination of size 79
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  362 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367 |              dmi->battery.maximum_error);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  374 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 69 [-Wformat-truncation=]
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:5: note: ‘snprintf’ output between 11 and 265 bytes into a destination of size 79
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  376 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c: In function ‘compute_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:63:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   63 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:74:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
   74 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:73:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
   73 |                 snprintf(infobar, sizeof infobar,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
   75 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
   76 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
   77 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   78 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:162:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  162 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:107:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  107 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   47 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 78
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   49 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   54 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |                                                            ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 78
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   61 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |                                                          ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:5: note: ‘snprintf’ output between 13 and 268 bytes into a destination of size 78
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   63 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:52: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 46 [-Wformat-truncation=]
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |                                                    ^~   ~~~~~~~~~~~~~~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:9: note: ‘snprintf’ output between 11 and 650 bytes into a destination of size 56
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:66: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 62 [-Wformat-truncation=]
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |                                                                  ^~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~                                   
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:9: note: ‘snprintf’ output between 17 and 656 bytes into a destination of size 78
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 59 [-Wformat-truncation=]
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:9: note: ‘snprintf’ output between 2 and 512 bytes into a destination of size 59
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174 |                  pci_device->dev_info->vendor_name,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  175 |                  pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 68 [-Wformat-truncation=]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:176:9: note: ‘snprintf’ output between 45 and 939 bytes into a destination of size 78
  176 |         snprintf(infobar[i], STATLEN,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178 |                  __pci_bus, __pci_slot, __pci_func,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179 |                  pci_device->dev_info->class_name, pci_device->vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                  pci_device->product, pci_device->sub_vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                  pci_device->sub_product, kernel_modules);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c: In function ‘compute_processor’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c: In function ‘compute_PXE’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   90 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   92 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c: In function ‘compute_summarymenu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:173:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  173 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:38: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 47 [-Wformat-truncation=]
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |                                      ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:5: note: ‘snprintf’ output between 1 and 255 bytes into a destination of size 47
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:57: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=]
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |                                                         ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:5: note: ‘snprintf’ output between 12 and 266 bytes into a destination of size 79
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   79 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:67: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |                                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:9: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   81 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   86 |                  hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:88:40: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 58 [-Wformat-truncation=]
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:87:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 79
   87 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   93 |                  hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:95:41: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 57 [-Wformat-truncation=]
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:94:9: note: ‘snprintf’ output between 23 and 87 bytes into a destination of size 79
   94 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102 |                  hardware->dmi.bios.version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:69: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 60 [-Wformat-truncation=]
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:9: note: ‘snprintf’ output between 20 and 84 bytes into a destination of size 79
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:184:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
  184 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:183:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
  183 |                 snprintf(statbuffer, sizeof statbuffer,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
  185 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
  186 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
  187 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  188 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 79
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   51 |              hardware->vesa.vendor);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |                                                            ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 79
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   57 |              hardware->vesa.product);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   62 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:63: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 62 [-Wformat-truncation=]
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |                                                               ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:5: note: ‘snprintf’ output between 18 and 273 bytes into a destination of size 79
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c: In function ‘compute_vpd’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 20 [-Wformat-truncation=]
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:9: note: ‘snprintf’ output between 28 and 282 bytes into a destination of size 47
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:64: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 65 [-Wformat-truncation=]
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:9: note: ‘snprintf’ output between 15 and 269 bytes into a destination of size 79
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: hdt.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:231:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  231 |     gfx_config.gfxboot_cwd = (uint32_t) working_dir;
      |                              ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘gfx_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:551:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  551 |   gfx_config.archive_start = (uint32_t) archive;
      |                              ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:586:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  586 |   *(uint16_t *) (lowmem + REALMODE_BUF_SIZE + 2) = (uint32_t) lowmem >> 4;
      |                                                    ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:588:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  588 |   gfx_config.bootloader_seg = ((uint32_t) lowmem + REALMODE_BUF_SIZE) >> 4;
      |                                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:596:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  596 |   gfx_config.mem0_start = (uint32_t) lowmem + code_size;
      |                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:597:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  597 |   gfx_config.mem0_end = (uint32_t) lowmem + lowmem_size;
      |                         ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:601:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  601 |   gfx_config.xmem_start = (uint32_t) malloc(GFX_MEMORY_SIZE << 20);
      |                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:609:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  609 |   gfx.code_seg = (uint32_t) lowmem >> 4;
      |                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:623:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  623 |   r.esi.l = (uint32_t) &gfx_config;
      |             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘gfx_menu_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:651:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  651 |   r.esi.l = (uint32_t) &gfx_menu;
      |             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘gfx_input’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:681:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  681 |   r.edi.l = (uint32_t) cmdline;
      |             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘gfx_infobox’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:701:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  701 |   r.esi.l = (uint32_t) str1;
      |             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:702:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  702 |   r.edi.l = (uint32_t) str2;
      |             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘gfx_progress_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:718:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  718 |     r.esi.l = (uint32_t) label;
      |               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c: In function ‘boot’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gfxboot/gfxboot.c:824:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  824 |   char *gfxboot_cwd = (char *) gfx_config.gfxboot_cwd;
      |                       ^
ld: warning: realmode_callback.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: gfxboot.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c: In function ‘scan_for_rsdp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:117:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  117 |         const struct acpi_rsdp *rsdp = (const struct acpi_rsdp *)base;
      |                                        ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c: In function ‘dump_table’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:167:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  167 |     snprintf(namebuf, sizeof namebuf, "acpi/%4.4s/%08x", name, (uint32_t)ptr);
      |                                                                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c: In function ‘dump_rsdt’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:178:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  178 |     rsdt = (const struct acpi_rsdt *)rsdp->rsdt_addr;
      |            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:191:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  191 |         const struct acpi_hdr *hdr = (const struct acpi_hdr *)(rsdt->entry[i]);
      |                                      ^
In function ‘find_rsdp’,
    inlined from ‘dump_acpi’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:238:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:142:13: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
  142 |     ebda = (*(uint16_t *)0x40e) << 4;
      |            ~^~~~~~~~~~~~~~~~~~~
In function ‘dump_acpi’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/dmi.c: In function ‘dump_smbios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/dmi.c:81:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   81 |     write_data(be, (const void *)smb->dmi.tbladdr, smb->dmi.tbllen);
      |                    ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/dmi.c: In function ‘dump_old_dmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/dmi.c:107:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  107 |     write_data(be, (const void *)dmi->tbladdr, dmi->tbllen);
      |                    ^
In function ‘dump_e820’,
    inlined from ‘dump_memory_map’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:85:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:50:9: warning: ‘memcpy’ offset [0, 23] is out of the bounds [0, 0] [-Warray-bounds=]
   50 |         memcpy(buf[nentry].data, curr->data, sizeof curr->data);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: sysdump.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c: In function ‘collectargs’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:380:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  380 |         args[has_i] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:381:7: note: here
  381 |       case 'v':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:386:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  386 |         args[has_e] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:387:7: note: here
  387 |       case 'l':  /* both options need an argument */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c: In function ‘freeobj’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:679:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  679 |       G(L)->strt.nuse--;
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:681:5: note: here
  681 |     case LUA_TLNGSTR: {
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c: In function ‘llex’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:481:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  481 |         else if (!lisdigit(ls->current)) return '.';
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:484:7: note: here
  484 |       case '0': case '1': case '2': case '3': case '4':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c: In function ‘luaH_get’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:486:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  486 |     case LUA_TNUMBER: {
      |                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:494:5: note: here
  494 |     default: {
      |     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c: In function ‘match’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:492:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  492 |               s++;  /* 1 match already done */
      |               ~^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:494:13: note: here
  494 |             case '*':  /* 0 or more repetitions */
      |             ^~~~
ld: warning: liblua.elf has a LOAD segment with RWX permissions
ld: warning: lua.elf has a LOAD segment with RWX permissions
ld: warning: cpu.elf has a LOAD segment with RWX permissions
ld: warning: dhcp.elf has a LOAD segment with RWX permissions
ld: warning: dmi.elf has a LOAD segment with RWX permissions
ld: warning: lfs.elf has a LOAD segment with RWX permissions
ld: warning: pci.elf has a LOAD segment with RWX permissions
ld: warning: syslinux.elf has a LOAD segment with RWX permissions
ld: warning: vesa.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c: In function ‘l_add_sep’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c:42:34: warning: unused parameter ‘L’ [-Wunused-parameter]
   42 | static int l_add_sep (lua_State *L)
      |                       ~~~~~~~~~~~^
ld: warning: cmenu.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c: In function ‘do_boot’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:172:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  172 |                                   (addr_t) data[i].data, data[i].size))
      |                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:246:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  246 |         if (syslinux_add_movelist(&mlist, endimage, (addr_t) swapstub,
      |                                                     ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:517:44: warning: passing argument 3 of ‘loadfile’ from incompatible pointer type [-Wincompatible-pointer-types]
  517 |         if (loadfile(opt.file, &fdat.data, &fdat.size)) {
      |                                            ^~~~~~~~~~
      |                                            |
      |                                            addr_t * {aka unsigned int *}
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:32:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/syslinux/loadfile.h:11:37: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘addr_t *’ {aka ‘unsigned int *’}
   11 | int loadfile(const char *, void **, size_t *);
      |                                     ^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:38:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:521:37: note: in expansion of macro ‘dosmax’
  521 |         if (fdat.base + fdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:532:37: note: in expansion of macro ‘dosmax’
  532 |         if (sdat.base + sdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
In function ‘do_boot’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:630:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:167:20: note: in expansion of macro ‘dosmax’
  167 |     if (endimage > dosmax)
      |                    ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘opt_parse_args’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:364:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
  364 |                 case '2': opt.piflags |= PIF_STRICTER;
      |                           ~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:365:17: note: here
  365 |                 case '1': opt.piflags |= PIF_STRICT; break;
      |                 ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:37:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘soi_s2n.constprop’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:65:32: note: in expansion of macro ‘dosmax’
   65 |     if (val < dosmin || val >= dosmax) {
      |                                ^~~~~~
cc1: note: source object is likely at address zero
ld: warning: chain.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/common.h:16,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/load_env32.c:23:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h: In function ‘elf_get_pht’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h:24:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   24 |     return (Elf32_Phdr *) ((Elf32_Off) elf_hdr + elf_hdr->e_phoff);
      |                            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h:24:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   24 |     return (Elf32_Phdr *) ((Elf32_Off) elf_hdr + elf_hdr->e_phoff);
      |            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h: In function ‘elf_get_ph’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h:38:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   38 |     return (Elf32_Phdr *) ((Elf32_Off) elf_pht + index * elf_hdr->e_phentsize);
      |                            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/elflink/elfutils.h:38:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   38 |     return (Elf32_Phdr *) ((Elf32_Off) elf_pht + index * elf_hdr->e_phentsize);
      |            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c: In function ‘rllpack’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c:36:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   36 |     uint8_t *i = (uint8_t *) (regs->esi.l);
      |                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c:37:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   37 |     uint8_t *o = (uint8_t *) (regs->edi.l);
      |                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c: In function ‘rllunpack’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c:82:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   82 |     uint8_t *i = (uint8_t *) regs->esi.l;
      |                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/rllpack.c:83:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   83 |     uint8_t *o = (uint8_t *) regs->edi.l;
      |                  ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/graphics.c: In function ‘vgasetmode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/graphics.c:102:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  102 |         ireg.edx.w[0] = (uint32_t)linear_color;
      |                         ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c: In function ‘bios_adjust_screen’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c:160:16: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
  160 |         rows = *vidrows;
      |                ^~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/mem/init.c: In function ‘scan_highmem_area’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/mem/init.c:37:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   37 |                 fp = (struct free_arena_header *)start;
      |                      ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘ufs1_iget_by_inr’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:224:27: warning: taking address of packed member of ‘struct ufs1_inode’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  224 |     source = (uint32_t *) ufs_inode->direct_blk_ptr;
      |                           ^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘get_inode_mode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:359:37: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  359 |         case UFS_DTYPE_FIFO: return DT_FIFO;
      |                                     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:360:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  360 |         case UFS_DTYPE_CHARDEV: return DT_CHR;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:361:36: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  361 |         case UFS_DTYPE_DIR: return DT_DIR;
      |                                    ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:362:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  362 |         case UFS_DTYPE_BLOCK: return DT_BLK;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:363:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  363 |         case UFS_DTYPE_RFILE: return DT_REG;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:364:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  364 |         case UFS_DTYPE_SYMLINK: return DT_LNK;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:365:39: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  365 |         case UFS_DTYPE_SOCKET: return DT_SOCK;
      |                                       ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:366:41: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  366 |         case UFS_DTYPE_WHITEOUT: return DT_WHT;
      |                                         ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:367:25: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  367 |         default: return DT_UNKNOWN;
      |                         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_filename_cmp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:303:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  303 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘index_inode_setup’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  675 |                 (uint32_t)((uint8_t *)attr + attr->data.resident.value_offset);
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_cvt_filename’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:902:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  902 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c: In function ‘__ext2_get_group_desc’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c:47:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |     p = get_cache(fs->fs_dev, desc_block);
      |       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c: In function ‘irq_common’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:47:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   47 |         next = (irqhandler_t)oldirq[old_irq];
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c: In function ‘install_irq_vectors’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:106:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  106 |                 *dst++ = (uint32_t)serstub_irq0;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:107:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  107 |                 *dst++ = (uint32_t)serstub_irq1;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:108:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  108 |                 *dst++ = (uint32_t)serstub_irq2;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:109:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  109 |                 *dst++ = (uint32_t)serstub_irq3;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:110:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  110 |                 *dst++ = (uint32_t)serstub_irq4;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:111:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  111 |                 *dst++ = (uint32_t)serstub_irq5;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:112:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  112 |                 *dst++ = (uint32_t)serstub_irq6;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:113:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  113 |                 *dst++ = (uint32_t)serstub_irq7;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:115:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  115 |                 *dst++ = (uint32_t)serstub_irq8;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:116:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  116 |                 *dst++ = (uint32_t)serstub_irq9;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:117:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  117 |                 *dst++ = (uint32_t)serstub_irq10;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:118:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  118 |                 *dst++ = (uint32_t)serstub_irq11;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:119:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  119 |                 *dst++ = (uint32_t)serstub_irq12;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:120:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  120 |                 *dst++ = (uint32_t)serstub_irq13;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:121:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  121 |                 *dst++ = (uint32_t)serstub_irq14;
      |                          ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:122:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  122 |                 *dst++ = (uint32_t)serstub_irq15;
      |                          ^
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:106:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  106 |                 *dst++ = (uint32_t)serstub_irq0;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:107:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  107 |                 *dst++ = (uint32_t)serstub_irq1;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:108:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  108 |                 *dst++ = (uint32_t)serstub_irq2;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:109:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  109 |                 *dst++ = (uint32_t)serstub_irq3;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:110:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  110 |                 *dst++ = (uint32_t)serstub_irq4;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:111:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  111 |                 *dst++ = (uint32_t)serstub_irq5;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:112:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  112 |                 *dst++ = (uint32_t)serstub_irq6;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:113:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  113 |                 *dst++ = (uint32_t)serstub_irq7;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:115:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  115 |                 *dst++ = (uint32_t)serstub_irq8;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:116:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  116 |                 *dst++ = (uint32_t)serstub_irq9;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:117:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  117 |                 *dst++ = (uint32_t)serstub_irq10;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:118:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  118 |                 *dst++ = (uint32_t)serstub_irq11;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:119:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  119 |                 *dst++ = (uint32_t)serstub_irq12;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:120:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  120 |                 *dst++ = (uint32_t)serstub_irq13;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:121:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  121 |                 *dst++ = (uint32_t)serstub_irq14;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:122:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  122 |                 *dst++ = (uint32_t)serstub_irq15;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c: In function ‘parse_dhcp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c:234:9: warning: variable ‘min_opt’ set but not used [-Wunused-but-set-variable]
  234 |     int min_opt = 0;
      |         ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi/main.c: In function ‘build_gdt’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi/main.c:906:82: warning: taking address of packed member of ‘struct dt_desc’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  906 |         status = emalloc(gdt.limit, __SIZEOF_POINTER__ , (EFI_PHYSICAL_ADDRESS *)&gdt.base);
      |                                                                                  ^~~~~~~~~
ld: warning: /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi64/com32/lib/libgcc/__muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c: In function ‘inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:704:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  704 |             state->mode = EXLEN;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:705:9: note: here
  705 |         case EXLEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:716:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  716 |             state->mode = EXTRA;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:717:9: note: here
  717 |         case EXTRA:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:738:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  738 |             state->mode = NAME;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:739:9: note: here
  739 |         case NAME:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:759:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  759 |             state->mode = COMMENT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:760:9: note: here
  760 |         case COMMENT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:779:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  779 |             state->mode = HCRC;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:780:9: note: here
  780 |         case HCRC:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:802:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  802 |             state->mode = DICT;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:803:9: note: here
  803 |         case DICT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:809:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  809 |             state->mode = TYPE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:810:9: note: here
  810 |         case TYPE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:811:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  811 |             if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:812:9: note: here
  812 |         case TYPEDO:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:861:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  861 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:862:9: note: here
  862 |         case COPY_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:863:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  863 |             state->mode = COPY;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:864:9: note: here
  864 |         case COPY:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1003:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1003 |             if (flush == Z_TREES) goto inf_leave;
      |                ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1004:9: note: here
 1004 |         case LEN_:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1005:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1005 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1006:9: note: here
 1006 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1054:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1054 |             state->mode = LENEXT;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1055:9: note: here
 1055 |         case LENEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1064:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1064 |             state->mode = DIST;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1065:9: note: here
 1065 |         case DIST:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1091:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1091 |             state->mode = DISTEXT;
      |             ~~~~~~~~~~~~^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1092:9: note: here
 1092 |         case DISTEXT:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1107:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1107 |             state->mode = MATCH;
      |             ~~~~~~~~~~~~^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1108:9: note: here
 1108 |         case MATCH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1182:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1182 |             state->mode = LENGTH;
      |             ~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1183:9: note: here
 1183 |         case LENGTH:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1195:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1195 |             state->mode = DONE;
      |             ~~~~~~~~~~~~^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/inflate.c:1196:9: note: here
 1196 |         case DONE:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c: In function ‘inflateBack’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:471:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  471 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/zlib/infback.c:473:9: note: here
  473 |         case LEN:
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c: In function ‘png_inflate’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:302:10: warning: dangling pointer ‘msg’ to ‘umsg’ may be used [-Wdangling-pointer=]
  302 |          png_warning(png_ptr, msg);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrutil.c:280:18: note: ‘umsg’ declared here
  280 |             char umsg[52];
      |                  ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c: In function ‘png_set_crc_action’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:51:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   51 |          png_warning(png_ptr,
      |          ^~~~~~~~~~~~~~~~~~~~
   52 |             "Can't discard critical data on CRC error.");
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/libpng/pngrtran.c:53:7: note: here
   53 |       case PNG_CRC_ERROR_QUIT:                                /* Error/quit */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:53:5: warning: conflicting types for ‘pci_set_config_type’ due to enum/integer mismatch; have ‘int(enum pci_config_type)’ [-Wenum-int-mismatch]
   53 | int pci_set_config_type(enum pci_config_type type)
      |     ^~~~~~~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/pci.h:9,
                 from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/cfgtype.c:1:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/sys/pci.h:135:22: note: previous declaration of ‘pci_set_config_type’ with type ‘enum pci_config_type(enum pci_config_type)’
  135 | enum pci_config_type pci_set_config_type(enum pci_config_type);
      |                      ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c: In function ‘get_module_name_from_alias’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:684:16: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  684 |         } else if ((strlen(result)>2) &&
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/pci/scan.c:688:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  688 |                 module_name[strlen(module_name)-1]='\0';
      |                 ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c: In function ‘read_png_file’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/vesa/background.c:121:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  121 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c: In function ‘syslinux_reboot’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/reboot.c:42:5: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 |     *reboot_flag = warm ? 0x1234 : 0;
      |     ^~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c: In function ‘syslinux_compute_movelist’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:399:9: warning: variable ‘rv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  399 |     int rv = -1;
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/movebits.c:383:54: warning: argument ‘moves’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  383 | syslinux_compute_movelist(struct syslinux_movelist **moves,
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c: In function ‘bios_boot_linux’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:422:30: warning: taking address of packed member of ‘struct linux_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  422 |         uint64_t *prev_ptr = &whdr->setup_data;
      |                              ^~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c:451:24: warning: taking address of packed member of ‘struct setup_data_header’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  451 |             prev_ptr = &sdp->hdr.next;
      |                        ^~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/onexit.c:11:19: warning: ‘on_exit_exit’ defined but not used [-Wunused-function]
   11 | static __noreturn on_exit_exit(int rv)
      |                   ^~~~~~~~~~~~
ld: warning: libcom32.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:10:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   10 | long jrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:61:23: note: previously declared as ‘short unsigned int *’
   61 | __extern long jrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/lrand48.c:32:29: warning: argument 1 of type ‘short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   32 | long nrand48(unsigned short xsubi[3])
      |              ~~~~~~~~~~~~~~~^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:63:23: note: previously declared as ‘short unsigned int *’
   63 | __extern long nrand48(unsigned short *);
      |                       ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:11:45: warning: argument 1 of type ‘const short unsigned int[3]’ with mismatched bound [-Warray-parameter=]
   11 | unsigned short *seed48(const unsigned short xsubi[3])
      |                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/seed48.c:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/../include/stdlib.h:65:33: note: previously declared as ‘const short unsigned int *’
   65 | __extern unsigned short *seed48(const unsigned short *);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
opening errno.h
EPERM (1) => "Operation not permitted"
ENOENT (2) => "No such file or directory"
ESRCH (3) => "No such process"
EINTR (4) => "Interrupted system call"
EIO (5) => "I/O error"
ENXIO (6) => "No such device or address"
E2BIG (7) => "Arg list too long"
ENOEXEC (8) => "Exec format error"
EBADF (9) => "Bad file number"
ECHILD (10) => "No child processes"
EAGAIN (11) => "Try again"
ENOMEM (12) => "Out of memory"
EACCES (13) => "Permission denied"
EFAULT (14) => "Bad address"
ENOTBLK (15) => "Block device required"
EBUSY (16) => "Device or resource busy"
EEXIST (17) => "File exists"
EXDEV (18) => "Cross-device link"
ENODEV (19) => "No such device"
ENOTDIR (20) => "Not a directory"
EISDIR (21) => "Is a directory"
EINVAL (22) => "Invalid argument"
ENFILE (23) => "File table overflow"
EMFILE (24) => "Too many open files"
ENOTTY (25) => "Not a typewriter"
ETXTBSY (26) => "Text file busy"
EFBIG (27) => "File too large"
ENOSPC (28) => "No space left on device"
ESPIPE (29) => "Illegal seek"
EROFS (30) => "Read-only file system"
EMLINK (31) => "Too many links"
EPIPE (32) => "Broken pipe"
EDOM (33) => "Math argument out of domain of func"
ERANGE (34) => "Math result not representable"
EDEADLK (35) => "Resource deadlock would occur"
ENAMETOOLONG (36) => "File name too long"
ENOLCK (37) => "No record locks available"
ENOSYS (38) => "Function not implemented"
ENOTEMPTY (39) => "Directory not empty"
ELOOP (40) => "Too many symbolic links encountered"
ENOMSG (42) => "No message of desired type"
EIDRM (43) => "Identifier removed"
ECHRNG (44) => "Channel number out of range"
EL2NSYNC (45) => "Level 2 not synchronized"
EL3HLT (46) => "Level 3 halted"
EL3RST (47) => "Level 3 reset"
ELNRNG (48) => "Link number out of range"
EUNATCH (49) => "Protocol driver not attached"
ENOCSI (50) => "No CSI structure available"
EL2HLT (51) => "Level 2 halted"
EBADE (52) => "Invalid exchange"
EBADR (53) => "Invalid request descriptor"
EXFULL (54) => "Exchange full"
ENOANO (55) => "No anode"
EBADRQC (56) => "Invalid request code"
EBADSLT (57) => "Invalid slot"
EBFONT (59) => "Bad font file format"
ENOSTR (60) => "Device not a stream"
ENODATA (61) => "No data available"
ETIME (62) => "Timer expired"
ENOSR (63) => "Out of streams resources"
ENONET (64) => "Machine is not on the network"
ENOPKG (65) => "Package not installed"
EREMOTE (66) => "Object is remote"
ENOLINK (67) => "Link has been severed"
EADV (68) => "Advertise error"
ESRMNT (69) => "Srmount error"
ECOMM (70) => "Communication error on send"
EPROTO (71) => "Protocol error"
EMULTIHOP (72) => "Multihop attempted"
EDOTDOT (73) => "RFS specific error"
EBADMSG (74) => "Not a data message"
EOVERFLOW (75) => "Value too large for defined data type"
ENOTUNIQ (76) => "Name not unique on network"
EBADFD (77) => "File descriptor in bad state"
EREMCHG (78) => "Remote address changed"
ELIBACC (79) => "Can not access a needed shared library"
ELIBBAD (80) => "Accessing a corrupted shared library"
ELIBSCN (81) => ".lib section in a.out corrupted"
ELIBMAX (82) => "Attempting to link in too many shared libraries"
ELIBEXEC (83) => "Cannot exec a shared library directly"
EILSEQ (84) => "Illegal byte sequence"
ERESTART (85) => "Interrupted system call should be restarted"
ESTRPIPE (86) => "Streams pipe error"
EUSERS (87) => "Too many users"
ENOTSOCK (88) => "Socket operation on non-socket"
EDESTADDRREQ (89) => "Destination address required"
EMSGSIZE (90) => "Message too long"
EPROTOTYPE (91) => "Protocol wrong type for socket"
ENOPROTOOPT (92) => "Protocol not available"
EPROTONOSUPPORT (93) => "Protocol not supported"
ESOCKTNOSUPPORT (94) => "Socket type not supported"
EOPNOTSUPP (95) => "Operation not supported on transport endpoint"
EPFNOSUPPORT (96) => "Protocol family not supported"
EAFNOSUPPORT (97) => "Address family not supported by protocol"
EADDRINUSE (98) => "Address already in use"
EADDRNOTAVAIL (99) => "Cannot assign requested address"
ENETDOWN (100) => "Network is down"
ENETUNREACH (101) => "Network is unreachable"
ENETRESET (102) => "Network dropped connection because of reset"
ECONNABORTED (103) => "Software caused connection abort"
ECONNRESET (104) => "Connection reset by peer"
ENOBUFS (105) => "No buffer space available"
EISCONN (106) => "Transport endpoint is already connected"
ENOTCONN (107) => "Transport endpoint is not connected"
ESHUTDOWN (108) => "Cannot send after transport endpoint shutdown"
ETOOMANYREFS (109) => "Too many references: cannot splice"
ETIMEDOUT (110) => "Connection timed out"
ECONNREFUSED (111) => "Connection refused"
EHOSTDOWN (112) => "Host is down"
EHOSTUNREACH (113) => "No route to host"
EALREADY (114) => "Operation already in progress"
EINPROGRESS (115) => "Operation now in progress"
ESTALE (116) => "Stale NFS file handle"
EUCLEAN (117) => "Structure needs cleaning"
ENOTNAM (118) => "Not a XENIX named type file"
ENAVAIL (119) => "No XENIX semaphores available"
EISNAM (120) => "Is a named type file"
EREMOTEIO (121) => "Remote I/O error"
EDQUOT (122) => "Quota exceeded"
ENOMEDIUM (123) => "No medium found"
EMEDIUMTYPE (124) => "Wrong medium type"
ENSROK (0) => "DNS server returned answer with no data"
ENSRNODATA (160) => "DNS server returned answer with no data"
ENSRFORMERR (161) => "DNS server claims query was misformatted"
ENSRSERVFAIL (162) => "DNS server returned general failure"
ENSRNOTFOUND (163) => "Domain name not found"
ENSRNOTIMP (164) => "DNS server does not implement requested operation"
ENSRREFUSED (165) => "DNS server refused query"
ENSRBADQUERY (166) => "Misformatted DNS query"
ENSRBADNAME (167) => "Misformatted domain name"
ENSRBADFAMILY (168) => "Unsupported address family"
ENSRBADRESP (169) => "Misformatted DNS reply"
ENSRCONNREFUSED (170) => "Could not contact DNS servers"
ENSRTIMEOUT (171) => "Timeout while contacting DNS servers"
ENSROF (172) => "End of file"
ENSRFILE (173) => "Error reading file"
ENSRNOMEM (174) => "Out of memory"
ENSRDESTRUCTION (175) => "Application terminated lookup"
ENSRQUERYDOMAINTOOLONG (176) => "Domain name is too long"
ENSRCNAMELOOP (177) => "Domain name is too long"
closing errno.h
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c: In function ‘vsprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/vsprintf.c:10:12: warning: specified bound 4294967295 exceeds maximum object size 2147483647 [-Wformat-truncation=]
   10 |     return vsnprintf(buffer, ~(size_t) 0, format, ap);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c: In function ‘__stdcon_open’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:41:20: warning: array subscript 0 is outside array bounds of ‘uint8_t[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=]
   41 | #define BIOS_ROWS (*(uint8_t *)0x484)   /* Minus one; if zero use 24 (= 25 lines) */
      |                   ~^~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:46:18: note: in expansion of macro ‘BIOS_ROWS’
   46 |     fp->o.rows = BIOS_ROWS + 1;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:42:20: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   42 | #define BIOS_COLS (*(uint16_t *)0x44A)
      |                   ~^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/stdcon_write.c:47:18: note: in expansion of macro ‘BIOS_COLS’
   47 |     fp->o.cols = BIOS_COLS;
      |                  ^~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c: In function ‘strtod’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:67:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   67 |         negative = 1;           // Fall through to increment position
      |         ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:68:5: note: here
   68 |     case '+':
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:112:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  112 |             negative = 1;       // Fall through to increment pos
      |             ~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/math/strtod.c:113:9: note: here
  113 |         case '+':
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c: In function ‘sprintf’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sprintf.c:14:10: warning: specified bound 4294967295 exceeds maximum object size 2147483647 [-Wformat-truncation=]
   14 |     rv = vsnprintf(buffer, ~(size_t) 0, format, ap);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c: In function ‘syslinux_debug’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:4:1: note: include ‘’ or provide a declaration of ‘printf’
    3 | #include 
  +++ |+#include 
    4 | 
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
   91 |     printf("Dynamic debug unavailable\n");
      |     ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: note: include ‘’ or provide a declaration of ‘printf’
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c: In function ‘resolve_symbols’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:290:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
  290 |                         if (dyn_entry->d_un.d_val != DT_REL) {
      |                            ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lib/sys/module/i386/elf_module.c:294:17: note: here
  294 |                 case DT_JMPREL:
      |                 ^~~~
ld: warning: libutil.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c: In function ‘generic_identify’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/cpuid.c:344:24: warning: taking address of packed member of ‘struct cpuinfo_x86’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  344 |           (uint32_t *) & c->cpuid_level,
      |                        ^~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:982:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  982 |         dmi_system_boot_status(data[0x0A], dmi->system.system_boot_status);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:983:5: note: here
  983 |     case 38:                    /* 3.3.39 IPMI Device Information */
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:955:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:33: warning: ‘ min’ directive output may be truncated writing 4 bytes into a region of size between 3 and 7 [-Wformat-truncation=]
  116 |         snprintf(array, len, "%u min", code);
      |                                 ^~~~
In function ‘dmi_system_reset_timer’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:958:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:116:9: note: ‘snprintf’ output between 6 and 10 bytes into a destination of size 8
  116 |         snprintf(array, len, "%u min", code);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:163:57: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 49 [-Wformat-truncation=]
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                                                         ^~
In function ‘dmi_system_configuration_options’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:853:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: note: ‘snprintf’ output 5 or more bytes (assuming 54) into a destination of size 50
  162 |         snprintf(dmi->system.configuration_options,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163 |                  SYSTEM_CONFIGURATION_OPTIONS_SIZE, "%s %s %s\n",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164 |                  dmi->system.configuration_options, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:162:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:58: warning: ‘%s’ directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=]
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |                                                          ^~
In function ‘dmi_oem_strings’,
    inlined from ‘dmi_decode’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:848:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: note: ‘snprintf’ output 5 or more bytes (assuming 516) into a destination of size 512
  147 |         snprintf(dmi->oem_strings, OEM_STRINGS_SIZE, "%s %s %s\n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  148 |                  dmi->oem_strings, prefix, dmi_string(h, i));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:147:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘dmi’ [-Wrestrict]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c: In function ‘dmi_decode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi.c:601:61: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  601 | void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi)
      |                                                     ~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_types’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:213:17: warning: ‘snprintf’ argument 4 overlaps destination object ‘type’ [-Wrestrict]
  213 |                 snprintf(type, sizeof_type, "%s%s%s", type, sep, types[i]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:189:68: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  189 | void dmi_memory_module_types(uint16_t code, const char *sep, char *type, int sizeof_type)
      |                                                              ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_connections’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:225:13: warning: ‘snprintf’ argument 4 overlaps destination object ‘connection’ [-Wrestrict]
  225 |             snprintf(connection, sizeof_connection, "%s%u", connection, code & 0x0F);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:217:56: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  217 | void dmi_memory_module_connections(uint8_t code, char *connection, int sizeof_connection)
      |                                                  ~~~~~~^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c: In function ‘dmi_memory_module_size’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:257:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  257 |         snprintf(size, sizeof_size, "%s %s", size, "(Single-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:255:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘size’ [-Wrestrict]
  255 |         snprintf(size, sizeof_size, "%s %s", size, "(Double-bank Connection)");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/dmi/dmi_memory.c:237:49: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  237 | void dmi_memory_module_size(uint8_t code, char *size, int sizeof_size)
      |                                           ~~~~~~^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c: In function ‘flags_to_string’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:44:9: warning: ‘strncat’ specified bound 5 equals source length [-Wstringop-overflow=]
   44 |         strncat(buffer, " edge", 5);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:46:9: warning: ‘strncat’ specified bound 6 equals source length [-Wstringop-overflow=]
   46 |         strncat(buffer, " level", 6);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/gpllib/acpi/acpi.c:48:9: warning: ‘strncat’ specified bound 8 equals source length [-Wstringop-overflow=]
   48 |         strncat(buffer, " default", 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: libgpl.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c: In function ‘serial_init’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/serial.c:45:48: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   45 |             uint16_t addr = ((uint16_t *)0x400)[port];
      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c: In function ‘upload_tftp_write’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/libupload/upload_tftp.c:64:11: warning: implicit declaration of function ‘tftp_put’; did you mean ‘tftp_open’? [-Wimplicit-function-declaration]
   64 |     err = tftp_put(&url, 0, &inode, NULL, be->outbuf, be->zbytes);
      |           ^~~~~~~~
      |           tftp_open
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c: In function ‘record’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:427:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  427 |             else
      |             ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:27:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/dprintf.h:31:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
   31 |     if (syslinux_debug_enabled) \
      |     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:430:17: note: in expansion of macro ‘dprintf’
  430 |                 dprintf("type = %s, cmd = %s", kernel_types[ld->type], me->cmdline);
      |                 ^~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:29:
In function ‘get_serial_port’,
    inlined from ‘parse_config_file’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/readconfig.c:1362:10:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/include/bios.h:104:24: warning: array subscript 0 is outside array bounds of ‘const uint16_t[0]’ {aka ‘const short unsigned int[]’} [-Warray-bounds=]
  104 |     return serial_ports[port];
      |            ~~~~~~~~~~~~^~~~~~
In function ‘parse_config_file’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:39:6: warning: conflicting types for ‘chainboot_file’ due to enum/integer mismatch; have ‘void(const char *, uint32_t)’ {aka ‘void(const char *, unsigned int)’} [-Wenum-int-mismatch]
   39 | void chainboot_file(const char *file, uint32_t type)
      |      ^~~~~~~~~~~~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/elflink/ldlinux/chainboot.c:28:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/include/menu.h:232:6: note: previous declaration of ‘chainboot_file’ with type ‘void(const char *, enum kernel_type)’
  232 | void chainboot_file(const char *file, enum kernel_type type);
      |      ^~~~~~~~~~~~~~
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: ldlinux.elf has a LOAD segment with RWX permissions
ld: warning: cat.elf has a LOAD segment with RWX permissions
ld: warning: cmd.elf has a LOAD segment with RWX permissions
ld: warning: config.elf has a LOAD segment with RWX permissions
ld: warning: cptime.elf has a LOAD segment with RWX permissions
ld: warning: cpuid.elf has a LOAD segment with RWX permissions
ld: warning: cpuidtest.elf has a LOAD segment with RWX permissions
ld: warning: debug.elf has a LOAD segment with RWX permissions
ld: warning: dir.elf has a LOAD segment with RWX permissions
ld: warning: dmitest.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c: In function ‘do_page’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:196:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  196 |             fprintf(stderr, "No response.  Continuing...\n");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:199:13: note: here
  199 |             case 'y':
      |             ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:201:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  201 |             eat_stdin();
      |             ^~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/hexdump.c:202:13: note: here
  202 |             case '\n':
      |             ^~~~
ld: warning: hexdump.elf has a LOAD segment with RWX permissions
ld: warning: host.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu.elf has a LOAD segment with RWX permissions
ld: warning: ifcpu64.elf has a LOAD segment with RWX permissions
ld: warning: linux.elf has a LOAD segment with RWX permissions
ld: warning: ls.elf has a LOAD segment with RWX permissions
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:99:14: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   99 |     uint16_t dosram = *(uint16_t *) 0x413;
      |              ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:34: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |                         ~~~~~~~~~^~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
In function ‘dump_legacy’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:129:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/modules/meminfo.c:110:19: warning: array subscript 0 is outside array bounds of ‘struct [0]’ [-Warray-bounds=]
  110 |          ivt[0x15].seg, ivt[0x15].offs, dosram, dosram << 10, oreg.eax.w[0],
      |          ~~~~~~~~~^~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: meminfo.elf has a LOAD segment with RWX permissions
ld: warning: pwd.elf has a LOAD segment with RWX permissions
ld: warning: reboot.elf has a LOAD segment with RWX permissions
ld: warning: vpdtest.elf has a LOAD segment with RWX permissions
ld: warning: whichsys.elf has a LOAD segment with RWX permissions
ld: warning: zzjson.elf has a LOAD segment with RWX permissions
In function ‘mboot_scan_memory’,
    inlined from ‘mboot_make_memmap’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:179:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:62:18: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   62 |         uint16_t ebda_seg = *(uint16_t *) 0x40e;
      |                  ^~~~~~~~
In function ‘mboot_make_memmap’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:218:24: warning: ‘ard’ may be used uninitialized [-Wmaybe-uninitialized]
  218 |     mbinfo.mmap_addr = map_data(ard, nmap * sizeof *ard, 4, false);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/mboot/mem.c:172:27: note: ‘ard’ was declared here
  172 |     struct AddrRangeDesc *ard;
      |                           ^~~
ld: warning: mboot.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c: In function ‘run_menu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:746:9: warning: variable ‘done’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  746 |     int done = 0;
      |         ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:748:9: warning: variable ‘prev_entry’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  748 |     int prev_entry = -1;
      |         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:750:9: warning: variable ‘prev_top’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  750 |     int prev_top = -1;
      |         ^~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:751:9: warning: variable ‘clear’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  751 |     int clear = 1, to_clear;
      |         ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/menumain.c:752:17: warning: variable ‘cmdline’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  752 |     const char *cmdline = NULL;
      |                 ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c: In function ‘drain_keyboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:20:5: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
   20 |     *(volatile uint8_t *)0x419 = 0;     /* Alt-XXX keyboard area */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:21:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   21 |     *(volatile uint16_t *)0x41a = 0x1e; /* Keyboard buffer empty */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:22:5: warning: array subscript 0 is outside array bounds of ‘volatile uint16_t[0]’ {aka ‘volatile short unsigned int[]’} [-Warray-bounds=]
   22 |     *(volatile uint16_t *)0x41c = 0x1e;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/menu/drain.c:23:5: warning: ‘memset’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds=]
   23 |     memset((void *)0x41e, 0, 32);       /* Clear the actual keyboard buffer */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: menu.elf has a LOAD segment with RWX permissions
ld: warning: vesamenu.elf has a LOAD segment with RWX permissions
ld: warning: hello.elf has a LOAD segment with RWX permissions
ld: warning: resolv.elf has a LOAD segment with RWX permissions
ld: warning: serialinfo.elf has a LOAD segment with RWX permissions
ld: warning: localboot.elf has a LOAD segment with RWX permissions
ld: warning: fancyhello.elf has a LOAD segment with RWX permissions
ld: warning: keytest.elf has a LOAD segment with RWX permissions
ld: warning: advdump.elf has a LOAD segment with RWX permissions
ld: warning: entrydump.elf has a LOAD segment with RWX permissions
ld: warning: rosh.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c: In function ‘getmenuoption’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:485:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  485 |         if (ms->keys_handler)   // Call extra keys handler
      |         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/menu.c:489:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  489 |             reset_ui();
      |             ^~~~~~~~
ld: warning: libmenu/libmenu.elf has a LOAD segment with RWX permissions
ld: warning: complex.elf has a LOAD segment with RWX permissions
ld: warning: display.elf has a LOAD segment with RWX permissions
ld: warning: simple.elf has a LOAD segment with RWX permissions
ld: warning: test.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/cmenu.h:22,
                 from test2.c:17:
In function ‘readbiosb’,
    inlined from ‘getshiftflags’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:54:12,
    inlined from ‘main’ at test2.c:493:7:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/cmenu/libmenu/com32io.h:49:12: warning: array subscript 0 is outside array bounds of ‘void[0]’ [-Warray-bounds=]
   49 |     return *((unsigned char *)MK_PTR(0, ofs));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
ld: warning: test2.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:76:51: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   76 |             strncat(buffer, kernel_modules, sizeof(kernel_modules));
      |                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:123:27: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  123 |                     sizeof(kernel_modules));
      |                           ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘main_show_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:64:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   64 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:75:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   75 |                 strncat(buffer, "(", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:78:17: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   78 |                 strncat(buffer, ")", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:79:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   79 |             strncat(buffer, " # ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:84:9: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   84 |         strncat(buffer, "\n", 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c: In function ‘show_kernel_modules’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-kernel.c:117:13: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
  117 |             strncat(kernel_modules, " ", 1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:102:13: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  102 |             strncat(kernel_modules, " | ", 3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c: In function ‘show_pci_devices’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:182:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  182 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:193:29: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 68 and 77 [-Wformat-truncation=]
  193 |                      "%02d: %s %s \n", i,
      |                             ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:192:13: note: ‘snprintf’ output between 8 and 527 bytes into a destination of size 81
  192 |             snprintf(first_line, sizeof(first_line),
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193 |                      "%02d: %s %s \n", i,
      |                      ~~~~~~~~~~~~~~~~~~~~
  194 |                      pci_device->dev_info->vendor_name,
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |                      pci_device->dev_info->product_name);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:198:33: warning: ‘%-25s’ directive output may be truncated writing between 25 and 255 bytes into a region of size 75 [-Wformat-truncation=]
  198 |                          "    # %-25s # Kmod: %s\n",
      |                                 ^~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pci.c:197:17: note: ‘snprintf’ output between 42 and 911 bytes into a destination of size 81
  197 |                 snprintf(second_line, sizeof(second_line),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  198 |                          "    # %-25s # Kmod: %s\n",
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  199 |                          pci_device->dev_info->class_name, kernel_modules);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c: In function ‘main_show_pxe’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:70:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   70 |         snprintf(buffer, sizeof(buffer), " Manufacturer : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-cli-pxe.c:73:9: note: ‘snprintf’ output between 19 and 274 bytes into a destination of size 81
   73 |         snprintf(buffer, sizeof(buffer), " Product      : %s \n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:45: warning: ‘snprintf’ output truncated before the last format character [-Wformat-truncation=]
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |                                             ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:261:9: note: ‘snprintf’ output 17 bytes into a destination of size 16
  261 |         snprintf(base,sizeof(base),"%08X%08X",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262 |                         (uint32_t)(hardware->dmi.ipmi.base_address >> 32),
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  263 |                         (uint32_t)((hardware->dmi.ipmi.base_address & 0xFFFF) & ~1));
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:46: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |                                              ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:313:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  313 |         snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runtime_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 14 [-Wformat-truncation=]
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:314:9: note: ‘snprintf’ output between 3 and 22 bytes into a destination of size 16
  314 |         snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c: In function ‘dump_dmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:52: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:48: note: directive argument in the range [0, 65535]
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                                                ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-dmi.c:427:17: note: ‘snprintf’ output between 4 and 12 bytes into a destination of size 8
  427 |                 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c: In function ‘dump_pci’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-dump-pci.c:82:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   82 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_system’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:41:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   41 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->system.manufacturer);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:47:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   47 |     snprintf(buffer, sizeof buffer, "Product   : %s", dmi->system.product_name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:53:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   53 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->system.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:58:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   58 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->system.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:59:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   59 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |              dmi->system.serial);
      |              ~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:50: warning: ‘%s’ directive output may be truncated writing up to 39 bytes into a region of size 35 [-Wformat-truncation=]
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:64:5: note: ‘snprintf’ output between 13 and 52 bytes into a destination of size 47
   64 |     snprintf(buffer, sizeof buffer, "UUID      : %s", dmi->system.uuid);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:75:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   75 |     snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:81:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   81 |     snprintf(buffer, sizeof buffer, "Family    : %s", dmi->system.family);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_chassis’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:98:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
   98 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |              dmi->chassis.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:110:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  110 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->chassis.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:116:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  116 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->chassis.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:117:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  117 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  118 |              dmi->chassis.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_bios’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:147:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  147 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", dmi->bios.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:152:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  152 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->bios.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:157:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  157 |     snprintf(buffer, sizeof buffer, "Release   : %s", dmi->bios.release_date);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_motherboard’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:188:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  188 |     snprintf(buffer, sizeof buffer, "Vendor    : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  189 |              dmi->base_board.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:195:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  195 |     snprintf(buffer, sizeof buffer, "Product   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |              dmi->base_board.product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:202:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  202 |     snprintf(buffer, sizeof buffer, "Version   : %s", dmi->base_board.version);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:208:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  208 |     snprintf(buffer, sizeof buffer, "Serial    : %s", dmi->base_board.serial);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:63: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |                                                               ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:209:5: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
  209 |     snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210 |              dmi->base_board.serial);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:214:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  214 |     snprintf(buffer, sizeof buffer, "Asset Tag : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |              dmi->base_board.asset_tag);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:50: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 35 [-Wformat-truncation=]
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:221:5: note: ‘snprintf’ output between 13 and 77 bytes into a destination of size 47
  221 |     snprintf(buffer, sizeof buffer, "Location  : %s", dmi->base_board.location);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_ipmi’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:244:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  244 |     snprintf(buffer, sizeof buffer, "Interface Type  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  245 |              dmi->ipmi.interface_type);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c: In function ‘compute_battery’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:301:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  301 |     snprintf(buffer, sizeof buffer, "Vendor          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  302 |              dmi->battery.manufacturer);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:308:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  308 |     snprintf(buffer, sizeof buffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  309 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:64: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 61 [-Wformat-truncation=]
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:310:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 79
  310 |     snprintf(statbuffer, sizeof statbuffer, "Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  311 |              dmi->battery.manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:315:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  315 |     snprintf(buffer, sizeof buffer, "Serial          : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  316 |              dmi->battery.serial);
      |              ~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:321:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  321 |     snprintf(buffer, sizeof buffer, "Name            : %s", dmi->battery.name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:326:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  326 |     snprintf(buffer, sizeof buffer, "Chemistry       : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327 |              dmi->battery.chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:347:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  347 |     snprintf(buffer, sizeof buffer, "SBDS            : %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:52: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 73 [-Wformat-truncation=]
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |                                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:348:5: note: ‘snprintf’ output between 7 and 261 bytes into a destination of size 79
  348 |     snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:352:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  352 |     snprintf(buffer, sizeof buffer, "SBDS Manuf. Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  353 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 56 [-Wformat-truncation=]
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:354:5: note: ‘snprintf’ output between 24 and 278 bytes into a destination of size 79
  354 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Manufacture Date: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355 |              dmi->battery.sbds_manufacture_date);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:56: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 29 [-Wformat-truncation=]
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:359:5: note: ‘snprintf’ output between 19 and 83 bytes into a destination of size 47
  359 |     snprintf(buffer, sizeof buffer, "SBDS Chemistry  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  360 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:63: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=]
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |                                                               ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:361:5: note: ‘snprintf’ output between 18 and 82 bytes into a destination of size 79
  361 |     snprintf(statbuffer, sizeof statbuffer, "SBDS Chemistry : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  362 |              dmi->battery.sbds_chemistry);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:56: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 29 [-Wformat-truncation=]
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:366:5: note: ‘snprintf’ output between 19 and 50 bytes into a destination of size 47
  366 |     snprintf(buffer, sizeof buffer, "Maximum Error   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  367 |              dmi->battery.maximum_error);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 29 [-Wformat-truncation=]
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:373:5: note: ‘snprintf’ output between 19 and 273 bytes into a destination of size 47
  373 |     snprintf(buffer, sizeof buffer, "OEM Info        : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  374 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:56: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 69 [-Wformat-truncation=]
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |                                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-dmi.c:375:5: note: ‘snprintf’ output between 11 and 265 bytes into a destination of size 79
  375 |     snprintf(statbuffer, sizeof statbuffer, "OEM Info: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  376 |              dmi->battery.oem_info);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c: In function ‘compute_kernel’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:63:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
   63 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:71:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
   71 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:74:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
   74 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-kernel.c:73:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
   73 |                 snprintf(infobar, sizeof infobar,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   74 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
   75 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
   76 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
   77 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   78 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:162:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  162 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_pci_device’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:107:17: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  107 |                 strncat(kernel_modules, " | ", 3);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:46:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   46 |     snprintf(buffer, sizeof buffer, "Vendor  : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   47 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:48:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 78
   48 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   49 |              pci_device->dev_info->vendor_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:53:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   53 |     snprintf(buffer, sizeof buffer, "Product : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   54 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |                                                            ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 78
   55 |     snprintf(statbuffer, sizeof statbuffer, "Product Name  %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |              pci_device->dev_info->product_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:48: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 46 [-Wformat-truncation=]
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |                                                ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:60:5: note: ‘snprintf’ output between 11 and 266 bytes into a destination of size 56
   60 |     snprintf(buffer, sizeof buffer, "Class   : %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   61 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |                                                          ^~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:62:5: note: ‘snprintf’ output between 13 and 268 bytes into a destination of size 78
   62 |     snprintf(statbuffer, sizeof statbuffer, "Class Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   63 |              pci_device->dev_info->class_name);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:52: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 46 [-Wformat-truncation=]
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |                                                    ^~   ~~~~~~~~~~~~~~
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:113:9: note: ‘snprintf’ output between 11 and 650 bytes into a destination of size 56
  113 |         snprintf(buffer, sizeof buffer, "Modules : %s", kernel_modules);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:66: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 62 [-Wformat-truncation=]
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |                                                                  ^~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~                                   
In function ‘compute_pci_device’,
    inlined from ‘compute_PCI’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:171:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:114:9: note: ‘snprintf’ output between 17 and 656 bytes into a destination of size 78
  114 |         snprintf(statbuffer, sizeof statbuffer, "Kernel Modules: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  115 |                  kernel_modules);
      |                  ~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c: In function ‘compute_PCI’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 59 [-Wformat-truncation=]
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:173:9: note: ‘snprintf’ output between 2 and 512 bytes into a destination of size 59
  173 |         snprintf(menuname[i], 59, "%s|%s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174 |                  pci_device->dev_info->vendor_name,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  175 |                  pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 68 [-Wformat-truncation=]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                                    ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:177:18: note: directive argument in the range [0, 65535]
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pci.c:176:9: note: ‘snprintf’ output between 45 and 939 bytes into a destination of size 78
  176 |         snprintf(infobar[i], STATLEN,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |                  "%02x:%02x.%01x # %s # ID:%04x:%04x[%04x:%04x] # Kmod:%s",
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178 |                  __pci_bus, __pci_slot, __pci_func,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179 |                  pci_device->dev_info->class_name, pci_device->vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  180 |                  pci_device->product, pci_device->sub_vendor,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                  pci_device->sub_product, kernel_modules);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c: In function ‘compute_processor’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:71:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   71 |     snprintf(buffer, sizeof buffer, "Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:50: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 35 [-Wformat-truncation=]
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |                                                  ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-processor.c:76:5: note: ‘snprintf’ output between 13 and 60 bytes into a destination of size 47
   76 |     snprintf(buffer, sizeof buffer, "Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c: In function ‘compute_PXE’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:89:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   89 |         snprintf(buffer, sizeof buffer, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   90 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:91:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   91 |         snprintf(infobar, sizeof infobar, "Manufacturer : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   92 |                  p->pci_device->dev_info->vendor_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:57: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 32 [-Wformat-truncation=]
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |                                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:96:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 47
   96 |         snprintf(buffer, sizeof buffer, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   97 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=]
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |                                                           ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-pxe.c:98:9: note: ‘snprintf’ output between 16 and 271 bytes into a destination of size 79
   98 |         snprintf(infobar, sizeof infobar, "Product      : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   99 |                  p->pci_device->dev_info->product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c: In function ‘compute_summarymenu’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:173:21: warning: ‘strncat’ specified bound 3 equals source length [-Wstringop-overflow=]
  173 |                     strncat(kernel_modules, " | ", 3);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:43:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   43 |     snprintf(buffer, sizeof buffer, "CPU Vendor    : %s", hardware->cpu.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:54: warning: ‘%s’ directive output may be truncated writing up to 47 bytes into a region of size 31 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |                                                      ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:49:5: note: ‘snprintf’ output between 17 and 64 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "CPU Model     : %s", hardware->cpu.model);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:38: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 47 [-Wformat-truncation=]
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |                                      ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:70:5: note: ‘snprintf’ output between 1 and 255 bytes into a destination of size 47
   70 |     snprintf(buffer, sizeof buffer, "%s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:57: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=]
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |                                                         ^~   ~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:71:5: note: ‘snprintf’ output between 12 and 266 bytes into a destination of size 79
   71 |     snprintf(statbuffer, sizeof statbuffer, "Features : %s", features);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:78:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   78 |         snprintf(buffer, sizeof buffer, "System Vendor : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   79 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:67: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |                                                                   ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:80:9: note: ‘snprintf’ output between 16 and 80 bytes into a destination of size 79
   80 |         snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   81 |                  hardware->dmi.system.manufacturer);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:85:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   85 |         snprintf(buffer, sizeof buffer, "System Product: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   86 |                  hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:88:40: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 58 [-Wformat-truncation=]
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                                        ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:87:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 79
   87 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   88 |                  "System Product Name: %s", hardware->dmi.system.product_name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:92:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
   92 |         snprintf(buffer, sizeof buffer, "System Serial : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   93 |                  hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:95:41: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 57 [-Wformat-truncation=]
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                                         ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:94:9: note: ‘snprintf’ output between 23 and 87 bytes into a destination of size 79
   94 |         snprintf(statbuffer, sizeof statbuffer,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   95 |                  "System Serial Number: %s", hardware->dmi.system.serial);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:101:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  101 |         snprintf(buffer, sizeof buffer, "Bios Version  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102 |                  hardware->dmi.bios.version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:58: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 31 [-Wformat-truncation=]
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |                                                          ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:108:9: note: ‘snprintf’ output between 17 and 81 bytes into a destination of size 47
  108 |         snprintf(buffer, sizeof buffer, "Bios Release  : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:69: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 60 [-Wformat-truncation=]
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:110:9: note: ‘snprintf’ output between 20 and 84 bytes into a destination of size 79
  110 |         snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111 |                  hardware->dmi.bios.release_date);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:50: warning: ‘%s’ directive output may be truncated writing up to 639 bytes into a region of size 47 [-Wformat-truncation=]
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                                                  ^~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~           
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:181:17: note: ‘snprintf’ output between 4 and 898 bytes into a destination of size 47
  181 |                 snprintf(buffer, sizeof buffer, "%s (%s)",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  182 |                          kernel_modules, pci_device->dev_info->class_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:184:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 69 [-Wformat-truncation=]
  184 |                          "%04x:%04x %s : %s",
      |                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-summary.c:183:17: note: ‘snprintf’ output between 14 and 524 bytes into a destination of size 79
  183 |                 snprintf(statbuffer, sizeof statbuffer,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184 |                          "%04x:%04x %s : %s",
      |                          ~~~~~~~~~~~~~~~~~~~~
  185 |                          pci_device->vendor,
      |                          ~~~~~~~~~~~~~~~~~~~
  186 |                          pci_device->product,
      |                          ~~~~~~~~~~~~~~~~~~~~
  187 |                          pci_device->dev_info->vendor_name,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  188 |                          pci_device->dev_info->product_name);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:49:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   49 |     snprintf(buffer, sizeof buffer, "Vendor      : %s", hardware->vesa.vendor);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:59: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 66 [-Wformat-truncation=]
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |                                                           ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:50:5: note: ‘snprintf’ output between 14 and 269 bytes into a destination of size 79
   50 |     snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   51 |              hardware->vesa.vendor);
      |              ~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:55:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   55 |     snprintf(buffer, sizeof buffer, "Product     : %s", hardware->vesa.product);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 65 [-Wformat-truncation=]
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |                                                            ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:56:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 79
   56 |     snprintf(statbuffer, sizeof statbuffer, "Product Name: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   57 |              hardware->vesa.product);
      |              ~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:52: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 33 [-Wformat-truncation=]
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |                                                    ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:61:5: note: ‘snprintf’ output between 15 and 270 bytes into a destination of size 47
   61 |     snprintf(buffer, sizeof buffer, "Product Rev.: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   62 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c: In function ‘compute_VESA’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:63: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 62 [-Wformat-truncation=]
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |                                                               ^~
In function ‘compute_vesa_card’,
    inlined from ‘compute_VESA’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:113:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vesa.c:63:5: note: ‘snprintf’ output between 18 and 273 bytes into a destination of size 79
   63 |     snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |              hardware->vesa.product_revision);
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c: In function ‘compute_vpd’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:69: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 20 [-Wformat-truncation=]
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |                                                                     ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:69:9: note: ‘snprintf’ output between 28 and 282 bytes into a destination of size 47
   69 |         snprintf(buffer, sizeof buffer, "Bios Version             : %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:64: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 65 [-Wformat-truncation=]
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |                                                                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/hdt/hdt-menu-vpd.c:71:9: note: ‘snprintf’ output between 15 and 269 bytes into a destination of size 79
   71 |         snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                  hardware->vpd.bios_version);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: hdt.elf has a LOAD segment with RWX permissions
ld: warning: realmode_callback.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: gfxboot.elf has a LOAD segment with RWX permissions
In function ‘find_rsdp’,
    inlined from ‘dump_acpi’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:238:12:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/acpi.c:142:13: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
  142 |     ebda = (*(uint16_t *)0x40e) << 4;
      |            ~^~~~~~~~~~~~~~~~~~~
In function ‘dump_acpi’:
cc1: note: source object is likely at address zero
In function ‘dump_e820’,
    inlined from ‘dump_memory_map’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:85:5:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/sysdump/memmap.c:50:9: warning: ‘memcpy’ offset [0, 23] is out of the bounds [0, 0] [-Warray-bounds=]
   50 |         memcpy(buf[nentry].data, curr->data, sizeof curr->data);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: warning: sysdump.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c: In function ‘collectargs’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:380:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  380 |         args[has_i] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:381:7: note: here
  381 |       case 'v':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:386:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  386 |         args[has_e] = 1;  /* go through */
      |         ~~~~~~~~~~~~^~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lua.c:387:7: note: here
  387 |       case 'l':  /* both options need an argument */
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c: In function ‘freeobj’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:679:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  679 |       G(L)->strt.nuse--;
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lgc.c:681:5: note: here
  681 |     case LUA_TLNGSTR: {
      |     ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c: In function ‘llex’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:481:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  481 |         else if (!lisdigit(ls->current)) return '.';
      |                 ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/llex.c:484:7: note: here
  484 |       case '0': case '1': case '2': case '3': case '4':
      |       ^~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c: In function ‘luaH_get’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:486:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  486 |     case LUA_TNUMBER: {
      |                       ^
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/ltable.c:494:5: note: here
  494 |     default: {
      |     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c: In function ‘match’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:492:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  492 |               s++;  /* 1 match already done */
      |               ~^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/lstrlib.c:494:13: note: here
  494 |             case '*':  /* 0 or more repetitions */
      |             ^~~~
ld: warning: liblua.elf has a LOAD segment with RWX permissions
ld: warning: lua.elf has a LOAD segment with RWX permissions
ld: warning: cpu.elf has a LOAD segment with RWX permissions
ld: warning: dhcp.elf has a LOAD segment with RWX permissions
ld: warning: dmi.elf has a LOAD segment with RWX permissions
ld: warning: lfs.elf has a LOAD segment with RWX permissions
ld: warning: pci.elf has a LOAD segment with RWX permissions
ld: warning: syslinux.elf has a LOAD segment with RWX permissions
ld: warning: vesa.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c: In function ‘l_add_sep’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/lua/src/cmenu.c:42:34: warning: unused parameter ‘L’ [-Wunused-parameter]
   42 | static int l_add_sep (lua_State *L)
      |                       ~~~~~~~~~~~^
ld: warning: cmenu.elf has a LOAD segment with RWX permissions
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:38:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c: In function ‘main’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:521:37: note: in expansion of macro ‘dosmax’
  521 |         if (fdat.base + fdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:532:37: note: in expansion of macro ‘dosmax’
  532 |         if (sdat.base + sdat.size > dosmax) {
      |                                     ^~~~~~
cc1: note: source object is likely at address zero
In function ‘do_boot’,
    inlined from ‘main’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:630:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/chain.c:167:20: note: in expansion of macro ‘dosmax’
  167 |     if (endimage > dosmax)
      |                    ^~~~~~
In function ‘main’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘opt_parse_args’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:364:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
  364 |                 case '2': opt.piflags |= PIF_STRICTER;
      |                           ~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:365:17: note: here
  365 |                 case '1': opt.piflags |= PIF_STRICT; break;
      |                 ^~~~
In file included from /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:37:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c: In function ‘soi_s2n.constprop’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/utility.h:47:26: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds=]
   47 | #define dosmax ((addr_t)(*(uint16_t *) 0x413 << 10))
      |                          ^~~~~~~~~~~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/com32/chain/options.c:65:32: note: in expansion of macro ‘dosmax’
   65 |     if (val < dosmin || val >= dosmax) {
      |                                ^~~~~~
cc1: note: source object is likely at address zero
ld: warning: chain.elf has a LOAD segment with RWX permissions
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c: In function ‘bios_adjust_screen’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/font.c:160:16: warning: array subscript 0 is outside array bounds of ‘volatile uint8_t[0]’ {aka ‘volatile unsigned char[]’} [-Warray-bounds=]
  160 |         rows = *vidrows;
      |                ^~~~~~~~
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘ufs1_iget_by_inr’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:224:27: warning: taking address of packed member of ‘struct ufs1_inode’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  224 |     source = (uint32_t *) ufs_inode->direct_blk_ptr;
      |                           ^~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c: In function ‘get_inode_mode’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:359:37: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  359 |         case UFS_DTYPE_FIFO: return DT_FIFO;
      |                                     ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:360:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  360 |         case UFS_DTYPE_CHARDEV: return DT_CHR;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:361:36: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  361 |         case UFS_DTYPE_DIR: return DT_DIR;
      |                                    ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:362:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  362 |         case UFS_DTYPE_BLOCK: return DT_BLK;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:363:38: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  363 |         case UFS_DTYPE_RFILE: return DT_REG;
      |                                      ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:364:40: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  364 |         case UFS_DTYPE_SYMLINK: return DT_LNK;
      |                                        ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:365:39: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  365 |         case UFS_DTYPE_SOCKET: return DT_SOCK;
      |                                       ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:366:41: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  366 |         case UFS_DTYPE_WHITEOUT: return DT_WHT;
      |                                         ^~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ufs/ufs.c:367:25: warning: implicit conversion from ‘enum dirent_type’ to ‘enum dir_type_flags’ [-Wenum-conversion]
  367 |         default: return DT_UNKNOWN;
      |                         ^~~~~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_filename_cmp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:303:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  303 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c: In function ‘ntfs_cvt_filename’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ntfs/ntfs.c:902:16: warning: taking address of packed member of ‘struct ntfs_filename_attr’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  902 |     entry_fn = ie->key.file_name.file_name;
      |                ^~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c: In function ‘__ext2_get_group_desc’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/ext2/ext2.c:47:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |     p = get_cache(fs->fs_dev, desc_block);
      |       ^
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:106:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  106 |                 *dst++ = (uint32_t)serstub_irq0;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:107:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  107 |                 *dst++ = (uint32_t)serstub_irq1;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:108:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  108 |                 *dst++ = (uint32_t)serstub_irq2;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:109:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  109 |                 *dst++ = (uint32_t)serstub_irq3;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:110:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  110 |                 *dst++ = (uint32_t)serstub_irq4;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:111:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  111 |                 *dst++ = (uint32_t)serstub_irq5;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:112:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  112 |                 *dst++ = (uint32_t)serstub_irq6;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘install_irq_vectors’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:103:20,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:135:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:113:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  113 |                 *dst++ = (uint32_t)serstub_irq7;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:115:24: warning: array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  115 |                 *dst++ = (uint32_t)serstub_irq8;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:116:24: warning: array subscript 1 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  116 |                 *dst++ = (uint32_t)serstub_irq9;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:117:24: warning: array subscript 2 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  117 |                 *dst++ = (uint32_t)serstub_irq10;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:118:24: warning: array subscript 3 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  118 |                 *dst++ = (uint32_t)serstub_irq11;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:119:24: warning: array subscript 4 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  119 |                 *dst++ = (uint32_t)serstub_irq12;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:120:24: warning: array subscript 5 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  120 |                 *dst++ = (uint32_t)serstub_irq13;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:121:24: warning: array subscript 6 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  121 |                 *dst++ = (uint32_t)serstub_irq14;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
In function ‘install_irq_vectors’,
    inlined from ‘sirq_install’ at /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:136:2:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/serirq.c:122:24: warning: array subscript 7 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} [-Warray-bounds=]
  122 |                 *dst++ = (uint32_t)serstub_irq15;
      |                 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘sirq_install’:
cc1: note: source object is likely at address zero
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c: In function ‘parse_dhcp’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/core/fs/pxe/dhcp_option.c:234:9: warning: variable ‘min_opt’ set but not used [-Wunused-but-set-variable]
  234 |     int min_opt = 0;
      |         ^~~~~~~
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi/main.c: In function ‘build_gdt’:
/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi/main.c:906:82: warning: taking address of packed member of ‘struct dt_desc’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  906 |         status = emalloc(gdt.limit, __SIZEOF_POINTER__ , (EFI_PHYSICAL_ADDRESS *)&gdt.base);
      |                                                                                  ^~~~~~~~~
ld: warning: /var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/efi32/com32/lib/libgcc/__muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: i386/linux.o: warning: relocation in read-only section `.text'
ld: warning: creating DT_TEXTREL in a PIE
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: ldlinux.o: warning: relocation in read-only section `.text'
ld: warning: ldlinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
1+0 records in
1+0 records out
512 bytes copied, 0.000373651 s, 1.4 MB/s
116+1 records in
116+1 records out
59634 bytes (60 kB, 58 KiB) copied, 0.00876459 s, 6.8 MB/s
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: isolinux.o: warning: relocation in read-only section `.text'
ld: warning: isolinux.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
ld: warning: __muldi3.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: isolinux-debug.o: warning: relocation in read-only section `.text'
ld: warning: isolinux-debug.elf has a LOAD segment with RWX permissions
ld: warning: creating DT_TEXTREL in a PIE
ld: warning: memmove.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: syslinux.elf has a LOAD segment with RWX permissions
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
ls: cannot access 'core/pxelinux.0': No such file or directory
ls: cannot access 'core/lpxelinux.0': No such file or directory
ls: cannot access 'core/isolinux.bin': No such file or directory
ls: cannot access 'core/isolinux-debug.bin': No such file or directory
ls: cannot access 'dos/syslinux.com': No such file or directory
ls: cannot access 'win32/syslinux.exe': No such file or directory
ls: cannot access 'win64/syslinux64.exe': No such file or directory
ls: cannot access 'dosutil/*.com': No such file or directory
ls: cannot access 'dosutil/*.sys': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:293: all-local] Error 2 (ignored)
install: cannot stat 'win32/syslinux.exe': No such file or directory
install: cannot stat 'win64/syslinux64.exe': No such file or directory
make[2]: [/var/pisi/syslinux-6.04-11/work/syslinux-6.04-pre1/Makefile:347: local-install] Error 1 (ignored)