Diff of the two buildlogs: -- --- b1/build.log 2023-04-13 13:31:24.847973549 +0000 +++ b2/build.log 2023-04-13 13:36:14.415128930 +0000 @@ -1,6 +1,9 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Wed May 15 07:52:17 -12 2024 -I: pbuilder-time-stamp: 1715802737 +W: cgroups are not available on the host, not using them. +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Fri Apr 14 03:33:26 +14 2023 +I: pbuilder-time-stamp: 1681392806 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +20,7 @@ I: copying [./grub_0.97.orig.tar.gz] I: copying [./grub_0.97-80.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jan 2 15:51:01 2022 -12 +gpgv: Signature made Mon Jan 3 17:51:01 2022 +14 gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./grub_0.97-80.dsc: no acceptable signature found @@ -61,137 +64,145 @@ 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/107417/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6343/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 +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +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/6343/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6343/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + 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=16' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='i386' IFS=' ' - INVOCATION_ID='e1922131031b497a8b7825aaeef34163' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='de_CH:de' 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' + 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' - PPID='107417' + PPID='6343' PS1='# ' PS2='> ' 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.0p4kgH3B/pbuilderrc_lBff --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0p4kgH3B/b1 --logfile b1/build.log grub_0.97-80.dsc' + 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.0p4kgH3B/pbuilderrc_7ZIP --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0p4kgH3B/b2 --logfile b2/build.log --extrapackages usrmerge grub_0.97-80.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + _='/usr/sbin/chroot' + http_proxy='http://78.137.99.97:3128' I: uname -a - Linux ionos16-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux I: ls -l /bin total 6040 - -rwxr-xr-x 1 root root 1408088 Feb 12 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 18 2022 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/107417/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Feb 13 10:21 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 19 07:00 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:21 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 4 Jan 6 03:20 sh -> dash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/6343/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -283,7 +294,7 @@ Get: 43 http://deb.debian.org/debian bookworm/main i386 tex-common all 6.18 [32.5 kB] Get: 44 http://deb.debian.org/debian bookworm/main i386 texi2html all 1.82+dfsg1-7 [359 kB] Get: 45 http://deb.debian.org/debian bookworm/main i386 texinfo i386 6.8-6+b1 [1820 kB] -Fetched 22.5 MB in 1s (34.8 MB/s) +Fetched 22.5 MB in 0s (46.7 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 ... 19604 files and directories currently installed.) @@ -487,8 +498,18 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-80_source.changes +I: user script /srv/workspace/pbuilder/6343/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/6343/tmp/hooks/A99_set_merged_usr finished +I: Running cd /build/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-80_source.changes dpkg-buildpackage: info: source package grub dpkg-buildpackage: info: source version 0.97-80 dpkg-buildpackage: info: source distribution unstable @@ -667,7 +688,7 @@ ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --libdir=\${prefix}/lib --disable-auto-linux-mem-opt checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -750,7 +771,7 @@ debian/rules override_dh_auto_build-arch make[1]: Entering directory '/build/grub-0.97' dh_auto_build - make -j16 + make -j7 make[2]: Entering directory '/build/grub-0.97' make all-recursive make[3]: Entering directory '/build/grub-0.97' @@ -767,15 +788,6 @@ gcc -DHAVE_CONFIG_H -I. -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-char_io.o `test -f 'char_io.c' || echo './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c gcc -DHAVE_CONFIG_H -I. -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-common.o `test -f 'common.c' || echo './'`common.c -gcc -DHAVE_CONFIG_H -I. -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 './'`console.c -gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ext2fs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_fat.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ffs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_iso9660.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_jfs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_minix.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_reiserfs.c boot.c: In function 'load_image': 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) @@ -786,6 +798,47 @@ shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ +boot.c:101:40: warning: pointer targets in passing argument 1 of 'grub_strcmp' differ in signedness [-Wpointer-sign] + 101 | || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0 +shared.h:889:30: note: expected 'const char *' but argument is of type 'unsigned char *' + 889 | int grub_strcmp (const char *s1, const char *s2); + | ~~~~~~~~~~~~^~ +gcc -DHAVE_CONFIG_H -I. -I.. -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 './'`console.c +boot.c: In function 'bsd_boot': +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; + | ^ +builtins.c: In function 'install_func': +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) + | ^~ +builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] +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) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | ( ) +builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~ +builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] + 2035 | struct geometry dest_geom, src_geom; + | ^~~~~~~~~ +builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] + 2032 | int dest_drive, dest_partition, dest_sector; + | ^~~~~~~~~~~ +builtins.c: In function 'savedefault_helper': +builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 3693 | int len; + | ^~~ +gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ext2fs.c +builtins.c: At top level: +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.. -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 './'`fsys_fat.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ffs.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_iso9660.c fsys_iso9660.c: In function 'iso9660_mount': fsys_iso9660.c:53:25: warning: pointer targets in passing argument 1 of 'grub_memcmp' differ in signedness [-Wpointer-sign] 53 | #define PRIMDESC ((struct iso_primary_descriptor *)(FSYS_BUF + 2048)) @@ -803,11 +856,6 @@ fsys_iso9660.c:178:34: warning: pointer targets in initialization of 'const char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 178 | const char *name = idr->name; | ^~~ -boot.c:101:40: warning: pointer targets in passing argument 1 of 'grub_strcmp' differ in signedness [-Wpointer-sign] - 101 | || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0 -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); - | ~~~~~~~~~~~~^~ fsys_iso9660.c:201:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 201 | rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l | ^ @@ -842,39 +890,46 @@ shared.h:979:32: note: expected 'char *' but argument is of type 'unsigned char *' 979 | void print_a_completion (char *filename); | ~~~~~~^~~~~~~~ -boot.c: In function 'bsd_boot': -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.. -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 './'`fsys_jfs.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_minix.c +In file included from ./filesys.h:21, + from disk_io.c:23: +disk_io.c: In function 'set_bootdev': +./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)) ) ) + | ~~~~~~~~~~~~~~~~~~ +disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +./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)) ) ) + | ~~~~~~~~~~~~~~~~~~ +disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +./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)) ) ) + | ~~~~~~~~~~~~~~~~~~ +disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +./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)) ) ) + | ~~~~~~~~~~~~~~~~~~ +disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' + 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; + | ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_reiserfs.c gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ufs2.c -builtins.c: In function 'install_func': -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) - | ^~ -builtins.c:2159:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] -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) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | ( ) -builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~ -builtins.c:2035:19: warning: variable 'dest_geom' set but not used [-Wunused-but-set-variable] - 2035 | struct geometry dest_geom, src_geom; - | ^~~~~~~~~ -builtins.c:2032:35: warning: variable 'dest_sector' set but not used [-Wunused-but-set-variable] - 2032 | int dest_drive, dest_partition, dest_sector; - | ^~~~~~~~~~~ -builtins.c: In function 'savedefault_helper': -builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 3693 | int len; - | ^~~ -builtins.c: At top level: -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.. -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 './'`fsys_vstafs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_xfs.c fsys_vstafs.c: In function 'vstafs_read': fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] 189 | struct alloc *a; @@ -888,15 +943,18 @@ 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.. -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 './'`fsys_xfs.c gcc -DHAVE_CONFIG_H -I. -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 './'`gunzip.c -gcc -DHAVE_CONFIG_H -I. -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 './'`hercules.c +fsys_xfs.c: In function 'next_dentry': +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; + | ^ gunzip.c: In function 'gunzip_test_header': gunzip.c:280:21: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 280 | || grub_read (buf, 10) != 10 | ^~~ | | | unsigned char * -gcc -DHAVE_CONFIG_H -I. -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 './'`md5.c In file included from gunzip.c:128: shared.h:961:22: note: expected 'char *' but argument is of type 'unsigned char *' 961 | int grub_read (char *buf, int len); @@ -926,11 +984,8 @@ shared.h:961:22: note: expected 'char *' but argument is of type 'uch *' {aka 'unsigned char *'} 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ -fsys_xfs.c: In function 'next_dentry': -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.. -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 './'`serial.c +gcc -DHAVE_CONFIG_H -I. -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 './'`hercules.c +gcc -DHAVE_CONFIG_H -I. -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 './'`md5.c md5.c: In function 'md5_update': md5.c:169:22: warning: pointer targets in passing argument 1 of 'md5_transform' differ in signedness [-Wpointer-sign] 169 | md5_transform (input); @@ -973,16 +1028,30 @@ 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.. -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 './'`serial.c gcc -DHAVE_CONFIG_H -I. -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 './'`smp-imps.c -gcc -DHAVE_CONFIG_H -I. -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.c -gcc -DHAVE_CONFIG_H -I. -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 './'`terminfo.c smp-imps.c: In function 'boot_cpu': smp-imps.c:311:22: warning: variable 'accept_status' set but not used [-Wunused-but-set-variable] 311 | unsigned bootaddr, accept_status; | ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -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 './'`tparm.c +serial.c: In function 'serial_hw_get_port': +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]; + | ~~~~^~~~~~ +In function 'boot_cpu', + inlined from 'add_processor' at smp-imps.c:388:7, + inlined from 'imps_read_config_table' at smp-imps.c:435:4, + inlined from 'imps_read_bios' at smp-imps.c:623:3, + inlined from 'imps_scan' at smp-imps.c:662:4: +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; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +smp-imps.c:347:46: warning: array subscript 0 is outside array bounds of 'volatile unsigned int[0]' [-Warray-bounds] + 347 | *((volatile unsigned *) bios_reset_vector) = 0; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -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.c +gcc -DHAVE_CONFIG_H -I. -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 './'`terminfo.c stage2.c: In function 'cmain': -gcc -DHAVE_CONFIG_H -I. -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 './'`graphics.c stage2.c:941:21: warning: value computed is not used [-Wunused-value] 941 | *tmp++; | ^~~~~~ @@ -1019,56 +1088,8 @@ ./shared.h:891:44: note: expected 'const char *' but argument is of type 'char **' 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ -In function 'boot_cpu', - inlined from 'add_processor' at smp-imps.c:388:7, - inlined from 'imps_read_config_table' at smp-imps.c:435:4, - inlined from 'imps_read_bios' at smp-imps.c:623:3, - inlined from 'imps_scan' at smp-imps.c:662:4: -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; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -smp-imps.c:347:46: warning: array subscript 0 is outside array bounds of 'volatile unsigned int[0]' [-Warray-bounds] - 347 | *((volatile unsigned *) bios_reset_vector) = 0; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -In file included from ./filesys.h:21, - from disk_io.c:23: -disk_io.c: In function 'set_bootdev': -./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)) ) ) - | ~~~~~~~~~~~~~~~~~~ -disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -./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)) ) ) - | ~~~~~~~~~~~~~~~~~~ -disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -./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)) ) ) - | ~~~~~~~~~~~~~~~~~~ -disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -./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)) ) ) - | ~~~~~~~~~~~~~~~~~~ -disk_io.c:1148:13: note: in expansion of macro 'PC_SLICE_FLAG' - 1148 | PC_SLICE_FLAG (BOOT_PART_TABLE, i) = 0; - | ^~~~~~~~~~~~~ -serial.c: In function 'serial_hw_get_port': -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]; - | ~~~~^~~~~~ +gcc -DHAVE_CONFIG_H -I. -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 './'`tparm.c +gcc -DHAVE_CONFIG_H -I. -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 './'`graphics.c smp-imps.c: In function 'imps_probe': 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 *) @@ -1094,48 +1115,46 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo './'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo './'`fsys_ext2fs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-bios.o `test -f 'bios.c' || echo './'`bios.c -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S disk_io.c: In function 'real_open_partition': 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.. -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.. -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 './'`start.S +gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c -gcc -DHAVE_CONFIG_H -I. -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 './'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_fat.c -gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c disk_io.c: In function 'real_open_partition': 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.. -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 './'`stage1_5.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_fat.c +gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c gcc -DHAVE_CONFIG_H -I. -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-char_io.o `test -f 'char_io.c' || echo './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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-disk_io.o `test -f 'disk_io.c' || echo './'`disk_io.c -gcc -DHAVE_CONFIG_H -I. -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-stage1_5.o `test -f 'stage1_5.c' || echo './'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -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-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.c -gcc -DHAVE_CONFIG_H -I. -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-bios.o `test -f 'bios.c' || echo './'`bios.c -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start_eltorito.S disk_io.c: In function 'real_open_partition': 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.. -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-stage1_5.o `test -f 'stage1_5.c' || echo './'`stage1_5.c +gcc -DHAVE_CONFIG_H -I. -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-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.c +gcc -DHAVE_CONFIG_H -I. -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-bios.o `test -f 'bios.c' || echo './'`bios.c +gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start_eltorito.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_iso9660.c -gcc -DHAVE_CONFIG_H -I. -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-bios.o `test -f 'bios.c' || echo './'`bios.c -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S disk_io.c: In function 'real_open_partition': 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.. -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.. -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 './'`asm.S +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_iso9660.c +gcc -DHAVE_CONFIG_H -I. -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-bios.o `test -f 'bios.c' || echo './'`bios.c fsys_iso9660.c: In function 'iso9660_mount': fsys_iso9660.c:53:25: warning: pointer targets in passing argument 1 of 'grub_memcmp' differ in signedness [-Wpointer-sign] 53 | #define PRIMDESC ((struct iso_primary_descriptor *)(FSYS_BUF + 2048)) @@ -1159,8 +1178,6 @@ 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; | ^ -gcc -DHAVE_CONFIG_H -I. -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 './'`common.c -gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c 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; | ^ @@ -1178,38 +1195,42 @@ 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.. -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.. -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 './'`start.S +gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S +gcc -DHAVE_CONFIG_H -I. -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 './'`common.c +gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c +disk_io.c: In function 'real_open_partition': +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.. -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 './'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_jfs.c gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c -disk_io.c: In function 'real_open_partition': -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.. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_minix.c -gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S disk_io.c: In function 'real_open_partition': 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.. -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 './'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c +gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`stage1_5.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_reiserfs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c disk_io.c: In function 'real_open_partition': 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.. -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 './'`fsys_reiserfs.c +gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c @@ -1217,20 +1238,22 @@ gcc -DHAVE_CONFIG_H -I. -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-disk_io.o `test -f 'disk_io.c' || echo './'`disk_io.c gcc -DHAVE_CONFIG_H -I. -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-stage1_5.o `test -f 'stage1_5.c' || echo './'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -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-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo './'`fsys_ufs2.c -gcc -DHAVE_CONFIG_H -I. -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-bios.o `test -f 'bios.c' || echo './'`bios.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -c -o vstafs_stage1_5_exec-start.o `test -f 'start.S' || echo './'`start.S disk_io.c: In function 'real_open_partition': 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.. -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-bios.o `test -f 'bios.c' || echo './'`bios.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -c -o vstafs_stage1_5_exec-start.o `test -f 'start.S' || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -c -o vstafs_stage1_5_exec-asm.o `test -f 'asm.S' || echo './'`asm.S gcc -DHAVE_CONFIG_H -I. -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-common.o `test -f 'common.c' || echo './'`common.c gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c +disk_io.c: In function 'real_open_partition': +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.. -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 './'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_vstafs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c -gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S fsys_vstafs.c: In function 'vstafs_read': fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] 189 | struct alloc *a; @@ -1244,31 +1267,25 @@ 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.. -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 './'`bios.c +gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`start.S gcc -DHAVE_CONFIG_H -I. -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.. -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 './'`asm.S gcc -DHAVE_CONFIG_H -I. -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 './'`common.c gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c -disk_io.c: In function 'real_open_partition': -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.. -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 './'`disk_io.c gcc -DHAVE_CONFIG_H -I. -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 './'`stage1_5.c gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_xfs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c disk_io.c: In function 'real_open_partition': 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.. -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 './'`boot.c -gcc -DHAVE_CONFIG_H -I. -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 './'`builtins.c -gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c +gcc -DHAVE_CONFIG_H -I. -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 './'`bios.c fsys_xfs.c: In function 'next_dentry': 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.. -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 './'`cmdline.c -gcc -DHAVE_CONFIG_H -I. -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 './'`common.c -gcc -DHAVE_CONFIG_H -I. -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 './'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -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 './'`boot.c +gcc -DHAVE_CONFIG_H -I. -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 './'`builtins.c boot.c: In function 'load_image': 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) @@ -1284,13 +1301,11 @@ shared.h:889:30: note: expected 'const char *' but argument is of type 'unsigned char *' 889 | int grub_strcmp (const char *s1, const char *s2); | ~~~~~~~~~~~~^~ -gcc -DHAVE_CONFIG_H -I. -I.. -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 './'`fsys_ext2fs.c boot.c: In function 'bsd_boot': +gcc -DHAVE_CONFIG_H -I. -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 './'`char_io.c 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.. -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 './'`fsys_fat.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ffs.c builtins.c: In function 'install_func': 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) @@ -1300,23 +1315,28 @@ 2159 | || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) +gcc -DHAVE_CONFIG_H -I. -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 './'`cmdline.c builtins.c:2035:30: warning: variable 'src_geom' set but not used [-Wunused-but-set-variable] 2035 | struct geometry dest_geom, src_geom; | ^~~~~~~~ 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.. -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 './'`fsys_iso9660.c 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.. -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 './'`fsys_jfs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -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 './'`common.c builtins.c: In function 'savedefault_helper': builtins.c:3693:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] 3693 | int len; | ^~~ -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_reiserfs.c +builtins.c: At top level: +builtins.c:3619:1: warning: 'savedefault_helper' defined but not used [-Wunused-function] + 3619 | savedefault_helper (char *arg, int flags) + | ^~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -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 './'`disk_io.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ext2fs.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_fat.c disk_io.c:131:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 131 | log2 (unsigned long word) | ^~~~ @@ -1324,10 +1344,16 @@ 106 | #include "freebsd.h" +++ |+#include 107 | int bsd_evil_hack; -builtins.c: At top level: -builtins.c:3619:1: warning: 'savedefault_helper' defined but not used [-Wunused-function] - 3619 | savedefault_helper (char *arg, int flags) - | ^~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -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 './'`fsys_ffs.c +fsys_fat.c:58:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 58 | log2 (unsigned long word) + | ^~~~ +fsys_fat.c:25:1: note: 'log2' is declared in header '' + 24 | #include "fat.h" + +++ |+#include + 25 | +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_iso9660.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_jfs.c fsys_iso9660.c:60:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 60 | log2 (unsigned long word) | ^~~~ @@ -1349,13 +1375,6 @@ fsys_iso9660.c:178:34: warning: pointer targets in initialization of 'const char *' from 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 178 | const char *name = idr->name; | ^~~ -fsys_fat.c:58:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] - 58 | log2 (unsigned long word) - | ^~~~ -fsys_fat.c:25:1: note: 'log2' is declared in header '' - 24 | #include "fat.h" - +++ |+#include - 25 | fsys_iso9660.c:201:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 201 | rr_ptr.ptr = ((unsigned char *)idr + idr->name_len.l | ^ @@ -1390,6 +1409,8 @@ 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.. -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 './'`fsys_minix.c +gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_reiserfs.c gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_ufs2.c fsys_reiserfs.c:370:1: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 370 | log2 (unsigned long word) @@ -1399,13 +1420,6 @@ +++ |+#include 24 | gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_vstafs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`fsys_xfs.c -gcc -DHAVE_CONFIG_H -I. -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 './'`gunzip.c -gcc -DHAVE_CONFIG_H -I. -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 './'`md5.c -fsys_xfs.c: In function 'next_dentry': -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; - | ^ fsys_vstafs.c: In function 'vstafs_read': fsys_vstafs.c:189:17: warning: declaration of 'a' shadows a global declaration [-Wshadow] 189 | struct alloc *a; @@ -1419,6 +1433,12 @@ 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.. -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 './'`fsys_xfs.c +gcc -DHAVE_CONFIG_H -I. -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 './'`gunzip.c +fsys_xfs.c: In function 'next_dentry': +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; + | ^ gunzip.c: In function 'gunzip_test_header': gunzip.c:280:21: warning: pointer targets in passing argument 1 of 'grub_read' differ in signedness [-Wpointer-sign] 280 | || grub_read (buf, 10) != 10 @@ -1454,6 +1474,8 @@ 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.. -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 './'`md5.c +gcc -DHAVE_CONFIG_H -I. -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 './'`serial.c md5.c: In function 'md5_update': md5.c:169:22: warning: pointer targets in passing argument 1 of 'md5_transform' differ in signedness [-Wpointer-sign] 169 | md5_transform (input); @@ -1496,9 +1518,7 @@ 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.. -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 './'`serial.c gcc -DHAVE_CONFIG_H -I. -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.c -gcc -DHAVE_CONFIG_H -I. -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 './'`terminfo.c stage2.c: In function 'cmain': stage2.c:941:21: warning: value computed is not used [-Wunused-value] 941 | *tmp++; @@ -1536,68 +1556,69 @@ ./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.. -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 './'`terminfo.c gcc -DHAVE_CONFIG_H -I. -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 './'`tparm.c gcc -DHAVE_CONFIG_H -I. -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 './'`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_eltorito.exec has a LOAD segment with RWX permissions -gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -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_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: 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_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_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 /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_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 /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 -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 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 +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 /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 /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 -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 +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: 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_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 +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: ufs2_stage1_5_exec-asm.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: ufs2_stage1_5.exec has a LOAD segment with RWX permissions -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start.exec start -objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start_eltorito.exec start_eltorito -rm -f stage2 /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 -cat start pre_stage2 > stage2 -rm -f 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 start.exec start +objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start_eltorito.exec start_eltorito +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 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id e2fs_stage1_5.exec e2fs_stage1_5 -cat start_eltorito pre_stage2 > stage2_eltorito objcopy -O binary -R .note -R .comment -R .note.gnu.build-id fat_stage1_5.exec fat_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ffs_stage1_5.exec ffs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id iso9660_stage1_5.exec iso9660_stage1_5 +/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 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') @@ -1755,7 +1776,7 @@ dh_prep dh_installdirs dh_auto_install - make -j16 install DESTDIR=/build/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no + make -j7 install DESTDIR=/build/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/grub-0.97' Making install in netboot make[2]: Entering directory '/build/grub-0.97/netboot' @@ -1770,7 +1791,7 @@ make[3]: Entering directory '/build/grub-0.97/stage2' make[4]: Entering directory '/build/grub-0.97/stage2' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' /usr/bin/install -c -m 644 stage2 stage2_eltorito e2fs_stage1_5 fat_stage1_5 ffs_stage1_5 iso9660_stage1_5 jfs_stage1_5 minix_stage1_5 reiserfs_stage1_5 ufs2_stage1_5 vstafs_stage1_5 xfs_stage1_5 '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' make[4]: Leaving directory '/build/grub-0.97/stage2' make[3]: Leaving directory '/build/grub-0.97/stage2' @@ -1779,7 +1800,7 @@ make[2]: Entering directory '/build/grub-0.97/stage1' make[3]: Entering directory '/build/grub-0.97/stage1' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' /usr/bin/install -c -m 644 stage1 '/build/grub-0.97/debian/tmp/usr/lib/grub/i386-pc' make[3]: Leaving directory '/build/grub-0.97/stage1' make[2]: Leaving directory '/build/grub-0.97/stage1' @@ -1794,7 +1815,7 @@ make[2]: Entering directory '/build/grub-0.97/grub' make[3]: Entering directory '/build/grub-0.97/grub' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/sbin' /usr/bin/install -c grub '/build/grub-0.97/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/grub-0.97/grub' make[2]: Leaving directory '/build/grub-0.97/grub' @@ -1802,8 +1823,8 @@ make[2]: Entering directory '/build/grub-0.97/util' make[3]: Entering directory '/build/grub-0.97/util' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/bin' - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/sbin' /usr/bin/install -c grub-install grub-md5-crypt grub-terminfo grub-set-default '/build/grub-0.97/debian/tmp/usr/sbin' /usr/bin/install -c mbchk '/build/grub-0.97/debian/tmp/usr/bin' make[3]: Leaving directory '/build/grub-0.97/util' @@ -1812,9 +1833,9 @@ make[2]: Entering directory '/build/grub-0.97/docs' make[3]: Entering directory '/build/grub-0.97/docs' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/info' - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/man/man1' - /bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/grub-0.97/debian/tmp/usr/share/info' /usr/bin/install -c -m 644 mbchk.1 '/build/grub-0.97/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 grub.8 grub-install.8 grub-md5-crypt.8 grub-terminfo.8 '/build/grub-0.97/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 ./grub.info ./multiboot.info '/build/grub-0.97/debian/tmp/usr/share/info' @@ -1873,22 +1894,23 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'grub-legacy' in '../grub-legacy_0.97-80_i386.deb'. dpkg-deb: building package 'grub-legacy-dbgsym' in '../grub-legacy-dbgsym_0.97-80_i386.deb'. dpkg-deb: building package 'grub-legacy-doc' in '../grub-legacy-doc_0.97-80_all.deb'. -dpkg-deb: building package 'grub-legacy' in '../grub-legacy_0.97-80_i386.deb'. dpkg-genbuildinfo --build=binary -O../grub_0.97-80_i386.buildinfo dpkg-genchanges --build=binary -O../grub_0.97-80_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/6343/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6343/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/107417 and its subdirectories -I: Current time: Wed May 15 07:54:22 -12 2024 -I: pbuilder-time-stamp: 1715802862 +I: removing directory /srv/workspace/pbuilder/6343 and its subdirectories +I: Current time: Fri Apr 14 03:34:13 +14 2023 +I: pbuilder-time-stamp: 1681392853