=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for grub-0.97nb10
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/scratch/work/sysutils/grub/work/grub-0.97'
Making all in netboot
gmake[2]: Entering directory '/scratch/work/sysutils/grub/work/grub-0.97/netboot'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/scratch/work/sysutils/grub/work/grub-0.97/netboot'
Making all in stage2
gmake[2]: Entering directory '/scratch/work/sysutils/grub/work/grub-0.97/stage2'
gcc  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -D_FORTIFY_SOURCE=2 -c -o pre_stage2_exec-asm.o `test -f 'asm.S' || echo './'`asm.S
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-bios.o -MD -MP -MF ".deps/pre_stage2_exec-bios.Tpo" -c -o pre_stage2_exec-bios.o `test -f 'bios.c' || echo './'`bios.c; \
then mv -f ".deps/pre_stage2_exec-bios.Tpo" ".deps/pre_stage2_exec-bios.Po"; else rm -f ".deps/pre_stage2_exec-bios.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-boot.o -MD -MP -MF ".deps/pre_stage2_exec-boot.Tpo" -c -o pre_stage2_exec-boot.o `test -f 'boot.c' || echo './'`boot.c; \
then mv -f ".deps/pre_stage2_exec-boot.Tpo" ".deps/pre_stage2_exec-boot.Po"; else rm -f ".deps/pre_stage2_exec-boot.Tpo"; exit 1; fi
bios.c:23:6: warning: no previous prototype for '__enable_execute_stack' [-Wmissing-prototypes]
 void __enable_execute_stack(void *addr)
      ^~~~~~~~~~~~~~~~~~~~~~
boot.c: In function 'load_image':
boot.c:68:26: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign]
   if (!(len = grub_read (buffer, MULTIBOOT_SEARCH)) || len < 32)
                          ^~~~~~
In file included from boot.c:22:0:
shared.h:951:5: note: expected 'char *' but argument is of type 'unsigned char *'
 int grub_read (char *buf, int len);
     ^~~~~~~~~
boot.c:102:24: warning: pointer targets in passing argument 1 of 'grub_strcmp' differ in signedness [-Wpointer-sign]
        || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0
                        ^~
In file included from boot.c:22:0:
shared.h:879:5: note: expected 'const char *' but argument is of type 'unsigned char *'
 int grub_strcmp (const char *s1, const char *s2);
     ^~~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-builtins.o -MD -MP -MF ".deps/pre_stage2_exec-builtins.Tpo" -c -o pre_stage2_exec-builtins.o `test -f 'builtins.c' || echo './'`builtins.c; \
then mv -f ".deps/pre_stage2_exec-builtins.Tpo" ".deps/pre_stage2_exec-builtins.Po"; else rm -f ".deps/pre_stage2_exec-builtins.Tpo"; exit 1; fi
boot.c: In function 'bsd_boot':
boot.c:1028:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  bi.bi_kernelname = arg + 1;
                   ^
builtins.c: In function 'install_func':
builtins.c:1883:51: warning: comparison of constant '512' with boolean expression is always false [-Wbool-compare]
       || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE)
                                                   ^~
builtins.c:1883:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
builtins.c:1883:10: note: add parentheses around left hand side expression to silence this warning
       || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          (                                       )
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-char_io.o -MD -MP -MF ".deps/pre_stage2_exec-char_io.Tpo" -c -o pre_stage2_exec-char_io.o `test -f 'char_io.c' || echo './'`char_io.c; \
then mv -f ".deps/pre_stage2_exec-char_io.Tpo" ".deps/pre_stage2_exec-char_io.Po"; else rm -f ".deps/pre_stage2_exec-char_io.Tpo"; exit 1; fi
builtins.c:1759:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable]
   struct geometry dest_geom, src_geom;
                              ^~~~~~~~
builtins.c:1759:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable]
   struct geometry dest_geom, src_geom;
                   ^~~~~~~~~
builtins.c:1756:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable]
   int dest_drive, dest_partition, dest_sector;
                                   ^~~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-cmdline.o -MD -MP -MF ".deps/pre_stage2_exec-cmdline.Tpo" -c -o pre_stage2_exec-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c; \
then mv -f ".deps/pre_stage2_exec-cmdline.Tpo" ".deps/pre_stage2_exec-cmdline.Po"; else rm -f ".deps/pre_stage2_exec-cmdline.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-common.o -MD -MP -MF ".deps/pre_stage2_exec-common.Tpo" -c -o pre_stage2_exec-common.o `test -f 'common.c' || echo './'`common.c; \
then mv -f ".deps/pre_stage2_exec-common.Tpo" ".deps/pre_stage2_exec-common.Po"; else rm -f ".deps/pre_stage2_exec-common.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-console.o -MD -MP -MF ".deps/pre_stage2_exec-console.Tpo" -c -o pre_stage2_exec-console.o `test -f 'console.c' || echo './'`console.c; \
then mv -f ".deps/pre_stage2_exec-console.Tpo" ".deps/pre_stage2_exec-console.Po"; else rm -f ".deps/pre_stage2_exec-console.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-disk_io.o -MD -MP -MF ".deps/pre_stage2_exec-disk_io.Tpo" -c -o pre_stage2_exec-disk_io.o `test -f 'disk_io.c' || echo './'`disk_io.c; \
then mv -f ".deps/pre_stage2_exec-disk_io.Tpo" ".deps/pre_stage2_exec-disk_io.Po"; else rm -f ".deps/pre_stage2_exec-disk_io.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_ext2fs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ext2fs.Tpo" -c -o pre_stage2_exec-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo './'`fsys_ext2fs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ext2fs.Tpo" ".deps/pre_stage2_exec-fsys_ext2fs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ext2fs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_fat.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_fat.Tpo" -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo './'`fsys_fat.c; \
then mv -f ".deps/pre_stage2_exec-fsys_fat.Tpo" ".deps/pre_stage2_exec-fsys_fat.Po"; else rm -f ".deps/pre_stage2_exec-fsys_fat.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_ffs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ffs.Tpo" -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ffs.Tpo" ".deps/pre_stage2_exec-fsys_ffs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ffs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_iso9660.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_iso9660.Tpo" -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo './'`fsys_iso9660.c; \
then mv -f ".deps/pre_stage2_exec-fsys_iso9660.Tpo" ".deps/pre_stage2_exec-fsys_iso9660.Po"; else rm -f ".deps/pre_stage2_exec-fsys_iso9660.Tpo"; exit 1; fi
In file included from fsys_iso9660.c:36:0:
iso9660.h:76:1: warning: 'packed' attribute ignored [-Wattributes]
 } iso_16bit_t __attribute__ ((packed));
 ^
iso9660.h:80:1: warning: 'packed' attribute ignored [-Wattributes]
 } iso_32bit_t __attribute__ ((packed));
 ^
fsys_iso9660.c: In function 'iso9660_mount':
fsys_iso9660.c:53:25: warning: pointer targets in passing argument 1 of 'grub_memcmp' differ in signedness [-Wpointer-sign]
 #define PRIMDESC        ((struct iso_primary_descriptor *)(FSYS_BUF + 2048))
                         ^
fsys_iso9660.c:123:15: note: in expansion of macro 'PRIMDESC'
    && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id)))
               ^~~~~~~~
In file included from fsys_iso9660.c:34:0:
shared.h:878:5: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 int grub_memcmp (const char *s1, const char *s2, int n);
     ^~~~~~~~~~~
fsys_iso9660.c: In function 'iso9660_dir':
fsys_iso9660.c:178:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
        const char *name = idr->name;
                           ^~~
fsys_iso9660.c:201:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
        rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l
                   ^
fsys_iso9660.c:231:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
      name = rr_ptr.rr->u.nm.name;
           ^
fsys_iso9660.c:332:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
      name = NAME_BUF;
           ^
fsys_iso9660.c:334:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
         rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l;
                    ^
fsys_iso9660.c:55:25: warning: pointer targets in passing argument 4 of 'iso9660_devread' differ in signedness [-Wpointer-sign]
 #define RRCONT_BUF      ((unsigned char *)(FSYS_BUF + 6144))
                         ^
fsys_iso9660.c:336:73: note: in expansion of macro 'RRCONT_BUF'
         if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF))
                                                                         ^~~~~~~~~~
fsys_iso9660.c:69:1: note: expected 'char *' but argument is of type 'unsigned char *'
 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf)
 ^~~~~~~~~~~~~~~
fsys_iso9660.c:56:25: warning: pointer targets in passing argument 1 of 'print_a_completion' differ in signedness [-Wpointer-sign]
 #define NAME_BUF        ((unsigned char *)(FSYS_BUF + 8192))
                         ^
fsys_iso9660.c:384:29: note: in expansion of macro 'NAME_BUF'
         print_a_completion (NAME_BUF);
                             ^~~~~~~~
In file included from fsys_iso9660.c:34:0:
shared.h:969:6: note: expected 'char *' but argument is of type 'unsigned char *'
 void print_a_completion (char *filename);
      ^~~~~~~~~~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_jfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_jfs.Tpo" -c -o pre_stage2_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo './'`fsys_jfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_jfs.Tpo" ".deps/pre_stage2_exec-fsys_jfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_jfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_minix.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_minix.Tpo" -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo './'`fsys_minix.c; \
then mv -f ".deps/pre_stage2_exec-fsys_minix.Tpo" ".deps/pre_stage2_exec-fsys_minix.Po"; else rm -f ".deps/pre_stage2_exec-fsys_minix.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_reiserfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_reiserfs.Tpo" -c -o pre_stage2_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo './'`fsys_reiserfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_reiserfs.Tpo" ".deps/pre_stage2_exec-fsys_reiserfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_reiserfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_ufs2.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ufs2.Tpo" -c -o pre_stage2_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo './'`fsys_ufs2.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ufs2.Tpo" ".deps/pre_stage2_exec-fsys_ufs2.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ufs2.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_vstafs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_vstafs.Tpo" -c -o pre_stage2_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo './'`fsys_vstafs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_vstafs.Tpo" ".deps/pre_stage2_exec-fsys_vstafs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_vstafs.Tpo"; exit 1; fi
fsys_vstafs.c: In function 'vstafs_read':
fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow]
   struct alloc *a;
                 ^
fsys_vstafs.c:66:22: note: shadowed declaration is here
 static struct alloc *a;
                      ^
fsys_vstafs.c:191:7: warning: declaration of 'curr_ext' shadows a global declaration [-Wshadow]
   int curr_ext;
       ^~~~~~~~
fsys_vstafs.c:65:12: note: shadowed declaration is here
 static int curr_ext, current_direntry, current_blockpos;
            ^~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-fsys_xfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_xfs.Tpo" -c -o pre_stage2_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo './'`fsys_xfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_xfs.Tpo" ".deps/pre_stage2_exec-fsys_xfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_xfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-gunzip.o -MD -MP -MF ".deps/pre_stage2_exec-gunzip.Tpo" -c -o pre_stage2_exec-gunzip.o `test -f 'gunzip.c' || echo './'`gunzip.c; \
then mv -f ".deps/pre_stage2_exec-gunzip.Tpo" ".deps/pre_stage2_exec-gunzip.Po"; else rm -f ".deps/pre_stage2_exec-gunzip.Tpo"; exit 1; fi
fsys_xfs.c: In function 'next_dentry':
fsys_xfs.c:371:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    name = sfe->name;
         ^
gunzip.c: In function 'gunzip_test_header':
gunzip.c:280:21: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign]
       || grub_read (buf, 10) != 10
                     ^~~
In file included from gunzip.c:128:0:
shared.h:951:5: note: expected 'char *' but argument is of type 'unsigned char *'
 int grub_read (char *buf, int len);
     ^~~~~~~~~
gunzip.c:296:19: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign]
    && (grub_read (buf, 2) != 2
                   ^~~
In file included from gunzip.c:128:0:
shared.h:951:5: note: expected 'char *' but argument is of type 'unsigned char *'
 int grub_read (char *buf, int len);
     ^~~~~~~~~
gunzip.c:311:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign]
   if (grub_read (buf, 8) != 8)
                  ^~~
In file included from gunzip.c:128:0:
shared.h:951:5: note: expected 'char *' but argument is of type 'unsigned char *'
 int grub_read (char *buf, int len);
     ^~~~~~~~~
gunzip.c: In function 'get_byte':
gunzip.c:497:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign]
       grub_read (inbuf, INBUFSIZ);
                  ^~~~~
In file included from gunzip.c:128:0:
shared.h:951:5: note: expected 'char *' but argument is of type 'uch * {aka unsigned char *}'
 int grub_read (char *buf, int len);
     ^~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-hercules.o -MD -MP -MF ".deps/pre_stage2_exec-hercules.Tpo" -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo './'`hercules.c; \
then mv -f ".deps/pre_stage2_exec-hercules.Tpo" ".deps/pre_stage2_exec-hercules.Po"; else rm -f ".deps/pre_stage2_exec-hercules.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-md5.o -MD -MP -MF ".deps/pre_stage2_exec-md5.Tpo" -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo './'`md5.c; \
then mv -f ".deps/pre_stage2_exec-md5.Tpo" ".deps/pre_stage2_exec-md5.Po"; else rm -f ".deps/pre_stage2_exec-md5.Tpo"; exit 1; fi
md5.c: In function 'md5_update':
md5.c:169:22: warning: pointer targets in passing argument 1 of 'md5_transform' differ in signedness [-Wpointer-sign]
       md5_transform (input);
                      ^~~~~
md5.c:94:1: note: expected 'const unsigned char *' but argument is of type 'const char *'
 md5_transform (const unsigned char block[64])
 ^~~~~~~~~~~~~
md5.c: In function 'md5_password':
md5.c:249:17: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign]
     md5_update (alt_result, 16);
                 ^~~~~~~~~~
md5.c:152:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 md5_update (const char *input, int inputlen)
 ^~~~~~~~~~
md5.c:250:15: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign]
   md5_update (alt_result, i);
               ^~~~~~~~~~
md5.c:152:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 md5_update (const char *input, int inputlen)
 ^~~~~~~~~~
md5.c:265:14: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign]
  md5_update (alt_result, 16);
              ^~~~~~~~~~
md5.c:152:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 md5_update (const char *input, int inputlen)
 ^~~~~~~~~~
md5.c:274:14: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign]
  md5_update (alt_result, 16);
              ^~~~~~~~~~
md5.c:152:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 md5_update (const char *input, int inputlen)
 ^~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-serial.o -MD -MP -MF ".deps/pre_stage2_exec-serial.Tpo" -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo './'`serial.c; \
then mv -f ".deps/pre_stage2_exec-serial.Tpo" ".deps/pre_stage2_exec-serial.Po"; else rm -f ".deps/pre_stage2_exec-serial.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-smp-imps.o -MD -MP -MF ".deps/pre_stage2_exec-smp-imps.Tpo" -c -o pre_stage2_exec-smp-imps.o `test -f 'smp-imps.c' || echo './'`smp-imps.c; \
then mv -f ".deps/pre_stage2_exec-smp-imps.Tpo" ".deps/pre_stage2_exec-smp-imps.Po"; else rm -f ".deps/pre_stage2_exec-smp-imps.Tpo"; exit 1; fi
smp-imps.c: In function 'boot_cpu':
smp-imps.c:311:22: warning: variable 'accept_status' set but not used [-Wunused-but-set-variable]
   unsigned bootaddr, accept_status;
                      ^~~~~~~~~~~~~
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-stage2.o -MD -MP -MF ".deps/pre_stage2_exec-stage2.Tpo" -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo './'`stage2.c; \
then mv -f ".deps/pre_stage2_exec-stage2.Tpo" ".deps/pre_stage2_exec-stage2.Po"; else rm -f ".deps/pre_stage2_exec-stage2.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-terminfo.o -MD -MP -MF ".deps/pre_stage2_exec-terminfo.Tpo" -c -o pre_stage2_exec-terminfo.o `test -f 'terminfo.c' || echo './'`terminfo.c; \
then mv -f ".deps/pre_stage2_exec-terminfo.Tpo" ".deps/pre_stage2_exec-terminfo.Po"; else rm -f ".deps/pre_stage2_exec-terminfo.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -O2 -D_FORTIFY_SOURCE=2 -MT pre_stage2_exec-tparm.o -MD -MP -MF ".deps/pre_stage2_exec-tparm.Tpo" -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo './'`tparm.c; \
then mv -f ".deps/pre_stage2_exec-tparm.Tpo" ".deps/pre_stage2_exec-tparm.Po"; else rm -f ".deps/pre_stage2_exec-tparm.Tpo"; exit 1; fi
gcc  -O2 -D_FORTIFY_SOURCE=2  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o pre_stage2.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_iso9660.o pre_stage2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_ufs2.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o pre_stage2_exec-hercules.o pre_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o  
ld: pre_stage2_exec-bios.o: in function `get_diskinfo':
bios.c:(.text+0x11b): undefined reference to `__stack_chk_guard'
ld: bios.c:(.text+0x26a): undefined reference to `__stack_chk_guard'
ld: bios.c:(.text+0x393): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-boot.o: in function `load_image':
boot.c:(.text+0x12): undefined reference to `__stack_chk_guard'
ld: boot.c:(.text+0x3f): undefined reference to `__stack_chk_guard'
ld: boot.c:(.text+0x11c3): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `vbeprobe_func':
builtins.c:(.text+0x4c8): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x644): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x682): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `testvbe_func':
builtins.c:(.text+0x6c5): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x6ef): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x8f5): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `embed_func':
builtins.c:(.text+0x10f9): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x1132): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x134e): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `sprint_device.2471':
builtins.c:(.text+0x138e): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x146b): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x1479): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `install_func':
builtins.c:(.text+0x1538): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x1689): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x192b): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `blocklist_func':
builtins.c:(.text+0x1cd2): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x1dd8): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x1e92): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `savedefault_func':
builtins.c:(.text+0x239e): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2458): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2731): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `partnew_func':
builtins.c:(.text+0x274c): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x279f): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x29c4): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `parttype_func':
builtins.c:(.text+0x2ab6): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2b12): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2c0c): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `find_func':
builtins.c:(.text+0x2c26): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2dc5): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2e7e): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `md5crypt_func':
builtins.c:(.text+0x2e89): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2f86): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x2f9e): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `setup_func':
builtins.c:(.text+0x3a1c): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x3d4b): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x3f30): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `terminfo_func':
builtins.c:(.text+0x3f46): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x403a): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x4139): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-builtins.o: in function `password_func':
builtins.c:(.text+0x4984): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x4a30): undefined reference to `__stack_chk_guard'
ld: builtins.c:(.text+0x4af8): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-char_io.o: in function `grub_sprintf':
char_io.c:(.text+0x9b): undefined reference to `__stack_chk_guard'
ld: char_io.c:(.text+0xe0): undefined reference to `__stack_chk_guard'
ld: char_io.c:(.text+0x195): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-char_io.o: in function `grub_printf':
char_io.c:(.text+0x4d0): undefined reference to `__stack_chk_guard'
ld: char_io.c:(.text+0x50f): undefined reference to `__stack_chk_guard'
ld: char_io.c:(.text+0x5ca): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-disk_io.o: in function `make_saved_active':
disk_io.c:(.text+0x6e7): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x71e): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x7d3): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-disk_io.o: in function `set_partition_hidden_flag':
disk_io.c:(.text+0xb70): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0xbc2): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0xca0): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-disk_io.o: in function `real_open_partition':
disk_io.c:(.text+0x1342): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x14fb): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x1697): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-disk_io.o: in function `print_completions':
disk_io.c:(.text+0x1c8b): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x1d4a): undefined reference to `__stack_chk_guard'
ld: disk_io.c:(.text+0x221b): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_ext2fs.o: in function `ext2fs_dir':
fsys_ext2fs.c:(.text+0x486): undefined reference to `__stack_chk_guard'
ld: fsys_ext2fs.c:(.text+0x865): undefined reference to `__stack_chk_guard'
ld: fsys_ext2fs.c:(.text+0xa7e): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_fat.o: in function `fat_mount':
fsys_fat.c:(.text+0x8): undefined reference to `__stack_chk_guard'
ld: fsys_fat.c:(.text+0x17d): undefined reference to `__stack_chk_guard'
ld: fsys_fat.c:(.text+0x308): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_fat.o: in function `fat_dir':
fsys_fat.c:(.text+0x575): undefined reference to `__stack_chk_guard'
ld: fsys_fat.c:(.text+0x908): undefined reference to `__stack_chk_guard'
ld: fsys_fat.c:(.text+0x9e9): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_jfs.o: in function `jfs_mount':
fsys_jfs.c:(.text+0x25c): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0x280): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0x311): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_jfs.o: in function `jfs_dir':
fsys_jfs.c:(.text+0x5f4): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0x841): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0xcdb): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_jfs.o: in function `jfs_embed':
fsys_jfs.c:(.text+0xcee): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0xd10): undefined reference to `__stack_chk_guard'
ld: fsys_jfs.c:(.text+0xd5e): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_minix.o: in function `minix_dir':
fsys_minix.c:(.text+0x29a): undefined reference to `__stack_chk_guard'
ld: fsys_minix.c:(.text+0x57a): undefined reference to `__stack_chk_guard'
ld: fsys_minix.c:(.text+0x701): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_reiserfs.o: in function `block_read':
fsys_reiserfs.c:(.text+0x20): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0xec): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0x22c): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_reiserfs.o: in function `reiserfs_mount':
fsys_reiserfs.c:(.text+0x536): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0x561): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0x83a): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_reiserfs.o: in function `reiserfs_dir':
fsys_reiserfs.c:(.text+0xa65): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0xc5b): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0xe93): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_reiserfs.o: in function `reiserfs_embed':
fsys_reiserfs.c:(.text+0xea6): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0xee4): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text+0xf67): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_reiserfs.o: in function `journal_init':
fsys_reiserfs.c:(.text.unlikely+0xb): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text.unlikely+0x1b6): undefined reference to `__stack_chk_guard'
ld: fsys_reiserfs.c:(.text.unlikely+0x1bd): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_xfs.o: in function `xfs_mount':
fsys_xfs.c:(.text+0x4ad): undefined reference to `__stack_chk_guard'
ld: fsys_xfs.c:(.text+0x4ff): undefined reference to `__stack_chk_guard'
ld: fsys_xfs.c:(.text+0x5fc): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-fsys_xfs.o: in function `xfs_dir':
fsys_xfs.c:(.text+0xbff): undefined reference to `__stack_chk_guard'
ld: fsys_xfs.c:(.text+0xf68): undefined reference to `__stack_chk_guard'
ld: fsys_xfs.c:(.text+0x1140): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-gunzip.o: in function `gunzip_test_header':
gunzip.c:(.text+0xba6): undefined reference to `__stack_chk_guard'
ld: gunzip.c:(.text+0xbd9): undefined reference to `__stack_chk_guard'
ld: gunzip.c:(.text+0xd68): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-md5.o: in function `md5_password':
md5.c:(.text+0x358): undefined reference to `__stack_chk_guard'
ld: md5.c:(.text+0x397): undefined reference to `__stack_chk_guard'
ld: md5.c:(.text+0x749): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-smp-imps.o: in function `imps_scan':
smp-imps.c:(.text+0xc): undefined reference to `__stack_chk_guard'
ld: smp-imps.c:(.text+0x11f): undefined reference to `__stack_chk_guard'
ld: smp-imps.c:(.text+0x592): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-stage2.o: in function `run_menu':
stage2.c:(.text+0x271): undefined reference to `__stack_chk_guard'
ld: stage2.c:(.text+0x815): undefined reference to `__stack_chk_guard'
ld: stage2.c:(.text+0xfa9): undefined reference to `__stack_chk_fail'
ld: pre_stage2_exec-stage2.o: in function `cmain':
stage2.c:(.text+0xfc8): undefined reference to `__stack_chk_guard'
gmake[2]: *** [Makefile:722: pre_stage2.exec] Error 1
gmake[2]: Leaving directory '/scratch/work/sysutils/grub/work/grub-0.97/stage2'
gmake[1]: *** [Makefile:253: all-recursive] Error 1
gmake[1]: Leaving directory '/scratch/work/sysutils/grub/work/grub-0.97'
gmake: *** [Makefile:191: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/sysutils/grub
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/sysutils/grub