Diff of the two buildlogs: -- --- b1/build.log 2021-07-06 14:23:25.544887858 +0000 +++ b2/build.log 2021-07-06 14:28:24.725573014 +0000 @@ -1,6 +1,8 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 8 08:45:55 -12 2022 -I: pbuilder-time-stamp: 1659991555 +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Wed Jul 7 04:23:29 +14 2021 +I: pbuilder-time-stamp: 1625581409 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +19,8 @@ I: copying [./pcc_1.2.0~DEVEL+20200630-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.fCTNXiXv/trustedkeys.kbx': General error -gpgv: Signature made Tue Aug 4 03:32:14 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.uliNm7ea/trustedkeys.kbx': General error +gpgv: Signature made Wed Aug 5 05:32:14 2020 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pcc_1.2.0~DEVEL+20200630-2.dsc @@ -33,137 +35,171 @@ dpkg-source: info: applying 0005-Disable-fp-debug.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30066/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c2cb5e80455b4fc1a6fadd33fc7a38f4' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='30066' - PS1='# ' - PS2='> ' + INVOCATION_ID=73001056657a4bc28d87562b9a732fa2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=32563 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.1gmAIIRFtE/pbuilderrc_Nys8 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.1gmAIIRFtE/b1 --logfile b1/build.log pcc_1.2.0~DEVEL+20200630-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.1gmAIIRFtE/pbuilderrc_SAwf --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.1gmAIIRFtE/b2 --logfile b2/build.log --extrapackages usrmerge pcc_1.2.0~DEVEL+20200630-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-2 (2021-06-21) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 7 03:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/30066/tmp/hooks/D02_print_environment finished + total 5792 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 7 04:26 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 5 04:20 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +272,7 @@ Get: 31 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] -Fetched 20.1 MB in 0s (89.4 MB/s) +Fetched 20.1 MB in 9s (2278 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -384,8 +420,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (2040 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21865 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/pcc-1.2.0~DEVEL+20200630/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/pcc-1.2.0~DEVEL+20200630/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package pcc dpkg-buildpackage: info: source version 1.2.0~DEVEL+20200630-2 dpkg-buildpackage: info: source distribution unstable @@ -432,8 +504,8 @@ checking whether gcc accepts -Wtruncate... no checking for a C compiler for mkext... not cross compiling checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -502,14 +574,14 @@ make[1]: Leaving directory '/build/pcc-1.2.0~DEVEL+20200630' dh_auto_build - make -j18 + make -j10 make[1]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630' ===> cc make[2]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc' -make[2]: warning: -j18 forced in submake: resetting jobserver mode. +make[2]: warning: -j10 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cc' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_i386 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/i386 -I../../common -c -o cc.o ./cc.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_i386 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/i386 -I../../common -c -o compat.o ../../common/compat.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBEXECDIR=\"/usr/bin/\" -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -DINCLUDEDIR=\"/usr/include/\" -DPCCINCDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_i386 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/i386 -I../../common -c -o strlist.o ../../cc/driver/strlist.c @@ -542,32 +614,32 @@ <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cpp' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/i386 -I../../common -DNVMPGS=4 -c -o compat.o ../../common/compat.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/i386 -I../../common -DNVMPGS=4 -c -o cpp.o ./cpp.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/i386 -I../../common -DNVMPGS=4 -c -o cpc.o ./cpc.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/i386 -I../../common -DNVMPGS=4 -c -o token.o ./token.c In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ../../common/compat.c:61: + from /usr/include/stdio.h:27, + from ./cpp.h:28, + from ./cpc.c:32: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/stat.h:25, - from ./cpp.c:49: +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ./token.c:81: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ./cpp.h:28, - from ./cpc.c:32: + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ./token.c:81: +In file included from /usr/include/i386-linux-gnu/sys/stat.h:25, + from ./cpp.c:49: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -616,14 +688,6 @@ | ~^ | | | void * -./token.c: In function 'prtline': -./token.c:1117:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1117 | write(1, ob->buf, ob->cptr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./token.c: In function 'cpperror': -./token.c:1384:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1384 | write(1, pbbeg, pbinp-pbbeg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'readargs': ./cpp.c:1938:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct iobuf *' [-Wformat=] 1938 | DPRINT(("readargs: in %p\n", in)); @@ -638,6 +702,14 @@ | ~^ | | | void * +./token.c: In function 'prtline': +./token.c:1117:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1117 | write(1, ob->buf, ob->cptr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./token.c: In function 'cpperror': +./token.c:1384:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1384 | write(1, pbbeg, pbinp-pbbeg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'main': ./cpp.c:399:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | write(1, fb->buf, fb->cptr); @@ -669,7 +741,7 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/ccom' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/i386/table.c @@ -740,7 +812,7 @@ | ^~~~~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../mip/mkext.c:6: + from ../../arch/i386/table.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -752,22 +824,22 @@ | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../arch/i386/table.c:30: + from ../../mip/mkext.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ mv -f lex.yy.c scan.c ./cgram.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr] ./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples -In file included from ../../mip/mkext.c:6: +In file included from ../../arch/i386/table.c:30: ../../mip/pass2.h:561:10: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -In file included from ../../arch/i386/table.c:30: +In file included from ../../mip/common.c:67: ../../mip/pass2.h:561:10: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -In file included from ../../mip/common.c:67: +In file included from ../../mip/mkext.c:6: ../../mip/pass2.h:561:10: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ @@ -785,42 +857,30 @@ gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o gcc_compat.o ./gcc_compat.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o init.o ./init.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o inline.o ./inline.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local.o ../../arch/i386/local.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local2.o ../../arch/i386/local2.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o main.o ./main.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from pass1.h:38, - from ./cgram.y:152: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim.o ./optim.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./dwarf.c:31: + from ../../arch/i386/code.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ../../common/compat.c:61: +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from pass1.h:38, + from ./cgram.y:152: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/i386/code.c:30: + from ./builtins.c:27: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./builtins.c:27: + from ./dwarf.c:31: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from external.c:1: @@ -828,25 +888,17 @@ 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from ../../mip/common.c:63: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o order.o ../../arch/i386/order.c -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./init.c:64: + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./inline.c:28: +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from ../../mip/common.c:63: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./gcc_compat.c:34: @@ -855,45 +907,21 @@ | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/i386/local.c:28: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/unistd.h:25, - from ./main.c:32: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/i386/local2.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/match.c:63: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/i386/order.c:30: + from ./init.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./optim.c:36: + from ./inline.c:28: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +../../arch/i386/code.c: In function 'bjobcode': +../../arch/i386/code.c:447:6: warning: 'fcw' is used uninitialized in this function [-Wuninitialized] + 447 | fcw |= 0x300; + | ^~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local.o ../../arch/i386/local.c ./init.c: In function 'beginit': ./init.c:405:6: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] 405 | ID(("beginit(%p), sclass %s\n", sp, scnames(sp->sclass))); @@ -934,6 +962,24 @@ | ~^ | | | void * +../../mip/common.c: In function 'talloc': +../../mip/common.c:348:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 348 | printf("alloc node %p from freelist\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/common.c:356:23: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 356 | printf("alloc node %p from memory\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/common.c: In function 'nfree': +../../mip/common.c:441:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 441 | printf("freeing node %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ./init.c: In function 'nsetval': ./init.c:637:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 637 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); @@ -945,6 +991,7 @@ | ~^ | | | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local2.o ../../arch/i386/local2.c ./init.c: In function 'scalinit': ./init.c:677:6: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 677 | ID(("scalinit(%p)\n", p)); @@ -959,12 +1006,6 @@ | ~^ | | | void * -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ./init.c:743:6: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 743 | ID(("scalinit end(%p)\n", q)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -1007,22 +1048,11 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ -../../mip/common.c: In function 'talloc': -../../mip/common.c:348:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 348 | printf("alloc node %p from freelist\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ./init.c:1039:21: note: format string is defined here 1039 | ID(("mkstack end: %p\n", p)); | ~^ | | | void * -../../mip/common.c:356:23: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 356 | printf("alloc node %p from memory\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ./init.c: In function 'desinit': ./init.c:1050:6: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1050 | ID(("desinit beg %p\n", p)); @@ -1032,13 +1062,6 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ -../../mip/common.c: In function 'nfree': -../../mip/common.c:441:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 441 | printf("freeing node %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ./init.c:1050:20: note: format string is defined here 1050 | ID(("desinit beg %p\n", p)); | ~^ @@ -1052,18 +1075,31 @@ ./init.c:138:34: note: in definition of macro 'ID' 138 | #define ID(x) if (idebug) printf x | ^ -../../mip/match.c: In function 'tshape': -../../mip/match.c:93:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ./init.c:1065:20: note: format string is defined here 1065 | ID(("desinit end %p\n", p)); | ~^ | | | void * ./init.c: In function 'asginit': +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ../../arch/i386/local.c:28: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./init.c:1110:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1110 | printf("asginit %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +./init.c: In function 'prtstk': +./init.c:1168:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 1168 | printf("%p) '%s' ", in, in->in_sym->sname); + | ~^ ~~ + | | | + | void * struct instk * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o main.o ./main.c ./inline.c: In function 'inline_addarg': ./inline.c:171:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 171 | SDEBUG(("inline_addarg(%p)\n", ip)); @@ -1078,62 +1114,6 @@ | ~^ | | | void * -./init.c:1110:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1110 | printf("asginit %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * -../../arch/i386/order.c: In function 'offstar': -../../arch/i386/order.c:55:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 55 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./init.c: In function 'prtstk': -../../arch/i386/order.c: In function 'myormake': -../../arch/i386/order.c:89:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 89 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./init.c:1168:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 1168 | printf("%p) '%s' ", in, in->in_sym->sname); - | ~^ ~~ - | | | - | void * struct instk * -../../arch/i386/order.c: In function 'shumul': -../../arch/i386/order.c:110:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 110 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/match.c: In function 'swmatch': -../../arch/i386/order.c: In function 'setbin': -../../arch/i386/order.c:127:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 127 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/match.c:417:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:417:24: note: format string is defined here - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ~^ - | | - | void * -../../arch/i386/order.c: In function 'setasg': -../../arch/i386/order.c:137:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 137 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ./inline.c: In function 'printip': ./inline.c:398:21: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 398 | printf("IP(%d) (%p): ", ip->type, ip); @@ -1145,21 +1125,6 @@ | ~^ ~~ | | | | void * struct interpass * -../../mip/match.c: In function 'shswitch': -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c -../../mip/match.c:497:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:497:25: note: format string is defined here - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ~^ - | | - | void * ./inline.c: In function 'inlinetree': ./inline.c:489:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); @@ -1174,7 +1139,6 @@ | ~^ | | | void * -../../mip/match.c: In function 'findops': ./inline.c:489:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -1188,6 +1152,77 @@ | ~^ | | | void * +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/i386/local2.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/unistd.h:25, + from ./main.c:32: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +../../arch/i386/local.c: In function 'clocal': +../../arch/i386/local.c:399:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 399 | printf("clocal: %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +../../arch/i386/local.c:746:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 746 | printf("clocal end: %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +./main.c: In function 'segvcatch': +./main.c:70:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/match.c:63: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim.o ./optim.c +../../mip/match.c: In function 'tshape': +../../mip/match.c:93:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../mip/match.c: In function 'swmatch': +../../mip/match.c:417:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:417:24: note: format string is defined here + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ~^ + | | + | void * +../../mip/match.c: In function 'shswitch': +../../mip/match.c:497:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:497:25: note: format string is defined here + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ~^ + | | + | void * +../../mip/match.c: In function 'findops': ../../mip/match.c:563:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1201,13 +1236,6 @@ | ~^ | | | void * -../../arch/i386/local.c: In function 'clocal': -../../arch/i386/local.c:399:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 399 | printf("clocal: %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * ../../mip/match.c:644:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1221,6 +1249,12 @@ | ~^ | | | void * +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./optim.c:36: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/match.c: In function 'relops': ../../mip/match.c:741:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 741 | F2DEBUG(("relops: node %p\n", p)); @@ -1230,21 +1264,11 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../arch/i386/code.c: In function 'bjobcode': ../../mip/match.c:741:26: note: format string is defined here 741 | F2DEBUG(("relops: node %p\n", p)); | ~^ | | | void * -../../arch/i386/code.c:447:6: warning: 'fcw' is used uninitialized in this function [-Wuninitialized] - 447 | fcw |= 0x300; - | ^~ -../../arch/i386/local.c:746:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 746 | printf("clocal end: %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * ../../mip/match.c: In function 'findasg': ../../mip/match.c:874:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); @@ -1273,7 +1297,6 @@ | ~^ | | | void * -../../mip/optim2.c: In function 'bblocks_build': ../../mip/match.c:950:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1282,6 +1305,75 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +../../mip/match.c:950:28: note: format string is defined here + 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); + | ~^ + | | + | void * +../../mip/match.c: In function 'findleaf': +../../mip/match.c:968:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); + | ^~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:968:24: note: format string is defined here + 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); + | ~^ + | | + | void * +../../mip/match.c:1009:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:1009:28: note: format string is defined here + 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); + | ~^ + | | + | void * +../../mip/match.c: In function 'finduni': +../../mip/match.c:1105:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:1105:27: note: format string is defined here + 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); + | ~^ + | | + | void * +../../mip/match.c: In function 'findmops': +../../mip/match.c:1248:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:1248:33: note: format string is defined here + 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); + | ~^ + | | + | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/optim2.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o order.o ../../arch/i386/order.c +../../mip/optim2.c: In function 'bblocks_build': ../../mip/optim2.c:712:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ @@ -1290,11 +1382,6 @@ ../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' 42 | #define BDEBUG(x) if (b2debug) printf x | ^ -../../mip/match.c:950:28: note: format string is defined here - 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); - | ~^ - | | - | void * ../../mip/optim2.c:712:27: note: format string is defined here 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); | ~^ @@ -1308,25 +1395,11 @@ ../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' 42 | #define BDEBUG(x) if (b2debug) printf x | ^ -../../mip/match.c: In function 'findleaf': ../../mip/optim2.c:712:31: note: format string is defined here 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); | ~^ | | | void * -../../mip/match.c:968:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); - | ^~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:968:24: note: format string is defined here - 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); - | ~^ - | | - | void * ../../mip/optim2.c:758:20: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, | ~^ ~~ @@ -1350,19 +1423,6 @@ | ~~~~~~~~ | | | struct interpass * -../../mip/match.c:1009:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:1009:28: note: format string is defined here - 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); - | ~^ - | | - | void * ../../mip/optim2.c:795:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] 795 | printf("Label %d bblock %p\n", i+low, | ~^ @@ -1374,39 +1434,10 @@ | struct basicblock * In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../mip/reader.c:66: + from ../../arch/i386/order.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -../../mip/match.c: In function 'finduni': -../../mip/match.c:1105:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:1105:27: note: format string is defined here - 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); - | ~^ - | | - | void * -../../mip/match.c: In function 'findmops': -../../mip/match.c:1248:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:1248:33: note: format string is defined here - 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); - | ~^ - | | - | void * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c ../../mip/optim2.c: In function 'placePhiFunctions': ../../mip/optim2.c:1194:34: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] 1194 | printf("Phi in %d(%d) (%p) for %d\n", @@ -1417,7 +1448,6 @@ | ~ | | | struct basicblock * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c ../../mip/optim2.c: In function 'removephi': ../../mip/optim2.c:1473:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); @@ -1432,10 +1462,6 @@ | ~^ | | | void * -./main.c: In function 'segvcatch': -./main.c:70:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | (void)write(STDERR_FILENO, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/optim2.c:1508:16: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1508 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); | ^~~~~~~~~~~~~~~~~ ~~ @@ -1449,15 +1475,6 @@ | ~^ | | | void * -./pftn.c: In function 'defid2': -./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] - 192 | printf("defid(%s '%s'(%p), ", p->sname, "soname" , p); - | ^~~~~~~~~~~~~~~~~~~~~ ~ - | | - | struct symtab * -./pftn.c:194:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 194 | printf(", %s, (%p)), level %d\n\t", scnames(class), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/optim2.c:1532:16: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); | ^~~~~~~~~~~~~~~~~ ~~ @@ -1466,14 +1483,6 @@ ../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' 42 | #define BDEBUG(x) if (b2debug) printf x | ^ -./pftn.c:219:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 219 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 220 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | union dimfun * -./pftn.c:219:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] ../../mip/optim2.c:1532:19: note: format string is defined here 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); | ~^ @@ -1492,49 +1501,23 @@ | ~^ | | | void * -./pftn.c:521:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 521 | printf( " sdf, offset: %p, %d\n\t", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - 522 | p->sdf, p->soffset); - | ~~~~~~ - | | - | union dimfun * ../../mip/optim2.c: In function 'printip2': ../../mip/optim2.c:1640:20: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1640 | printf("IP(%d) (%p): ", ip->type, ip); | ~^ ~~ | | | | void * struct interpass * -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ../../mip/manifest.h:39, - from ../../common/softfloat.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ../../mip/optim2.c:1642:16: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1642 | printf("%s (%p): ", foo[ip->type], ip); | ~^ ~~ | | | | void * struct interpass * -./pftn.c: In function 'dclstruct': ../../mip/optim2.c: In function 'printflowdiagram': -./pftn.c:977:11: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 977 | printf("\tmember %s(%p)\n", sp->sname, sp); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * ../../mip/optim2.c:1789:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] 1789 | fprintf(flowdiagramfile, "bb%p [shape=record ",bbb); | ~^ ~~~ | | | | void * struct basicblock * -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/regs.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ../../mip/optim2.c:1840:33: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", | ~^ @@ -1553,6 +1536,81 @@ | ~~~~~~~~~~ | | | struct basicblock * +../../arch/i386/order.c: In function 'offstar': +../../arch/i386/order.c:55:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 55 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'myormake': +../../arch/i386/order.c:89:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 89 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'shumul': +../../arch/i386/order.c:110:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 110 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'setbin': +../../arch/i386/order.c:127:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 127 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'setasg': +../../arch/i386/order.c:137:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 137 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./pftn.c:66: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/reader.c:66: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./pftn.c: In function 'defid2': +./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] + 192 | printf("defid(%s '%s'(%p), ", p->sname, "soname" , p); + | ^~~~~~~~~~~~~~~~~~~~~ ~ + | | + | struct symtab * +./pftn.c:194:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 194 | printf(", %s, (%p)), level %d\n\t", scnames(class), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:219:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 219 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 220 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | union dimfun * +./pftn.c:219:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] +./pftn.c:521:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 521 | printf( " sdf, offset: %p, %d\n\t", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + 522 | p->sdf, p->soffset); + | ~~~~~~ + | | + | union dimfun * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c +./pftn.c: In function 'dclstruct': +./pftn.c:977:11: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 977 | printf("\tmember %s(%p)\n", sp->sname, sp); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * ./pftn.c: In function 'arglist': ./pftn.c:1907:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1907 | printf("arglist %p\n", n); @@ -1566,6 +1624,13 @@ | | | P1ND * {aka struct p1node *} ./pftn.c:2107:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from ../../mip/manifest.h:39, + from ../../common/softfloat.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/reader.c: In function 'geninsn': ../../mip/reader.c:802:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 802 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); @@ -1591,6 +1656,7 @@ | ~^ | | | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c ../../mip/reader.c: In function 'rewrite': ../../mip/reader.c:1021:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1021 | CDEBUG(("rewrite: %p, reg %s\n", p, @@ -1697,11 +1763,40 @@ | ~^ | | | void * -../../common/softfloat.c: In function 'soft_minus': ../../mip/reader.c: In function 'e2print': +../../mip/reader.c:1340:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1340 | printf("%p) %s", p, opst[p->n_op] ); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/regs.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +../../common/softfloat.c: In function 'soft_minus': ../../common/softfloat.c:924:9: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] 924 | return soft_plus(x1, x2, t); | ^~~~~~~~~~~~~~~~~~~~ +../../common/softfloat.c:921:1: note: declared here + 921 | soft_minus(SFP x1, SFP x2, TWORD t) + | ^~~~~~~~~~ +../../common/softfloat.c: In function 'decbig': +../../common/softfloat.c:1231:3: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1231 | case '0' ... '9': + | ^~~~ +../../common/softfloat.c: In function 'hexbig': +../../common/softfloat.c:1299:3: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1299 | case 'a' ... 'f': + | ^~~~ +../../common/softfloat.c:1302:3: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1302 | case 'A' ... 'F': + | ^~~~ +../../common/softfloat.c:1305:3: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1305 | case '0' ... '9': + | ^~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o scan.o scan.c ../../mip/regs.c: In function 'newblock': ../../mip/regs.c:197:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 197 | RDEBUG(("newblock: p %p, node %d class %d\n", @@ -1713,20 +1808,12 @@ ../../mip/regs.c:56:39: note: in definition of macro 'RDEBUG' 56 | #define RDEBUG(x) if (r2debug) printf x | ^ -../../common/softfloat.c:921:1: note: declared here - 921 | soft_minus(SFP x1, SFP x2, TWORD t) - | ^~~~~~~~~~ ../../mip/regs.c:197:24: note: format string is defined here 197 | RDEBUG(("newblock: p %p, node %d class %d\n", | ~^ | | | void * ../../mip/regs.c: In function 'nsucomp': -../../mip/reader.c:1340:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1340 | printf("%p) %s", p, opst[p->n_op] ); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/regs.c:233:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 233 | UDEBUG(("entering nsucomp, node %p\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1792,21 +1879,12 @@ | ~^ | | | void * -../../common/softfloat.c: In function 'decbig': -../../common/softfloat.c:1231:3: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1231 | case '0' ... '9': - | ^~~~ -../../common/softfloat.c: In function 'hexbig': -../../common/softfloat.c:1299:3: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1299 | case 'a' ... 'f': - | ^~~~ -../../common/softfloat.c:1302:3: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1302 | case 'A' ... 'F': - | ^~~~ -../../common/softfloat.c:1305:3: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1305 | case '0' ... '9': - | ^~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o scan.o scan.c +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from lex.yy.c:19: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/regs.c: In function 'addedge_r': ../../mip/regs.c:944:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); @@ -1862,12 +1940,6 @@ | ~^ | | | void * -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from lex.yy.c:19: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ../../mip/regs.c: In function 'dce': ../../mip/regs.c:1543:12: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", @@ -1914,6 +1986,7 @@ | ~^ | | | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c ../../mip/regs.c: In function 'shorttemp': ../../mip/regs.c:2677:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); @@ -1928,6 +2001,12 @@ | ~^ | | | void * +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./stabs.c:37: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/regs.c:2725:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1957,27 +2036,13 @@ | ~^ | | | void * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./stabs.c:37: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o table.o ../../arch/i386/table.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./symtabs.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/i386/table.c:30: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ./symtabs.c: In function 'hide': ./symtabs.c:363:37: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] 363 | printf("\t%s hidden at level %d (%p -> %p)\n", @@ -1997,17 +2062,24 @@ | ~~~ | | | struct symtab * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o trees.o ./trees.c +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o table.o ../../arch/i386/table.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./trees.c:69: + from ../../mip/pass2.h:35, + from ../../arch/i386/table.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ../../common/unicode.c:31: +./pftn.c: In function 'tyreduce': +./pftn.c:2015:15: warning: 'dim.ddim' may be used uninitialized in this function [-Wmaybe-uninitialized] + 2015 | df[numdfs++] = dim; + | ~~~~~~~~~~~~~^~~~~ +./pftn.c:2028:15: note: 'dim.ddim' was declared here + 2028 | union dimfun dim; + | ^~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o trees.o ./trees.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./trees.c:69: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2044,6 +2116,13 @@ | ~^ | | | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from ../../common/unicode.c:31: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ./trees.c: In function 'p1nfree': ./trees.c:3403:27: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 3403 | printf("freeing p1node %p\n", p); @@ -2062,13 +2141,6 @@ | ~^ ~ | | | | void * P1ND * {aka struct p1node *} -./pftn.c: In function 'tyreduce': -./pftn.c:2015:15: warning: 'dim.ddim' may be used uninitialized in this function [-Wmaybe-uninitialized] - 2015 | df[numdfs++] = dim; - | ~~~~~~~~~~~~~^~~~~ -./pftn.c:2028:15: note: 'dim.ddim' was declared here - 2028 | union dimfun dim; - | ^~~ ../../common/softfloat.c: In function 'strtosf': ../../common/softfloat.c:76:17: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized] 76 | #define LDBLPTR fpis[SF_LDOUBLE] @@ -2081,7 +2153,7 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cxxcom' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/i386/table.c @@ -2168,7 +2240,6 @@ /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -mv -f lex.yy.c scan.c ./cgram.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] ./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples In file included from ../../mip/mkext.c:6: @@ -2183,10 +2254,11 @@ ../../mip/pass2.h:561:10: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -gcc -Wl,-z,relro -Wl,-z,now mkext.lo common.lo table.lo -o mkext -./mkext +mv -f lex.yy.c scan.c mv -f y.tab.c cgram.c mv -f y.tab.h cgram.h +gcc -Wl,-z,relro -Wl,-z,now mkext.lo common.lo table.lo -o mkext +./mkext gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o builtins.o ./builtins.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o cgram.o cgram.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o code.o ../../arch/i386/code.c @@ -2197,20 +2269,18 @@ gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o init.o ./init.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o inline.o ./inline.c gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local.o ../../arch/i386/local.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local2.o ../../arch/i386/local2.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o main.o ./main.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim.o ./optim.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o order.o ../../arch/i386/order.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./gcc_compat.c:34: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ../../arch/i386/code.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from pass1.h:38, from ./cgram.y:157: @@ -2235,89 +2305,43 @@ /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ../../common/compat.c:61: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./init.c:64: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./gcc_compat.c:34: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./inline.c:28: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ../../arch/i386/local.c:28: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/unistd.h:25, - from ./main.c:32: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/i386/local2.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./optim.c:36: + from ./inline.c:28: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./cxxcode.c:27: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/match.c:63: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/i386/order.c:30: + from ./init.c:64: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/i386-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -../../arch/i386/order.c: In function 'offstar': -../../arch/i386/order.c:55:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 55 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} +../../arch/i386/local.c: In function 'clocal': +../../arch/i386/local.c:399:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 399 | printf("clocal: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../arch/i386/local.c:746:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 746 | printf("clocal end: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ../../mip/common.c: In function 'talloc': ../../mip/common.c:348:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 348 | printf("alloc node %p from freelist\n", p); @@ -2329,43 +2353,13 @@ | ~^ ~ | | | | void * NODE * {aka struct node *} -../../arch/i386/order.c: In function 'myormake': -../../arch/i386/order.c:89:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 89 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/match.c: In function 'tshape': -../../mip/match.c:93:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/common.c: In function 'nfree': -../../arch/i386/order.c: In function 'shumul': -../../arch/i386/order.c:110:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 110 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/common.c:441:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 441 | printf("freeing node %p\n", p); | ~^ ~ | | | | | NODE * {aka struct node *} | void * -../../arch/i386/order.c: In function 'setbin': -../../arch/i386/order.c:127:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 127 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/i386/order.c: In function 'setasg': -../../arch/i386/order.c:137:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 137 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ./inline.c: In function 'tcnt': ./inline.c:91:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 91 | printf("locking node %p\n", p); @@ -2373,15 +2367,6 @@ | | | | | NODE * {aka struct node *} | void * -../../mip/match.c: In function 'swmatch': -../../mip/match.c:417:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ ./inline.c: In function 'inline_addarg': ./inline.c:123:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 123 | SDEBUG(("inline_addarg(%p)\n", ip)); @@ -2396,46 +2381,19 @@ | ~^ | | | void * -../../mip/match.c:417:24: note: format string is defined here - 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); - | ~^ - | | - | void * ./init.c: In function 'beginit': ./init.c:374:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] 374 | printf("beginit(%p), sclass %s\n", sp, scnames(sp->sclass)); | ~^ ~~ | | | | void * struct symtab * -../../mip/match.c: In function 'shswitch': ./init.c:380:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] 380 | printf("beginit: saving ctx pstk %p\n", pstk); | ~^ ~~~~ | | | | | struct instk * | void * -../../arch/i386/local.c: In function 'clocal': -../../arch/i386/local.c:399:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 399 | printf("clocal: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -../../mip/match.c:497:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:497:25: note: format string is defined here - 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); - | ~^ - | | - | void * ./inline.c: In function 'printip': -../../mip/match.c: In function 'findops': ./inline.c:325:21: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 325 | printf("IP(%d) (%p): ", ip->type, ip); | ~^ ~~ @@ -2446,19 +2404,6 @@ | ~^ ~~ | | | | void * struct interpass * -../../mip/match.c:563:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); - | ^~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' - 396 | #define F2DEBUG(x) if (f2debug) printf x - | ^ -../../mip/match.c:563:26: note: format string is defined here - 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); - | ~^ - | | - | void * ./inline.c: In function 'inlinetree': ./inline.c:409:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); @@ -2473,7 +2418,6 @@ | ~^ | | | void * -./init.c: In function 'nsetval': ./inline.c:409:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -2482,21 +2426,169 @@ ./inline.c:70:38: note: in definition of macro 'SDEBUG' 70 | #define SDEBUG(x) if (sdebug) printf x | ^ -./init.c:608:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); - | ^~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} ./inline.c:409:26: note: format string is defined here 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); | ~^ | | | void * +./init.c: In function 'nsetval': +./init.c:608:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); + | ^~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} ./init.c:608:44: note: format string is defined here 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); | ~^ | | | void * +./init.c: In function 'scalinit': +./init.c:650:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 650 | printf("scalinit(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c:714:23: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 714 | printf("scalinit e(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +./init.c: In function 'endictx': +./init.c:891:40: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 891 | printf("endinit: restoring ctx pstk %p\n", pstk); + | ~^ ~~~~ + | | | + | | struct instk * + | void * +../../arch/i386/code.c: In function 'bjobcode': +../../arch/i386/code.c:447:6: warning: 'fcw' is used uninitialized in this function [-Wuninitialized] + 447 | fcw |= 0x300; + | ^~ +./init.c: In function 'mkstack': +./init.c:962:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 962 | printf("mkstack: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +./init.c: In function 'asginit': +./init.c:1067:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1067 | printf("asginit %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +./init.c: In function 'prtstk': +./init.c:1123:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 1123 | printf("%p) '%s' ", in, in->in_sym->sname); + | ~^ ~~ + | | | + | void * struct instk * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o local2.o ../../arch/i386/local2.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/i386/local2.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o main.o ./main.c +In file included from /usr/include/unistd.h:25, + from ./main.c:32: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./main.c: In function 'segvcatch': +./main.c:69:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ./pass1.h:40, + from ./builtins.c:27: +In function 'memcpy', + inlined from 'builtin_huge_vall' at ./builtins.c:581:54: +/usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [10, 11] is out of the bounds [0, 10] of object 'vLDOUBLE' with type 'const unsigned char[10]' [-Warray-bounds] + 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./builtins.c: In function 'builtin_huge_vall': +./builtins.c:538:28: note: 'vLDOUBLE' declared here + 538 | static const unsigned char vLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f }; + | ^~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./cxxcode.c:27: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/match.c:63: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim.o ./optim.c +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./optim.c:36: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +../../mip/match.c: In function 'tshape': +../../mip/match.c:93:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 93 | printf("tshape(%p, %s) op = %s\n", p, prcook(shape), opst[o]); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/optim2.c:29: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +../../mip/match.c: In function 'swmatch': +../../mip/match.c:417:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:417:24: note: format string is defined here + 417 | F2DEBUG(("swmatch: p=%p, shape=%s, w=%s\n", p, prcook(shape), srtyp[w])); + | ~^ + | | + | void * +../../mip/match.c: In function 'shswitch': +../../mip/match.c:497:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:497:25: note: format string is defined here + 497 | F2DEBUG(("shswitch: p=%p, shape=%s, ", p, prcook(shape))); + | ~^ + | | + | void * +../../mip/match.c: In function 'findops': +../../mip/match.c:563:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); + | ^~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' + 396 | #define F2DEBUG(x) if (f2debug) printf x + | ^ +../../mip/match.c:563:26: note: format string is defined here + 563 | F2DEBUG(("findops node %p (%s)\n", p, prcook(cookie))); + | ~^ + | | + | void * ../../mip/match.c:644:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2505,29 +2597,12 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./init.c: In function 'scalinit': ../../mip/match.c:644:27: note: format string is defined here 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << sh))); | ~^ | | | void * -./init.c:650:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 650 | printf("scalinit(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./init.c:714:23: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 714 | printf("scalinit e(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/match.c: In function 'relops': -../../arch/i386/local.c:746:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 746 | printf("clocal end: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ../../mip/match.c:741:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 741 | F2DEBUG(("relops: node %p\n", p)); | ^~~~~~~~~~~~~~~~~~~ ~ @@ -2541,25 +2616,7 @@ | ~^ | | | void * -../../arch/i386/code.c: In function 'bjobcode': -../../arch/i386/code.c:447:6: warning: 'fcw' is used uninitialized in this function [-Wuninitialized] - 447 | fcw |= 0x300; - | ^~ -./cxxcode.c: In function 'cxxdclstr': -./cxxcode.c:562:44: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 562 | if (cppdebug)printf("declaring2 struct %s %p nscur %s\n", n, sp, nscur->sname); - | ~^ ~~ - | | | - | void * struct symtab * ../../mip/match.c: In function 'findasg': -./init.c: In function 'endictx': -./cxxcode.c: In function 'symwalk': -./init.c:891:40: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 891 | printf("endinit: restoring ctx pstk %p\n", pstk); - | ~^ ~~~~ - | | | - | | struct instk * - | void * ../../mip/match.c:874:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2568,18 +2625,12 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./cxxcode.c:575:16: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 575 | printf("%s (%p) %s\n", sp->sname, sp, scnames(sp->sclass)); - | ~^ ~~ - | | | - | void * struct symtab * ../../mip/match.c:874:27: note: format string is defined here 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); | ~^ | | | void * ../../mip/match.c: In function 'findumul': -./init.c: In function 'mkstack': ../../mip/match.c:897:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2588,44 +2639,11 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../mip/optim2.c: In function 'bblocks_build': ../../mip/match.c:897:24: note: format string is defined here 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); | ~^ | | | void * -../../mip/optim2.c:712:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ - | | - | struct labelinfo * -../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -./init.c:962:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 962 | printf("mkstack: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -../../mip/optim2.c:712:27: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -../../mip/optim2.c:712:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ - | | - | struct bblockinfo * -../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:31: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * ../../mip/match.c:950:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2634,33 +2652,12 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./init.c: In function 'asginit': ../../mip/match.c:950:28: note: format string is defined here 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ~^ | | | void * -../../mip/optim2.c:758:20: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ ~~ - | | | - | void * struct basicblock * -./init.c:1067:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1067 | printf("asginit %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ../../mip/match.c: In function 'findleaf': -../../mip/optim2.c:758:30: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~~ - | | - | struct interpass * ../../mip/match.c:968:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2669,52 +2666,11 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -../../mip/optim2.c:758:38: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] - 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, - | ~^ - | | - | void * - 759 | bb->first, bb->last); - | ~~~~~~~~ - | | - | struct interpass * ../../mip/match.c:968:24: note: format string is defined here 968 | F2DEBUG(("findleaf p %p (%s)\n", p, prcook(cookie))); | ~^ | | | void * -./pftn.c: In function 'defid': -./init.c: In function 'prtstk': -./pftn.c:165:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 165 | printf("defid(%s (%p), ", p->sname, p); - | ^~~~~~~~~~~~~~~~~ ~ - | | - | struct symtab * -./pftn.c:167:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 167 | printf(", %s, (%p)), level %d\n\t", scnames(class), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./init.c:1123:12: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 1123 | printf("%p) '%s' ", in, in->in_sym->sname); - | ~^ ~~ - | | | - | void * struct instk * -../../mip/optim2.c:795:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] - 795 | printf("Label %d bblock %p\n", i+low, - | ~^ - | | - | void * - 796 | p2e->labinfo.arr[i]); - | ~~~~~~~~~~~~~~~~~~~ - | | - | struct basicblock * -./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] - 192 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 193 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | union dimfun * -./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] ../../mip/match.c:1009:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1009 | F2DEBUG(("findleaf: node %p (%s)\n", p, prcook(1 << sh))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2728,13 +2684,6 @@ | ~^ | | | void * -./pftn.c:474:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 474 | printf( " sdf, offset: %p, %d\n\t", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - 475 | p->sdf, p->soffset); - | ~~~~~~ - | | - | union dimfun * ../../mip/match.c: In function 'finduni': ../../mip/match.c:1105:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1105 | F2DEBUG(("finduni: node %p (%s)\n", p, prcook(1 << sh))); @@ -2750,7 +2699,6 @@ | | | void * ../../mip/match.c: In function 'findmops': -./pftn.c: In function 'dclstruct': ../../mip/match.c:1248:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2759,17 +2707,83 @@ ../../mip/match.c:396:40: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./pftn.c:963:11: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 963 | printf("\tmember %s(%p)\n", sp->sname, sp); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -../../mip/optim2.c: In function 'placePhiFunctions': ../../mip/match.c:1248:33: note: format string is defined here 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ~^ | | | void * +./cxxcode.c: In function 'cxxdclstr': +./cxxcode.c:562:44: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 562 | if (cppdebug)printf("declaring2 struct %s %p nscur %s\n", n, sp, nscur->sname); + | ~^ ~~ + | | | + | void * struct symtab * +./cxxcode.c: In function 'symwalk': +./cxxcode.c:575:16: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 575 | printf("%s (%p) %s\n", sp->sname, sp, scnames(sp->sclass)); + | ~^ ~~ + | | | + | void * struct symtab * +../../mip/optim2.c: In function 'bblocks_build': +../../mip/optim2.c:712:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct labelinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ + | | + | struct labelinfo * +../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:712:27: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * +../../mip/optim2.c:712:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct bblockinfo *' [-Wformat=] + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ + | | + | struct bblockinfo * +../../mip/optim2.c:42:39: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:712:31: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * +../../mip/optim2.c:758:20: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ ~~ + | | | + | void * struct basicblock * +../../mip/optim2.c:758:30: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~~ + | | + | struct interpass * +../../mip/optim2.c:758:38: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct interpass *' [-Wformat=] + 758 | printf("bb(%d) %p: first %p last %p\n", bb->bbnum, bb, + | ~^ + | | + | void * + 759 | bb->first, bb->last); + | ~~~~~~~~ + | | + | struct interpass * +../../mip/optim2.c:795:30: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct basicblock *' [-Wformat=] + 795 | printf("Label %d bblock %p\n", i+low, + | ~^ + | | + | void * + 796 | p2e->labinfo.arr[i]); + | ~~~~~~~~~~~~~~~~~~~ + | | + | struct basicblock * +../../mip/optim2.c: In function 'placePhiFunctions': ../../mip/optim2.c:1194:34: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] 1194 | printf("Phi in %d(%d) (%p) for %d\n", | ~^ @@ -2779,24 +2793,6 @@ | ~ | | | struct basicblock * -./pftn.c: In function 'ftnarg': -./pftn.c:1103:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1103 | printf("ftnarg(%p)\n", p); - | ^~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -./pftn.c:1125:12: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 1125 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./pftn.c:1125:12: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] -./pftn.c:1137:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 1137 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./pftn.c:1137:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] -./main.c: In function 'segvcatch': -./main.c:69:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/optim2.c: In function 'removephi': ../../mip/optim2.c:1473:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1473 | BDEBUG(("removephi: %p in %d",pip,bb->dfnum)); @@ -2824,7 +2820,6 @@ | ~^ | | | void * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c ../../mip/optim2.c:1532:16: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); | ^~~~~~~~~~~~~~~~~ ~~ @@ -2838,12 +2833,6 @@ | ~^ | | | void * -./pftn.c: In function 'arglist': -./pftn.c:1964:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1964 | printf("arglist %p\n", n); - | ^~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} ../../mip/optim2.c:1570:16: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 1570 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); | ^~~~~~~~~~~~~~~~~ ~~ @@ -2858,18 +2847,11 @@ | | | void * ../../mip/optim2.c: In function 'printip2': -./pftn.c: In function 'tymerge': ../../mip/optim2.c:1640:20: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1640 | printf("IP(%d) (%p): ", ip->type, ip); | ~^ ~~ | | | | void * struct interpass * -./pftn.c:2140:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2140 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | NODE * {aka struct node *} -./pftn.c:2140:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] ../../mip/optim2.c:1642:16: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1642 | printf("%s (%p): ", foo[ip->type], ip); | ~^ ~~ @@ -2899,20 +2881,121 @@ | ~~~~~~~~~~ | | | struct basicblock * -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o order.o ../../arch/i386/order.c +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/i386/order.c:30: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +../../arch/i386/order.c: In function 'offstar': +../../arch/i386/order.c:55:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 55 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'myormake': +../../arch/i386/order.c:89:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 89 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'shumul': +../../arch/i386/order.c:110:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 110 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'setbin': +../../arch/i386/order.c:127:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 127 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/i386/order.c: In function 'setasg': +../../arch/i386/order.c:137:19: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 137 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +In file included from /usr/include/i386-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./pftn.c:66: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +./pftn.c: In function 'defid': +./pftn.c:165:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 165 | printf("defid(%s (%p), ", p->sname, p); + | ^~~~~~~~~~~~~~~~~ ~ + | | + | struct symtab * +./pftn.c:167:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 167 | printf(", %s, (%p)), level %d\n\t", scnames(class), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'union dimfun *' [-Wformat=] + 192 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 193 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | union dimfun * +./pftn.c:192:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] +./pftn.c:474:11: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 474 | printf( " sdf, offset: %p, %d\n\t", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + 475 | p->sdf, p->soffset); + | ~~~~~~ + | | + | union dimfun * +./pftn.c: In function 'dclstruct': +./pftn.c:963:11: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 963 | printf("\tmember %s(%p)\n", sp->sname, sp); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * +./pftn.c: In function 'ftnarg': +./pftn.c:1103:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1103 | printf("ftnarg(%p)\n", p); + | ^~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +./pftn.c:1125:12: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 1125 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:1125:12: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../mip/reader.c:66: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +./pftn.c:1137:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 1137 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./pftn.c:1137:10: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] +./pftn.c: In function 'arglist': +./pftn.c:1964:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1964 | printf("arglist %p\n", n); + | ^~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +./pftn.c: In function 'tymerge': +./pftn.c:2140:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2140 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | NODE * {aka struct node *} +./pftn.c:2140:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../mip/regs.c:29: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o scan.o scan.c ../../mip/reader.c: In function 'geninsn': ../../mip/reader.c:802:20: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 802 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); @@ -2952,12 +3035,6 @@ | ~^ | | | void * -In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from lex.yy.c:19: -/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ../../mip/reader.c: In function 'gencode': ../../mip/reader.c:1171:10: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1171 | CDEBUG(("gencode: node %p\n", p)); @@ -3224,6 +3301,7 @@ | ~^ | | | void * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o scan.o scan.c ../../mip/regs.c:1576:14: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3253,6 +3331,12 @@ | ~^ | | | void * +In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from lex.yy.c:19: +/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/regs.c:2725:10: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -3289,33 +3373,20 @@ /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/string.h:495, - from ./pass1.h:40, - from ./builtins.c:27: -In function 'memcpy', - inlined from 'builtin_huge_vall' at ./builtins.c:581:54: -/usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [10, 11] is out of the bounds [0, 10] of object 'vLDOUBLE' with type 'const unsigned char[10]' [-Warray-bounds] - 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./builtins.c: In function 'builtin_huge_vall': -./builtins.c:538:28: note: 'vLDOUBLE' declared here - 538 | static const unsigned char vLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f }; - | ^~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o table.o ../../arch/i386/table.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./symtabs.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o table.o ../../arch/i386/table.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../arch/i386/table.c:30: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o trees.o ./trees.c ./symtabs.c: In function 'hide': ./symtabs.c:357:37: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct symtab *' [-Wformat=] 357 | printf("\t%s hidden at level %d (%p -> %p)\n", @@ -3335,6 +3406,7 @@ | ~~~ | | | struct symtab * +gcc -g -O2 -fdebug-prefix-map=/build/pcc-1.2.0~DEVEL+20200630=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -DLANG_CXX -Dos_linux -Dmach_i386 -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/linux -I../../common -c -o trees.o ./trees.c In file included from /usr/include/i386-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./trees.c:69: @@ -3384,14 +3456,14 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j18 install DESTDIR=/build/pcc-1.2.0\~DEVEL\+20200630/debian/pcc AM_UPDATE_INFO_DIR=no + make -j10 install DESTDIR=/build/pcc-1.2.0\~DEVEL\+20200630/debian/pcc AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630' ===> cc make[2]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc' -make[2]: warning: -j18 forced in submake: resetting jobserver mode. +make[2]: warning: -j10 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cc' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/include" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/lib/pcc/i386-pc-linux-gnu/1.2.0.DEVEL/include" @@ -3400,7 +3472,7 @@ <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cpp' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" /usr/bin/install -c i686-linux-gnu-cpp /build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" @@ -3409,7 +3481,7 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/ccom' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" /usr/bin/install -c i686-linux-gnu-ccom /build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" @@ -3418,7 +3490,7 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20200630/cc/cxxcom' -make[3]: warning: -j18 forced in submake: resetting jobserver mode. +make[3]: warning: -j10 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin" /usr/bin/install -c i686-linux-gnu-cxxcom /build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/bin test -z "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20200630/debian/pcc/usr/share/man/man1" @@ -3466,20 +3538,21 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'pcc' in '../pcc_1.2.0~DEVEL+20200630-2_i386.deb'. dpkg-deb: building package 'pcc-dbgsym' in '../pcc-dbgsym_1.2.0~DEVEL+20200630-2_i386.deb'. +dpkg-deb: building package 'pcc' in '../pcc_1.2.0~DEVEL+20200630-2_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pcc_1.2.0~DEVEL+20200630-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -I: copying local configuration +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32563/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/30066 and its subdirectories -I: Current time: Mon Aug 8 08:46:25 -12 2022 -I: pbuilder-time-stamp: 1659991585 +I: removing directory /srv/workspace/pbuilder/32563 and its subdirectories +I: Current time: Wed Jul 7 04:28:23 +14 2021 +I: pbuilder-time-stamp: 1625581704