Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/grub/grub_0.97-80_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/grub-0.97-80dckiazbl/grub_0.97-80_amd64.buildinfo Get source package info: grub=0.97-80 Source URL: http://snapshot.notset.fr/mr/package/grub/0.97-80/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-5+b1 binutils=2.37-10.1 binutils-common=2.37-10.1 binutils-x86-64-linux-gnu=2.37-10.1 bsdextrautils=2.37.2-5 bsdutils=1:2.37.2-5 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-13 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.6 debianutils=5.5-1 dh-autoreconf=20 dh-exec=0.23.4 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-13 gcc=4:11.2.0-2 gcc-11=11.2.0-13 gcc-11-base=11.2.0-13 gcc-11-multilib=11.2.0-13 gcc-multilib=4:11.2.0-2 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-8 gzip=1.10-4 help2man=1.48.5 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 lib32asan6=11.2.0-13 lib32atomic1=11.2.0-13 lib32gcc-11-dev=11.2.0-13 lib32gcc-s1=11.2.0-13 lib32gomp1=11.2.0-13 lib32itm1=11.2.0-13 lib32quadmath0=11.2.0-13 lib32stdc++6=11.2.0-13 lib32ubsan1=11.2.0-13 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-13 libatomic1=11.2.0-13 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37-10.1 libblkid1=2.37.2-5 libbz2-1.0=1.0.8-5 libc-bin=2.33-1 libc-dev-bin=2.33-1 libc6=2.33-1 libc6-dev=2.33-1 libc6-dev-i386=2.33-1 libc6-dev-x32=2.33-1 libc6-i386=2.33-1 libc6-x32=2.33-1 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-13 libcom-err2=1.46.5-1 libcrypt-dev=1:4.4.27-1 libcrypt1=1:4.4.27-1 libctf-nobfd0=2.37-10.1 libctf0=2.37-10.1 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.2.0-13 libgcc-s1=11.2.0-13 libgcrypt20=1.9.4-5 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-13 libgpg-error0=1.43-1 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.24-2 libitm1=11.2.0-13 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblocale-gettext-perl=1.07-4+b1 liblsan0=11.2.0-13 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.2-5 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libncurses-dev=6.3-1 libncurses5-dev=6.3-1 libncurses6=6.3-1 libncursesw6=6.3-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-2 libquadmath0=11.2.0-13 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-5 libssl1.1=1.1.1m-1 libstdc++-11-dev=11.2.0-13 libstdc++6=11.2.0-13 libsub-override-perl=0.09-2 libsystemd0=249.7-1 libtext-unidecode-perl=1.30-1 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-13 libubsan1=11.2.0-13 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 libuuid1=2.37.2-5 libx32asan6=11.2.0-13 libx32atomic1=11.2.0-13 libx32gcc-11-dev=11.2.0-13 libx32gcc-s1=11.2.0-13 libx32gomp1=11.2.0-13 libx32itm1=11.2.0-13 libx32quadmath0=11.2.0-13 libx32stdc++6=11.2.0-13 libx32ubsan1=11.2.0-13 libxml-libxml-perl=2.0134+dfsg-2+b1 libxml-namespacesupport-perl=1.12-1.1 libxml-sax-base-perl=1.09-1.1 libxml-sax-perl=1.02+dfsg-3 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-2 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-4 mawk=1.3.4.20200120-2 ncurses-base=6.3-1 ncurses-bin=6.3-1 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 tex-common=6.17 texinfo=6.8-3 ucf=3.0043 util-linux=2.37.2-5 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220108T035927Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220108T035927Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220103T215446Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d grub=0.97-80 && mkdir -p /build/grub-nmbYBb && dpkg-source --no-check -x /*.dsc /build/grub-nmbYBb/grub-0.97 && chown -R builduser:builduser /build/grub-nmbYBb" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/grub-nmbYBb/grub-0.97 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1641181834" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/grub-nmbYBb /tmp/grub-0.97-80dckiazbl bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220103T215446Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.bWmKD12Om1 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.bWmKD12Om1 Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-5). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220103T215446Z unstable/main amd64 libfakeroot amd64 1.26-1.1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220103T215446Z unstable/main amd64 fakeroot amd64 1.26-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1035 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4684 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1.1_amd64.deb ... Unpacking fakeroot (1.26-1.1) ... Setting up libfakeroot:amd64 (1.26-1.1) ... Setting up fakeroot (1.26-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-1) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220108T035927Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220108T035927Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220103T215446Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.bWmKD12Om1 Get:1 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220103T215446Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main Sources [11.7 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main amd64 Packages [11.1 MB] Fetched 23.0 MB in 20s (1165 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.bWmKD12Om1 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d grub=0.97-80 && mkdir -p /build/grub-nmbYBb && dpkg-source --no-check -x /*.dsc /build/grub-nmbYBb/grub-0.97 && chown -R builduser:builduser /build/grub-nmbYBb"' exec /tmp/mmdebstrap.bWmKD12Om1 Reading package lists... NOTICE: 'grub' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/grub-team/grub-legacy.git Please use: git clone https://salsa.debian.org/grub-team/grub-legacy.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 1049 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main grub 0.97-80 (dsc) [2125 B] Get:2 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main grub 0.97-80 (tar) [972 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220108T035927Z bookworm/main grub 0.97-80 (diff) [75.1 kB] Fetched 1049 kB in 1s (1240 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'grub_0.97-80.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting grub in /build/grub-nmbYBb/grub-0.97 dpkg-source: info: unpacking grub_0.97.orig.tar.gz dpkg-source: info: unpacking grub_0.97-80.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying snapshot.patch dpkg-source: info: applying menu.lst_gnu-hurd.patch dpkg-source: info: applying graphics.patch dpkg-source: info: applying raid.patch dpkg-source: info: applying raid_cciss.patch dpkg-source: info: applying xfs_freeze.patch dpkg-source: info: applying 2gb_limit.patch dpkg-source: info: applying grub-special_device_names.patch dpkg-source: info: applying grub-xvd_drives.patch dpkg-source: info: applying initrd_max_address.patch dpkg-source: info: applying splashimage_help.patch dpkg-source: info: applying grub-install_addsyncs.patch dpkg-source: info: applying grub-install_regexp.patch dpkg-source: info: applying grub-install_aoe_support.patch dpkg-source: info: applying grub-install_xvd.patch dpkg-source: info: applying geometry-26kernel.patch dpkg-source: info: applying print_func.patch dpkg-source: info: applying mprotect.patch dpkg-source: info: applying savedefault.patch dpkg-source: info: applying find-grub-dir.patch dpkg-source: info: applying intelmac.patch dpkg-source: info: applying crossreference_manpages.patch dpkg-source: info: applying ext3_256byte_inode.patch dpkg-source: info: applying use_grub-probe_in_grub-install.patch dpkg-source: info: applying objcopy-absolute.patch dpkg-source: info: applying no-reorder-functions.patch dpkg-source: info: applying modern-automake.patch dpkg-source: info: applying no-combine-stack-adjustments.patch dpkg-source: info: applying no-pie.patch dpkg-source: info: applying static-vars-on-stack.patch dpkg-source: info: applying ext4_support.patch dpkg-source: info: applying ext4_fix_variable_sized_inodes.patch dpkg-source: info: applying ext4_block_group.patch dpkg-source: info: applying convert_to_ascii-non-variadic.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/grub-nmbYBb/grub-0.97 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1641181834" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.bWmKD12Om1 dpkg-buildpackage: info: source package grub dpkg-buildpackage: info: source version 0.97-80 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Colin Watson dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/build/grub-nmbYBb/grub-0.97' dh_clean chmod +x debian/script debian/kernel/* make[1]: Leaving directory '/build/grub-nmbYBb/grub-0.97' debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a configure.ac:18: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:18: the top level configure.ac:78: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:78: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... configure.ac:78: the top level configure.ac:88: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:88: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:88: the top level configure.ac:101: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:101: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:101: the top level configure.ac:117: warning: AC_CACHE_VAL(no_reorder_functions_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:117: the top level configure.ac:117: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:117: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:117: the top level configure.ac:133: warning: AC_CACHE_VAL(no_combine_stack_adjustments_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:133: the top level configure.ac:133: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:133: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:133: the top level configure.ac:147: warning: AC_CACHE_VAL(no_pie_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:147: the top level configure.ac:147: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:147: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:147: the top level configure.ac:158: warning: AC_CACHE_VAL(no_pie_linker_flag, ...): suspicious cache-id, must contain _cv_ to be cached ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:158: the top level configure.ac:158: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:158: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:158: the top level configure.ac:179: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:179: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:179: the top level configure.ac:188: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:188: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:188: the top level configure.ac:210: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:210: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:210: the top level configure.ac:240: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:240: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:187: grub_CHECK_START_SYMBOL is expanded from... configure.ac:240: the top level configure.ac:241: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:241: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:206: grub_CHECK_USCORE_START_SYMBOL is expanded from... configure.ac:241: the top level configure.ac:247: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:247: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:225: grub_CHECK_USCORE_USCORE_BSS_START_SYMBOL is expanded from... configure.ac:247: the top level configure.ac:248: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:248: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:263: grub_CHECK_USCORE_EDATA_SYMBOL is expanded from... configure.ac:248: the top level configure.ac:249: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:249: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:244: grub_CHECK_EDATA_SYMBOL is expanded from... configure.ac:249: the top level configure.ac:256: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:256: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:282: grub_CHECK_END_SYMBOL is expanded from... configure.ac:256: the top level configure.ac:257: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:257: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:301: grub_CHECK_USCORE_END_SYMBOL is expanded from... configure.ac:257: the top level docs/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension docs/Makefile.am:36: warning: '%'-style pattern rules are a GNU make extension netboot/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') stage2/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' debian/rules override_dh_auto_configure make[1]: Entering directory '/build/grub-nmbYBb/grub-0.97' CFLAGS= LDFLAGS= dh_auto_configure -- \ --libdir=\${prefix}/lib --disable-auto-linux-mem-opt ./configure --build=x86_64-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/x86_64-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 gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking dependency style of gcc... (cached) none checking dependency style of gcc... none checking for ranlib... ranlib checking whether optimization for size works... yes checking whether gcc has -fno-stack-protector... yes checking whether gcc has -fno-reorder-functions... yes checking whether gcc has -fno-combine-stack-adjustments... yes checking whether gcc has -fno-PIE... yes checking whether gcc has -no-pie... yes checking whether -Wundef works... yes checking whether -falign-loops works... yes checking whether linker accepts `--build-id=none'... yes checking for objcopy... objcopy checking if C symbols get an underscore after compilation... no checking whether objcopy works for absolute addresses... yes checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no checking if start is defined by the compiler... no checking if _start is defined by the compiler... yes checking if __bss_start is defined by the compiler... yes checking if _edata is defined by the compiler... yes checking if edata is defined by the compiler... yes checking if end is defined by the compiler... yes checking if _end is defined by the compiler... yes checking for opendisk in -lutil... no checking for wgetch in -lncurses... no checking for wgetch in -lcurses... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for ncurses/curses.h... no checking for ncurses.h... yes checking for curses.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating stage1/Makefile config.status: creating stage2/Makefile config.status: creating docs/Makefile config.status: creating lib/Makefile config.status: creating util/Makefile config.status: creating grub/Makefile config.status: creating netboot/Makefile config.status: creating util/grub-image config.status: creating util/grub-install config.status: creating util/grub-md5-crypt config.status: creating util/grub-terminfo config.status: creating util/grub-set-default config.status: creating config.h config.status: executing depfiles commands make[1]: Leaving directory '/build/grub-nmbYBb/grub-0.97' debian/rules override_dh_auto_build-arch make[1]: Entering directory '/build/grub-nmbYBb/grub-0.97' dh_auto_build make -j10 make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97' make all-recursive make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97' Making all in netboot make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/netboot' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/netboot' Making all in stage2 make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage2' 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 -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 -m32 -g -c -o pre_stage2_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 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-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 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo './'`fsys_fat.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) | ^~~~~~ | | | unsigned char * In file included from boot.c:22: 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 In file included from boot.c:22: 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); | ~~~~~~~~~~~~^~ 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) 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: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; | ^~~~~~~~~~~ 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 -m32 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo './'`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 -m32 -g -c -o pre_stage2_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo './'`fsys_jfs.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 -m32 -g -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo './'`fsys_minix.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)) | ^ | | | u_int8_t * {aka unsigned char *} fsys_iso9660.c:123:22: note: in expansion of macro ‘PRIMDESC’ 123 | && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id))) | ^~~~~~~~ In file included from fsys_iso9660.c:34: shared.h:888:30: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 888 | int grub_memcmp (const char *s1, const char *s2, int n); | ~~~~~~~~~~~~^~ fsys_iso9660.c: In function ‘iso9660_dir’: 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_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 | ^ 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; | ^ 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; | ^ fsys_iso9660.c:334:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 334 | rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l; | ^ fsys_iso9660.c:55:25: warning: pointer targets in passing argument 4 of ‘iso9660_devread’ differ in signedness [-Wpointer-sign] 55 | #define RRCONT_BUF ((unsigned char *)(FSYS_BUF + 6144)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * fsys_iso9660.c:336:87: note: in expansion of macro ‘RRCONT_BUF’ 336 | if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) | ^~~~~~~~~~ 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) | ~~~~~~^~~ fsys_iso9660.c:56:25: warning: pointer targets in passing argument 1 of ‘print_a_completion’ differ in signedness [-Wpointer-sign] 56 | #define NAME_BUF ((unsigned char *)(FSYS_BUF + 8192)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * fsys_iso9660.c:384:43: note: in expansion of macro ‘NAME_BUF’ 384 | print_a_completion (NAME_BUF); | ^~~~~~~~ In file included from fsys_iso9660.c:34: 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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo './'`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 -m32 -g -c -o pre_stage2_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 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo './'`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 -m32 -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; | ^ fsys_vstafs.c:66:22: note: shadowed declaration is here 66 | static struct alloc *a; | ^ fsys_vstafs.c:191:7: warning: declaration of ‘curr_ext’ shadows a global declaration [-Wshadow] 191 | int curr_ext; | ^~~~~~~~ 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 -m32 -g -c -o pre_stage2_exec-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; | ^ 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 -m32 -g -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo './'`hercules.c 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 * 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); | ~~~~~~^~~ gunzip.c:296:26: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 296 | && (grub_read (buf, 2) != 2 | ^~~ | | | unsigned char * 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); | ~~~~~~^~~ gunzip.c:311:18: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 311 | if (grub_read (buf, 8) != 8) | ^~~ | | | unsigned char * 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); | ~~~~~~^~~ gunzip.c: In function ‘get_byte’: gunzip.c:497:18: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 497 | grub_read (inbuf, INBUFSIZ); | ^~~~~ | | | uch * {aka unsigned char *} In file included from gunzip.c:128: 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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo './'`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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo './'`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); | ^~~~~ | | | const char * md5.c:94:36: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 94 | md5_transform (const unsigned char block[64]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ md5.c: In function ‘md5_password’: md5.c:249:17: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 249 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:250:15: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 250 | md5_update (alt_result, i); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:265:21: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 265 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:274:21: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 274 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * 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 -m32 -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 -m32 -g -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo './'`stage2.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 -m32 -g -c -o pre_stage2_exec-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++; | ^~~~~~ stage2.c:942:33: warning: passing argument 1 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 942 | grub_strcpy(&def, &tmp); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:26: note: expected ‘char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ stage2.c:942:39: warning: passing argument 2 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 942 | grub_strcpy(&def, &tmp); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:44: note: expected ‘const char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ stage2.c:944:33: warning: passing argument 1 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:26: note: expected ‘char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ stage2.c:944:39: warning: passing argument 2 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~ | | | char ** In file included from stage2.c:20: ./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 -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo './'`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 -m32 -g -c -o pre_stage2_exec-graphics.o `test -f 'graphics.c' || echo './'`graphics.c gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 -no-pie -Wl,--build-id=none -o pre_stage2.exec pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_iso9660.o pre_stage2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_ufs2.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o pre_stage2_exec-hercules.o pre_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o pre_stage2_exec-graphics.o objcopy -O binary -R .note -R .comment -R .note.gnu.build-id pre_stage2.exec pre_stage2 rm -f stage2_size.h set dummy `ls -l pre_stage2`; \ echo "#define STAGE2_SIZE $6" > stage2_size.h make all-am make[5]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage2' 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 -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 -m32 -g -c -o start_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 -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 -m32 -g -c -o start_eltorito_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_EXT2FS=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 -m32 -g -c -o e2fs_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_EXT2FS=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 -m32 -g -c -o e2fs_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_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o e2fs_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_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o e2fs_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_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o e2fs_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_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o fat_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; | ^~~~~~~~ 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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o ffs_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_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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o iso9660_stage1_5_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo './'`fsys_iso9660.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_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o jfs_stage1_5_exec-common.o `test -f 'common.c' || echo './'`common.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)) | ^ | | | u_int8_t * {aka unsigned char *} fsys_iso9660.c:123:22: note: in expansion of macro ‘PRIMDESC’ 123 | && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id))) | ^~~~~~~~ In file included from fsys_iso9660.c:34: shared.h:888:30: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 888 | int grub_memcmp (const char *s1, const char *s2, int n); | ~~~~~~~~~~~~^~ fsys_iso9660.c: In function ‘iso9660_dir’: 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_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 | ^ 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; | ^ 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; | ^ fsys_iso9660.c:334:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 334 | rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l; | ^ fsys_iso9660.c:55:25: warning: pointer targets in passing argument 4 of ‘iso9660_devread’ differ in signedness [-Wpointer-sign] 55 | #define RRCONT_BUF ((unsigned char *)(FSYS_BUF + 6144)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * fsys_iso9660.c:336:87: note: in expansion of macro ‘RRCONT_BUF’ 336 | if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) | ^~~~~~~~~~ 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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o minix_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_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o minix_stage1_5_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo './'`fsys_minix.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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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_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 -m32 -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 -m32 -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 -m32 -g -c -o ufs2_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_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o ufs2_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_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -g -c -o ufs2_stage1_5_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo './'`fsys_ufs2.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_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o vstafs_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_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o vstafs_stage1_5_exec-stage1_5.o `test -f 'stage1_5.c' || echo './'`stage1_5.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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o xfs_stage1_5_exec-common.o `test -f 'common.c' || echo './'`common.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; | ^ fsys_vstafs.c:66:22: note: shadowed declaration is here 66 | static struct alloc *a; | ^ fsys_vstafs.c:191:7: warning: declaration of ‘curr_ext’ shadows a global declaration [-Wshadow] 191 | int curr_ext; | ^~~~~~~~ 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_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -c -o xfs_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_XFS=1 -DNO_BLOCK_FILES=1 -m32 -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 -m32 -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 -m32 -g -c -o xfs_stage1_5_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo './'`fsys_xfs.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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o libgrub_a-char_io.o `test -f 'char_io.c' || echo './'`char_io.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) | ^~~~~~ | | | unsigned char * In file included from boot.c:22: 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 In file included from boot.c:22: 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); | ~~~~~~~~~~~~^~ 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 -O2 -fno-combine-stack-adjustments -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.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; | ^~~ 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 -m32 -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 -m32 -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 -m32 -g -c -o libgrub_a-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo './'`fsys_ext2fs.c At top level: builtins.c:3619:1: warning: ‘savedefault_helper’ defined but not used [-Wunused-function] 3619 | savedefault_helper (char *arg, int flags) | ^~~~~~~~~~~~~~~~~~ disk_io.c:131:1: warning: conflicting types for built-in function ‘log2’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch] 131 | log2 (unsigned long word) | ^~~~ disk_io.c:107:1: note: ‘log2’ is declared in header ‘’ 106 | #include "freebsd.h" +++ |+#include 107 | int bsd_evil_hack; gcc -DHAVE_CONFIG_H -I. -I.. -I../stage1 -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_ISO9660=1 -DFSYS_JFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_UFS2=1 -DFSYS_VSTAFS=1 -DFSYS_XFS=1 -DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -m32 -g -c -o libgrub_a-fsys_fat.o `test -f 'fsys_fat.c' || echo './'`fsys_fat.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) | ^~~~ 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 -m32 -g -c -o libgrub_a-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.c 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 -m32 -g -c -o libgrub_a-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo './'`fsys_iso9660.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) | ^~~~ 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 -m32 -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 -m32 -g -c -o libgrub_a-fsys_minix.o `test -f 'fsys_minix.c' || echo './'`fsys_minix.c fsys_iso9660.c:37:1: note: ‘log2’ is declared in header ‘’ 36 | #include "iso9660.h" +++ |+#include 37 | fsys_iso9660.c: In function ‘iso9660_mount’: fsys_iso9660.c:123:30: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness [-Wpointer-sign] 123 | && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id))) | ^ | | | u_int8_t * {aka unsigned char *} In file included from fsys_iso9660.c:34: shared.h:888:30: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 888 | int grub_memcmp (const char *s1, const char *s2, int n); | ~~~~~~~~~~~~^~ fsys_iso9660.c: In function ‘iso9660_dir’: 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_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 | ^ 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; | ^ 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; | ^ fsys_iso9660.c:334:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 334 | rr_ptr.ptr = RRCONT_BUF + ce_ptr->u.ce.offset.l; | ^ fsys_iso9660.c:55:26: warning: pointer targets in passing argument 4 of ‘iso9660_devread’ differ in signedness [-Wpointer-sign] 55 | #define RRCONT_BUF ((unsigned char *)(FSYS_BUF + 6144)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * fsys_iso9660.c:336:87: note: in expansion of macro ‘RRCONT_BUF’ 336 | if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) | ^~~~~~~~~~ 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) | ~~~~~~^~~ fsys_iso9660.c:56:26: warning: pointer targets in passing argument 1 of ‘print_a_completion’ differ in signedness [-Wpointer-sign] 56 | #define NAME_BUF ((unsigned char *)(FSYS_BUF + 8192)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * fsys_iso9660.c:384:43: note: in expansion of macro ‘NAME_BUF’ 384 | print_a_completion (NAME_BUF); | ^~~~~~~~ In file included from fsys_iso9660.c:34: 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 -m32 -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 -m32 -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) | ^~~~ fsys_reiserfs.c:24:1: note: ‘log2’ is declared in header ‘’ 23 | #include "filesys.h" +++ |+#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 -m32 -g -c -o libgrub_a-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo './'`fsys_vstafs.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; | ^ fsys_vstafs.c:66:22: note: shadowed declaration is here 66 | static struct alloc *a; | ^ fsys_vstafs.c:191:7: warning: declaration of ‘curr_ext’ shadows a global declaration [-Wshadow] 191 | int curr_ext; | ^~~~~~~~ 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 -m32 -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 -m32 -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 -m32 -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 -m32 -g -c -o libgrub_a-serial.o `test -f 'serial.c' || echo './'`serial.c 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 * 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); | ~~~~~~^~~ gunzip.c:296:26: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 296 | && (grub_read (buf, 2) != 2 | ^~~ | | | unsigned char * 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); | ~~~~~~^~~ gunzip.c:311:18: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 311 | if (grub_read (buf, 8) != 8) | ^~~ | | | unsigned char * 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); | ~~~~~~^~~ gunzip.c: In function ‘get_byte’: gunzip.c:497:18: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness [-Wpointer-sign] 497 | grub_read (inbuf, INBUFSIZ); | ^~~~~ | | | uch * {aka unsigned char *} In file included from gunzip.c:128: shared.h:961:22: note: expected ‘char *’ but argument is of type ‘uch *’ {aka ‘unsigned char *’} 961 | int grub_read (char *buf, int len); | ~~~~~~^~~ 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); | ^~~~~ | | | const char * md5.c:94:36: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 94 | md5_transform (const unsigned char block[64]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ md5.c: In function ‘md5_password’: md5.c:249:17: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 249 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:250:15: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 250 | md5_update (alt_result, i); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:265:21: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 265 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ md5.c:274:21: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness [-Wpointer-sign] 274 | md5_update (alt_result, 16); | ^~~~~~~~~~ | | | unsigned char * md5.c:152:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 152 | md5_update (const char *input, int inputlen) | ~~~~~~~~~~~~^~~~~ 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 -m32 -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 -m32 -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++; | ^~~~~~ stage2.c:942:33: warning: passing argument 1 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 942 | grub_strcpy(&def, &tmp); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:26: note: expected ‘char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ stage2.c:942:39: warning: passing argument 2 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 942 | grub_strcpy(&def, &tmp); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:44: note: expected ‘const char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~~~~~~~^~~ stage2.c:944:33: warning: passing argument 1 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~~~ | | | char ** In file included from stage2.c:20: ./shared.h:891:26: note: expected ‘char *’ but argument is of type ‘char **’ 891 | char *grub_strcpy (char *dest, const char *src); | ~~~~~~^~~~ stage2.c:944:39: warning: passing argument 2 of ‘grub_strcpy’ from incompatible pointer type [-Wincompatible-pointer-types] 944 | grub_strcpy(&def, &p); | ^~ | | | char ** In file included from stage2.c:20: ./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 -m32 -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 -m32 -g -c -o libgrub_a-graphics.o `test -f 'graphics.c' || echo './'`graphics.c gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 -no-pie -Wl,--build-id=none -o start.exec start_exec-start.o gcc -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 -no-pie -Wl,--build-id=none -o start_eltorito.exec start_eltorito_exec-start_eltorito.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o e2fs_stage1_5.exec e2fs_stage1_5_exec-start.o e2fs_stage1_5_exec-asm.o e2fs_stage1_5_exec-common.o e2fs_stage1_5_exec-char_io.o e2fs_stage1_5_exec-disk_io.o e2fs_stage1_5_exec-stage1_5.o e2fs_stage1_5_exec-fsys_ext2fs.o e2fs_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o fat_stage1_5.exec fat_stage1_5_exec-start.o fat_stage1_5_exec-asm.o fat_stage1_5_exec-common.o fat_stage1_5_exec-char_io.o fat_stage1_5_exec-disk_io.o fat_stage1_5_exec-stage1_5.o fat_stage1_5_exec-fsys_fat.o fat_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ffs_stage1_5.exec ffs_stage1_5_exec-start.o ffs_stage1_5_exec-asm.o ffs_stage1_5_exec-common.o ffs_stage1_5_exec-char_io.o ffs_stage1_5_exec-disk_io.o ffs_stage1_5_exec-stage1_5.o ffs_stage1_5_exec-fsys_ffs.o ffs_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_ISO9660=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o iso9660_stage1_5.exec iso9660_stage1_5_exec-start_eltorito.o iso9660_stage1_5_exec-asm.o iso9660_stage1_5_exec-common.o iso9660_stage1_5_exec-char_io.o iso9660_stage1_5_exec-disk_io.o iso9660_stage1_5_exec-stage1_5.o iso9660_stage1_5_exec-fsys_iso9660.o iso9660_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_JFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o jfs_stage1_5.exec jfs_stage1_5_exec-start.o jfs_stage1_5_exec-asm.o jfs_stage1_5_exec-common.o jfs_stage1_5_exec-char_io.o jfs_stage1_5_exec-disk_io.o jfs_stage1_5_exec-stage1_5.o jfs_stage1_5_exec-fsys_jfs.o jfs_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o reiserfs_stage1_5.exec reiserfs_stage1_5_exec-start.o reiserfs_stage1_5_exec-asm.o reiserfs_stage1_5_exec-common.o reiserfs_stage1_5_exec-char_io.o reiserfs_stage1_5_exec-disk_io.o reiserfs_stage1_5_exec-stage1_5.o reiserfs_stage1_5_exec-fsys_reiserfs.o reiserfs_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o minix_stage1_5.exec minix_stage1_5_exec-start.o minix_stage1_5_exec-asm.o minix_stage1_5_exec-common.o minix_stage1_5_exec-char_io.o minix_stage1_5_exec-disk_io.o minix_stage1_5_exec-stage1_5.o minix_stage1_5_exec-fsys_minix.o minix_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_UFS2=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o ufs2_stage1_5.exec ufs2_stage1_5_exec-start.o ufs2_stage1_5_exec-asm.o ufs2_stage1_5_exec-common.o ufs2_stage1_5_exec-char_io.o ufs2_stage1_5_exec-disk_io.o ufs2_stage1_5_exec-stage1_5.o ufs2_stage1_5_exec-fsys_ufs2.o ufs2_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_VSTAFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o vstafs_stage1_5.exec vstafs_stage1_5_exec-start.o vstafs_stage1_5_exec-asm.o vstafs_stage1_5_exec-common.o vstafs_stage1_5_exec-char_io.o vstafs_stage1_5_exec-disk_io.o vstafs_stage1_5_exec-stage1_5.o vstafs_stage1_5_exec-fsys_vstafs.o vstafs_stage1_5_exec-bios.o gcc -Os -fno-stack-protector -fno-reorder-functions -fno-PIE -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_XFS=1 -DNO_BLOCK_FILES=1 -m32 -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 -no-pie -Wl,--build-id=none -o xfs_stage1_5.exec xfs_stage1_5_exec-start.o xfs_stage1_5_exec-asm.o xfs_stage1_5_exec-common.o xfs_stage1_5_exec-char_io.o xfs_stage1_5_exec-disk_io.o xfs_stage1_5_exec-stage1_5.o xfs_stage1_5_exec-fsys_xfs.o xfs_stage1_5_exec-bios.o objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start.exec start objcopy -O binary -R .note -R .comment -R .note.gnu.build-id start_eltorito.exec start_eltorito objcopy -O binary -R .note -R .comment -R .note.gnu.build-id e2fs_stage1_5.exec e2fs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id fat_stage1_5.exec fat_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ffs_stage1_5.exec ffs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id iso9660_stage1_5.exec iso9660_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id jfs_stage1_5.exec jfs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id minix_stage1_5.exec minix_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id reiserfs_stage1_5.exec reiserfs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id ufs2_stage1_5.exec ufs2_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id vstafs_stage1_5.exec vstafs_stage1_5 objcopy -O binary -R .note -R .comment -R .note.gnu.build-id xfs_stage1_5.exec xfs_stage1_5 rm -f stage2 rm -f stage2_eltorito cat start pre_stage2 > stage2 cat start_eltorito pre_stage2 > stage2_eltorito rm -f libgrub.a ar cru libgrub.a libgrub_a-boot.o libgrub_a-builtins.o libgrub_a-char_io.o libgrub_a-cmdline.o libgrub_a-common.o libgrub_a-disk_io.o libgrub_a-fsys_ext2fs.o libgrub_a-fsys_fat.o libgrub_a-fsys_ffs.o libgrub_a-fsys_iso9660.o libgrub_a-fsys_jfs.o libgrub_a-fsys_minix.o libgrub_a-fsys_reiserfs.o libgrub_a-fsys_ufs2.o libgrub_a-fsys_vstafs.o libgrub_a-fsys_xfs.o libgrub_a-gunzip.o libgrub_a-md5.o libgrub_a-serial.o libgrub_a-stage2.o libgrub_a-terminfo.o libgrub_a-tparm.o libgrub_a-graphics.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgrub.a make[5]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage2' make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage2' Making all in stage1 make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage1' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-PIE -fno-builtin -nostdinc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -m32 -g -c -o stage1.o stage1.S gcc -m32 -g -nostdlib -Wl,-N,-Ttext,7C00 -no-pie -Wl,--build-id=none -o stage1.exec stage1.o objcopy -O binary -R .note -R .comment -R .note.gnu.build-id stage1.exec stage1 make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage1' Making all in lib make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/lib' gcc -DHAVE_CONFIG_H -I. -I.. -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../stage2 -I../stage1 -m32 -g -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -I. -I.. -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../stage2 -I../stage1 -m32 -g -c -o getopt1.o getopt1.c gcc -DHAVE_CONFIG_H -I. -I.. -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../stage2 -I../stage1 -m32 -g -c -o device.o device.c device.c: In function ‘init_device_map’: device.c:431:28: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] 431 | sprintf (name, "/dev/fd%d", unit); | ^~ device.c:431:20: note: directive argument in the range [0, 2147483646] 431 | sprintf (name, "/dev/fd%d", unit); | ^~~~~~~~~~~ device.c:431:5: note: ‘sprintf’ output between 9 and 18 bytes into a destination of size 16 431 | sprintf (name, "/dev/fd%d", unit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device.c:429:33: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 429 | sprintf (name, "/dev/floppy/%d", unit); | ^~ device.c:429:20: note: directive argument in the range [0, 2147483646] 429 | sprintf (name, "/dev/floppy/%d", unit); | ^~~~~~~~~~~~~~~~ device.c:429:5: note: ‘sprintf’ output between 14 and 23 bytes into a destination of size 16 429 | sprintf (name, "/dev/floppy/%d", unit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libcommon.a ar cru libcommon.a getopt.o getopt1.o device.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libcommon.a make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/lib' Making all in grub make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/grub' gcc -DHAVE_CONFIG_H -I. -I.. -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_HERCULES=1 -DSUPPORT_SERIAL=1 -I../stage2 -I../stage1 -I../lib -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -m32 -g -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -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_HERCULES=1 -DSUPPORT_SERIAL=1 -I../stage2 -I../stage1 -I../lib -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -O2 -fno-combine-stack-adjustments -m32 -g -c -o asmstub.o asmstub.c main.c: In function ‘main’: main.c:144:7: warning: the address of ‘config_file’ will always evaluate as ‘true’ [-Waddress] 144 | if (config_file) | ^~~~~~~~~~~ gcc -O2 -fno-combine-stack-adjustments -m32 -g -no-pie -Wl,--build-id=none -o grub main.o asmstub.o ../stage2/libgrub.a ../lib/libcommon.a make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/grub' Making all in util make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/util' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -I../lib -I../docs -m32 -g -c -o mbchk.o mbchk.c gcc -I../lib -I../docs -m32 -g -no-pie -Wl,--build-id=none -o mbchk mbchk.o ../lib/libcommon.a make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/util' Making all in docs make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/docs' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/bash '/build/grub-nmbYBb/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ for f in grub.info grub.info-[0-9] grub.info-[0-9][0-9] grub.i[0-9] grub.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/bash '/build/grub-nmbYBb/grub-0.97/missing' makeinfo -I . \ -o grub.info grub.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./grub.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/bash '/build/grub-nmbYBb/grub-0.97/missing' makeinfo --version) >/dev/null 2>&1; then \ for f in multiboot.info multiboot.info-[0-9] multiboot.info-[0-9][0-9] multiboot.i[0-9] multiboot.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/bash '/build/grub-nmbYBb/grub-0.97/missing' makeinfo -I . \ -o multiboot.info multiboot.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./multiboot.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc grub.texi:2960: warning: @item missing argument grub.texi:2963: warning: @item missing argument make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/docs' make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97' make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97' ## the creation of these manpages here is temporary, ## when building grub finally works with the version ## of autoconf in debian we can use MAINTAINER_MODE_TRUE # create man page for grub ( cd docs && help2man \ --name="the grub shell" \ --include=grub.8.additions --include=help2man.additions \ --section=8 --output=grub.8 \ ../grub/grub ) # create man page for grub-install ( cd util && chmod 755 grub-install ) ( cd docs && help2man \ --name="install GRUB on your drive" \ --include=grub-install.8.additions --include=help2man.additions \ --section=8 --output=grub-install.8 \ ../util/grub-install ) # create man page for mbchk ( cd docs && help2man \ --name="check the format of a Multiboot kernel" \ --include=help2man.additions \ --section=1 --output=mbchk.1 \ ../util/mbchk ) # create man page for grub-md5-crypt ( cd util && chmod 755 grub-md5-crypt ) ( cd docs && help2man \ --name="Encrypt a password in MD5 format" \ --include=help2man.additions \ --section=8 --output=grub-md5-crypt.8 \ ../util/grub-md5-crypt ) make[1]: Leaving directory '/build/grub-nmbYBb/grub-0.97' create-stamp debian/debhelper-build-stamp dh_prep -a dh_installdirs -a dh_auto_install -a make -j10 install DESTDIR=/build/grub-nmbYBb/grub-0.97/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/grub-nmbYBb/grub-0.97' Making install in netboot make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/netboot' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/netboot' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/netboot' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/netboot' Making install in stage2 make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage2' make install-am make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage2' make[4]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage2' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/lib/grub/x86_64-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-nmbYBb/grub-0.97/debian/tmp/usr/lib/grub/x86_64-pc' make[4]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage2' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage2' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage2' Making install in stage1 make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage1' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/stage1' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/lib/grub/x86_64-pc' /usr/bin/install -c -m 644 stage1 '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/lib/grub/x86_64-pc' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage1' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/stage1' Making install in lib make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/lib' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/lib' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/lib' Making install in grub make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/grub' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/grub' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/sbin' /usr/bin/install -c grub '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/grub' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/grub' Making install in util make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/util' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/util' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/bin' /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/sbin' /usr/bin/install -c mbchk '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/bin' /usr/bin/install -c grub-install grub-md5-crypt grub-terminfo grub-set-default '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/util' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/util' Making install in docs make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97/docs' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97/docs' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/share/man/man1' /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/share/man/man8' /bin/mkdir -p '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/share/info' /usr/bin/install -c -m 644 mbchk.1 '/build/grub-nmbYBb/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-nmbYBb/grub-0.97/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 ./grub.info ./multiboot.info '/build/grub-nmbYBb/grub-0.97/debian/tmp/usr/share/info' make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97/docs' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97/docs' make[2]: Entering directory '/build/grub-nmbYBb/grub-0.97' make[3]: Entering directory '/build/grub-nmbYBb/grub-0.97' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/grub-nmbYBb/grub-0.97' make[2]: Leaving directory '/build/grub-nmbYBb/grub-0.97' make[1]: Leaving directory '/build/grub-nmbYBb/grub-0.97' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a debian/rules override_dh_installinfo make[1]: Entering directory '/build/grub-nmbYBb/grub-0.97' cp docs/grub.info docs/grub-legacy.info dh_installinfo make[1]: Leaving directory '/build/grub-nmbYBb/grub-0.97' dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_missing: warning: usr/lib/grub/x86_64-pc/ffs_stage1_5 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/lib/grub/x86_64-pc/iso9660_stage1_5 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/lib/grub/x86_64-pc/ufs2_stage1_5 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/lib/grub/x86_64-pc/vstafs_stage1_5 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/info/grub.info exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/info/multiboot.info exists in debian/tmp but is not installed to anywhere The following debhelper tools have reported what they installed (with files per package) * dh_install: grub-legacy (27), grub-legacy-doc (1) * dh_installdocs: grub-legacy (6), grub-legacy-doc (0) * dh_installexamples: grub-legacy (1), grub-legacy-doc (0) * dh_installinfo: grub-legacy (0), grub-legacy-doc (1) * dh_installman: grub-legacy (3), grub-legacy-doc (0) If the missing files are installed by another tool, please file a bug against it. When filing the report, if the tool is not part of debhelper itself, please reference the "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+). (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz) Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built If the omission is intentional or no other helper can take care of this consider adding the paths to debian/not-installed. dh_dwz -a dwz: debian/grub-legacy/usr/sbin/grub: DWARF compression not beneficial - old size 151510 new size 153159 dh_strip -a dh_strip: warning: Could not find the BuildID in debian/grub-legacy/usr/bin/mbchk dh_strip: warning: Could not find the BuildID in debian/grub-legacy/usr/sbin/grub dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'grub-legacy' in '../grub-legacy_0.97-80_amd64.deb'. dpkg-deb: building package 'grub-legacy-dbgsym' in '../grub-legacy-dbgsym_0.97-80_amd64.deb'. dpkg-genbuildinfo --build=any -O../grub_0.97-80_amd64.buildinfo dpkg-genchanges --build=any -O../grub_0.97-80_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/grub-nmbYBb /tmp/grub-0.97-80dckiazbl I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.bWmKD12Om1... I: success in 2497.4310 seconds md5: grub-legacy-dbgsym_0.97-80_amd64.deb: OK md5: grub-legacy_0.97-80_amd64.deb: OK sha1: grub-legacy-dbgsym_0.97-80_amd64.deb: OK sha1: grub-legacy_0.97-80_amd64.deb: OK sha256: grub-legacy-dbgsym_0.97-80_amd64.deb: OK sha256: grub-legacy_0.97-80_amd64.deb: OK Checksums: OK