Diff of the two buildlogs: -- --- b1/build.log 2023-05-09 13:22:19.062423551 +0000 +++ b2/build.log 2023-05-09 13:23:07.484305715 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 9 01:18:08 -12 2023 -I: pbuilder-time-stamp: 1683638288 +I: Current time: Tue Jun 11 09:45:24 +14 2024 +I: pbuilder-time-stamp: 1718048724 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./pcc_1.2.0~DEVEL+20220331.orig.tar.gz] I: copying [./pcc_1.2.0~DEVEL+20220331-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Sep 4 06:44:09 2022 -12 +gpgv: Signature made Mon Sep 5 08:44:09 2022 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pcc_1.2.0~DEVEL+20220331-1.dsc: no acceptable signature found @@ -31,135 +31,167 @@ 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/3279515/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 11 09:45 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/913673/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ba7bcfae498e4136b938176909645325' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3279515' - PS1='# ' - PS2='> ' + INVOCATION_ID=0bad7b82dc63471abc21aa827e37f299 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=913673 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.YLCICWCx/pbuilderrc_f9kL --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.YLCICWCx/b1 --logfile b1/build.log pcc_1.2.0~DEVEL+20220331-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.YLCICWCx/pbuilderrc_Bq2R --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.YLCICWCx/b2 --logfile b2/build.log --extrapackages usrmerge pcc_1.2.0~DEVEL+20220331-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3279515/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 11 09:45 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -231,7 +263,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] -Fetched 20.3 MB in 1s (37.3 MB/s) +Fetched 20.3 MB in 0s (90.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (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 ... 19596 files and directories currently installed.) @@ -374,8 +406,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/pcc-1.2.0~DEVEL+20220331/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pcc_1.2.0~DEVEL+20220331-1_source.changes +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/pcc-1.2.0~DEVEL+20220331/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pcc_1.2.0~DEVEL+20220331-1_source.changes dpkg-buildpackage: info: source package pcc dpkg-buildpackage: info: source version 1.2.0~DEVEL+20220331-1 dpkg-buildpackage: info: source distribution unstable @@ -497,38 +540,38 @@ make[1]: Leaving directory '/build/pcc-1.2.0~DEVEL+20220331' dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331' ===> cc make[2]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc' -make[2]: warning: -j15 forced in submake: resetting jobserver mode. +make[2]: warning: -j16 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cc' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o cc.o ./cc.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o compat.o ../../common/compat.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o strlist.o ../../cc/driver/strlist.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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/x86_64-pc-linux-gnu/1.2.0.DEVEL/include/\" -DPCCLIBDIR=\"/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/lib/\" -Dos_linux -Dmach_amd64 -DTARGOSVER=0 -I../../cc/driver -I../.. -I../../os/linux -I../../mip -I../../arch/amd64 -I../../common -c -o xalloc.o ../../cc/driver/xalloc.c -In file included from /usr/include/x86_64-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/x86_64-linux-gnu/sys/types.h:25, + from ./cc.c:83: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./cc.c:83: +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../cc/driver/strlist.c:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ../../cc/driver/xalloc.c:32: + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../cc/driver/strlist.c:32: + from /usr/include/stdio.h:27, + from ../../cc/driver/xalloc.c:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -537,7 +580,7 @@ <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cpp' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o compat.o ../../common/compat.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o cpp.o ./cpp.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -I. -I../.. -I. -I../../mip -I../../arch/amd64 -I../../common -DNVMPGS=4 -c -o cpc.o ./cpc.c @@ -611,14 +654,6 @@ | ~^ | | | void * -./token.c: In function 'prtline': -./token.c:1116:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1116 | write(1, ob->buf, ob->cptr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./token.c: In function 'cpperror': -./token.c:1383:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1383 | write(1, pbbeg, pbinp-pbbeg); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'readargs': ./cpp.c:1936:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct iobuf *' [-Wformat=] 1936 | DPRINT(("readargs: in %p\n", in)); @@ -633,6 +668,11 @@ | ~^ | | | void * +./token.c: In function 'prtline': +./token.c:1116:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1116 | write(1, ob->buf, ob->cptr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./token.c: In function 'cpperror': ./cpp.c: In function 'main': ./cpp.c:399:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | write(1, fb->buf, fb->cptr); @@ -640,6 +680,9 @@ ./cpp.c:420:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | write(1, pbbeg, pbinp - pbbeg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./token.c:1383:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1383 | write(1, pbbeg, pbinp-pbbeg); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cpp.c: In function 'error': ./cpp.c:1356:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1356 | write(1, pbbeg, pbinp-pbbeg); @@ -664,11 +707,13 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/ccom' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/amd64/table.c bison -y -d ./cgram.y +flex ./scan.l +touch ../../cc2/cc2.amd64.c ./cgram.y:281.24-31: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 281 | %type string C_STRING GCC_DESIG svstr | ^~~~~~~~ @@ -712,7 +757,6 @@ 288 | %type C_TYPE C_QUALIFIER C_CLASS C_FUNSPEC | ^~~~~~ ./cgram.y:288.24-34: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] -flex ./scan.l 288 | %type C_TYPE C_QUALIFIER C_CLASS C_FUNSPEC | ^~~~~~~~~~~ ./cgram.y:288.36-42: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] @@ -733,28 +777,27 @@ ./cgram.y:294.24-33: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 294 | %type C_NAME C_TYPENAME | ^~~~~~~~~~ -touch ../../cc2/cc2.amd64.c +mv -f lex.yy.c scan.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../mip/mkext.c:6: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./cgram.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr] -./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../arch/amd64/table.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -mv -f lex.yy.c scan.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./cgram.y: warning: 6 shift/reduce conflicts [-Wconflicts-sr] +./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ @@ -765,53 +808,48 @@ ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ -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 +mv -f y.tab.c cgram.c +mv -f y.tab.h cgram.h gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o builtins.o ./builtins.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cgram.o cgram.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o code.o ../../arch/amd64/code.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o common.o ../../mip/common.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./builtins.c:27: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o compat.o ../../common/compat.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o dwarf.o ./dwarf.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o external.o external.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o gcc_compat.o ./gcc_compat.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o init.o ./init.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o inline.o ./inline.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/amd64/code.c:31: + from ./builtins.c:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o gcc_compat.o ./gcc_compat.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from pass1.h:38, from ./cgram.y:152: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o init.o ./init.c -In file included from /usr/include/x86_64-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/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ../../arch/amd64/code.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o inline.o ./inline.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./dwarf.c:31: +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ../../mip/common.c:63: @@ -824,14 +862,12 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./gcc_compat.c:34: + from ./dwarf.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./init.c:64: @@ -839,20 +875,28 @@ 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/local2.c:30: + from ./pass1.h:38, + from ./gcc_compat.c:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./inline.c:28: + from ../../arch/amd64/local.c:29: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/local2.c:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim.o ./optim.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/amd64/local.c:29: + from ./inline.c:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -867,14 +911,6 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./optim.c:36: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c ../../mip/common.c: In function 'talloc': ../../mip/common.c:348:45: 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); @@ -893,27 +929,195 @@ | | | | | NODE * {aka struct node *} | void * -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +./init.c: In function 'beginit': +./init.c:405:13: 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))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:405:23: note: format string is defined here + 405 | ID(("beginit(%p), sclass %s\n", sp, scnames(sp->sclass))); + | ~^ + | | + | void * +./init.c:408:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | struct instk * +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:408:48: note: format string is defined here + 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); + | ~^ + | | + | void * +./init.c:449:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] + 449 | ID(("beginit(%p) end\n", sp)); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:449:23: note: format string is defined here + 449 | ID(("beginit(%p) end\n", sp)); + | ~^ + | | + | void * +../../arch/amd64/local.c: In function 'clocal': +../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 308 | printf("clocal: %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +./init.c: In function 'nsetval': +./init.c:637:24: 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); + | ^~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:637:58: note: format string is defined here + 637 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); + | ~^ + | | + | void * +./init.c: In function 'scalinit': +./init.c:677:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 677 | ID(("scalinit(%p)\n", p)); + | ^~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c +../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 497 | printf("clocal end: %p\n", p); + | ~^ ~ + | | | + | | P1ND * {aka struct p1node *} + | void * +./init.c:677:24: note: format string is defined here + 677 | ID(("scalinit(%p)\n", p)); + | ~^ + | | + | void * +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./optim.c:36: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./init.c:743:13: 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)); + | ^~~~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:743:28: note: format string is defined here + 743 | ID(("scalinit end(%p)\n", q)); + | ~^ + | | + | void * +./init.c: In function 'endictx': +./init.c:916:54: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] + 916 | printf("endinit: restoring ctx pstk %p\n", pstk); + | ~^ ~~~~ + | | | + | | struct instk * + | void * +./init.c: In function 'mkstack': +./init.c:1004:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1004 | ID(("mkstack: %p\n", p)); + | ^~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:1004:24: note: format string is defined here + 1004 | ID(("mkstack: %p\n", p)); + | ~^ + | | + | void * +./init.c:1039:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1039 | ID(("mkstack end: %p\n", p)); + | ^~~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:1039:28: note: format string is defined here + 1039 | ID(("mkstack end: %p\n", p)); + | ~^ + | | + | void * +./init.c: In function 'desinit': +./init.c:1050:13: 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)); + | ^~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:1050:27: note: format string is defined here + 1050 | ID(("desinit beg %p\n", p)); + | ~^ + | | + | void * +./init.c:1065:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1065 | ID(("desinit end %p\n", p)); + | ^~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./init.c:138:34: note: in definition of macro 'ID' + 138 | #define ID(x) if (idebug) printf x + | ^ +./init.c:1065:27: note: format string is defined here + 1065 | ID(("desinit end %p\n", p)); + | ~^ + | | + | void * +../../arch/amd64/local.c: At top level: +../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] + 265 | tlsref(NODE *p) + | ^~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/optim2.c:29: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./init.c: In function 'asginit': +./init.c:1110:34: 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:26: 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 * ../../mip/match.c: In function 'tshape': ../../mip/match.c:93:33: 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 *} -./inline.c: In function 'inline_addarg': -./inline.c:171:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] - 171 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ^~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:171:33: note: format string is defined here - 171 | SDEBUG(("inline_addarg(%p)\n", ip)); - | ~^ - | | - | void * +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c ../../mip/match.c: In function 'swmatch': ../../mip/match.c:417:18: 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])); @@ -956,50 +1160,6 @@ | ~^ | | | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -./inline.c: In function 'printip': -./inline.c:398:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 398 | printf("IP(%d) (%p): ", ip->type, ip); - | ~^ ~~ - | | | - | void * struct interpass * -./inline.c:400:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] - 400 | printf("%s (%p): ", foo[ip->type], ip); - | ~^ ~~ - | | | - | void * struct interpass * -./inline.c: In function 'inlinetree': -./inline.c:489:17: 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:489:30: note: format string is defined here - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ~^ - | | - | void * -./inline.c:489:17: 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | P1ND * {aka struct p1node *} -./inline.c:70:44: note: in definition of macro 'SDEBUG' - 70 | #define SDEBUG(x) if (sdebug) printf x - | ^ -./inline.c:489:33: note: format string is defined here - 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); - | ~^ - | | - | void * ../../mip/match.c:644:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1028,6 +1188,21 @@ | | | void * ../../mip/match.c: In function 'findasg': +./inline.c: In function 'inline_addarg': +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +./inline.c:171:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] + 171 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ^~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +./inline.c:171:33: note: format string is defined here + 171 | SDEBUG(("inline_addarg(%p)\n", ip)); + | ~^ + | | + | void * ../../mip/match.c:874:18: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1055,6 +1230,37 @@ | ~^ | | | void * +./inline.c: In function 'printip': +./inline.c:398:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 398 | printf("IP(%d) (%p): ", ip->type, ip); + | ~^ ~~ + | | | + | void * struct interpass * +./inline.c:400:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] + 400 | printf("%s (%p): ", foo[ip->type], ip); + | ~^ ~~ + | | | + | void * struct interpass * +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/order.c:31: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./inline.c: In function 'inlinetree': +./inline.c:489:17: 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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +./inline.c:489:30: note: format string is defined here + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * ../../mip/match.c:950:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1063,6 +1269,19 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +./inline.c:489:17: 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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + | | + | P1ND * {aka struct p1node *} +./inline.c:70:44: note: in definition of macro 'SDEBUG' + 70 | #define SDEBUG(x) if (sdebug) printf x + | ^ +./inline.c:489:33: note: format string is defined here + 489 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); + | ~^ + | | + | void * ../../mip/match.c:950:35: note: format string is defined here 950 | F2DEBUG(("findumul: node %p (%s)\n", p, prcook(1 << sh))); | ~^ @@ -1110,7 +1329,6 @@ | | | void * ../../mip/match.c: In function 'findmops': -./init.c: In function 'beginit': ../../mip/match.c:1248:18: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -1119,191 +1337,63 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ -./init.c:405:13: 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))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:405:23: note: format string is defined here - 405 | ID(("beginit(%p), sclass %s\n", sp, scnames(sp->sclass))); - | ~^ - | | - | void * ../../mip/match.c:1248:40: note: format string is defined here 1248 | F2DEBUG(("findmops done: node %p class %d\n", p, sh)); | ~^ | | | void * In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/order.c:31: + from ./pass1.h:38, + from ./pftn.c:66: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./init.c:408:21: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | struct instk * -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:408:48: note: format string is defined here - 408 | ID(("beginit: saving ctx pstk %p\n", pstk)); - | ~^ - | | - | void * -./init.c:449:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct symtab *' [-Wformat=] - 449 | ID(("beginit(%p) end\n", sp)); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:449:23: note: format string is defined here - 449 | ID(("beginit(%p) end\n", sp)); - | ~^ - | | - | void * +./main.c: In function 'segvcatch': +./main.c:70:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: + from ../../mip/pass2.h:35, + from ../../mip/reader.c:66: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -../../arch/amd64/local.c: In function 'clocal': -../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 308 | printf("clocal: %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * -./init.c: In function 'nsetval': -./init.c:637:24: 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); - | ^~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:637:58: note: format string is defined here - 637 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); - | ~^ - | | - | void * -./init.c: In function 'scalinit': -./init.c:677:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 677 | ID(("scalinit(%p)\n", p)); - | ^~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:677:24: note: format string is defined here - 677 | ID(("scalinit(%p)\n", p)); - | ~^ - | | - | void * -../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 497 | printf("clocal end: %p\n", p); - | ~^ ~ - | | | - | | P1ND * {aka struct p1node *} - | void * -./init.c:743:13: 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)); - | ^~~~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:743:28: note: format string is defined here - 743 | ID(("scalinit end(%p)\n", q)); - | ~^ - | | - | void * -./init.c: In function 'endictx': -./init.c:916:54: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct instk *' [-Wformat=] - 916 | printf("endinit: restoring ctx pstk %p\n", pstk); - | ~^ ~~~~ - | | | - | | struct instk * - | void * -./init.c: In function 'mkstack': -./init.c:1004:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1004 | ID(("mkstack: %p\n", p)); - | ^~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1004:24: note: format string is defined here - 1004 | ID(("mkstack: %p\n", p)); - | ~^ - | | - | void * -./init.c:1039:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1039 | ID(("mkstack end: %p\n", p)); - | ^~~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1039:28: note: format string is defined here - 1039 | ID(("mkstack end: %p\n", p)); - | ~^ - | | - | void * -./init.c: In function 'desinit': -./init.c:1050:13: 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)); - | ^~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1050:27: note: format string is defined here - 1050 | ID(("desinit beg %p\n", p)); - | ~^ - | | - | void * -../../arch/amd64/local.c: At top level: -../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] - 265 | tlsref(NODE *p) - | ^~~~~~ -./init.c:1065:13: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1065 | ID(("desinit end %p\n", p)); - | ^~~~~~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./init.c:138:34: note: in definition of macro 'ID' - 138 | #define ID(x) if (idebug) printf x - | ^ -./init.c:1065:27: note: format string is defined here - 1065 | ID(("desinit end %p\n", p)); - | ~^ - | | - | void * -./init.c: In function 'asginit': -./init.c:1110:34: 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:26: 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/amd64/order.c: In function 'offstar': +../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 87 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'myormake': +../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 146 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 186 | printf("myormake converted %p\n", q); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../arch/amd64/order.c: In function 'shumul': +../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 199 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setbin': +../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 216 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setasg': +../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 226 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/optim2.c: In function 'bblocks_build': ../../mip/optim2.c:712:17: 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)); @@ -1331,18 +1421,6 @@ | ~^ | | | void * -../../arch/amd64/order.c: In function 'offstar': -../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 87 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'myormake': -../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 146 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/optim2.c:758:41: 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, | ~^ ~~ @@ -1375,34 +1453,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | struct basicblock * -../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 186 | printf("myormake converted %p\n", q); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -../../arch/amd64/order.c: In function 'shumul': -../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 199 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setbin': -../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 216 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setasg': -../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 226 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -./main.c: In function 'segvcatch': -./main.c:70:15: 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: In function 'placePhiFunctions': ../../mip/optim2.c:1194:69: 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", @@ -1440,6 +1490,19 @@ | ~^ | | | void * +../../mip/optim2.c:1532:65: 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)); + | ^~~~~~~~~~~~~~~~~ ~~ + | | + | struct interpass * +../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:1532:68: note: format string is defined here + 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); + | ~^ + | | + | void * ./pftn.c: In function 'defid2': ./pftn.c:192:24: 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); @@ -1463,26 +1526,6 @@ | ~~~~~~ | | | struct attr * -./pftn.c:524:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] - 524 | printf( " sdf, offset: %p, %d\n\t", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 525 | p->sdf, p->soffset); - | ~~~~~~ - | | - | union dimfun * -../../mip/optim2.c:1532:65: 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)); - | ^~~~~~~~~~~~~~~~~ ~~ - | | - | struct interpass * -../../mip/optim2.c:42:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:1532:68: note: format string is defined here - 1532 | BDEBUG(("(%p, %d -> %d) ", ip, phi->intmpregno[i], phi->newtmpregno)); - | ~^ - | | - | void * ../../mip/optim2.c:1570:65: 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)); | ^~~~~~~~~~~~~~~~~ ~~ @@ -1496,111 +1539,47 @@ | ~^ | | | void * +./pftn.c:524:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'union dimfun *' [-Wformat=] + 524 | printf( " sdf, offset: %p, %d\n\t", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 525 | p->sdf, p->soffset); + | ~~~~~~ + | | + | union dimfun * ../../mip/optim2.c: In function 'printip2': ../../mip/optim2.c:1640:34: 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: In function 'dclstruct': ../../mip/optim2.c:1642:30: 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:985:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] - 985 | printf("\tmember %s(%p)\n", sp->sname, sp); - | ^~~~~~~~~~~~~~~~~~~ ~~ - | | - | struct symtab * -../../mip/optim2.c: In function 'printflowdiagram': -../../mip/optim2.c:1789:46: 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 * -../../mip/optim2.c:1840:54: 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", - | ~^ - | | - | void * - 1841 | bbb, cn->bblock, color); - | ~~~ - | | - | struct basicblock * -../../mip/optim2.c:1840:62: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] - 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", - | ~^ - | | - | void * - 1841 | bbb, cn->bblock, color); - | ~~~~~~~~~~ - | | - | struct basicblock * -./pftn.c: In function 'arglist': -./pftn.c:1910:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 1910 | printf("arglist %p\n", n); - | ^~~~~~~~~~~~~~ ~ - | | - | P1ND * {aka struct p1node *} -./pftn.c: In function 'tymerge': -./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 2110 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | P1ND * {aka struct p1node *} -./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] - 2110 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | P1ND * {aka struct p1node *} -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/reader.c:66: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c -In file included from /usr/include/x86_64-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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -../../common/softfloat.c: In function 'soft_minus': -../../common/softfloat.c:957:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] - 957 | return soft_plus(x1, x2, t); - | ^~~~~~~~~~~~~~~~~~~~ -../../common/softfloat.c:954:1: note: declared here - 954 | soft_minus(SFP x1, SFP x2, TWORD t) - | ^~~~~~~~~~ ../../mip/reader.c: In function 'geninsn': ../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); | ~^ ~ | | | | void * NODE * {aka struct node *} +../../mip/optim2.c: In function 'printflowdiagram': +./pftn.c: In function 'dclstruct': +../../mip/optim2.c:1789:46: 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 * +./pftn.c:985:32: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct symtab *' [-Wformat=] + 985 | printf("\tmember %s(%p)\n", sp->sname, sp); + | ^~~~~~~~~~~~~~~~~~~ ~~ + | | + | struct symtab * ../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); | ~^ ~ | | | | void * NODE * {aka struct node *} -../../common/softfloat.c: In function 'decbig': -../../common/softfloat.c:1264:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1264 | case '0' ... '9': - | ^~~~ -../../common/softfloat.c: In function 'hexbig': -../../common/softfloat.c:1332:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1332 | case 'a' ... 'f': - | ^~~~ -../../common/softfloat.c:1335:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1335 | case 'A' ... 'F': - | ^~~~ -../../common/softfloat.c:1338:17: warning: range expressions in switch statements are non-standard [-Wpedantic] - 1338 | case '0' ... '9': - | ^~~~ ../../mip/reader.c: In function 'ckmove': ../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], @@ -1610,11 +1589,29 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ +../../mip/optim2.c:1840:54: 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", + | ~^ + | | + | void * + 1841 | bbb, cn->bblock, color); + | ~~~ + | | + | struct basicblock * ../../mip/reader.c:981:31: note: format string is defined here 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], | ~^ | | | void * +../../mip/optim2.c:1840:62: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct basicblock *' [-Wformat=] + 1840 | fprintf(flowdiagramfile, "bb%p -> bb%p [color=%s]\n", + | ~^ + | | + | void * + 1841 | bbb, cn->bblock, color); + | ~~~~~~~~~~ + | | + | struct basicblock * ../../mip/reader.c: In function 'rewrite': ../../mip/reader.c:1029:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1029 | CDEBUG(("rewrite: %p, reg %s\n", p, @@ -1629,6 +1626,12 @@ | ~^ | | | void * +./pftn.c: In function 'arglist': +./pftn.c:1910:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 1910 | printf("arglist %p\n", n); + | ^~~~~~~~~~~~~~ ~ + | | + | P1ND * {aka struct p1node *} ../../mip/reader.c: In function 'gencode': ../../mip/reader.c:1179:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1179 | CDEBUG(("gencode: node %p\n", p)); @@ -1651,11 +1654,17 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ +./pftn.c: In function 'tymerge': ../../mip/reader.c:1267:35: note: format string is defined here 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); | ~^ | | | void * +./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 2110 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | P1ND * {aka struct p1node *} ../../mip/reader.c:1272:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1272 | CDEBUG(("emitting node %p\n", p)); | ^~~~~~~~~~~~~~~~~~~~ ~ @@ -1669,6 +1678,11 @@ | ~^ | | | void * +./pftn.c:2110:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] + 2110 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | P1ND * {aka struct p1node *} ../../mip/reader.c:1281:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1281 | CDEBUG(("gencode(%p) rmove\n", p)); | ^~~~~~~~~~~~~~~~~~~~~ ~ @@ -1727,18 +1741,12 @@ | ~^ ~ | | | | void * NODE * {aka struct node *} +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o softfloat.o ../../common/softfloat.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./stabs.c:37: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, - from lex.yy.c:19: + from ../../mip/manifest.h:39, + from ../../common/softfloat.c:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -1748,6 +1756,28 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +../../common/softfloat.c: In function 'soft_minus': +../../common/softfloat.c:957:16: warning: ISO C forbids 'return' with expression, in function returning void [-Wpedantic] + 957 | return soft_plus(x1, x2, t); + | ^~~~~~~~~~~~~~~~~~~~ +../../common/softfloat.c:954:1: note: declared here + 954 | soft_minus(SFP x1, SFP x2, TWORD t) + | ^~~~~~~~~~ +../../common/softfloat.c: In function 'decbig': +../../common/softfloat.c:1264:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1264 | case '0' ... '9': + | ^~~~ +../../common/softfloat.c: In function 'hexbig': +../../common/softfloat.c:1332:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1332 | case 'a' ... 'f': + | ^~~~ +../../common/softfloat.c:1335:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1335 | case 'A' ... 'F': + | ^~~~ +../../common/softfloat.c:1338:17: warning: range expressions in switch statements are non-standard [-Wpedantic] + 1338 | case '0' ... '9': + | ^~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c ../../mip/regs.c: In function 'newblock': ../../mip/regs.c:197:17: 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", @@ -1830,6 +1860,12 @@ | ~^ | | | void * +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from lex.yy.c:19: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ../../mip/regs.c: In function 'addedge_r': ../../mip/regs.c:944:18: 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)); @@ -1931,7 +1967,7 @@ | ~^ | | | void * -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c ../../mip/regs.c: In function 'shorttemp': ../../mip/regs.c:2677:17: 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)); @@ -1975,6 +2011,13 @@ | ~^ | | | void * +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./stabs.c:37: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./symtabs.c:30: @@ -1982,6 +2025,20 @@ 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/table.c:31: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./trees.c:69: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ./symtabs.c: In function 'hide': ./symtabs.c:363:51: 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", @@ -2001,16 +2058,9 @@ | ~~~ | | | struct symtab * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/table.c:31: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./trees.c:69: +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from ../../common/unicode.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2026,7 +2076,6 @@ | | | | void * P1ND * {aka struct p1node *} ./trees.c: In function 'tymatch': -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o unicode.o ../../common/unicode.c ./trees.c:1633:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 1633 | printf("tymatch(%p): ", p); | ~^ ~ @@ -2048,12 +2097,6 @@ | ~^ | | | void * -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ../../common/unicode.c:31: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ./trees.c: In function 'p1nfree': ./trees.c:3440:41: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'P1ND *' {aka 'struct p1node *'} [-Wformat=] 3440 | printf("freeing p1node %p\n", p); @@ -2084,11 +2127,12 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o mkext.lo ../../mip/mkext.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o common.lo ../../mip/common.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -DMKEXT -c -o table.lo ../../arch/amd64/table.c bison -y -d ./cgram.y +flex ./scan.l ./cgram.y:252.24-31: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 252 | %type string C_STRING GCC_DESIG nsname CXX_MORENM | ^~~~~~~~ @@ -2152,28 +2196,27 @@ ./cgram.y:260.24-33: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 260 | %type C_NAME C_TYPENAME | ^~~~~~~~~~ -flex ./scan.l In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../arch/amd64/table.c:31: + from ../../mip/mkext.c:6: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +mv -f lex.yy.c scan.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, - from ../../mip/mkext.c:6: + from ../../arch/amd64/table.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -./cgram.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr] -./cgram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ../../mip/common.c:63: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 ../../mip/pass2.h:561:17: warning: ISO C forbids zero-size array 'p_regs' [-Wpedantic] 561 | bittype p_regs[NIPPREGS]; /* Bitmask of registers to save */ | ^~~~~~ @@ -2197,6 +2240,10 @@ gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o gcc_compat.o ./gcc_compat.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o init.o ./init.c gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o inline.o ./inline.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./builtins.c:27: @@ -2204,27 +2251,20 @@ 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ../../arch/amd64/code.c:31: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from pass1.h:38, from ./cgram.y:157: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local.o ../../arch/amd64/local.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./gcc_compat.c:34: + from ../../arch/amd64/code.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from ../../mip/common.c:63: + from /usr/include/string.h:26, + from ../../common/compat.c:61: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2234,15 +2274,18 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o local2.o ../../arch/amd64/local2.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./gcc_compat.c:34: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ../../common/compat.c:61: + from /usr/include/stdlib.h:26, + from ../../mip/common.c:63: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o main.o ./main.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o cxxcode.o ./cxxcode.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./init.c:64: @@ -2251,17 +2294,17 @@ | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ./inline.c:28: + from ../../arch/amd64/local.c:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, - from ../../arch/amd64/local.c:29: + from ./inline.c:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o match.o ../../mip/match.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../arch/amd64/local2.c:30: @@ -2274,6 +2317,7 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./cxxcode.c:27: @@ -2298,19 +2342,6 @@ | | | | | NODE * {aka struct node *} | void * -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o optim2.o ../../mip/optim2.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./optim.c:36: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/match.c:63: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ./inline.c: In function 'tcnt': ./inline.c:91:39: 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); @@ -2319,6 +2350,7 @@ | | NODE * {aka struct node *} | void * ./inline.c: In function 'inline_addarg': +./init.c: In function 'beginit': ./inline.c:123:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'struct interpass *' [-Wformat=] 123 | SDEBUG(("inline_addarg(%p)\n", ip)); | ^~~~~~~~~~~~~~~~~~~~~ ~~ @@ -2332,6 +2364,24 @@ | ~^ | | | void * +./init.c:374:34: 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 * +./init.c:380:59: 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/amd64/local.c: In function 'clocal': +../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 308 | printf("clocal: %p\n", p); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * ./inline.c: In function 'printip': ./inline.c:325:42: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct interpass *' [-Wformat=] 325 | printf("IP(%d) (%p): ", ip->type, ip); @@ -2343,6 +2393,17 @@ | ~^ ~~ | | | | void * struct interpass * +./init.c: In function 'nsetval': +./init.c:608:24: 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:58: note: format string is defined here + 608 | printf("setval: off " CONFMT " fsz %d p %p\n", off, fsz, p); + | ~^ + | | + | void * ./inline.c: In function 'inlinetree': ./inline.c:409:17: 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)); @@ -2357,6 +2418,13 @@ | ~^ | | | void * +./init.c: In function 'scalinit': +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/match.c:63: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ ./inline.c:409:17: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ @@ -2365,53 +2433,22 @@ ./inline.c:70:44: note: in definition of macro 'SDEBUG' 70 | #define SDEBUG(x) if (sdebug) printf x | ^ +./init.c:650:35: 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 *} ./inline.c:409:33: note: format string is defined here 409 | SDEBUG(("inlinetree(%p,%p) OK %d\n", f, ap, is->flags & CANINL)); | ~^ | | | void * -./init.c: In function 'beginit': -./init.c:374:34: 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 * -./init.c:380:59: 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/amd64/local.c: In function 'clocal': -../../arch/amd64/local.c:308:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 308 | printf("clocal: %p\n", p); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * ../../arch/amd64/local.c:497:38: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 497 | printf("clocal end: %p\n", p); | ~^ ~ | | | | | NODE * {aka struct node *} | void * -./init.c: In function 'nsetval': -./init.c:608:24: 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:58: 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:35: 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:37: 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); | ~^ ~ @@ -2431,11 +2468,6 @@ | | | | | NODE * {aka struct node *} | void * -../../arch/amd64/local.c: At top level: -../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] - 265 | tlsref(NODE *p) - | ^~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c ./init.c: In function 'asginit': ./init.c:1067:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1067 | printf("asginit %p\n", p); @@ -2449,6 +2481,34 @@ | ~^ ~~ | | | | void * struct instk * +../../arch/amd64/local.c: At top level: +../../arch/amd64/local.c:265:1: warning: 'tlsref' defined but not used [-Wunused-function] + 265 | tlsref(NODE *p) + | ^~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./optim.c:36: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../mip/optim2.c:29: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o order.o ../../arch/amd64/order.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ../../mip/pass2.h:35, + from ../../arch/amd64/order.c:31: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +./main.c: In function 'segvcatch': +./main.c:69:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/match.c: In function 'tshape': ../../mip/match.c:93:33: 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]); @@ -2497,6 +2557,55 @@ | ~^ | | | void * +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./pftn.c:66: +/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ +In file included from /usr/include/string.h:535, + from ./pass1.h:40: +In function 'memcpy', + inlined from 'builtin_nanx' at ./builtins.c:600:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [12, 15] is out of the bounds [0, 12] of object 'nLDOUBLE' with type 'const unsigned char[12]' [-Warray-bounds] + 29 | return __builtin___memcpy_chk (__dest, __src, __len, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 30 | __glibc_objsize0 (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~ +./builtins.c: In function 'builtin_nanx': +./builtins.c:545:28: note: 'nLDOUBLE' declared here + 545 | static const unsigned char nLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0xc0, 0xff, 0x7f, 0, 0 }; + | ^~~~~~~~ +../../arch/amd64/order.c: In function 'offstar': +../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 87 | printf("offstar(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'myormake': +../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 146 | printf("myormake(%p)\n", q); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 186 | printf("myormake converted %p\n", q); + | ~^ ~ + | | | + | | NODE * {aka struct node *} + | void * +../../arch/amd64/order.c: In function 'shumul': +../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 199 | printf("shumul(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} +../../arch/amd64/order.c: In function 'setbin': +../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 216 | printf("setbin(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/match.c:644:18: 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,23 +2614,17 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +../../arch/amd64/order.c: In function 'setasg': +../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 226 | printf("setasg(%p)\n", p); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/match.c:644:34: note: format string is defined here 644 | F2DEBUG(("findops: node %p sh %d (%s)\n", p, sh, prcook(1 << 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:30: 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: In function 'relops': ../../mip/match.c:741:18: 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)); @@ -2536,7 +2639,40 @@ | ~^ | | | void * +../../mip/optim2.c: In function 'bblocks_build': +../../mip/optim2.c:712:17: 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:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +../../mip/optim2.c:712:34: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * ../../mip/match.c: In function 'findasg': +./cxxcode.c: In function 'cxxdclstr': +../../mip/optim2.c:712:17: 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:45: note: in definition of macro 'BDEBUG' + 42 | #define BDEBUG(x) if (b2debug) printf x + | ^ +./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/optim2.c:712:38: note: format string is defined here + 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); + | ~^ + | | + | void * ../../mip/match.c:874:18: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2545,12 +2681,23 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +./cxxcode.c: In function 'symwalk': ../../mip/match.c:874:34: note: format string is defined here 874 | F2DEBUG(("findasg: node %p class %d\n", p, sh)); | ~^ | | | void * +./cxxcode.c:575:30: 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: In function 'findumul': +../../mip/optim2.c:758:41: 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/match.c:897:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2559,17 +2706,38 @@ ../../mip/match.c:396:45: note: in definition of macro 'F2DEBUG' 396 | #define F2DEBUG(x) if (f2debug) printf x | ^ +../../mip/optim2.c:758:51: 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:897:31: note: format string is defined here 897 | F2DEBUG(("findumul p %p (%s)\n", p, prcook(cookie))); | ~^ | | | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../arch/amd64/order.c:31: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ +../../mip/optim2.c:758:59: 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:58: 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/match.c:950:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2597,12 +2765,6 @@ | ~^ | | | void * -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/optim2.c:29: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ ../../mip/match.c:1009:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2616,11 +2778,8 @@ | ~^ | | | void * -./main.c: In function 'segvcatch': -./main.c:69:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | (void)write(STDERR_FILENO, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../mip/match.c: In function 'finduni': +../../mip/optim2.c: In function 'placePhiFunctions': ../../mip/match.c:1105:18: 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))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2634,6 +2793,15 @@ | ~^ | | | void * +../../mip/optim2.c:1194:69: 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", + | ~^ + | | + | void * + 1195 | y->dfnum,y->bbnum,y,i+defsites.low); + | ~ + | | + | struct basicblock * ../../mip/match.c: In function 'findmops': ../../mip/match.c:1248:18: 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)); @@ -2648,124 +2816,6 @@ | ~^ | | | void * -In file included from /usr/include/string.h:535, - from ./pass1.h:40: -In function 'memcpy', - inlined from 'builtin_nanx' at ./builtins.c:600:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' forming offset [12, 15] is out of the bounds [0, 12] of object 'nLDOUBLE' with type 'const unsigned char[12]' [-Warray-bounds] - 29 | return __builtin___memcpy_chk (__dest, __src, __len, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 30 | __glibc_objsize0 (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -./builtins.c: In function 'builtin_nanx': -./builtins.c:545:28: note: 'nLDOUBLE' declared here - 545 | static const unsigned char nLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0xc0, 0xff, 0x7f, 0, 0 }; - | ^~~~~~~~ -../../arch/amd64/order.c: In function 'offstar': -../../arch/amd64/order.c:87:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 87 | printf("offstar(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'myormake': -../../arch/amd64/order.c:146:35: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 146 | printf("myormake(%p)\n", q); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c:186:45: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 186 | printf("myormake converted %p\n", q); - | ~^ ~ - | | | - | | NODE * {aka struct node *} - | void * -../../arch/amd64/order.c: In function 'shumul': -../../arch/amd64/order.c:199:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 199 | printf("shumul(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setbin': -../../arch/amd64/order.c:216:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 216 | printf("setbin(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../arch/amd64/order.c: In function 'setasg': -../../arch/amd64/order.c:226:33: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 226 | printf("setasg(%p)\n", p); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/optim2.c: In function 'bblocks_build': -../../mip/optim2.c:712:17: 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:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:34: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -../../mip/optim2.c:712:17: 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:45: note: in definition of macro 'BDEBUG' - 42 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/optim2.c:712:38: note: format string is defined here - 712 | BDEBUG(("bblocks_build (%p, %p)\n", &p2e->labinfo, &p2e->bbinfo)); - | ~^ - | | - | void * -../../mip/optim2.c:758:41: 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:51: 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:59: 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:58: 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:69: 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", - | ~^ - | | - | void * - 1195 | y->dfnum,y->bbnum,y,i+defsites.low); - | ~ - | | - | struct basicblock * ../../mip/optim2.c: In function 'removephi': ../../mip/optim2.c:1473:41: 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)); @@ -2854,9 +2904,68 @@ | ~~~~~~~~~~ | | | struct basicblock * -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o pftn.o ./pftn.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c +./pftn.c: In function 'defid': +./pftn.c:165:24: 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:24: 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:24: 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:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] + 192 | printf(", %s, (%p,%p)), level %d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 193 | scnames(p->sclass), p->sdf, p->sap, slev); + | ~~~~~~ + | | + | struct attr * +./pftn.c:474:25: 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:32: 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:24: 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:40: 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:40: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1125 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1126 | q->n_sp->sname, q->n_sp, q); + | ~ + | | + | NODE * {aka struct node *} +./pftn.c:1137:24: 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:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 1137 | printf(" saving sym %s (%p) from (%p)\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1138 | nparams ? p->n_sp->sname : "", p->n_sp, p); + | ~ + | | + | NODE * {aka struct node *} In function 'memcpy', inlined from 'builtin_huge_vall' at ./builtins.c:581:54: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29: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] @@ -2868,6 +2977,25 @@ ./builtins.c:538:28: note: 'vLDOUBLE' declared here 538 | static const unsigned char vLDOUBLE[] = { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f }; | ^~~~~~~~ +./pftn.c: In function 'arglist': +./pftn.c:1964:24: 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': +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o reader.o ../../mip/reader.c +./pftn.c:2140:24: 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:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 2140 | printf("tymerge(%p,%p)\n", typ, idp); + | ^~~~~~~~~~~~~~~~~~ ~~~ + | | + | NODE * {aka struct node *} +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o regs.o ../../mip/regs.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../mip/reader.c:66: @@ -2875,15 +3003,15 @@ 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./pftn.c:66: + from ../../mip/pass2.h:35, + from ../../mip/regs.c:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o scan.o scan.c -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ../../mip/pass2.h:35, - from ../../mip/regs.c:29: +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from lex.yy.c:19: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ @@ -2983,6 +3111,7 @@ | ~^ | | | void * +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c ../../mip/regs.c:944:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] 944 | RRDEBUG(("addedge_r: node %p regw %p\n", p, w)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -2996,7 +3125,13 @@ | ~^ | | | void * +../../mip/reader.c: In function 'geninsn': ../../mip/regs.c: In function 'setxarg': +../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/regs.c:991:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 991 | RDEBUG(("setxarg %p %s\n", p, p->n_name)); | ^~~~~~~~~~~~~~~~~ ~ @@ -3011,6 +3146,11 @@ | | | void * ../../mip/regs.c: In function 'insnwalk': +../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] + 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); + | ~^ ~ + | | | + | void * NODE * {aka struct node *} ../../mip/regs.c:1074:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1074 | RDEBUG(("insnwalk %p\n", p)); | ^~~~~~~~~~~~~~~ ~ @@ -3024,106 +3164,6 @@ | ~^ | | | void * -../../mip/regs.c: In function 'dce': -../../mip/regs.c:1543:26: 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", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1544 | bbnum, bb->first, bb->last)); - | ~~~~~~~~~ - | | - | struct interpass * -../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' - 62 | #define BBDEBUG(x) if (b2debug > 1) printf x - | ^ -../../mip/regs.c:1543:49: note: format string is defined here - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ~^ - | | - | void * -../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1544 | bbnum, bb->first, bb->last)); - | ~~~~~~~~ - | | - | struct interpass * -../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' - 62 | #define BBDEBUG(x) if (b2debug > 1) printf x - | ^ -../../mip/regs.c:1543:57: note: format string is defined here - 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", - | ~^ - | | - | void * -../../mip/regs.c:1576:49: 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", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1577 | bbnum, ip)); - | ~~ - | | - | struct interpass * -../../mip/regs.c:61:45: note: in definition of macro 'BDEBUG' - 61 | #define BDEBUG(x) if (b2debug) printf x - | ^ -../../mip/regs.c:1576:65: note: format string is defined here - 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", - | ~^ - | | - | void * -../../mip/regs.c: In function 'shorttemp': -../../mip/regs.c:2677:17: 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:2677:28: note: format string is defined here - 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); - | ~^ - | | - | void * -../../mip/regs.c:2725:17: 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ - | | - | NODE * {aka struct node *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:2725:42: note: format string is defined here - 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); - | ~^ - | | - | void * -../../mip/regs.c: In function 'ngenregs': -../../mip/regs.c:3075:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] - 3075 | RDEBUG(("nblock %p num %d size %zu\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 3076 | nblock, tbits, (size_t)(tbits * sizeof(REGW)))); - | ~~~~~~ - | | - | REGW * {aka struct regw *} -../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' - 56 | #define RDEBUG(x) if (r2debug) printf x - | ^ -../../mip/regs.c:3075:34: note: format string is defined here - 3075 | RDEBUG(("nblock %p num %d size %zu\n", - | ~^ - | | - | void * -../../mip/reader.c: In function 'geninsn': -../../mip/reader.c:810:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 810 | printf("geninsn(%p, %s)\n", p, prcook(cookie)); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} -../../mip/reader.c:934:34: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 934 | printf("geninsn(%p, %s) rv %d\n", p, prcook(cookie), rv); - | ~^ ~ - | | | - | void * NODE * {aka struct node *} ../../mip/reader.c: In function 'ckmove': ../../mip/reader.c:981:17: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 981 | CDEBUG(("rmove: node %p, %s -> %s\n", p, rnames[DECRA(q->n_reg, 0)], @@ -3166,6 +3206,37 @@ | ~^ | | | void * +../../mip/regs.c: In function 'dce': +../../mip/regs.c:1543:26: 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", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1544 | bbnum, bb->first, bb->last)); + | ~~~~~~~~~ + | | + | struct interpass * +../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' + 62 | #define BBDEBUG(x) if (b2debug > 1) printf x + | ^ +../../mip/regs.c:1543:49: note: format string is defined here + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ~^ + | | + | void * +../../mip/regs.c:1543:26: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct interpass *' [-Wformat=] + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1544 | bbnum, bb->first, bb->last)); + | ~~~~~~~~ + | | + | struct interpass * +../../mip/regs.c:62:49: note: in definition of macro 'BBDEBUG' + 62 | #define BBDEBUG(x) if (b2debug > 1) printf x + | ^ +../../mip/regs.c:1543:57: note: format string is defined here + 1543 | BBDEBUG(("DCE bblock %d, start %p last %p\n", + | ~^ + | | + | void * ../../mip/reader.c:1267:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1267 | CDEBUG(("gencode(%p) assign nothing\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -3187,11 +3258,26 @@ ../../mip/reader.c:942:39: note: in definition of macro 'CDEBUG' 942 | #define CDEBUG(x) if (c2debug) printf x | ^ +../../mip/regs.c:1576:49: 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", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1577 | bbnum, ip)); + | ~~ + | | + | struct interpass * +../../mip/regs.c:61:45: note: in definition of macro 'BDEBUG' + 61 | #define BDEBUG(x) if (b2debug) printf x + | ^ ../../mip/reader.c:1272:33: note: format string is defined here 1272 | CDEBUG(("emitting node %p\n", p)); | ~^ | | | void * +../../mip/regs.c:1576:65: note: format string is defined here + 1576 | BDEBUG(("bb %d: DCE ip %p deleted\n", + | ~^ + | | + | void * ../../mip/reader.c:1281:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1281 | CDEBUG(("gencode(%p) rmove\n", p)); | ^~~~~~~~~~~~~~~~~~~~~ ~ @@ -3231,6 +3317,7 @@ | ~^ | | | void * +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c ../../mip/reader.c:1304:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 1304 | CDEBUG(("gencode(%p) RESC1 retreg\n", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ @@ -3250,57 +3337,68 @@ | ~^ ~ | | | | void * NODE * {aka struct node *} -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o stabs.o ./stabs.c +gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c +../../mip/regs.c: In function 'shorttemp': In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, from ./stabs.c:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o symtabs.o ./symtabs.c -./pftn.c: In function 'defid': -./pftn.c:165:24: 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:24: 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:24: 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); - | ~~~~~~ +../../mip/regs.c:2677:17: 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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/regs.c:2677:28: note: format string is defined here + 2677 | RDEBUG(("Node %d (%p) to store\n", ASGNUM(w), p)); + | ~^ + | | + | void * +../../mip/regs.c:2725:17: 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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ + | | + | NODE * {aka struct node *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/regs.c:2725:42: note: format string is defined here + 2725 | RDEBUG(("Stored parent node %d (%p)\n", ASGNUM(w), p)); + | ~^ | | - | union dimfun * -./pftn.c:192:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct attr *' [-Wformat=] - 192 | printf(", %s, (%p,%p)), level %d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 193 | scnames(p->sclass), p->sdf, p->sap, slev); - | ~~~~~~ - | | - | struct attr * -./pftn.c:474:25: 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 * -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from lex.yy.c:19: + | void * +In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, + from ./pass1.h:38, + from ./symtabs.c:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o table.o ../../arch/amd64/table.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ../../mip/pass2.h:35, from ../../arch/amd64/table.c:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +../../mip/regs.c: In function 'ngenregs': +../../mip/regs.c:3075:25: warning: format '%p' expects argument of type 'void *', but argument 2 has type 'REGW *' {aka 'struct regw *'} [-Wformat=] + 3075 | RDEBUG(("nblock %p num %d size %zu\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 3076 | nblock, tbits, (size_t)(tbits * sizeof(REGW)))); + | ~~~~~~ + | | + | REGW * {aka struct regw *} +../../mip/regs.c:56:45: note: in definition of macro 'RDEBUG' + 56 | #define RDEBUG(x) if (r2debug) printf x + | ^ +../../mip/regs.c:3075:34: note: format string is defined here + 3075 | RDEBUG(("nblock %p num %d size %zu\n", + | ~^ + | | + | void * gcc -g -O2 -ffile-prefix-map=/build/pcc-1.2.0~DEVEL+20220331=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wall -Wmissing-prototypes -Wstrict-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_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -I../../common -c -o trees.o ./trees.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from ./pass1.h:38, @@ -3308,6 +3406,25 @@ /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ +./symtabs.c: In function 'hide': +./symtabs.c:357:51: 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", + | ~^ + | | + | void * + 358 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * +./symtabs.c:357:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] + 357 | printf("\t%s hidden at level %d (%p -> %p)\n", + | ~^ + | | + | void * + 358 | sym->sname, blevel, sym, new); + | ~~~ + | | + | struct symtab * ./trees.c: In function 'buildtree': ./trees.c:170:40: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] 170 | printf("buildtree(%s, %p, %p)\n", copst(o), l, r); @@ -3341,80 +3458,6 @@ | ~^ | | | void * -./pftn.c: In function 'dclstruct': -./pftn.c:963:32: 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:24: 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:40: 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:40: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1125 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1126 | q->n_sp->sname, q->n_sp, q); - | ~ - | | - | NODE * {aka struct node *} -./pftn.c:1137:24: 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:24: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 1137 | printf(" saving sym %s (%p) from (%p)\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1138 | nparams ? p->n_sp->sname : "", p->n_sp, p); - | ~ - | | - | NODE * {aka struct node *} -./pftn.c: In function 'arglist': -./pftn.c:1964:24: 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:24: 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:24: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'NODE *' {aka 'struct node *'} [-Wformat=] - 2140 | printf("tymerge(%p,%p)\n", typ, idp); - | ^~~~~~~~~~~~~~~~~~ ~~~ - | | - | NODE * {aka struct node *} -In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, - from ./pass1.h:38, - from ./symtabs.c:30: -/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -./symtabs.c: In function 'hide': -./symtabs.c:357:51: 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", - | ~^ - | | - | void * - 358 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * -./symtabs.c:357:57: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct symtab *' [-Wformat=] - 357 | printf("\t%s hidden at level %d (%p -> %p)\n", - | ~^ - | | - | void * - 358 | sym->sname, blevel, sym, new); - | ~~~ - | | - | struct symtab * gcc -Wl,-z,relro -Wl,-z,now builtins.o cgram.o code.o common.o compat.o external.o gcc_compat.o init.o inline.o local.o local2.o main.o cxxcode.o match.o optim.o optim2.o order.o pftn.o reader.o regs.o scan.o stabs.o symtabs.o table.o trees.o -o x86_64-linux-gnu-cxxcom make[3]: Leaving directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' <=== cc/cxxcom @@ -3425,14 +3468,14 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/pcc/ - make -j15 install DESTDIR=/build/pcc-1.2.0\~DEVEL\+20220331/debian/pcc AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/pcc-1.2.0\~DEVEL\+20220331/debian/pcc AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331' ===> cc make[2]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc' -make[2]: warning: -j15 forced in submake: resetting jobserver mode. +make[2]: warning: -j16 forced in submake: resetting jobserver mode. ===> cc/cc make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cc' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/lib/pcc/x86_64-pc-linux-gnu/1.2.0.DEVEL/include" @@ -3441,7 +3484,7 @@ <=== cc/cc ===> cc/cpp make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cpp' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-cpp /build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" @@ -3450,7 +3493,7 @@ <=== cc/cpp ===> cc/ccom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/ccom' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-ccom /build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin /usr/bin/install -c x86_64-linux-gnu-cc2 /build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin @@ -3460,7 +3503,7 @@ <=== cc/ccom ===> cc/cxxcom make[3]: Entering directory '/build/pcc-1.2.0~DEVEL+20220331/cc/cxxcom' -make[3]: warning: -j15 forced in submake: resetting jobserver mode. +make[3]: warning: -j16 forced in submake: resetting jobserver mode. test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin" /usr/bin/install -c x86_64-linux-gnu-cxxcom /build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/bin test -z "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" || mkdir -p "/build/pcc-1.2.0~DEVEL+20220331/debian/pcc/usr/share/man/man1" @@ -3515,12 +3558,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/913673/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/913673/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/3279515 and its subdirectories -I: Current time: Tue May 9 01:22:18 -12 2023 -I: pbuilder-time-stamp: 1683638538 +I: removing directory /srv/workspace/pbuilder/913673 and its subdirectories +I: Current time: Tue Jun 11 09:46:10 +14 2024 +I: pbuilder-time-stamp: 1718048770