Diff of the two buildlogs: -- --- b1/build.log 2024-05-05 15:15:26.415643434 +0000 +++ b2/build.log 2024-05-05 15:16:16.505511426 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 5 03:11:02 -12 2024 -I: pbuilder-time-stamp: 1714921862 +I: Current time: Sun Jun 8 11:38:28 +14 2025 +I: pbuilder-time-stamp: 1749332308 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -60,52 +60,84 @@ dpkg-source: info: applying convert_to_ascii-non-variadic.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1947859/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 7 21:38 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ab4373a5d55b419e9d36fc2b877511b4' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1947859' - PS1='# ' - PS2='> ' + INVOCATION_ID=ae72656288244bb0b931b2a620391c3d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3835827 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.IuaHKsTG/pbuilderrc_vKuq --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IuaHKsTG/b1 --logfile b1/build.log grub_0.97-81.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.IuaHKsTG/pbuilderrc_8DP9 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.IuaHKsTG/b2 --logfile b2/build.log grub_0.97-81.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 5 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1947859/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 6 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -223,7 +255,7 @@ Get: 67 http://deb.debian.org/debian unstable/main amd64 texi2html all 1.82+dfsg1-7 [359 kB] Get: 68 http://deb.debian.org/debian unstable/main amd64 texinfo-lib amd64 7.1-3+b1 [224 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 texinfo all 7.1-3 [1748 kB] -Fetched 44.7 MB in 4s (10.6 MB/s) +Fetched 44.7 MB in 1s (50.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -524,7 +556,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/grub-0.97/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../grub_0.97-81_source.changes +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/grub-0.97/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../grub_0.97-81_source.changes dpkg-buildpackage: info: source package grub dpkg-buildpackage: info: source version 0.97-81 dpkg-buildpackage: info: source distribution unstable @@ -791,7 +827,7 @@ debian/rules override_dh_auto_build-arch make[1]: Entering directory '/build/reproducible-path/grub-0.97' dh_auto_build - cd debian/build && make -j20 + cd debian/build && make -j42 make[2]: Entering directory '/build/reproducible-path/grub-0.97/debian/build' make all-recursive make[3]: Entering directory '/build/reproducible-path/grub-0.97/debian/build' @@ -809,6 +845,26 @@ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-cmdline.o `test -f 'cmdline.c' || echo '../../../stage2/'`cmdline.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-console.o `test -f 'console.c' || echo '../../../stage2/'`console.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo '../../../stage2/'`fsys_ext2fs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo '../../../stage2/'`fsys_reiserfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo '../../../stage2/'`fsys_vstafs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo '../../../stage2/'`fsys_xfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo '../../../stage2/'`hercules.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-smp-imps.o `test -f 'smp-imps.c' || echo '../../../stage2/'`smp-imps.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo '../../../stage2/'`stage2.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-terminfo.o `test -f 'terminfo.c' || echo '../../../stage2/'`terminfo.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c ../../../stage2/boot.c: In function 'load_image': ../../../stage2/boot.c:67:26: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 67 | if (!(len = grub_read (buffer, MULTIBOOT_SEARCH)) || len < 32) @@ -821,41 +877,9 @@ | ~~~~~~^~~ ../../../stage2/boot.c:101:40: warning: pointer targets in passing argument 1 of 'grub_strcmp' differ in signedness [-Wpointer-sign] 101 | || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0 -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c ../../../stage2/shared.h:889:30: note: expected 'const char *' but argument is of type 'unsigned char *' 889 | int grub_strcmp (const char *s1, const char *s2); | ~~~~~~~~~~~~^~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo '../../../stage2/'`fsys_ext2fs.c -../../../stage2/boot.c: In function 'bsd_boot': -../../../stage2/boot.c:940:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 940 | bi.bi_kernelname = arg + 1; - | ^ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.c -../../../stage2/builtins.c: In function 'install_func': -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.c -../../../stage2/builtins.c:2159:51: warning: comparison of constant '512' with boolean expression is always false [-Wbool-compare] - 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) - | ^~ -../../../stage2/builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.c -../../../stage2/builtins.c:2159:10: note: add parentheses around left hand side expression to silence this warning - 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ( ) -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c -../../../stage2/builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~ -../../../stage2/builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~~ -../../../stage2/builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] - 2032 | int dest_drive, dest_partition, dest_sector; - | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo '../../../stage2/'`fsys_reiserfs.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo '../../../stage2/'`fsys_vstafs.c ../../../stage2/fsys_iso9660.c: In function 'iso9660_mount': ../../../stage2/fsys_iso9660.c:53:25: warning: pointer targets in passing argument 1 of 'grub_memcmp' differ in signedness [-Wpointer-sign] 53 | #define PRIMDESC ((struct iso_primary_descriptor *)(FSYS_BUF + 2048)) @@ -873,9 +897,22 @@ ../../../stage2/fsys_iso9660.c:178:34: warning: pointer targets in initialization of 'const char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 178 | const char *name = idr->name; | ^~~ +../../../stage2/fsys_vstafs.c: In function 'vstafs_read': +../../../stage2/fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] + 189 | struct alloc *a; + | ^ +../../../stage2/fsys_vstafs.c:66:22: note: shadowed declaration is here + 66 | static struct alloc *a; + | ^ ../../../stage2/fsys_iso9660.c:201:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 201 | rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l | ^ +../../../stage2/fsys_vstafs.c:191:7: warning: declaration of 'curr_ext' shadows a global declaration [-Wshadow] + 191 | int curr_ext; + | ^~~~~~~~ +../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here + 65 | static int curr_ext, current_direntry, current_blockpos; + | ^~~~~~~~ ../../../stage2/fsys_iso9660.c:231:32: warning: pointer targets in assignment from 'u_int8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 231 | name = rr_ptr.rr->u.nm.name; | ^ @@ -885,7 +922,6 @@ ../../../stage2/fsys_iso9660.c:334:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 334 | rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l; | ^ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo '../../../stage2/'`fsys_xfs.c ../../../stage2/fsys_iso9660.c:55:25: warning: pointer targets in passing argument 4 of 'iso9660_devread' differ in signedness [-Wpointer-sign] 55 | #define RRCONT_BUF ((unsigned char *)(FSYS_BUF + 6144)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -908,18 +944,6 @@ ../../../stage2/shared.h:979:32: note: expected 'char *' but argument is of type 'unsigned char *' 979 | void print_a_completion (char *filename); | ~~~~~~^~~~~~~~ -../../../stage2/builtins.c: In function 'savedefault_helper': -../../../stage2/builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 3693 | int len; - | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo '../../../stage2/'`hercules.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.c -../../../stage2/builtins.c: At top level: -../../../stage2/builtins.c:91:12: warning: 'savedefault_shell' declared 'static' but never defined [-Wunused-function] - 91 | static int savedefault_shell (char *arg, int flags); - | ^~~~~~~~~~~~~~~~~ ../../../stage2/gunzip.c: In function 'gunzip_test_header': ../../../stage2/gunzip.c:280:21: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 280 | || grub_read (buf, 10) != 10 @@ -930,6 +954,10 @@ ../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ +../../../stage2/fsys_xfs.c: In function 'next_dentry': +../../../stage2/fsys_xfs.c:371:30: warning: pointer targets in assignment from 'xfs_uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] + 371 | name = sfe->name; + | ^ ../../../stage2/gunzip.c:296:26: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 296 | && (grub_read (buf, 2) != 2 | ^~~ @@ -946,28 +974,6 @@ ../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ -../../../stage2/gunzip.c: In function 'get_byte': -../../../stage2/gunzip.c:497:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] - 497 | grub_read (inbuf, INBUFSIZ); - | ^~~~~ - | | - | uch * {aka unsigned char *} -../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'} - 961 | int grub_read (char *buf, int len); - | ~~~~~~^~~ -../../../stage2/fsys_vstafs.c: In function 'vstafs_read': -../../../stage2/fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] - 189 | struct alloc *a; - | ^ -../../../stage2/fsys_vstafs.c:66:22: note: shadowed declaration is here - 66 | static struct alloc *a; - | ^ -../../../stage2/fsys_vstafs.c:191:7: warning: declaration of 'curr_ext' shadows a global declaration [-Wshadow] - 191 | int curr_ext; - | ^~~~~~~~ -../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here - 65 | static int curr_ext, current_direntry, current_blockpos; - | ^~~~~~~~ ../../../stage2/md5.c: In function 'md5_update': ../../../stage2/md5.c:169:22: warning: pointer targets in passing argument 1 of 'md5_transform' differ in signedness [-Wpointer-sign] 169 | md5_transform (input); @@ -977,7 +983,20 @@ ../../../stage2/md5.c:94:36: note: expected 'const unsigned char *' but argument is of type 'const char *' 94 | md5_transform (const unsigned char block[64]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +../../../stage2/gunzip.c: In function 'get_byte': +../../../stage2/gunzip.c:497:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] + 497 | grub_read (inbuf, INBUFSIZ); + | ^~~~~ + | | + | uch * {aka unsigned char *} +../../../stage2/boot.c: In function 'bsd_boot': +../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'} + 961 | int grub_read (char *buf, int len); + | ~~~~~~^~~ ../../../stage2/md5.c: In function 'md5_password': +../../../stage2/boot.c:940:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 940 | bi.bi_kernelname = arg + 1; + | ^ ../../../stage2/md5.c:249:17: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign] 249 | md5_update (alt_result, 16); | ^~~~~~~~~~ @@ -999,13 +1018,9 @@ | ^~~~~~~~~~ | | | unsigned char * -../../../stage2/fsys_xfs.c: In function 'next_dentry': ../../../stage2/md5.c:152:25: note: expected 'const char *' but argument is of type 'unsigned char *' 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ -../../../stage2/fsys_xfs.c:371:30: warning: pointer targets in assignment from 'xfs_uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] - 371 | name = sfe->name; - | ^ ../../../stage2/md5.c:274:21: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign] 274 | md5_update (alt_result, 16); | ^~~~~~~~~~ @@ -1014,14 +1029,20 @@ ../../../stage2/md5.c:152:25: note: expected 'const char *' but argument is of type 'unsigned char *' 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-smp-imps.o `test -f 'smp-imps.c' || echo '../../../stage2/'`smp-imps.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo '../../../stage2/'`stage2.c +../../../stage2/builtins.c: In function 'install_func': +../../../stage2/builtins.c:2159:51: warning: comparison of constant '512' with boolean expression is always false [-Wbool-compare] + 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) + | ^~ +../../../stage2/builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] +../../../stage2/builtins.c:2159:10: note: add parentheses around left hand side expression to silence this warning + 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ( ) ../../../stage2/smp-imps.c: In function 'boot_cpu': ../../../stage2/smp-imps.c:311:22: warning: variable 'accept_status' set but not used [-Wunused-but-set-variable] 311 | unsigned bootaddr, accept_status; | ^~~~~~~~~~~~~ ../../../stage2/stage2.c: In function 'cmain': -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-terminfo.o `test -f 'terminfo.c' || echo '../../../stage2/'`terminfo.c ../../../stage2/stage2.c:941:21: warning: value computed is not used [-Wunused-value] 941 | *tmp++; | ^~~~~~ @@ -1042,6 +1063,9 @@ ../../../stage2/shared.h:891:44: note: expected 'const char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ +../../../stage2/builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~ ../../../stage2/stage2.c:944:33: warning: passing argument 1 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~~~ @@ -1050,6 +1074,9 @@ ../../../stage2/shared.h:891:26: note: expected 'char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ +../../../stage2/builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~~ ../../../stage2/stage2.c:944:39: warning: passing argument 2 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~ @@ -1058,13 +1085,22 @@ ../../../stage2/shared.h:891:44: note: expected 'const char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=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 -m32 -g -c -o pre_stage2_exec-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c +../../../stage2/builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] + 2032 | int dest_drive, dest_partition, dest_sector; + | ^~~~~~~~~~~ +../../../stage2/builtins.c: In function 'savedefault_helper': +../../../stage2/builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 3693 | int len; + | ^~~ ../../../stage2/serial.c: In function 'serial_hw_get_port': ../../../stage2/serial.c:123:14: warning: array subscript [0, 1073741823] is outside array bounds of 'const short unsigned int[0]' [-Warray-bounds=] 123 | return addr[unit]; | ~~~~^~~~~~ cc1: note: source object is likely at address zero +../../../stage2/builtins.c: At top level: +../../../stage2/builtins.c:91:12: warning: 'savedefault_shell' declared 'static' but never defined [-Wunused-function] + 91 | static int savedefault_shell (char *arg, int flags); + | ^~~~~~~~~~~~~~~~~ In function 'boot_cpu', inlined from 'add_processor' at ../../../stage2/smp-imps.c:388:7, inlined from 'imps_read_config_table' at ../../../stage2/smp-imps.c:435:4, @@ -1152,20 +1188,12 @@ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o e2fs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o fat_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o fat_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S -../../../stage2/disk_io.c: In function 'real_open_partition': -../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] - 760 | int bsd_part, pc_slice; - | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o fat_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c -../../../stage2/disk_io.c: In function 'real_open_partition': -../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] - 760 | int bsd_part, pc_slice; - | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ffs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ffs_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ffs_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c @@ -1175,10 +1203,6 @@ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ffs_stage1_5_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ffs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o iso9660_stage1_5_exec-start_eltorito.o `test -f 'start_eltorito.S' || echo '../../../stage2/'`start_eltorito.S -../../../stage2/disk_io.c: In function 'real_open_partition': -../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] - 760 | int bsd_part, pc_slice; - | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o iso9660_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o iso9660_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o iso9660_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c @@ -1188,15 +1212,33 @@ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o iso9660_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o jfs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o jfs_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S -../../../stage2/disk_io.c: In function 'real_open_partition': -../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] - 760 | int bsd_part, pc_slice; - | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o minix_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o minix_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S +../../../stage2/disk_io.c: In function 'real_open_partition': +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c +../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] + 760 | int bsd_part, pc_slice; + | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c +../../../stage2/disk_io.c: In function 'real_open_partition': +../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] + 760 | int bsd_part, pc_slice; + | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o reiserfs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S +../../../stage2/disk_io.c: In function 'real_open_partition': +../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] + 760 | int bsd_part, pc_slice; + | ^~~~~~~~ ../../../stage2/fsys_iso9660.c: In function 'iso9660_mount': ../../../stage2/fsys_iso9660.c:53:25: warning: pointer targets in passing argument 1 of 'grub_memcmp' differ in signedness [-Wpointer-sign] 53 | #define PRIMDESC ((struct iso_primary_descriptor *)(FSYS_BUF + 2048)) @@ -1210,7 +1252,7 @@ ../../../stage2/shared.h:888:30: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 888 | int grub_memcmp (const char *s1, const char *s2, int n); | ~~~~~~~~~~~~^~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o jfs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o reiserfs_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S ../../../stage2/fsys_iso9660.c: In function 'iso9660_dir': ../../../stage2/fsys_iso9660.c:178:34: warning: pointer targets in initialization of 'const char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 178 | const char *name = idr->name; @@ -1218,20 +1260,19 @@ ../../../stage2/fsys_iso9660.c:201:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 201 | rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l | ^ +../../../stage2/disk_io.c: In function 'real_open_partition': ../../../stage2/fsys_iso9660.c:231:32: warning: pointer targets in assignment from 'u_int8_t *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 231 | name = rr_ptr.rr->u.nm.name; | ^ +../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] + 760 | int bsd_part, pc_slice; + | ^~~~~~~~ ../../../stage2/fsys_iso9660.c:332:32: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 332 | name = NAME_BUF; | ^ ../../../stage2/fsys_iso9660.c:334:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 334 | rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l; | ^ -../../../stage2/disk_io.c: In function 'real_open_partition': -../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] - 760 | int bsd_part, pc_slice; - | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o minix_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S ../../../stage2/fsys_iso9660.c:55:25: warning: pointer targets in passing argument 4 of 'iso9660_devread' differ in signedness [-Wpointer-sign] 55 | #define RRCONT_BUF ((unsigned char *)(FSYS_BUF + 6144)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1243,40 +1284,31 @@ ../../../stage2/fsys_iso9660.c:69:67: note: expected 'char *' but argument is of type 'unsigned char *' 69 | iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) | ~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o minix_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o minix_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o reiserfs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c ../../../stage2/disk_io.c: In function 'real_open_partition': +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c ../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] 760 | int bsd_part, pc_slice; | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o reiserfs_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo '../../../stage2/'`fsys_reiserfs.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o reiserfs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ufs2_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ufs2_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c ../../../stage2/disk_io.c: In function 'real_open_partition': ../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] 760 | int bsd_part, pc_slice; | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ufs2_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o ufs2_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o vstafs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S -../../../stage2/disk_io.c: In function 'real_open_partition': gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o vstafs_stage1_5_exec-asm.o `test -f 'asm.S' || echo '../../../stage2/'`asm.S +../../../stage2/disk_io.c: In function 'real_open_partition': ../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] 760 | int bsd_part, pc_slice; | ^~~~~~~~ @@ -1284,6 +1316,10 @@ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c +../../../stage2/disk_io.c: In function 'real_open_partition': +../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] + 760 | int bsd_part, pc_slice; + | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo '../../../stage2/'`fsys_vstafs.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o xfs_stage1_5_exec-start.o `test -f 'start.S' || echo '../../../stage2/'`start.S @@ -1295,6 +1331,7 @@ | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c ../../../stage2/fsys_vstafs.c: In function 'vstafs_read': ../../../stage2/fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] 189 | struct alloc *a; @@ -1308,21 +1345,29 @@ ../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here 65 | static int curr_ext, current_direntry, current_blockpos; | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo '../../../stage2/'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo '../../../stage2/'`fsys_xfs.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_stage1_5_exec-bios.o `test -f 'bios.c' || echo '../../../stage2/'`bios.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-boot.o `test -f 'boot.c' || echo '../../../stage2/'`boot.c gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-builtins.o `test -f 'builtins.c' || echo '../../../stage2/'`builtins.c -../../../stage2/disk_io.c: In function 'real_open_partition': gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-cmdline.o `test -f 'cmdline.c' || echo '../../../stage2/'`cmdline.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo '../../../stage2/'`fsys_ext2fs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.c +../../../stage2/disk_io.c: In function 'real_open_partition': ../../../stage2/disk_io.c:760:17: warning: variable 'pc_slice' set but not used [-Wunused-but-set-variable] 760 | int bsd_part, pc_slice; | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-cmdline.o `test -f 'cmdline.c' || echo '../../../stage2/'`cmdline.c ../../../stage2/fsys_xfs.c: In function 'next_dentry': ../../../stage2/fsys_xfs.c:371:30: warning: pointer targets in assignment from 'xfs_uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 371 | name = sfe->name; | ^ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo '../../../stage2/'`fsys_reiserfs.c ../../../stage2/boot.c: In function 'load_image': ../../../stage2/boot.c:67:26: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 67 | if (!(len = grub_read (buffer, MULTIBOOT_SEARCH)) || len < 32) @@ -1338,14 +1383,6 @@ ../../../stage2/shared.h:889:30: note: expected 'const char *' but argument is of type 'unsigned char *' 889 | int grub_strcmp (const char *s1, const char *s2); | ~~~~~~~~~~~~^~ -../../../stage2/boot.c: In function 'bsd_boot': -../../../stage2/boot.c:940:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 940 | bi.bi_kernelname = arg + 1; - | ^ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo '../../../stage2/'`fsys_ext2fs.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.c ../../../stage2/disk_io.c:131:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 131 | log2 (unsigned long word) | ^~~~ @@ -1353,18 +1390,7 @@ 106 | #include "freebsd.h" +++ |+#include 107 | int bsd_evil_hack; -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.c -../../../stage2/builtins.c: In function 'install_func': -../../../stage2/builtins.c:2159:51: warning: comparison of constant '512' with boolean expression is always false [-Wbool-compare] - 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) - | ^~ -../../../stage2/builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] -../../../stage2/builtins.c:2159:10: note: add parentheses around left hand side expression to silence this warning - 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ( ) -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.c ../../../stage2/fsys_fat.c:58:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 58 | log2 (unsigned long word) | ^~~~ @@ -1372,21 +1398,13 @@ 24 | #include "fat.h" +++ |+#include 25 | -../../../stage2/builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~ -../../../stage2/builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~~ -../../../stage2/builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] - 2032 | int dest_drive, dest_partition, dest_sector; - | ^~~~~~~~~~~ -../../../stage2/builtins.c: In function 'savedefault_helper': -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c -../../../stage2/builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 3693 | int len; - | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo '../../../stage2/'`fsys_reiserfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo '../../../stage2/'`fsys_vstafs.c +../../../stage2/boot.c: In function 'bsd_boot': +../../../stage2/boot.c:940:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 940 | bi.bi_kernelname = arg + 1; + | ^ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_xfs.o `test -f 'fsys_xfs.c' || echo '../../../stage2/'`fsys_xfs.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.c ../../../stage2/fsys_iso9660.c:60:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 60 | log2 (unsigned long word) | ^~~~ @@ -1431,6 +1449,13 @@ ../../../stage2/fsys_iso9660.c:69:67: note: expected 'char *' but argument is of type 'unsigned char *' 69 | iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) | ~~~~~~^~~ +../../../stage2/fsys_reiserfs.c:370:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 370 | log2 (unsigned long word) + | ^~~~ +../../../stage2/fsys_reiserfs.c:24:1: note: 'log2' is declared in header '' + 23 | #include "filesys.h" + +++ |+#include + 24 | ../../../stage2/fsys_iso9660.c:56:26: warning: pointer targets in passing argument 1 of 'print_a_completion' differ in signedness [-Wpointer-sign] 56 | #define NAME_BUF ((unsigned char *)(FSYS_BUF + 8192)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1442,25 +1467,22 @@ ../../../stage2/shared.h:979:32: note: expected 'char *' but argument is of type 'unsigned char *' 979 | void print_a_completion (char *filename); | ~~~~~~^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo '../../../stage2/'`fsys_vstafs.c -../../../stage2/builtins.c: At top level: -../../../stage2/builtins.c:3619:1: warning: 'savedefault_helper' defined but not used [-Wunused-function] - 3619 | savedefault_helper (char *arg, int flags) - | ^~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_xfs.o `test -f 'fsys_xfs.c' || echo '../../../stage2/'`fsys_xfs.c -../../../stage2/fsys_reiserfs.c:370:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 370 | log2 (unsigned long word) - | ^~~~ -../../../stage2/fsys_reiserfs.c:24:1: note: 'log2' is declared in header '' - 23 | #include "filesys.h" - +++ |+#include - 24 | -../../../stage2/fsys_xfs.c: In function 'next_dentry': -../../../stage2/fsys_xfs.c:371:30: warning: pointer targets in assignment from 'xfs_uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] - 371 | name = sfe->name; - | ^ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.c +../../../stage2/builtins.c: In function 'install_func': +../../../stage2/builtins.c:2159:51: warning: comparison of constant '512' with boolean expression is always false [-Wbool-compare] + 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) + | ^~ +../../../stage2/builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] +../../../stage2/builtins.c:2159:10: note: add parentheses around left hand side expression to silence this warning + 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ( ) +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-stage2.o `test -f 'stage2.c' || echo '../../../stage2/'`stage2.c ../../../stage2/fsys_vstafs.c: In function 'vstafs_read': +../../../stage2/builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~ ../../../stage2/fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] 189 | struct alloc *a; | ^ @@ -1473,14 +1495,19 @@ ../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here 65 | static int curr_ext, current_direntry, current_blockpos; | ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-terminfo.o `test -f 'terminfo.c' || echo '../../../stage2/'`terminfo.c +../../../stage2/builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~~ ../../../stage2/gunzip.c: In function 'gunzip_test_header': ../../../stage2/gunzip.c:280:21: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 280 | || grub_read (buf, 10) != 10 | ^~~ | | | unsigned char * +../../../stage2/builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] + 2032 | int dest_drive, dest_partition, dest_sector; + | ^~~~~~~~~~~ In file included from ../../../stage2/gunzip.c:128: ../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); @@ -1501,6 +1528,10 @@ ../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ +../../../stage2/fsys_xfs.c: In function 'next_dentry': +../../../stage2/fsys_xfs.c:371:30: warning: pointer targets in assignment from 'xfs_uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] + 371 | name = sfe->name; + | ^ ../../../stage2/gunzip.c: In function 'get_byte': ../../../stage2/gunzip.c:497:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 497 | grub_read (inbuf, INBUFSIZ); @@ -1510,7 +1541,7 @@ ../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'} 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.c +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c ../../../stage2/md5.c: In function 'md5_update': ../../../stage2/md5.c:169:22: warning: pointer targets in passing argument 1 of 'md5_transform' differ in signedness [-Wpointer-sign] 169 | md5_transform (input); @@ -1520,6 +1551,7 @@ ../../../stage2/md5.c:94:36: note: expected 'const unsigned char *' but argument is of type 'const char *' 94 | md5_transform (const unsigned char block[64]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c ../../../stage2/md5.c: In function 'md5_password': ../../../stage2/md5.c:249:17: warning: pointer targets in passing argument 1 of 'md5_update' differ in signedness [-Wpointer-sign] 249 | md5_update (alt_result, 16); @@ -1553,10 +1585,18 @@ ../../../stage2/md5.c:152:25: note: expected 'const char *' but argument is of type 'unsigned char *' 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-stage2.o `test -f 'stage2.c' || echo '../../../stage2/'`stage2.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-terminfo.o `test -f 'terminfo.c' || echo '../../../stage2/'`terminfo.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c -gcc -DHAVE_CONFIG_H -I. -I../../../stage2 -I.. -I../../../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../../../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c +gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 -no-pie -Wl,--build-id=none -o start.exec start_exec-start.o +gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 -no-pie -Wl,--build-id=none -o start_eltorito.exec start_eltorito_exec-start_eltorito.o +../../../stage2/builtins.c: In function 'savedefault_helper': +../../../stage2/builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 3693 | int len; + | ^~~ +/usr/bin/ld: warning: start.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start.exec start +/usr/bin/ld: warning: start_eltorito.exec has a LOAD segment with RWX permissions +rm -f stage2 +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start_eltorito.exec start_eltorito +cat start pre_stage2 > stage2 ../../../stage2/stage2.c: In function 'cmain': ../../../stage2/stage2.c:941:21: warning: value computed is not used [-Wunused-value] 941 | *tmp++; @@ -1566,6 +1606,7 @@ | ^~~~ | | | char ** +rm -f stage2_eltorito In file included from ../../../stage2/stage2.c:20: ../../../stage2/shared.h:891:26: note: expected 'char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); @@ -1578,7 +1619,6 @@ ../../../stage2/shared.h:891:44: note: expected 'const char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ -gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 -no-pie -Wl,--build-id=none -o start.exec start_exec-start.o ../../../stage2/stage2.c:944:33: warning: passing argument 1 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~~~ @@ -1587,6 +1627,7 @@ ../../../stage2/shared.h:891:26: note: expected 'char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ +cat start_eltorito pre_stage2 > stage2_eltorito ../../../stage2/stage2.c:944:39: warning: passing argument 2 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~ @@ -1595,65 +1636,60 @@ ../../../stage2/shared.h:891:44: note: expected 'const char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ -gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 -no-pie -Wl,--build-id=none -o start_eltorito.exec start_eltorito_exec-start_eltorito.o -/usr/bin/ld: gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o e2fs_stage1_5.exec e2fs_stage1_5_exec-start.o e2fs_stage1_5_exec-asm.o e2fs_stage1_5_exec-common.o e2fs_stage1_5_exec-char_io.o e2fs_stage1_5_exec-disk_io.o e2fs_stage1_5_exec-stage1_5.o e2fs_stage1_5_exec-fsys_ext2fs.o e2fs_stage1_5_exec-bios.o -warning: start.exec has a LOAD segment with RWX permissions -/usr/bin/ld: warning: start_eltorito.exec has a LOAD segment with RWX permissions gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o fat_stage1_5.exec fat_stage1_5_exec-start.o fat_stage1_5_exec-asm.o fat_stage1_5_exec-common.o fat_stage1_5_exec-char_io.o fat_stage1_5_exec-disk_io.o fat_stage1_5_exec-stage1_5.o fat_stage1_5_exec-fsys_fat.o fat_stage1_5_exec-bios.o -/usr/bin/ld: warning: e2fs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack -/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ffs_stage1_5.exec ffs_stage1_5_exec-start.o ffs_stage1_5_exec-asm.o ffs_stage1_5_exec-common.o ffs_stage1_5_exec-char_io.o ffs_stage1_5_exec-disk_io.o ffs_stage1_5_exec-stage1_5.o ffs_stage1_5_exec-fsys_ffs.o ffs_stage1_5_exec-bios.o -/usr/bin/ld: warning: e2fs_stage1_5.exec has a LOAD segment with RWX permissions /usr/bin/ld: warning: fat_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: fat_stage1_5.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id fat_stage1_5.exec fat_stage1_5 gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o iso9660_stage1_5.exec iso9660_stage1_5_exec-start_eltorito.o iso9660_stage1_5_exec-asm.o iso9660_stage1_5_exec-common.o iso9660_stage1_5_exec-char_io.o iso9660_stage1_5_exec-disk_io.o iso9660_stage1_5_exec-stage1_5.o iso9660_stage1_5_exec-fsys_iso9660.o iso9660_stage1_5_exec-bios.o -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o jfs_stage1_5.exec jfs_stage1_5_exec-start.o jfs_stage1_5_exec-asm.o jfs_stage1_5_exec-common.o jfs_stage1_5_exec-char_io.o jfs_stage1_5_exec-disk_io.o jfs_stage1_5_exec-stage1_5.o jfs_stage1_5_exec-fsys_jfs.o jfs_stage1_5_exec-bios.o -/usr/bin/ld: warning: ffs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack -/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -/usr/bin/ld: warning: ffs_stage1_5.exec has a LOAD segment with RWX permissions -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o minix_stage1_5.exec minix_stage1_5_exec-start.o minix_stage1_5_exec-asm.o minix_stage1_5_exec-common.o minix_stage1_5_exec-char_io.o minix_stage1_5_exec-disk_io.o minix_stage1_5_exec-stage1_5.o minix_stage1_5_exec-fsys_minix.o minix_stage1_5_exec-bios.o -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o reiserfs_stage1_5.exec reiserfs_stage1_5_exec-start.o reiserfs_stage1_5_exec-asm.o reiserfs_stage1_5_exec-common.o reiserfs_stage1_5_exec-char_io.o reiserfs_stage1_5_exec-disk_io.o reiserfs_stage1_5_exec-stage1_5.o reiserfs_stage1_5_exec-fsys_reiserfs.o reiserfs_stage1_5_exec-bios.o /usr/bin/ld: warning: iso9660_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: iso9660_stage1_5.exec has a LOAD segment with RWX permissions -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ufs2_stage1_5.exec ufs2_stage1_5_exec-start.o ufs2_stage1_5_exec-asm.o ufs2_stage1_5_exec-common.o ufs2_stage1_5_exec-char_io.o ufs2_stage1_5_exec-disk_io.o ufs2_stage1_5_exec-stage1_5.o ufs2_stage1_5_exec-fsys_ufs2.o ufs2_stage1_5_exec-bios.o -/usr/bin/ld: warning: jfs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ffs_stage1_5.exec ffs_stage1_5_exec-start.o ffs_stage1_5_exec-asm.o ffs_stage1_5_exec-common.o ffs_stage1_5_exec-char_io.o ffs_stage1_5_exec-disk_io.o ffs_stage1_5_exec-stage1_5.o ffs_stage1_5_exec-fsys_ffs.o ffs_stage1_5_exec-bios.o +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id iso9660_stage1_5.exec iso9660_stage1_5 +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o minix_stage1_5.exec minix_stage1_5_exec-start.o minix_stage1_5_exec-asm.o minix_stage1_5_exec-common.o minix_stage1_5_exec-char_io.o minix_stage1_5_exec-disk_io.o minix_stage1_5_exec-stage1_5.o minix_stage1_5_exec-fsys_minix.o minix_stage1_5_exec-bios.o +/usr/bin/ld: warning: ffs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -/usr/bin/ld: warning: jfs_stage1_5.exec has a LOAD segment with RWX permissions +/usr/bin/ld: warning: ffs_stage1_5.exec has a LOAD segment with RWX permissions +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o jfs_stage1_5.exec jfs_stage1_5_exec-start.o jfs_stage1_5_exec-asm.o jfs_stage1_5_exec-common.o jfs_stage1_5_exec-char_io.o jfs_stage1_5_exec-disk_io.o jfs_stage1_5_exec-stage1_5.o jfs_stage1_5_exec-fsys_jfs.o jfs_stage1_5_exec-bios.o +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ffs_stage1_5.exec ffs_stage1_5 +../../../stage2/builtins.c: At top level: /usr/bin/ld: warning: minix_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: minix_stage1_5.exec has a LOAD segment with RWX permissions +../../../stage2/builtins.c:3619:1: warning: 'savedefault_helper' defined but not used [-Wunused-function] + 3619 | savedefault_helper (char *arg, int flags) + | ^~~~~~~~~~~~~~~~~~ +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id minix_stage1_5.exec minix_stage1_5 +/usr/bin/ld: warning: jfs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack +/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker +/usr/bin/ld: warning: jfs_stage1_5.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id jfs_stage1_5.exec jfs_stage1_5 gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o vstafs_stage1_5.exec vstafs_stage1_5_exec-start.o vstafs_stage1_5_exec-asm.o vstafs_stage1_5_exec-common.o vstafs_stage1_5_exec-char_io.o vstafs_stage1_5_exec-disk_io.o vstafs_stage1_5_exec-stage1_5.o vstafs_stage1_5_exec-fsys_vstafs.o vstafs_stage1_5_exec-bios.o -/usr/bin/ld: warning: reiserfs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o e2fs_stage1_5.exec e2fs_stage1_5_exec-start.o e2fs_stage1_5_exec-asm.o e2fs_stage1_5_exec-common.o e2fs_stage1_5_exec-char_io.o e2fs_stage1_5_exec-disk_io.o e2fs_stage1_5_exec-stage1_5.o e2fs_stage1_5_exec-fsys_ext2fs.o e2fs_stage1_5_exec-bios.o +/usr/bin/ld: warning: vstafs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -/usr/bin/ld: warning: reiserfs_stage1_5.exec has a LOAD segment with RWX permissions -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o xfs_stage1_5.exec xfs_stage1_5_exec-start.o xfs_stage1_5_exec-asm.o xfs_stage1_5_exec-common.o xfs_stage1_5_exec-char_io.o xfs_stage1_5_exec-disk_io.o xfs_stage1_5_exec-stage1_5.o xfs_stage1_5_exec-fsys_xfs.o xfs_stage1_5_exec-bios.o -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start.exec start +/usr/bin/ld: warning: vstafs_stage1_5.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id vstafs_stage1_5.exec vstafs_stage1_5 +/usr/bin/ld: warning: e2fs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack +/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker +/usr/bin/ld: warning: e2fs_stage1_5.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id e2fs_stage1_5.exec e2fs_stage1_5 +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ufs2_stage1_5.exec ufs2_stage1_5_exec-start.o ufs2_stage1_5_exec-asm.o ufs2_stage1_5_exec-common.o ufs2_stage1_5_exec-char_io.o ufs2_stage1_5_exec-disk_io.o ufs2_stage1_5_exec-stage1_5.o ufs2_stage1_5_exec-fsys_ufs2.o ufs2_stage1_5_exec-bios.o /usr/bin/ld: warning: ufs2_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: ufs2_stage1_5.exec has a LOAD segment with RWX permissions -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start_eltorito.exec start_eltorito -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id e2fs_stage1_5.exec e2fs_stage1_5 -/usr/bin/ld: warning: vstafs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ufs2_stage1_5.exec ufs2_stage1_5 +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o reiserfs_stage1_5.exec reiserfs_stage1_5_exec-start.o reiserfs_stage1_5_exec-asm.o reiserfs_stage1_5_exec-common.o reiserfs_stage1_5_exec-char_io.o reiserfs_stage1_5_exec-disk_io.o reiserfs_stage1_5_exec-stage1_5.o reiserfs_stage1_5_exec-fsys_reiserfs.o reiserfs_stage1_5_exec-bios.o +/usr/bin/ld: warning: reiserfs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker -/usr/bin/ld: warning: vstafs_stage1_5.exec has a LOAD segment with RWX permissions +/usr/bin/ld: warning: reiserfs_stage1_5.exec has a LOAD segment with RWX permissions +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id reiserfs_stage1_5.exec reiserfs_stage1_5 +gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o xfs_stage1_5.exec xfs_stage1_5_exec-start.o xfs_stage1_5_exec-asm.o xfs_stage1_5_exec-common.o xfs_stage1_5_exec-char_io.o xfs_stage1_5_exec-disk_io.o xfs_stage1_5_exec-stage1_5.o xfs_stage1_5_exec-fsys_xfs.o xfs_stage1_5_exec-bios.o /usr/bin/ld: warning: xfs_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: xfs_stage1_5.exec has a LOAD segment with RWX permissions -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id fat_stage1_5.exec fat_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ffs_stage1_5.exec ffs_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id iso9660_stage1_5.exec iso9660_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id jfs_stage1_5.exec jfs_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id minix_stage1_5.exec minix_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id reiserfs_stage1_5.exec reiserfs_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ufs2_stage1_5.exec ufs2_stage1_5 -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id vstafs_stage1_5.exec vstafs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id xfs_stage1_5.exec xfs_stage1_5 -rm -f stage2 -rm -f stage2_eltorito -cat start pre_stage2 > stage2 -cat start_eltorito pre_stage2 > stage2_eltorito rm -f libgrub.a ar cru libgrub.a libgrub_a-boot.o libgrub_a-builtins.o libgrub_a-char_io.o libgrub_a-cmdline.o libgrub_a-common.o libgrub_a-disk_io.o libgrub_a-fsys_ext2fs.o libgrub_a-fsys_fat.o libgrub_a-fsys_ffs.o libgrub_a-fsys_iso9660.o libgrub_a-fsys_jfs.o libgrub_a-fsys_minix.o libgrub_a-fsys_reiserfs.o libgrub_a-fsys_ufs2.o libgrub_a-fsys_vstafs.o libgrub_a-fsys_xfs.o libgrub_a-gunzip.o libgrub_a-md5.o libgrub_a-serial.o libgrub_a-stage2.o libgrub_a-terminfo.o libgrub_a-tparm.o libgrub_a-graphics.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1722,13 +1758,13 @@ restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd ../../../docs && \ rm -rf $backupdir && mkdir $backupdir && \ -if (/bin/bash '/build/reproducible-path/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ +if (/bin/sh '/build/reproducible-path/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ for f in ../../../docs/grub.info ../../../docs/grub.info-[0-9] ../../../docs/grub.info-[0-9][0-9] ../../../docs/grub.i[0-9] ../../../docs/grub.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ -if /bin/bash '/build/reproducible-path/grub-0.97/missing' makeinfo -I ../../../docs \ +if /bin/sh '/build/reproducible-path/grub-0.97/missing' makeinfo -I ../../../docs \ -o ../../../docs/grub.info ../../../docs/grub.texi; \ then \ rc=0; \ @@ -1742,13 +1778,13 @@ restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd ../../../docs && \ rm -rf $backupdir && mkdir $backupdir && \ -if (/bin/bash '/build/reproducible-path/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ +if (/bin/sh '/build/reproducible-path/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ for f in ../../../docs/multiboot.info ../../../docs/multiboot.info-[0-9] ../../../docs/multiboot.info-[0-9][0-9] ../../../docs/multiboot.i[0-9] ../../../docs/multiboot.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ -if /bin/bash '/build/reproducible-path/grub-0.97/missing' makeinfo -I ../../../docs \ +if /bin/sh '/build/reproducible-path/grub-0.97/missing' makeinfo -I ../../../docs \ -o ../../../docs/multiboot.info ../../../docs/multiboot.texi; \ then \ rc=0; \ @@ -1810,7 +1846,7 @@ dh_prep -O--builddirectory=debian/build dh_installdirs -O--builddirectory=debian/build dh_auto_install -O--builddirectory=debian/build - cd debian/build && make -j20 install DESTDIR=/build/reproducible-path/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no + cd debian/build && make -j42 install DESTDIR=/build/reproducible-path/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/grub-0.97/debian/build' Making install in netboot make[2]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/netboot' @@ -1856,9 +1892,9 @@ Making install in util make[2]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/util' make[3]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/util' +make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/bin' /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/sbin' -make[3]: Nothing to be done for 'install-data-am'. /usr/bin/install -c mbchk '/build/reproducible-path/grub-0.97/debian/tmp/usr/bin' /usr/bin/install -c grub-install grub-md5-crypt grub-terminfo grub-set-default '/build/reproducible-path/grub-0.97/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/reproducible-path/grub-0.97/debian/build/util' @@ -1868,8 +1904,8 @@ make[3]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/docs' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/man/man1' - /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/info' /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/info' /usr/bin/install -c -m 644 mbchk.1 '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 grub.8 grub-install.8 grub-md5-crypt.8 ../../../docs/grub-terminfo.8 '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 ../../../docs/grub.info ../../../docs/multiboot.info '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/info' @@ -1910,9 +1946,9 @@ dh_gencontrol -O--builddirectory=debian/build dh_md5sums -O--builddirectory=debian/build dh_builddeb -O--builddirectory=debian/build -dpkg-deb: building package 'grub-legacy-doc' in '../grub-legacy-doc_0.97-81_all.deb'. dpkg-deb: building package 'grub-legacy' in '../grub-legacy_0.97-81_amd64.deb'. dpkg-deb: building package 'grub-legacy-dbgsym' in '../grub-legacy-dbgsym_0.97-81_amd64.deb'. +dpkg-deb: building package 'grub-legacy-doc' in '../grub-legacy-doc_0.97-81_all.deb'. dpkg-genbuildinfo --build=binary -O../grub_0.97-81_amd64.buildinfo dpkg-genchanges --build=binary -O../grub_0.97-81_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1920,12 +1956,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3835827/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1947859 and its subdirectories -I: Current time: Sun May 5 03:15:24 -12 2024 -I: pbuilder-time-stamp: 1714922124 +I: removing directory /srv/workspace/pbuilder/3835827 and its subdirectories +I: Current time: Sun Jun 8 11:39:15 +14 2025 +I: pbuilder-time-stamp: 1749332355