Diff of the two buildlogs: -- --- b1/build.log 2024-04-19 12:02:51.921458538 +0000 +++ b2/build.log 2024-04-19 12:04:07.518215331 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 22 06:25:15 -12 2025 -I: pbuilder-time-stamp: 1747938315 +I: Current time: Sat Apr 20 02:02:54 +14 2024 +I: pbuilder-time-stamp: 1713528174 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -61,54 +61,86 @@ 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/60510/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11141/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 Apr 19 12:03 /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/11141/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11141/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='745ee0035d6d4c0ea15a8b8b2bdc17f6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='60510' - PS1='# ' - PS2='> ' + INVOCATION_ID=7953978ab0d1416cb66b0238f4279e25 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=11141 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.GBuubsTd/pbuilderrc_dbau --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GBuubsTd/b1 --logfile b1/build.log grub_0.97-81.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.GBuubsTd/pbuilderrc_GoQS --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GBuubsTd/b2 --logfile b2/build.log grub_0.97-81.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 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.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 21 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/60510/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 19 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/11141/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -200,7 +232,7 @@ Get: 43 http://deb.debian.org/debian trixie/main i386 texi2html all 1.82+dfsg1-7 [359 kB] Get: 44 http://deb.debian.org/debian trixie/main i386 texinfo-lib i386 7.1-3 [231 kB] Get: 45 http://deb.debian.org/debian trixie/main i386 texinfo all 7.1-3 [1748 kB] -Fetched 23.0 MB in 0s (85.2 MB/s) +Fetched 23.0 MB in 0s (62.8 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 ... 19874 files and directories currently installed.) @@ -405,7 +437,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/11141/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/11141/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 @@ -671,7 +707,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 -j22 + cd debian/build && make -j10 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' @@ -691,18 +727,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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -g -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.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) @@ -718,34 +742,42 @@ ../../../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/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 * -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); - | ~~~~~~^~~ -../../../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 - | ^~~ - | | - | unsigned char * -../../../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:311:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] - 311 | if (grub_read (buf, 8) != 8) - | ^~~ - | | - | unsigned char * -../../../stage2/shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' - 961 | int grub_read (char *buf, int len); - | ~~~~~~^~~ +../../../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 -g -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo '../../../stage2/'`fsys_fat.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/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; + | ^~~~~~~~~ +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 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.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; + | ^~~ +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 -g -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.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); + | ^~~~~~~~~~~~~~~~~ +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 -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 -g -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.c ../../../stage2/fsys_iso9660.c: In function 'iso9660_mount': -../../../stage2/gunzip.c: In function 'get_byte': ../../../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)) | ^ @@ -754,14 +786,6 @@ ../../../stage2/fsys_iso9660.c:123:22: note: in expansion of macro 'PRIMDESC' 123 | && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id))) | ^~~~~~~~ -../../../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); - | ~~~~~~^~~ In file included from ../../../stage2/fsys_iso9660.c:34: ../../../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); @@ -776,17 +800,12 @@ ../../../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/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; - | ^ ../../../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/fsys_vstafs.c: In function 'vstafs_read': ../../../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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -798,6 +817,23 @@ ../../../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_iso9660.c:56:25: 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)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned char * +../../../stage2/fsys_iso9660.c:384:43: note: in expansion of macro 'NAME_BUF' + 384 | print_a_completion (NAME_BUF); + | ^~~~~~~~ +../../../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 -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 -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 -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 -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 -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 -g -c -o pre_stage2_exec-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.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; | ^ @@ -810,17 +846,87 @@ ../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here 65 | static int curr_ext, current_direntry, current_blockpos; | ^~~~~~~~ -../../../stage2/fsys_iso9660.c:56:25: 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)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned char * -../../../stage2/fsys_iso9660.c:384:43: note: in expansion of macro 'NAME_BUF' - 384 | print_a_completion (NAME_BUF); - | ^~~~~~~~ -../../../stage2/shared.h:979:32: note: expected 'char *' but argument is of type 'unsigned char *' - 979 | void print_a_completion (char *filename); - | ~~~~~~^~~~~~~~ +../../../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 '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 * +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); + | ~~~~~~^~~ +../../../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 + | ^~~ + | | + | unsigned char * +../../../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:311:18: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] + 311 | if (grub_read (buf, 8) != 8) + | ^~~ + | | + | unsigned char * +../../../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); + | ~~~~~~^~~ +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 -g -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo '../../../stage2/'`hercules.c +In file included from ../../../stage2/filesys.h:21, + from ../../../stage2/disk_io.c:23: +../../../stage2/disk_io.c: In function 'set_bootdev': +../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] + 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | + (part << 4)) ) ) + | ~~~~~~~~~~~~~~~~~~ +../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +cc1: note: source object is likely at address zero +../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] + 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | + (part << 4)) ) ) + | ~~~~~~~~~~~~~~~~~~ +../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +cc1: note: source object is likely at address zero +../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] + 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | + (part << 4)) ) ) + | ~~~~~~~~~~~~~~~~~~ +../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +cc1: note: source object is likely at address zero +../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] + 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 49 | + (part << 4)) ) ) + | ~~~~~~~~~~~~~~~~~~ +../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +cc1: note: source object is likely at address zero +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 -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 -g -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.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); @@ -863,45 +969,26 @@ ../../../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 -g -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo '../../../stage2/'`serial.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; - | ^ -../../../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 -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 -g -c -o pre_stage2_exec-smp-imps.o `test -f 'smp-imps.c' || echo '../../../stage2/'`smp-imps.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; - | ^~~~~~~~~~~ ../../../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/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 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 -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 -g -c -o pre_stage2_exec-terminfo.o `test -f 'terminfo.c' || echo '../../../stage2/'`terminfo.c +../../../stage2/stage2.c: In function 'cmain': 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, inlined from 'imps_read_bios' at ../../../stage2/smp-imps.c:623:3, inlined from 'imps_scan' at ../../../stage2/smp-imps.c:662:4: +../../../stage2/stage2.c:941:21: warning: value computed is not used [-Wunused-value] + 941 | *tmp++; + | ^~~~~~ ../../../stage2/smp-imps.c:325:46: warning: array subscript 0 is outside array bounds of 'volatile unsigned int[0]' [-Warray-bounds=] 325 | *((volatile unsigned *) bios_reset_vector) = bootaddr << 12; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ @@ -917,20 +1004,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In function 'imps_scan': 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); - | ^~~~~~~~~~~~~~~~~ -../../../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 -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 -g -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c -../../../stage2/stage2.c: In function 'cmain': -../../../stage2/stage2.c:941:21: warning: value computed is not used [-Wunused-value] - 941 | *tmp++; - | ^~~~~~ ../../../stage2/stage2.c:942:33: warning: passing argument 1 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 942 | grub_strcpy(&def, &tmp); | ^~~~ @@ -956,7 +1029,6 @@ ../../../stage2/shared.h:891:26: note: expected '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 -g -c -o pre_stage2_exec-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c ../../../stage2/stage2.c:944:39: warning: passing argument 2 of 'grub_strcpy' from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~ @@ -965,6 +1037,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); | ~~~~~~~~~~~~^~~ +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 -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 -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 -g -c -o pre_stage2_exec-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c ../../../stage2/smp-imps.c: In function 'imps_probe': ../../../stage2/smp-imps.c:709:24: warning: array subscript 0 is outside array bounds of 'short unsigned int[0]' [-Warray-bounds=] 709 | unsigned ebda_addr = *((unsigned short *) @@ -972,45 +1047,6 @@ 710 | PHYS_TO_VIRTUAL (EBDA_SEG_ADDR)) << 4; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: source object is likely at address zero -In file included from ../../../stage2/filesys.h:21, - from ../../../stage2/disk_io.c:23: -../../../stage2/disk_io.c: In function 'set_bootdev': -../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] - 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | + (part << 4)) ) ) - | ~~~~~~~~~~~~~~~~~~ -../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -cc1: note: source object is likely at address zero -../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] - 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | + (part << 4)) ) ) - | ~~~~~~~~~~~~~~~~~~ -../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -cc1: note: source object is likely at address zero -../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] - 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | + (part << 4)) ) ) - | ~~~~~~~~~~~~~~~~~~ -../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -cc1: note: source object is likely at address zero -../../../stage2/pc_slice.h:48:5: warning: array subscript 0 is outside array bounds of 'unsigned char[0]' [-Warray-bounds=] - 48 | ( *( (unsigned char *) (((int) mbr_ptr) + PC_SLICE_OFFSET \ - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 49 | + (part << 4)) ) ) - | ~~~~~~~~~~~~~~~~~~ -../../../stage2/disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -cc1: note: source object is likely at address zero gcc -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 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 -no-pie -Wl,--build-id=none -o pre_stage2.exec pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_iso9660.o pre_stage2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_ufs2.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o pre_stage2_exec-hercules.o pre_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o pre_stage2_exec-graphics.o /usr/bin/ld: warning: pre_stage2_exec-builtins.o: requires executable stack (because the .note.GNU-stack section is executable) /usr/bin/ld: warning: pre_stage2.exec has a LOAD segment with RWX permissions @@ -1033,11 +1069,19 @@ 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 -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 -g -c -o fat_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_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_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_FAT=1 -DNO_BLOCK_FILES=1 -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 -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 -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 -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 -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 -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 -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 -g -c -o ffs_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c @@ -1052,16 +1096,8 @@ | ^~~~~~~~ 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 -g -c -o iso9660_stage1_5_exec-start_eltorito.o `test -f 'start_eltorito.S' || echo '../../../stage2/'`start_eltorito.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 -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 -g -c -o iso9660_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_ISO9660=1 -DNO_BLOCK_FILES=1 -g -c -o iso9660_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_ISO9660=1 -DNO_BLOCK_FILES=1 -g -c -o iso9660_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': -../../../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 -g -c -o iso9660_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_ISO9660=1 -DNO_BLOCK_FILES=1 -g -c -o iso9660_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_ISO9660=1 -DNO_BLOCK_FILES=1 -g -c -o iso9660_stage1_5_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo '../../../stage2/'`fsys_iso9660.c @@ -1069,13 +1105,11 @@ 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 -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 -g -c -o jfs_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_JFS=1 -DNO_BLOCK_FILES=1 -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 -g -c -o jfs_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': ../../../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': -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 -g -c -o jfs_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c ../../../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)) | ^ @@ -1115,37 +1149,39 @@ ../../../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_JFS=1 -DNO_BLOCK_FILES=1 -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 -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 -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 -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 -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 -g -c -o minix_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; | ^~~~~~~~ -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 -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 -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 -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 -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 -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 -g -c -o minix_stage1_5_exec-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.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_MINIX=1 -DNO_BLOCK_FILES=1 -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 -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 -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 -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 -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 -g -c -o reiserfs_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_REISERFS=1 -DNO_BLOCK_FILES=1 -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 -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 -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 -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 -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 -g -c -o reiserfs_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 -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 -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 -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 -g -c -o ufs2_stage1_5_exec-common.o `test -f 'common.c' || echo '../../../stage2/'`common.c @@ -1164,16 +1200,15 @@ 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 -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 -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 -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 -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 -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 -g -c -o xfs_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_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 -g -c -o xfs_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_XFS=1 -DNO_BLOCK_FILES=1 -g -c -o xfs_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_XFS=1 -DNO_BLOCK_FILES=1 -g -c -o xfs_stage1_5_exec-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.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; @@ -1187,27 +1222,23 @@ ../../../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 -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 -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 -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 -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 -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 -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 -g -c -o libgrub_a-builtins.o `test -f 'builtins.c' || echo '../../../stage2/'`builtins.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 -g -c -o libgrub_a-char_io.o `test -f 'char_io.c' || echo '../../../stage2/'`char_io.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 -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 -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 -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 -g -c -o libgrub_a-builtins.o `test -f 'builtins.c' || echo '../../../stage2/'`builtins.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 -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 -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 -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 -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 -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 -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 -g -c -o libgrub_a-fsys_ffs.o `test -f 'fsys_ffs.c' || echo '../../../stage2/'`fsys_ffs.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) @@ -1227,7 +1258,6 @@ ../../../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 -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) @@ -1237,35 +1267,44 @@ 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) -../../../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) - | ^~~~ -../../../stage2/fsys_fat.c:25:1: note: 'log2' is declared in header '' - 24 | #include "fat.h" - +++ |+#include - 25 | -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 -g -c -o libgrub_a-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.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) - | ^~~~ -../../../stage2/disk_io.c:107:1: note: 'log2' is declared in header '' - 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 -g -c -o libgrub_a-common.o `test -f 'common.c' || echo '../../../stage2/'`common.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; | ^~~~~~~~ -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 -g -c -o libgrub_a-fsys_minix.o `test -f 'fsys_minix.c' || echo '../../../stage2/'`fsys_minix.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/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 -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 -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 -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 -g -c -o libgrub_a-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 -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 -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 -g -c -o libgrub_a-disk_io.o `test -f 'disk_io.c' || echo '../../../stage2/'`disk_io.c +../../../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 -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 -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 -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) + | ^~~~ +../../../stage2/disk_io.c:107:1: note: 'log2' is declared in header '' + 106 | #include "freebsd.h" + +++ |+#include + 107 | int bsd_evil_hack; +../../../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) + | ^~~~~~~~~~~~~~~~~~ +../../../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) + | ^~~~ +../../../stage2/fsys_fat.c:25:1: note: 'log2' is declared in header '' + 24 | #include "fat.h" + +++ |+#include + 25 | +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 -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 -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 -g -c -o libgrub_a-fsys_jfs.o `test -f 'fsys_jfs.c' || echo '../../../stage2/'`fsys_jfs.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) | ^~~~ @@ -1321,11 +1360,9 @@ ../../../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 -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 -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 -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 -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 -g -c -o libgrub_a-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo '../../../stage2/'`fsys_ufs2.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) | ^~~~ @@ -1333,6 +1370,9 @@ 23 | #include "filesys.h" +++ |+#include 24 | +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 -g -c -o libgrub_a-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 -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 -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 -g -c -o libgrub_a-gunzip.o `test -f 'gunzip.c' || echo '../../../stage2/'`gunzip.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; @@ -1346,14 +1386,6 @@ ../../../stage2/fsys_vstafs.c:65:12: note: shadowed declaration is here 65 | static int curr_ext, current_direntry, current_blockpos; | ^~~~~~~~ -../../../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) - | ^~~~~~~~~~~~~~~~~~ -../../../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 -g -c -o libgrub_a-md5.o `test -f 'md5.c' || echo '../../../stage2/'`md5.c ../../../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] @@ -1390,8 +1422,10 @@ ../../../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 -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 -g -c -o libgrub_a-stage2.o `test -f 'stage2.c' || echo '../../../stage2/'`stage2.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; + | ^ ../../../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); @@ -1434,8 +1468,9 @@ ../../../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 -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 -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 -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 -g -c -o libgrub_a-tparm.o `test -f 'tparm.c' || echo '../../../stage2/'`tparm.c ../../../stage2/stage2.c: In function 'cmain': ../../../stage2/stage2.c:941:21: warning: value computed is not used [-Wunused-value] 941 | *tmp++; @@ -1473,67 +1508,68 @@ ../../../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 -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 -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 -g -c -o libgrub_a-graphics.o `test -f 'graphics.c' || echo '../../../stage2/'`graphics.c gcc -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 -no-pie -Wl,--build-id=none -o start.exec start_exec-start.o +/usr/bin/ld: warning: start.exec has a LOAD segment with RWX permissions gcc -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 -no-pie -Wl,--build-id=none -o start_eltorito.exec start_eltorito_exec-start_eltorito.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_EXT2FS=1 -DNO_BLOCK_FILES=1 -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: start.exec has a LOAD segment with RWX permissions /usr/bin/ld: warning: start_eltorito.exec has a LOAD segment with RWX permissions /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 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 -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 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 -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 +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 -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 /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 -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 -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 -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 -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 -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 -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: 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_JFS=1 -DNO_BLOCK_FILES=1 -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: 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_MINIX=1 -DNO_BLOCK_FILES=1 -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 -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: 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 +/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: reiserfs_stage1_5.exec has a LOAD segment with RWX permissions /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 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 -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 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 -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_XFS=1 -DNO_BLOCK_FILES=1 -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: 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: reiserfs_stage1_5.exec has a LOAD segment with RWX permissions +/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.exec start -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 -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: 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: vstafs_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 +rm -f stage2 +rm -f stage2_eltorito +cat start pre_stage2 > stage2 +cat start_eltorito pre_stage2 > stage2_eltorito +/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 e2fs_stage1_5.exec e2fs_stage1_5 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 -/usr/bin/ld: /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 -warning: ufs2_stage1_5_exec-asm.o/usr/bin/ld: warning: vstafs_stage1_5.exec has a LOAD segment with RWX permissions -: 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 iso9660_stage1_5.exec iso9660_stage1_5 -/usr/bin/ld: objcopy -O binary -R .note -R .comment -R .note.gnu.build-id jfs_stage1_5.exec jfs_stage1_5 -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 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') @@ -1606,13 +1642,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; \ @@ -1626,13 +1662,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; \ @@ -1694,7 +1730,7 @@ dh_prep -O--builddirectory=debian/build dh_installdirs -O--builddirectory=debian/build dh_auto_install -O--builddirectory=debian/build - cd debian/build && make -j22 install DESTDIR=/build/reproducible-path/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no + cd debian/build && make -j10 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' @@ -1732,8 +1768,8 @@ Making install in grub make[2]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/grub' make[3]: Entering directory '/build/reproducible-path/grub-0.97/debian/build/grub' -make[3]: Nothing to be done for 'install-data-am'. /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 grub '/build/reproducible-path/grub-0.97/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/reproducible-path/grub-0.97/debian/build/grub' make[2]: Leaving directory '/build/reproducible-path/grub-0.97/debian/build/grub' @@ -1754,8 +1790,8 @@ /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/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 mbchk.1 '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 ../../../docs/grub.info ../../../docs/multiboot.info '/build/reproducible-path/grub-0.97/debian/tmp/usr/share/info' make[3]: Leaving directory '/build/reproducible-path/grub-0.97/debian/build/docs' make[2]: Leaving directory '/build/reproducible-path/grub-0.97/debian/build/docs' @@ -1794,9 +1830,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-dbgsym' in '../grub-legacy-dbgsym_0.97-81_i386.deb'. dpkg-deb: building package 'grub-legacy' in '../grub-legacy_0.97-81_i386.deb'. dpkg-deb: building package 'grub-legacy-doc' in '../grub-legacy-doc_0.97-81_all.deb'. +dpkg-deb: building package 'grub-legacy-dbgsym' in '../grub-legacy-dbgsym_0.97-81_i386.deb'. dpkg-genbuildinfo --build=binary -O../grub_0.97-81_i386.buildinfo dpkg-genchanges --build=binary -O../grub_0.97-81_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1804,12 +1840,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/11141/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11141/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/60510 and its subdirectories -I: Current time: Thu May 22 06:25:50 -12 2025 -I: pbuilder-time-stamp: 1747938350 +I: removing directory /srv/workspace/pbuilder/11141 and its subdirectories +I: Current time: Sat Apr 20 02:04:06 +14 2024 +I: pbuilder-time-stamp: 1713528246