Diff of the two buildlogs: -- --- b1/build.log 2021-12-18 16:12:45.953160097 +0000 +++ b2/build.log 2021-12-18 16:18:45.117979079 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 18 04:06:56 -12 2021 -I: pbuilder-time-stamp: 1639843616 +I: Current time: Sun Dec 19 06:13:07 +14 2021 +I: pbuilder-time-stamp: 1639843987 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./keepalived_2.1.5-0.2+deb11u1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.NpAlpkFW/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 4 07:58:20 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.b3O4d3Ja/trustedkeys.kbx': General error +gpgv: Signature made Sun Dec 5 09:58:20 2021 +14 gpgv: using RSA key AEF2348766F371C689A7360095A42FE8353525F9 gpgv: issuer "bernat@debian.org" gpgv: Can't check signature: No public key @@ -29,135 +29,169 @@ dpkg-source: info: applying 2063.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10120/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5745/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/5745/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5745/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='f0e7e3709aff41d0831519f84681cc55' - 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='10120' - PS1='# ' - PS2='> ' + INVOCATION_ID=c34719daf6e64679b88475ef83cefed5 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=5745 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.U3IP4PS9yj/pbuilderrc_i8P5 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.U3IP4PS9yj/b1 --logfile b1/build.log keepalived_2.1.5-0.2+deb11u1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.U3IP4PS9yj/pbuilderrc_hAfV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.U3IP4PS9yj/b2 --logfile b2/build.log keepalived_2.1.5-0.2+deb11u1.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt32a 5.10.0-9-armmp-lpae #1 SMP Debian 5.10.70-1 (2021-09-30) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-arm64 #1 SMP Debian 5.10.70-1 (2021-09-30) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 20 21:26 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/10120/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 19 06:14 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 21 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/5745/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -331,7 +365,7 @@ Get: 106 http://deb.debian.org/debian bullseye/main armhf libwrap0-dev armhf 7.6.q-31 [19.8 kB] Get: 107 http://deb.debian.org/debian bullseye/main armhf libssl-dev armhf 1.1.1k-1+deb11u1 [1606 kB] Get: 108 http://deb.debian.org/debian bullseye/main armhf libsnmp-dev armhf 5.9+dfsg-3+b1 [1110 kB] -Fetched 40.1 MB in 10s (4095 kB/s) +Fetched 40.1 MB in 12s (3245 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) @@ -789,7 +823,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/keepalived-2.1.5/ && 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 > ../keepalived_2.1.5-0.2+deb11u1_source.changes +hostname: Name or service not known +I: Running cd /build/keepalived-2.1.5/ && 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 > ../keepalived_2.1.5-0.2+deb11u1_source.changes dpkg-buildpackage: info: source package keepalived dpkg-buildpackage: info: source version 1:2.1.5-0.2+deb11u1 dpkg-buildpackage: info: source distribution bullseye @@ -1226,7 +1261,7 @@ Build documentation : No make[1]: Leaving directory '/build/keepalived-2.1.5' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/keepalived-2.1.5' Making all in lib make[2]: Entering directory '/build/keepalived-2.1.5/lib' @@ -1236,13 +1271,7 @@ gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o utils.o utils.c gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o notify.o notify.c gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timer.o timer.c -utils.c: In function 'domain_stosockaddr': -utils.c:496:13: warning: cast increases required alignment of target type [-Wcast-align] - 496 | *addr6 = *(struct sockaddr_in6 *)res->ai_addr; - | ^ -utils.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] - 501 | *addr4 = *(struct sockaddr_in *)res->ai_addr; - | ^ +gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o scheduler.o scheduler.c In file included from list_head.h:28, from scheduler.h:39, from notify.h:31, @@ -1278,7 +1307,14 @@ notify.c:465:2: note: in expansion of macro 'rb_for_each_entry_cached' 465 | rb_for_each_entry_cached(thread, &m->child, n) { | ^~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o scheduler.o scheduler.c +utils.c: In function 'domain_stosockaddr': +utils.c:496:13: warning: cast increases required alignment of target type [-Wcast-align] + 496 | *addr6 = *(struct sockaddr_in6 *)res->ai_addr; + | ^ +utils.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] + 501 | *addr4 = *(struct sockaddr_in *)res->ai_addr; + | ^ +gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vector.o vector.c In file included from list_head.h:28, from scheduler.h:39, from scheduler.c:47: @@ -1698,7 +1734,6 @@ scheduler.c:1975:11: note: in expansion of macro 'rb_search' 1975 | thread = rb_search(&master->child_pid, &th, rb_data, thread_child_pid_cmp); | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vector.o vector.c gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o html.o html.c gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.o parser.c gcc -DHAVE_CONFIG_H -I. -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o signals.o signals.c @@ -2226,6 +2261,7 @@ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pidfile.o pidfile.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o layer4.o layer4.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smtp.o smtp.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o global_data.o global_data.c layer4.c: In function 'udp_socket_error': layer4.c:339:14: warning: cast increases required alignment of target type [-Wcast-align] 339 | sock_err = (struct sock_extended_err *)CMSG_DATA(cmsg); @@ -2282,7 +2318,6 @@ smtp.c:609:2: note: in expansion of macro 'list_for_each_entry' 609 | list_for_each_entry(email, &global_data->email, e_list) { | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o global_data.o global_data.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/global_data.h:51, from global_data.c:29: @@ -2350,7 +2385,6 @@ | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o global_parser.o global_parser.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o keepalived_netlink.o keepalived_netlink.c -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o snmp.o snmp.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/keepalived_netlink.h:36, @@ -2958,6 +2992,8 @@ keepalived_netlink.c:1526:2: note: in expansion of macro 'list_for_each_entry' 1526 | list_for_each_entry(top, &ifp->tracking_vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o snmp.o snmp.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o namespaces.o namespaces.c snmp.c: In function 'snmp_find_element': snmp.c:144:8: warning: cast increases required alignment of target type [-Wcast-align] 144 | l1 = (list_head_t *) ((char *)e - offset_outer + offset_inner); @@ -2975,8 +3011,12 @@ snmp.c:333:10: note: in expansion of macro 'list_entry' 333 | email = list_entry(e, email_t, e_list); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o namespaces.o namespaces.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o track_process.o track_process.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o reload_monitor.o reload_monitor.c +reload_monitor.c: In function 'inotify_event_thread': +reload_monitor.c:330:12: warning: cast increases required alignment of target type [-Wcast-align] + 330 | event = (struct inotify_event*)buf_ptr; + | ^ In file included from ../../lib/list_head.h:28, from ../../keepalived/include/track_process.h:30, from track_process.c:50: @@ -3186,7 +3226,6 @@ track_process.c:579:14: note: in expansion of macro 'rb_search' 579 | if (!(tpi = rb_search(&process_tree, &tp, pid_tree, pid_compare))) { | ^~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DLOCAL_STATE_DIR=\"/var\" -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o reload_monitor.o reload_monitor.c ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -3381,10 +3420,6 @@ track_process.c:1229:2: note: in expansion of macro 'list_for_each_entry' 1229 | list_for_each_entry(tpr, &vrrp_data->vrrp_track_processes, e_list) { | ^~~~~~~~~~~~~~~~~~~ -reload_monitor.c: In function 'inotify_event_thread': -reload_monitor.c:330:12: warning: cast increases required alignment of target type [-Wcast-align] - 330 | event = (struct inotify_event*)buf_ptr; - | ^ rm -f libcore.a ar cr libcore.a main.o daemon.o pidfile.o layer4.o smtp.o global_data.o global_parser.o keepalived_netlink.o snmp.o namespaces.o track_process.o reload_monitor.o ranlib libcore.a @@ -3394,35 +3429,7 @@ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_daemon.o vrrp_daemon.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_print.o vrrp_print.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_data.o vrrp_data.c -In file included from ../../lib/list_head.h:28, - from ../../lib/scheduler.h:39, - from ../../keepalived/include/vrrp_scheduler.h:32, - from vrrp_daemon.c:43: -vrrp_daemon.c: In function 'set_vrrp_max_fds': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_daemon.c:163:2: note: in expansion of macro 'list_for_each_entry' - 163 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_daemon.c:163:2: note: in expansion of macro 'list_for_each_entry' - 163 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) - | ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_parser.o vrrp_parser.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/global_data.h:51, from vrrp_data.c:33: @@ -3488,22 +3495,6 @@ vrrp_data.c:85:2: note: in expansion of macro 'list_for_each_entry' 85 | list_for_each_entry(tgroup, l, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_daemon.c: In function 'vrrp_shutdown_backstop_thread': -../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] - 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' - 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) - | ^~~~~~~~~~~~~~~~~~ -../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' - 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ - | ^~~~~~~~~~~~~~ -../../lib/rbtree.h:345:13: note: in expansion of macro 'rb_entry_safe_const' - 345 | for (pos = rb_entry_safe_const(rb_first_cached(root), typeof(*pos), member); \ - | ^~~~~~~~~~~~~~~~~~~ -vrrp_daemon.c:311:2: note: in expansion of macro 'rb_for_each_entry_cached_const' - 311 | rb_for_each_entry_cached_const(t, &thread->master->child, n) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vrrp_data.c: In function 'free_vrrp_sync_group_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -3517,21 +3508,6 @@ vrrp_data.c:133:2: note: in expansion of macro 'list_for_each_entry_safe' 133 | list_for_each_entry_safe(vrrp, vrrp_tmp, l, s_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] - 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' - 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) - | ^~~~~~~~~~~~~~~~~~ -../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' - 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ - | ^~~~~~~~~~~~~~ -../../lib/rbtree.h:346:18: note: in expansion of macro 'rb_entry_safe_const' - 346 | pos; pos = rb_entry_safe_const(rb_next(&pos->member), typeof(*pos), member)) - | ^~~~~~~~~~~~~~~~~~~ -vrrp_daemon.c:311:2: note: in expansion of macro 'rb_for_each_entry_cached_const' - 311 | rb_for_each_entry_cached_const(t, &thread->master->child, n) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -3767,7 +3743,6 @@ vrrp_data.c:344:2: note: in expansion of macro 'list_for_each_entry_safe' 344 | list_for_each_entry_safe(vprocess, vprocess_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_daemon.c: In function 'sigreload_vrrp': vrrp_data.c: In function 'dump_vprocess_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -3778,18 +3753,6 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_daemon.c:648:3: note: in expansion of macro 'list_for_each_entry' - 648 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ vrrp_data.c:390:2: note: in expansion of macro 'list_for_each_entry' 390 | list_for_each_entry(vprocess, l, e_list) | ^~~~~~~~~~~~~~~~~~~ @@ -3802,18 +3765,6 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_daemon.c:648:3: note: in expansion of macro 'list_for_each_entry' - 648 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ vrrp_data.c:390:2: note: in expansion of macro 'list_for_each_entry' 390 | list_for_each_entry(vprocess, l, e_list) | ^~~~~~~~~~~~~~~~~~~ @@ -3824,18 +3775,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_daemon.c:653:3: note: in expansion of macro 'list_for_each_entry' - 653 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ @@ -3848,18 +3787,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_daemon.c:653:3: note: in expansion of macro 'list_for_each_entry' - 653 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ @@ -4119,6 +4046,9 @@ vrrp_data.c:576:2: note: in expansion of macro 'list_for_each_entry_safe' 576 | list_for_each_entry_safe(vrrp, vrrp_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../lib/list_head.h:28, + from vrrp_print.c:31: +vrrp_print.c: In function 'vrrp_print_stats': vrrp_data.c: In function 'dump_vrrp_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -4203,12 +4133,36 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_print.c:70:2: note: in expansion of macro 'list_for_each_entry' + 70 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ vrrp_data.c:1012:17: note: in expansion of macro 'list_last_entry' 1012 | vrrp_t *vrrp = list_last_entry(&vrrp_data->vrrp, vrrp_t, e_list); | ^~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_print.c:70:2: note: in expansion of macro 'list_for_each_entry' + 70 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ vrrp_data.c: In function 'alloc_vrrp_track_bfd': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -4364,8 +4318,10 @@ 1118 | vrrp_t *vrrp = list_last_entry(&vrrp_data->vrrp, vrrp_t, e_list); | ^~~~~~~~~~~~~~~ In file included from ../../lib/list_head.h:28, - from vrrp_print.c:31: -vrrp_print.c: In function 'vrrp_print_stats': + from ../../lib/scheduler.h:39, + from ../../keepalived/include/vrrp_scheduler.h:32, + from vrrp_daemon.c:43: +vrrp_daemon.c: In function 'set_vrrp_max_fds': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -4375,8 +4331,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_print.c:70:2: note: in expansion of macro 'list_for_each_entry' - 70 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_daemon.c:163:2: note: in expansion of macro 'list_for_each_entry' + 163 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -4387,10 +4343,89 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_print.c:70:2: note: in expansion of macro 'list_for_each_entry' - 70 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_daemon.c:163:2: note: in expansion of macro 'list_for_each_entry' + 163 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_parser.o vrrp_parser.c +vrrp_daemon.c: In function 'vrrp_shutdown_backstop_thread': +../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] + 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' + 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) + | ^~~~~~~~~~~~~~~~~~ +../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' + 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ + | ^~~~~~~~~~~~~~ +../../lib/rbtree.h:345:13: note: in expansion of macro 'rb_entry_safe_const' + 345 | for (pos = rb_entry_safe_const(rb_first_cached(root), typeof(*pos), member); \ + | ^~~~~~~~~~~~~~~~~~~ +vrrp_daemon.c:311:2: note: in expansion of macro 'rb_for_each_entry_cached_const' + 311 | rb_for_each_entry_cached_const(t, &thread->master->child, n) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] + 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' + 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) + | ^~~~~~~~~~~~~~~~~~ +../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' + 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ + | ^~~~~~~~~~~~~~ +../../lib/rbtree.h:346:18: note: in expansion of macro 'rb_entry_safe_const' + 346 | pos; pos = rb_entry_safe_const(rb_next(&pos->member), typeof(*pos), member)) + | ^~~~~~~~~~~~~~~~~~~ +vrrp_daemon.c:311:2: note: in expansion of macro 'rb_for_each_entry_cached_const' + 311 | rb_for_each_entry_cached_const(t, &thread->master->child, n) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_daemon.c: In function 'sigreload_vrrp': +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_daemon.c:648:3: note: in expansion of macro 'list_for_each_entry' + 648 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_daemon.c:648:3: note: in expansion of macro 'list_for_each_entry' + 648 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_daemon.c:653:3: note: in expansion of macro 'list_for_each_entry' + 653 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_daemon.c:653:3: note: in expansion of macro 'list_for_each_entry' + 653 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ In file included from ../../lib/list_head.h:28, from ../../keepalived/include/global_data.h:51, from vrrp_parser.c:44: @@ -5780,6 +5815,7 @@ vrrp.c:410:7: warning: cast increases required alignment of target type [-Wcast-align] 410 | hd = (vrrphdr_t *)bufptr; | ^ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_notify.o vrrp_notify.c vrrp.c:414:26: warning: cast increases required alignment of target type [-Wcast-align] 414 | uint16_t *prio_addr = (uint16_t *)((char *)&hd->priority - (((char *)hd -(char *)&hd->priority) & 1)); | ^ @@ -7898,7 +7934,6 @@ vrrp.c:4448:2: note: in expansion of macro 'list_for_each_entry' 4448 | list_for_each_entry(vbfd, &old_vrrp_data->vrrp_track_bfds, e_list) { | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_notify.o vrrp_notify.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../lib/notify.h:31, @@ -7956,6 +7991,7 @@ | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_scheduler.o vrrp_scheduler.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_sync.o vrrp_sync.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_arp.o vrrp_arp.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/vrrp_scheduler.h:32, @@ -8583,7 +8619,6 @@ vrrp_sync.c:225:2: note: in expansion of macro 'list_for_each_entry' 225 | list_for_each_entry(isync, &sgroup->vrrp_instances, s_list) { | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_arp.o vrrp_arp.c vrrp_arp.c: In function 'send_gratuitous_arp_immediate': vrrp_arp.c:127:11: warning: cast increases required alignment of target type [-Wcast-align] 127 | ipoib = (struct ipoib_hdr *) (garp_buffer + ifp->hw_addr_len); @@ -8711,10 +8746,6 @@ vrrp_track.c:161:2: note: in expansion of macro 'list_for_each_entry' 161 | list_for_each_entry(scr, &vrrp_data->vrrp_script, e_list) { | ^~~~~~~~~~~~~~~~~~~ -In file included from ../../lib/list_head.h:28, - from ../../keepalived/include/global_data.h:51, - from vrrp_if.c:54: -vrrp_if.c: In function 'if_get_by_ifindex': vrrp_track.c: In function 'dump_track_script_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -8725,18 +8756,6 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:95:2: note: in expansion of macro 'list_for_each_entry' - 95 | list_for_each_entry(ifp, &if_queue, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ vrrp_track.c:180:2: note: in expansion of macro 'list_for_each_entry' 180 | list_for_each_entry(tsc, l, e_list) | ^~~~~~~~~~~~~~~~~~~ @@ -8749,18 +8768,6 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:95:2: note: in expansion of macro 'list_for_each_entry' - 95 | list_for_each_entry(ifp, &if_queue, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ vrrp_track.c:180:2: note: in expansion of macro 'list_for_each_entry' 180 | list_for_each_entry(tsc, l, e_list) | ^~~~~~~~~~~~~~~~~~~ @@ -8777,7 +8784,6 @@ vrrp_track.c:194:2: note: in expansion of macro 'list_for_each_entry_safe' 194 | list_for_each_entry_safe(tsc, tsc_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'if_extra_ipaddress_free_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -8796,18 +8802,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' - 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ @@ -8920,37 +8914,38 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' - 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_track.c:313:2: note: in expansion of macro 'list_for_each_entry_safe' + 313 | list_for_each_entry_safe(tprocess, tprocess_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'alloc_track_process': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' - 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'if_tracking_vrrp_dump_list': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_track.c:340:2: note: in expansion of macro 'list_for_each_entry' + 340 | list_for_each_entry(tprocess, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_track.c:313:2: note: in expansion of macro 'list_for_each_entry_safe' - 313 | list_for_each_entry_safe(tprocess, tprocess_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_track.c:340:2: note: in expansion of macro 'list_for_each_entry' + 340 | list_for_each_entry(tprocess, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'find_vrrp_tracked_bfd_by_name': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -8960,8 +8955,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:159:2: note: in expansion of macro 'list_for_each_entry' - 159 | list_for_each_entry(top, l, e_list) +vrrp_track.c:399:2: note: in expansion of macro 'list_for_each_entry' + 399 | list_for_each_entry(bfd, &vrrp_data->vrrp_track_bfds, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -8972,11 +8967,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:159:2: note: in expansion of macro 'list_for_each_entry' - 159 | list_for_each_entry(top, l, e_list) +vrrp_track.c:399:2: note: in expansion of macro 'list_for_each_entry' + 399 | list_for_each_entry(bfd, &vrrp_data->vrrp_track_bfds, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'if_get_by_ifname': -vrrp_track.c: In function 'alloc_track_process': +vrrp_track.c: In function 'alloc_vrrp_tracked_bfd': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -8986,8 +8980,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:168:2: note: in expansion of macro 'list_for_each_entry' - 168 | list_for_each_entry(ifp, &if_queue, e_list) { +vrrp_track.c:417:2: note: in expansion of macro 'list_for_each_entry' + 417 | list_for_each_entry(tbfd, l, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -8995,11 +8989,24 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_track.c:417:2: note: in expansion of macro 'list_for_each_entry' + 417 | list_for_each_entry(tbfd, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'dump_tracked_bfd_list': +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:340:2: note: in expansion of macro 'list_for_each_entry' - 340 | list_for_each_entry(tprocess, l, e_list) { +vrrp_track.c:446:2: note: in expansion of macro 'list_for_each_entry' + 446 | list_for_each_entry(tbfd, l, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9010,22 +9017,47 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:168:2: note: in expansion of macro 'list_for_each_entry' - 168 | list_for_each_entry(ifp, &if_queue, e_list) { +vrrp_track.c:446:2: note: in expansion of macro 'list_for_each_entry' + 446 | list_for_each_entry(tbfd, l, e_list) | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'free_track_bfd_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -vrrp_track.c:340:2: note: in expansion of macro 'list_for_each_entry' - 340 | list_for_each_entry(tprocess, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'set_base_ifp': +vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' + 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' + 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' + 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'alloc_track_bfd': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9035,8 +9067,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:210:2: note: in expansion of macro 'list_for_each_entry' - 210 | list_for_each_entry(ifp, &if_queue, e_list) { +vrrp_track.c:485:2: note: in expansion of macro 'list_for_each_entry' + 485 | list_for_each_entry(etbfd, l, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9047,10 +9079,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:210:2: note: in expansion of macro 'list_for_each_entry' - 210 | list_for_each_entry(ifp, &if_queue, e_list) { +vrrp_track.c:485:2: note: in expansion of macro 'list_for_each_entry' + 485 | list_for_each_entry(etbfd, l, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'find_vrrp_tracked_bfd_by_name': +vrrp_track.c: In function 'update_script_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9060,8 +9092,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:399:2: note: in expansion of macro 'list_for_each_entry' - 399 | list_for_each_entry(bfd, &vrrp_data->vrrp_track_bfds, e_list) { +vrrp_track.c:648:2: note: in expansion of macro 'list_for_each_entry' + 648 | list_for_each_entry(top, &vscript->tracking_vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9072,10 +9104,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:399:2: note: in expansion of macro 'list_for_each_entry' - 399 | list_for_each_entry(bfd, &vrrp_data->vrrp_track_bfds, e_list) { +vrrp_track.c:648:2: note: in expansion of macro 'list_for_each_entry' + 648 | list_for_each_entry(top, &vscript->tracking_vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'alloc_vrrp_tracked_bfd': +vrrp_track.c: In function 'initialise_interface_tracking_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9085,8 +9117,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:417:2: note: in expansion of macro 'list_for_each_entry' - 417 | list_for_each_entry(tbfd, l, e_list) { +vrrp_track.c:720:2: note: in expansion of macro 'list_for_each_entry' + 720 | list_for_each_entry(ifp, ifq, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9097,47 +9129,34 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:417:2: note: in expansion of macro 'list_for_each_entry' - 417 | list_for_each_entry(tbfd, l, e_list) { +vrrp_track.c:720:2: note: in expansion of macro 'list_for_each_entry' + 720 | list_for_each_entry(ifp, ifq, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'free_garp_delay_list': -vrrp_track.c: In function 'dump_tracked_bfd_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' - 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' - 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_track.c:721:3: note: in expansion of macro 'list_for_each_entry' + 721 | list_for_each_entry(top, &ifp->tracking_vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' - 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_track.c:721:3: note: in expansion of macro 'list_for_each_entry' + 721 | list_for_each_entry(top, &ifp->tracking_vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'initialise_vrrp_file_tracking_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9147,8 +9166,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:446:2: note: in expansion of macro 'list_for_each_entry' - 446 | list_for_each_entry(tbfd, l, e_list) +vrrp_track.c:752:2: note: in expansion of macro 'list_for_each_entry' + 752 | list_for_each_entry(tfile, &vrrp_data->vrrp_track_files, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9159,10 +9178,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:446:2: note: in expansion of macro 'list_for_each_entry' - 446 | list_for_each_entry(tbfd, l, e_list) +vrrp_track.c:752:2: note: in expansion of macro 'list_for_each_entry' + 752 | list_for_each_entry(tfile, &vrrp_data->vrrp_track_files, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'dump_garp_delay': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9172,33 +9190,33 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:405:2: note: in expansion of macro 'list_for_each_entry' - 405 | list_for_each_entry(ifp, &if_queue, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'free_track_bfd_list': +vrrp_track.c:753:3: note: in expansion of macro 'list_for_each_entry' + 753 | list_for_each_entry(top, &tfile->tracking_obj, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' - 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_track.c:753:3: note: in expansion of macro 'list_for_each_entry' + 753 | list_for_each_entry(top, &tfile->tracking_obj, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'initialise_process_tracking_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:405:2: note: in expansion of macro 'list_for_each_entry' - 405 | list_for_each_entry(ifp, &if_queue, e_list) { +vrrp_track.c:777:2: note: in expansion of macro 'list_for_each_entry' + 777 | list_for_each_entry(tprocess, &vrrp_data->vrrp_track_processes, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9206,13 +9224,12 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' - 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'dump_garp_delay_list': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_track.c:777:2: note: in expansion of macro 'list_for_each_entry' + 777 | list_for_each_entry(tprocess, &vrrp_data->vrrp_track_processes, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9222,21 +9239,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:415:2: note: in expansion of macro 'list_for_each_entry' - 415 | list_for_each_entry(gd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_track.c:461:2: note: in expansion of macro 'list_for_each_entry_safe' - 461 | list_for_each_entry_safe(tbfd, tbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_track.c:782:3: note: in expansion of macro 'list_for_each_entry' + 782 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9246,10 +9251,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:415:2: note: in expansion of macro 'list_for_each_entry' - 415 | list_for_each_entry(gd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'alloc_track_bfd': +vrrp_track.c:782:3: note: in expansion of macro 'list_for_each_entry' + 782 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'initialise_vrrp_tracking_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9259,8 +9264,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:485:2: note: in expansion of macro 'list_for_each_entry' - 485 | list_for_each_entry(etbfd, l, e_list) { +vrrp_track.c:826:2: note: in expansion of macro 'list_for_each_entry' + 826 | list_for_each_entry(tsc, &vrrp->track_script, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9271,10 +9276,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:485:2: note: in expansion of macro 'list_for_each_entry' - 485 | list_for_each_entry(etbfd, l, e_list) { +vrrp_track.c:826:2: note: in expansion of macro 'list_for_each_entry' + 826 | list_for_each_entry(tsc, &vrrp->track_script, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'set_default_garp_delay': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9284,8 +9288,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:452:2: note: in expansion of macro 'list_for_each_entry' - 452 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_track.c:831:2: note: in expansion of macro 'list_for_each_entry' + 831 | list_for_each_entry(tbfd, &vrrp->track_bfd, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9296,10 +9300,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:452:2: note: in expansion of macro 'list_for_each_entry' - 452 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_track.c:831:2: note: in expansion of macro 'list_for_each_entry' + 831 | list_for_each_entry(tbfd, &vrrp->track_bfd, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_if.c: In function 'dump_if': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9309,8 +9312,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:491:3: note: in expansion of macro 'list_for_each_entry' - 491 | list_for_each_entry(saddr, &ifp->sin_addr_l, e_list) +vrrp_track.c:837:3: note: in expansion of macro 'list_for_each_entry' + 837 | list_for_each_entry(tsc, &vrrp->sync->track_script, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9321,9 +9324,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:491:3: note: in expansion of macro 'list_for_each_entry' - 491 | list_for_each_entry(saddr, &ifp->sin_addr_l, e_list) +vrrp_track.c:837:3: note: in expansion of macro 'list_for_each_entry' + 837 | list_for_each_entry(tsc, &vrrp->sync->track_script, e_list) | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'initialise_tracking_priorities': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9333,33 +9337,33 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_if.c:501:3: note: in expansion of macro 'list_for_each_entry' - 501 | list_for_each_entry(saddr, &ifp->sin6_addr_l, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'update_script_priorities': +vrrp_track.c:859:2: note: in expansion of macro 'list_for_each_entry' + 859 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:648:2: note: in expansion of macro 'list_for_each_entry' - 648 | list_for_each_entry(top, &vscript->tracking_vrrp, e_list) { +vrrp_track.c:859:2: note: in expansion of macro 'list_for_each_entry' + 859 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ +vrrp_track.c: In function 'process_update_track_process_status': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:648:2: note: in expansion of macro 'list_for_each_entry' - 648 | list_for_each_entry(top, &vscript->tracking_vrrp, e_list) { +vrrp_track.c:892:2: note: in expansion of macro 'list_for_each_entry' + 892 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9370,10 +9374,13 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_if.c:501:3: note: in expansion of macro 'list_for_each_entry' - 501 | list_for_each_entry(saddr, &ifp->sin6_addr_l, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'initialise_interface_tracking_priorities': +vrrp_track.c:892:2: note: in expansion of macro 'list_for_each_entry' + 892 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +In file included from ../../lib/list_head.h:28, + from ../../keepalived/include/global_data.h:51, + from vrrp_if.c:54: +vrrp_if.c: In function 'if_get_by_ifindex': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9383,8 +9390,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:720:2: note: in expansion of macro 'list_for_each_entry' - 720 | list_for_each_entry(ifp, ifq, e_list) { +vrrp_if.c:95:2: note: in expansion of macro 'list_for_each_entry' + 95 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9395,34 +9402,47 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:720:2: note: in expansion of macro 'list_for_each_entry' - 720 | list_for_each_entry(ifp, ifq, e_list) { +vrrp_if.c:95:2: note: in expansion of macro 'list_for_each_entry' + 95 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'if_extra_ipaddress_free_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -vrrp_track.c:721:3: note: in expansion of macro 'list_for_each_entry' - 721 | list_for_each_entry(top, &ifp->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' + 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_track.c:721:3: note: in expansion of macro 'list_for_each_entry' - 721 | list_for_each_entry(top, &ifp->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'initialise_vrrp_file_tracking_priorities': +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' + 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_if.c:150:2: note: in expansion of macro 'list_for_each_entry_safe' + 150 | list_for_each_entry_safe(addr, addr_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'if_tracking_vrrp_dump_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9432,8 +9452,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:752:2: note: in expansion of macro 'list_for_each_entry' - 752 | list_for_each_entry(tfile, &vrrp_data->vrrp_track_files, e_list) { +vrrp_if.c:159:2: note: in expansion of macro 'list_for_each_entry' + 159 | list_for_each_entry(top, l, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9444,9 +9464,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:752:2: note: in expansion of macro 'list_for_each_entry' - 752 | list_for_each_entry(tfile, &vrrp_data->vrrp_track_files, e_list) { +vrrp_if.c:159:2: note: in expansion of macro 'list_for_each_entry' + 159 | list_for_each_entry(top, l, e_list) | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'if_get_by_ifname': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9456,9 +9477,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:753:3: note: in expansion of macro 'list_for_each_entry' - 753 | list_for_each_entry(top, &tfile->tracking_obj, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:168:2: note: in expansion of macro 'list_for_each_entry' + 168 | list_for_each_entry(ifp, &if_queue, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9468,10 +9489,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:753:3: note: in expansion of macro 'list_for_each_entry' - 753 | list_for_each_entry(top, &tfile->tracking_obj, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'initialise_process_tracking_priorities': +vrrp_if.c:168:2: note: in expansion of macro 'list_for_each_entry' + 168 | list_for_each_entry(ifp, &if_queue, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'set_base_ifp': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9481,8 +9502,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:777:2: note: in expansion of macro 'list_for_each_entry' - 777 | list_for_each_entry(tprocess, &vrrp_data->vrrp_track_processes, e_list) { +vrrp_if.c:210:2: note: in expansion of macro 'list_for_each_entry' + 210 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9493,34 +9514,47 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:777:2: note: in expansion of macro 'list_for_each_entry' - 777 | list_for_each_entry(tprocess, &vrrp_data->vrrp_track_processes, e_list) { +vrrp_if.c:210:2: note: in expansion of macro 'list_for_each_entry' + 210 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'free_garp_delay_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -vrrp_track.c:782:3: note: in expansion of macro 'list_for_each_entry' - 782 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' + 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_track.c:782:3: note: in expansion of macro 'list_for_each_entry' - 782 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'initialise_vrrp_tracking_priorities': +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' + 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_if.c:376:2: note: in expansion of macro 'list_for_each_entry_safe' + 376 | list_for_each_entry_safe(gd, gd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'dump_garp_delay': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9530,8 +9564,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:826:2: note: in expansion of macro 'list_for_each_entry' - 826 | list_for_each_entry(tsc, &vrrp->track_script, e_list) +vrrp_if.c:405:2: note: in expansion of macro 'list_for_each_entry' + 405 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9542,9 +9576,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:826:2: note: in expansion of macro 'list_for_each_entry' - 826 | list_for_each_entry(tsc, &vrrp->track_script, e_list) +vrrp_if.c:405:2: note: in expansion of macro 'list_for_each_entry' + 405 | list_for_each_entry(ifp, &if_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'dump_garp_delay_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9554,8 +9589,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:831:2: note: in expansion of macro 'list_for_each_entry' - 831 | list_for_each_entry(tbfd, &vrrp->track_bfd, e_list) +vrrp_if.c:415:2: note: in expansion of macro 'list_for_each_entry' + 415 | list_for_each_entry(gd, l, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -9566,9 +9601,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:831:2: note: in expansion of macro 'list_for_each_entry' - 831 | list_for_each_entry(tbfd, &vrrp->track_bfd, e_list) +vrrp_if.c:415:2: note: in expansion of macro 'list_for_each_entry' + 415 | list_for_each_entry(gd, l, e_list) | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'set_default_garp_delay': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9578,9 +9614,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:837:3: note: in expansion of macro 'list_for_each_entry' - 837 | list_for_each_entry(tsc, &vrrp->sync->track_script, e_list) - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:452:2: note: in expansion of macro 'list_for_each_entry' + 452 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9590,10 +9626,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:837:3: note: in expansion of macro 'list_for_each_entry' - 837 | list_for_each_entry(tsc, &vrrp->sync->track_script, e_list) - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'initialise_tracking_priorities': +vrrp_if.c:452:2: note: in expansion of macro 'list_for_each_entry' + 452 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c: In function 'dump_if': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9603,9 +9639,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:859:2: note: in expansion of macro 'list_for_each_entry' - 859 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:491:3: note: in expansion of macro 'list_for_each_entry' + 491 | list_for_each_entry(saddr, &ifp->sin_addr_l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9615,10 +9651,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:859:2: note: in expansion of macro 'list_for_each_entry' - 859 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_track.c: In function 'process_update_track_process_status': +vrrp_if.c:491:3: note: in expansion of macro 'list_for_each_entry' + 491 | list_for_each_entry(saddr, &ifp->sin_addr_l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9628,9 +9663,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_track.c:892:2: note: in expansion of macro 'list_for_each_entry' - 892 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:501:3: note: in expansion of macro 'list_for_each_entry' + 501 | list_for_each_entry(saddr, &ifp->sin6_addr_l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -9640,9 +9675,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_track.c:892:2: note: in expansion of macro 'list_for_each_entry' - 892 | list_for_each_entry(top, &tprocess->tracking_vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_if.c:501:3: note: in expansion of macro 'list_for_each_entry' + 501 | list_for_each_entry(saddr, &ifp->sin6_addr_l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ vrrp_if.c: In function 'init_interface_linkbeat': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10241,6 +10276,13 @@ 735 | list_for_each_entry_safe(ip_addr, ip_addr_tmp, &old->evip, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_ndisc.o vrrp_ndisc.c +vrrp_ndisc.c: In function 'ndisc_send_unsolicited_na_immediate': +vrrp_ndisc.c:148:24: warning: cast increases required alignment of target type [-Wcast-align] + 148 | struct ip6hdr *ip6h = (struct ip6hdr *) ((char *)eth + ETHER_HDR_LEN); + | ^ +vrrp_ndisc.c:149:35: warning: cast increases required alignment of target type [-Wcast-align] + 149 | struct nd_neighbor_advert *ndh = (struct nd_neighbor_advert*) ((char *)ip6h + sizeof(struct ip6hdr)); + | ^ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_if_config.o vrrp_if_config.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, @@ -10297,13 +10339,6 @@ vrrp_if_config.c:509:2: note: in expansion of macro 'list_for_each_entry' 509 | list_for_each_entry(ifp, ifq, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_ndisc.c: In function 'ndisc_send_unsolicited_na_immediate': -vrrp_ndisc.c:148:24: warning: cast increases required alignment of target type [-Wcast-align] - 148 | struct ip6hdr *ip6h = (struct ip6hdr *) ((char *)eth + ETHER_HDR_LEN); - | ^ -vrrp_ndisc.c:149:35: warning: cast increases required alignment of target type [-Wcast-align] - 149 | struct nd_neighbor_advert *ndh = (struct nd_neighbor_advert*) ((char *)ip6h + sizeof(struct ip6hdr)); - | ^ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_static_track.o vrrp_static_track.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_vmac.o vrrp_vmac.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_ipsecah.o vrrp_ipsecah.c @@ -10661,12 +10696,9 @@ | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_iproute.o vrrp_iproute.c In file included from ../../lib/list_head.h:28, - from ../../lib/scheduler.h:39, - from ../../lib/notify.h:31, - from ../../keepalived/include/vrrp.h:41, - from ../../keepalived/include/vrrp_dbus.h:30, - from vrrp_dbus.c:66: -vrrp_dbus.c: In function 'get_vrrp_instance': + from ../../keepalived/include/vrrp_iproute.h:40, + from vrrp_iproute.c:44: +vrrp_iproute.c: In function 'add_nexthops': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10676,8 +10708,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_dbus.c:201:2: note: in expansion of macro 'list_for_each_entry' - 201 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_iproute.c:282:2: note: in expansion of macro 'list_for_each_entry' + 282 | list_for_each_entry(nh, &route->nhs, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10688,10 +10720,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_dbus.c:201:2: note: in expansion of macro 'list_for_each_entry' - 201 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_iproute.c:282:2: note: in expansion of macro 'list_for_each_entry' + 282 | list_for_each_entry(nh, &route->nhs, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_dbus.c: In function 'on_bus_acquired': +vrrp_iproute.c: In function 'netlink_rtlist': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10701,8 +10733,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_dbus.c:575:2: note: in expansion of macro 'list_for_each_entry' - 575 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) +vrrp_iproute.c:527:2: note: in expansion of macro 'list_for_each_entry' + 527 | list_for_each_entry(ip_route, rt_list, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10713,87 +10745,84 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_dbus.c:575:2: note: in expansion of macro 'list_for_each_entry' - 575 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) +vrrp_iproute.c:527:2: note: in expansion of macro 'list_for_each_entry' + 527 | list_for_each_entry(ip_route, rt_list, e_list) { | ^~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c: In function 'free_nh_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -vrrp_dbus.c:584:2: note: in expansion of macro 'list_for_each_entry' - 584 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) - | ^~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' + 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_dbus.c:584:2: note: in expansion of macro 'list_for_each_entry' - 584 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) - | ^~~~~~~~~~~~~~~~~~~ -vrrp_dbus.c: In function 'dbus_reload': +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' + 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_dbus.c:852:2: note: in expansion of macro 'list_for_each_entry' - 852 | list_for_each_entry(vrrp_n, n, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' + 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c: In function 'free_iproute_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -vrrp_dbus.c:852:2: note: in expansion of macro 'list_for_each_entry' - 852 | list_for_each_entry(vrrp_n, n, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' + 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_dbus.c:860:3: note: in expansion of macro 'list_for_each_entry' - 860 | list_for_each_entry(vrrp_o, o, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' + 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_dbus.c:860:3: note: in expansion of macro 'list_for_each_entry' - 860 | list_for_each_entry(vrrp_o, o, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_iprule.o vrrp_iprule.c -In file included from ../../lib/list_head.h:28, - from ../../keepalived/include/vrrp_iproute.h:40, - from vrrp_iproute.c:44: -vrrp_iproute.c: In function 'add_nexthops': +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' + 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c: In function 'format_iproute': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10803,8 +10832,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:282:2: note: in expansion of macro 'list_for_each_entry' - 282 | list_for_each_entry(nh, &route->nhs, e_list) { +vrrp_iproute.c:846:2: note: in expansion of macro 'list_for_each_entry' + 846 | list_for_each_entry(nh, &route->nhs, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10815,10 +10844,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:282:2: note: in expansion of macro 'list_for_each_entry' - 282 | list_for_each_entry(nh, &route->nhs, e_list) { +vrrp_iproute.c:846:2: note: in expansion of macro 'list_for_each_entry' + 846 | list_for_each_entry(nh, &route->nhs, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'netlink_rtlist': +vrrp_iproute.c: In function 'dump_iproute_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10828,8 +10857,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:527:2: note: in expansion of macro 'list_for_each_entry' - 527 | list_for_each_entry(ip_route, rt_list, e_list) { +vrrp_iproute.c:912:2: note: in expansion of macro 'list_for_each_entry' + 912 | list_for_each_entry(route, l, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10840,84 +10869,92 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:527:2: note: in expansion of macro 'list_for_each_entry' - 527 | list_for_each_entry(ip_route, rt_list, e_list) { +vrrp_iproute.c:912:2: note: in expansion of macro 'list_for_each_entry' + 912 | list_for_each_entry(route, l, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'free_nh_list': +vrrp_iproute.c: In function 'route_exist': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' - 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c:1819:2: note: in expansion of macro 'list_for_each_entry' + 1819 | list_for_each_entry(ip_route, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' - 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_iproute.c:1819:2: note: in expansion of macro 'list_for_each_entry' + 1819 | list_for_each_entry(ip_route, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c: In function 'clear_diff_routes': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_iproute.c:555:2: note: in expansion of macro 'list_for_each_entry_safe' - 555 | list_for_each_entry_safe(nh, nh_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'free_iproute_list': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_iproute.c:1851:2: note: in expansion of macro 'list_for_each_entry' + 1851 | list_for_each_entry(route, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' - 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +vrrp_iproute.c:1851:2: note: in expansion of macro 'list_for_each_entry' + 1851 | list_for_each_entry(route, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_iprule.o vrrp_iprule.c +In file included from ../../lib/list_head.h:28, + from ../../lib/scheduler.h:39, + from ../../lib/notify.h:31, + from ../../keepalived/include/vrrp.h:41, + from ../../keepalived/include/vrrp_dbus.h:30, + from vrrp_dbus.c:66: +vrrp_dbus.c: In function 'get_vrrp_instance': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' - 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_dbus.c:201:2: note: in expansion of macro 'list_for_each_entry' + 201 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -vrrp_iproute.c:578:2: note: in expansion of macro 'list_for_each_entry_safe' - 578 | list_for_each_entry_safe(route, route_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'format_iproute': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_dbus.c:201:2: note: in expansion of macro 'list_for_each_entry' + 201 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_dbus.c: In function 'on_bus_acquired': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10927,8 +10964,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:846:2: note: in expansion of macro 'list_for_each_entry' - 846 | list_for_each_entry(nh, &route->nhs, e_list) { +vrrp_dbus.c:575:2: note: in expansion of macro 'list_for_each_entry' + 575 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10939,10 +10976,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:846:2: note: in expansion of macro 'list_for_each_entry' - 846 | list_for_each_entry(nh, &route->nhs, e_list) { +vrrp_dbus.c:575:2: note: in expansion of macro 'list_for_each_entry' + 575 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'dump_iproute_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10952,8 +10988,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:912:2: note: in expansion of macro 'list_for_each_entry' - 912 | list_for_each_entry(route, l, e_list) +vrrp_dbus.c:584:2: note: in expansion of macro 'list_for_each_entry' + 584 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10964,10 +11000,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:912:2: note: in expansion of macro 'list_for_each_entry' - 912 | list_for_each_entry(route, l, e_list) +vrrp_dbus.c:584:2: note: in expansion of macro 'list_for_each_entry' + 584 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) | ^~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'route_exist': +vrrp_dbus.c: In function 'dbus_reload': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -10977,8 +11013,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:1819:2: note: in expansion of macro 'list_for_each_entry' - 1819 | list_for_each_entry(ip_route, l, e_list) { +vrrp_dbus.c:852:2: note: in expansion of macro 'list_for_each_entry' + 852 | list_for_each_entry(vrrp_n, n, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -10989,10 +11025,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:1819:2: note: in expansion of macro 'list_for_each_entry' - 1819 | list_for_each_entry(ip_route, l, e_list) { +vrrp_dbus.c:852:2: note: in expansion of macro 'list_for_each_entry' + 852 | list_for_each_entry(vrrp_n, n, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_iproute.c: In function 'clear_diff_routes': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -11002,9 +11037,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_iproute.c:1851:2: note: in expansion of macro 'list_for_each_entry' - 1851 | list_for_each_entry(route, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_dbus.c:860:3: note: in expansion of macro 'list_for_each_entry' + 860 | list_for_each_entry(vrrp_o, o, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -11014,9 +11049,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_iproute.c:1851:2: note: in expansion of macro 'list_for_each_entry' - 1851 | list_for_each_entry(route, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_dbus.c:860:3: note: in expansion of macro 'list_for_each_entry' + 860 | list_for_each_entry(vrrp_o, o, e_list) { + | ^~~~~~~~~~~~~~~~~~~ In file included from ../../lib/list_head.h:28, from ../../keepalived/include/vrrp_iproute.h:40, from vrrp_iprule.c:43: @@ -11216,6 +11251,7 @@ vrrp_nftables.c:1669:2: note: in expansion of macro 'list_for_each_entry' 1669 | list_for_each_entry(ip_addr, &vrrp->evip, e_list) { | ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_json.o vrrp_json.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../lib/notify.h:31, @@ -11683,57 +11719,62 @@ vrrp_snmp.c:3568:2: note: in expansion of macro 'list_for_each_entry' 3568 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_snmp.c: In function 'vrrp_rfcv3_header_ar_table': -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vrrp_json.o vrrp_json.c +In file included from ../../lib/list_head.h:28, + from ../../lib/scheduler.h:39, + from ../../lib/notify.h:31, + from ../../keepalived/include/vrrp.h:41, + from vrrp_json.c:31: +vrrp_json.c: In function 'vrrp_json_ip_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_snmp.c:3900:2: note: in expansion of macro 'list_for_each_entry' - 3900 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_json.c:63:25: note: in expansion of macro 'list_entry' + 63 | ip_address_t *ipaddr = list_entry(e, ip_address_t, e_list); + | ^~~~~~~~~~ +vrrp_json.c: In function 'vrrp_json_vroute_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_snmp.c:3900:2: note: in expansion of macro 'list_for_each_entry' - 3900 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_json.c:75:24: note: in expansion of macro 'list_entry' + 75 | ip_route_t *iproute = list_entry(e, ip_route_t, e_list); + | ^~~~~~~~~~ +vrrp_json.c: In function 'vrrp_json_vrule_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -vrrp_snmp.c:3927:3: note: in expansion of macro 'list_for_each_entry' - 3927 | list_for_each_entry(vip, &vrrp->vip, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +vrrp_json.c:86:22: note: in expansion of macro 'list_entry' + 86 | ip_rule_t *iprule = list_entry(e, ip_rule_t, e_list); + | ^~~~~~~~~~ +vrrp_json.c: In function 'vrrp_json_track_ifp_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -vrrp_snmp.c:3927:3: note: in expansion of macro 'list_for_each_entry' - 3927 | list_for_each_entry(vip, &vrrp->vip, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -vrrp_snmp.c: In function 'snmp_rfcv3_header_list_table': +vrrp_json.c:98:22: note: in expansion of macro 'list_entry' + 98 | tracked_if_t *tip = list_entry(e, tracked_if_t, e_list); + | ^~~~~~~~~~ +vrrp_json.c: In function 'vrrp_json_track_script_dump': +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +vrrp_json.c:108:22: note: in expansion of macro 'list_entry' + 108 | tracked_sc_t *tsc = list_entry(e, tracked_sc_t, e_list); + | ^~~~~~~~~~ +vrrp_json.c: In function 'vrrp_json_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -11743,8 +11784,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_snmp.c:4039:2: note: in expansion of macro 'list_for_each_entry' - 4039 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_json.c:267:2: note: in expansion of macro 'list_for_each_entry' + 267 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -11755,10 +11796,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_snmp.c:4039:2: note: in expansion of macro 'list_for_each_entry' - 4039 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_json.c:267:2: note: in expansion of macro 'list_for_each_entry' + 267 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ -vrrp_snmp.c: In function 'vrrp_rfcv3_snmp_stats': +vrrp_snmp.c: In function 'vrrp_rfcv3_header_ar_table': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -11768,8 +11809,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_snmp.c:4235:2: note: in expansion of macro 'list_for_each_entry' - 4235 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_snmp.c:3900:2: note: in expansion of macro 'list_for_each_entry' + 3900 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -11780,65 +11821,59 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_snmp.c:4235:2: note: in expansion of macro 'list_for_each_entry' - 4235 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_snmp.c:3900:2: note: in expansion of macro 'list_for_each_entry' + 3900 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ -In file included from ../../lib/list_head.h:28, - from ../../lib/scheduler.h:39, - from ../../lib/notify.h:31, - from ../../keepalived/include/vrrp.h:41, - from vrrp_json.c:31: -vrrp_json.c: In function 'vrrp_json_ip_dump': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -vrrp_json.c:63:25: note: in expansion of macro 'list_entry' - 63 | ip_address_t *ipaddr = list_entry(e, ip_address_t, e_list); - | ^~~~~~~~~~ -vrrp_json.c: In function 'vrrp_json_vroute_dump': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -vrrp_json.c:75:24: note: in expansion of macro 'list_entry' - 75 | ip_route_t *iproute = list_entry(e, ip_route_t, e_list); - | ^~~~~~~~~~ -vrrp_json.c: In function 'vrrp_json_vrule_dump': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_snmp.c:3927:3: note: in expansion of macro 'list_for_each_entry' + 3927 | list_for_each_entry(vip, &vrrp->vip, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -vrrp_json.c:86:22: note: in expansion of macro 'list_entry' - 86 | ip_rule_t *iprule = list_entry(e, ip_rule_t, e_list); - | ^~~~~~~~~~ -vrrp_json.c: In function 'vrrp_json_track_ifp_dump': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_snmp.c:3927:3: note: in expansion of macro 'list_for_each_entry' + 3927 | list_for_each_entry(vip, &vrrp->vip, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_snmp.c: In function 'snmp_rfcv3_header_list_table': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -vrrp_json.c:98:22: note: in expansion of macro 'list_entry' - 98 | tracked_if_t *tip = list_entry(e, tracked_if_t, e_list); - | ^~~~~~~~~~ -vrrp_json.c: In function 'vrrp_json_track_script_dump': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +vrrp_snmp.c:4039:2: note: in expansion of macro 'list_for_each_entry' + 4039 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -vrrp_json.c:108:22: note: in expansion of macro 'list_entry' - 108 | tracked_sc_t *tsc = list_entry(e, tracked_sc_t, e_list); - | ^~~~~~~~~~ -vrrp_json.c: In function 'vrrp_json_dump': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +vrrp_snmp.c:4039:2: note: in expansion of macro 'list_for_each_entry' + 4039 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +vrrp_snmp.c: In function 'vrrp_rfcv3_snmp_stats': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -11848,8 +11883,8 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -vrrp_json.c:267:2: note: in expansion of macro 'list_for_each_entry' - 267 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_snmp.c:4235:2: note: in expansion of macro 'list_for_each_entry' + 4235 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -11860,8 +11895,8 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -vrrp_json.c:267:2: note: in expansion of macro 'list_for_each_entry' - 267 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { +vrrp_snmp.c:4235:2: note: in expansion of macro 'list_for_each_entry' + 4235 | list_for_each_entry(vrrp, &vrrp_data->vrrp, e_list) { | ^~~~~~~~~~~~~~~~~~~ rm -f libvrrp.a ar cr libvrrp.a vrrp_daemon.o vrrp_print.o vrrp_data.o vrrp_parser.o vrrp.o vrrp_notify.o vrrp_scheduler.o vrrp_sync.o vrrp_arp.o vrrp_if.o vrrp_track.o vrrp_ipaddress.o vrrp_ndisc.o vrrp_if_config.o vrrp_static_track.o vrrp_vmac.o vrrp_ipsecah.o vrrp_dbus.o vrrp_iproute.o vrrp_iprule.o vrrp_ip_rule_route_parser.o vrrp_firewall.o vrrp_firewall.o vrrp_nftables.o vrrp_snmp.o vrrp_json.o @@ -11872,6 +11907,7 @@ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_daemon.o check_daemon.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_data.o check_data.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_parser.o check_parser.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_api.o check_api.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_data.h:39, from check_parser.c:32: @@ -12017,22 +12053,6 @@ 322 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ check_parser.c: In function 'lbflags_handler': -In file included from ../../lib/list_head.h:28, - from ../../keepalived/include/check_data.h:39, - from check_data.c:30: -check_data.c: In function 'free_vsg_entry_list': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' - 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12045,92 +12065,6 @@ check_parser.c:340:25: note: in expansion of macro 'list_last_entry' 340 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' - 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' - 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ -check_data.c: In function 'dump_vsg_entry_list': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:141:2: note: in expansion of macro 'list_for_each_entry' - 141 | list_for_each_entry(vsge, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:141:2: note: in expansion of macro 'list_for_each_entry' - 141 | list_for_each_entry(vsge, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -check_data.c: In function 'free_vsg_list': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' - 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' - 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' - 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'vs_forwarding_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12144,19 +12078,6 @@ check_parser.c:475:25: note: in expansion of macro 'list_last_entry' 475 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'dump_vsg_list': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:174:2: note: in expansion of macro 'list_for_each_entry' - 174 | list_for_each_entry(vsg, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'pto_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12164,18 +12085,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:174:2: note: in expansion of macro 'list_for_each_entry' - 174 | list_for_each_entry(vsg, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12183,7 +12092,6 @@ 500 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ check_parser.c: In function 'pengine_handler': -check_data.c: In function 'alloc_vsg_entry': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12196,18 +12104,6 @@ check_parser.c:519:25: note: in expansion of macro 'list_last_entry' 519 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -check_data.c:193:32: note: in expansion of macro 'list_last_entry' - 193 | virtual_server_group_t *vsg = list_last_entry(&check_data->vs_group, virtual_server_group_t, e_list); - | ^~~~~~~~~~~~~~~ check_parser.c: In function 'pgr_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12260,19 +12156,6 @@ check_parser.c:599:25: note: in expansion of macro 'list_last_entry' 599 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'free_rs_list': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' - 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'vs_virtualhost_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12280,36 +12163,12 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' - 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ check_parser.c:616:25: note: in expansion of macro 'list_last_entry' 616 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' - 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'ssvri_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12323,27 +12182,7 @@ check_parser.c:635:25: note: in expansion of macro 'list_last_entry' 635 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -In file included from ../../lib/list_head.h:28, - from ../../keepalived/include/check_data.h:39, - from ../../keepalived/include/ipwrapper.h:30, - from check_daemon.c:48: -check_daemon.c: In function 'checker_shutdown_backstop_thread': check_parser.c: In function 'ss_forwarding_handler': -../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] - 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' - 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) - | ^~~~~~~~~~~~~~~~~~ -../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' - 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ - | ^~~~~~~~~~~~~~ -../../lib/rbtree.h:345:13: note: in expansion of macro 'rb_entry_safe_const' - 345 | for (pos = rb_entry_safe_const(rb_first_cached(root), typeof(*pos), member); \ - | ^~~~~~~~~~~~~~~~~~~ -check_daemon.c:220:2: note: in expansion of macro 'rb_for_each_entry_cached_const' - 220 | rb_for_each_entry_cached_const(t, &thread->master->child, n) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12356,21 +12195,6 @@ check_parser.c:644:25: note: in expansion of macro 'list_last_entry' 644 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] - 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' - 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) - | ^~~~~~~~~~~~~~~~~~ -../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' - 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ - | ^~~~~~~~~~~~~~ -../../lib/rbtree.h:346:18: note: in expansion of macro 'rb_entry_safe_const' - 346 | pos; pos = rb_entry_safe_const(rb_next(&pos->member), typeof(*pos), member)) - | ^~~~~~~~~~~~~~~~~~~ -check_daemon.c:220:2: note: in expansion of macro 'rb_for_each_entry_cached_const' - 220 | rb_for_each_entry_cached_const(t, &thread->master->child, n) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'rs_end_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12384,19 +12208,6 @@ check_parser.c:667:7: note: in expansion of macro 'list_last_entry' 667 | vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'dump_rs': -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:419:3: note: in expansion of macro 'list_for_each_entry' - 419 | list_for_each_entry(tbfd, &rs->tracked_bfds, e_list) - | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12409,20 +12220,7 @@ check_parser.c:672:7: note: in expansion of macro 'list_last_entry' 672 | rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:419:3: note: in expansion of macro 'list_for_each_entry' - 419 | list_for_each_entry(tbfd, &rs->tracked_bfds, e_list) - | ^~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'rs_weight_handler': -check_data.c: In function 'dump_rs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12441,37 +12239,12 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:429:2: note: in expansion of macro 'list_for_each_entry' - 429 | list_for_each_entry(rs, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ check_parser.c:693:22: note: in expansion of macro 'list_last_entry' 693 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:429:2: note: in expansion of macro 'list_for_each_entry' - 429 | list_for_each_entry(rs, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -check_data.c: In function 'alloc_rs': check_parser.c: In function 'rs_forwarding_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12482,18 +12255,6 @@ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ -check_data.c:436:25: note: in expansion of macro 'list_last_entry' - 436 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); - | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ check_parser.c:706:25: note: in expansion of macro 'list_last_entry' 706 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ @@ -12522,7 +12283,6 @@ check_parser.c:714:25: note: in expansion of macro 'list_last_entry' 714 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'free_vs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -12535,18 +12295,6 @@ check_parser.c:715:22: note: in expansion of macro 'list_last_entry' 715 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' - 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'lthreshold_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12554,18 +12302,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' - 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12578,18 +12314,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' - 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12709,7 +12433,6 @@ check_parser.c:787:22: note: in expansion of macro 'list_last_entry' 787 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'dump_vs_list': check_parser.c: In function 'rs_delay_before_retry_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12717,30 +12440,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:641:2: note: in expansion of macro 'list_for_each_entry' - 641 | list_for_each_entry(vs, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:641:2: note: in expansion of macro 'list_for_each_entry' - 641 | list_for_each_entry(vs, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12784,7 +12483,6 @@ check_parser.c:811:22: note: in expansion of macro 'list_last_entry' 811 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'alloc_ssvr': check_parser.c: In function 'rs_warmup_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12795,18 +12493,6 @@ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ -check_data.c:717:25: note: in expansion of macro 'list_last_entry' - 717 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); - | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ check_parser.c:823:25: note: in expansion of macro 'list_last_entry' 823 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ @@ -12822,7 +12508,6 @@ check_parser.c:824:22: note: in expansion of macro 'list_last_entry' 824 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'dump_checker_bfd_list': check_parser.c: In function 'rs_inhibit_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12830,18 +12515,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:759:2: note: in expansion of macro 'list_for_each_entry' - 759 | list_for_each_entry(cbfd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12854,25 +12527,12 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:759:2: note: in expansion of macro 'list_for_each_entry' - 759 | list_for_each_entry(cbfd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ check_parser.c:836:22: note: in expansion of macro 'list_last_entry' 836 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -check_data.c: In function 'free_checker_bfd_list': check_parser.c: In function 'rs_alpha_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12880,18 +12540,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' - 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -12904,36 +12552,12 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' - 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ check_parser.c:852:22: note: in expansion of macro 'list_last_entry' 852 | real_server_t *rs = list_last_entry(&vs->rs, real_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' - 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'rs_smtp_alert_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -12998,7 +12622,6 @@ 897 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ check_parser.c: In function 'omega_handler': -check_data.c: In function 'check_check_script_security': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13011,18 +12634,6 @@ check_parser.c:903:25: note: in expansion of macro 'list_last_entry' 903 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:920:2: note: in expansion of macro 'list_for_each_entry' - 920 | list_for_each_entry(vs, &check_data->vs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'quorum_up_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13036,18 +12647,6 @@ check_parser.c:909:25: note: in expansion of macro 'list_last_entry' 909 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:920:2: note: in expansion of macro 'list_for_each_entry' - 920 | list_for_each_entry(vs, &check_data->vs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'quorum_down_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13055,18 +12654,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:924:3: note: in expansion of macro 'list_for_each_entry' - 924 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -13080,18 +12667,6 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:924:3: note: in expansion of macro 'list_for_each_entry' - 924 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -13099,7 +12674,6 @@ 929 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ check_parser.c: In function 'hysteresis_handler': -check_data.c: In function 'validate_check_config': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13112,18 +12686,6 @@ check_parser.c:942:25: note: in expansion of macro 'list_last_entry' 942 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ -../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] - 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) - | ^ -../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' - 266 | container_of(ptr, type, member) - | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' - 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ check_parser.c: In function 'vs_weight_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13137,6 +12699,22 @@ check_parser.c:955:25: note: in expansion of macro 'list_last_entry' 955 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); | ^~~~~~~~~~~~~~~ +In file included from ../../lib/list_head.h:28, + from ../../keepalived/include/check_data.h:39, + from check_data.c:30: +check_data.c: In function 'free_vsg_entry_list': +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ + | ^~~~~~~~~~ +check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' + 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13146,8 +12724,8 @@ ../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' - 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { +check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' + 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13158,9 +12736,10 @@ ../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ -check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' - 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { +check_data.c:101:2: note: in expansion of macro 'list_for_each_entry_safe' + 101 | list_for_each_entry_safe(vsge, vsge_tmp, l, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'dump_vsg_entry_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13170,9 +12749,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:1005:4: note: in expansion of macro 'list_for_each_entry' - 1005 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:141:2: note: in expansion of macro 'list_for_each_entry' + 141 | list_for_each_entry(vsge, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13182,9 +12761,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -check_data.c:1005:4: note: in expansion of macro 'list_for_each_entry' - 1005 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:141:2: note: in expansion of macro 'list_for_each_entry' + 141 | list_for_each_entry(vsge, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'free_vsg_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13194,9 +12774,9 @@ ../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' - 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' + 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13206,9 +12786,9 @@ ../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' - 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' + 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13218,9 +12798,10 @@ ../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ -check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' - 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c:158:2: note: in expansion of macro 'list_for_each_entry_safe' + 158 | list_for_each_entry_safe(vsg, vsg_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'dump_vsg_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13230,9 +12811,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:1041:4: note: in expansion of macro 'list_for_each_entry' - 1041 | list_for_each_entry(rs1, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:174:2: note: in expansion of macro 'list_for_each_entry' + 174 | list_for_each_entry(vsg, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13242,57 +12823,95 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -check_data.c:1041:4: note: in expansion of macro 'list_for_each_entry' - 1041 | list_for_each_entry(rs1, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:174:2: note: in expansion of macro 'list_for_each_entry' + 174 | list_for_each_entry(vsg, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'alloc_vsg_entry': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:1150:5: note: in expansion of macro 'list_for_each_entry' - 1150 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +check_data.c:193:32: note: in expansion of macro 'list_last_entry' + 193 | virtual_server_group_t *vsg = list_last_entry(&check_data->vs_group, virtual_server_group_t, e_list); + | ^~~~~~~~~~~~~~~ +check_data.c: In function 'free_rs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -check_data.c:1150:5: note: in expansion of macro 'list_for_each_entry' - 1150 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' + 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:1160:4: note: in expansion of macro 'list_for_each_entry' - 1160 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' + 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -check_data.c:1160:4: note: in expansion of macro 'list_for_each_entry' - 1160 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +check_data.c:355:2: note: in expansion of macro 'list_for_each_entry_safe' + 355 | list_for_each_entry_safe(rs, rs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../lib/list_head.h:28, + from ../../keepalived/include/check_data.h:39, + from ../../keepalived/include/ipwrapper.h:30, + from check_daemon.c:48: +check_daemon.c: In function 'checker_shutdown_backstop_thread': +../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] + 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' + 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) + | ^~~~~~~~~~~~~~~~~~ +../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' + 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ + | ^~~~~~~~~~~~~~ +../../lib/rbtree.h:345:13: note: in expansion of macro 'rb_entry_safe_const' + 345 | for (pos = rb_entry_safe_const(rb_first_cached(root), typeof(*pos), member); \ + | ^~~~~~~~~~~~~~~~~~~ +check_daemon.c:220:2: note: in expansion of macro 'rb_for_each_entry_cached_const' + 220 | rb_for_each_entry_cached_const(t, &thread->master->child, n) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:49:3: warning: cast increases required alignment of target type [-Wcast-align] + 49 | (type *)( (const char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/rbtree.h:67:43: note: in expansion of macro 'container_of_const' + 67 | #define rb_entry_const(ptr, type, member) container_of_const(ptr, type, member) + | ^~~~~~~~~~~~~~~~~~ +../../lib/rbtree.h:132:15: note: in expansion of macro 'rb_entry_const' + 132 | ____ptr ? rb_entry_const(____ptr, type, member) : NULL; \ + | ^~~~~~~~~~~~~~ +../../lib/rbtree.h:346:18: note: in expansion of macro 'rb_entry_safe_const' + 346 | pos; pos = rb_entry_safe_const(rb_next(&pos->member), typeof(*pos), member)) + | ^~~~~~~~~~~~~~~~~~~ +check_daemon.c:220:2: note: in expansion of macro 'rb_for_each_entry_cached_const' + 220 | rb_for_each_entry_cached_const(t, &thread->master->child, n) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'dump_rs': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13302,9 +12921,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:1161:5: note: in expansion of macro 'list_for_each_entry' - 1161 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:419:3: note: in expansion of macro 'list_for_each_entry' + 419 | list_for_each_entry(tbfd, &rs->tracked_bfds, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13314,9 +12933,10 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -check_data.c:1161:5: note: in expansion of macro 'list_for_each_entry' - 1161 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:419:3: note: in expansion of macro 'list_for_each_entry' + 419 | list_for_each_entry(tbfd, &rs->tracked_bfds, e_list) + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'dump_rs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13326,9 +12946,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -check_data.c:1175:4: note: in expansion of macro 'list_for_each_entry' - 1175 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:429:2: note: in expansion of macro 'list_for_each_entry' + 429 | list_for_each_entry(rs, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13338,34 +12958,59 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -check_data.c:1175:4: note: in expansion of macro 'list_for_each_entry' - 1175 | list_for_each_entry(rs, &vs->rs, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +check_data.c:429:2: note: in expansion of macro 'list_for_each_entry' + 429 | list_for_each_entry(rs, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'alloc_rs': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -check_data.c:1216:2: note: in expansion of macro 'list_for_each_entry' - 1216 | list_for_each_entry(checker, &checkers_queue, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +check_data.c:436:25: note: in expansion of macro 'list_last_entry' + 436 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); + | ^~~~~~~~~~~~~~~ +check_data.c: In function 'free_vs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ -check_data.c:1216:2: note: in expansion of macro 'list_for_each_entry' - 1216 | list_for_each_entry(checker, &checkers_queue, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_api.o check_api.c +check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' + 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' + 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +check_data.c:521:2: note: in expansion of macro 'list_for_each_entry_safe' + 521 | list_for_each_entry_safe(vs, vs_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_api.h:34, from check_api.c:30: @@ -13382,6 +13027,7 @@ check_api.c:74:2: note: in expansion of macro 'list_for_each_entry_safe' 74 | list_for_each_entry_safe(checker, checker_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'dump_vs_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13400,12 +13046,36 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:641:2: note: in expansion of macro 'list_for_each_entry' + 641 | list_for_each_entry(vs, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ check_api.c:74:2: note: in expansion of macro 'list_for_each_entry_safe' 74 | list_for_each_entry_safe(checker, checker_tmp, l, e_list) | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:641:2: note: in expansion of macro 'list_for_each_entry' + 641 | list_for_each_entry(vs, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ check_api.c: In function 'dump_checker_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13472,6 +13142,19 @@ check_api.c:204:23: note: in expansion of macro 'CHECKER_GET_CURRENT' 204 | checker_t *checker = CHECKER_GET_CURRENT(); | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'alloc_ssvr': +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +check_data.c:717:25: note: in expansion of macro 'list_last_entry' + 717 | virtual_server_t *vs = list_last_entry(&check_data->vs, virtual_server_t, e_list); + | ^~~~~~~~~~~~~~~ check_api.c: In function 'co_ip_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13492,6 +13175,7 @@ 270 | conn_opts_t *co = CHECKER_GET_CO(); | ^~~~~~~~~~~~~~ check_api.c: In function 'co_port_handler': +check_data.c: In function 'dump_checker_bfd_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13510,6 +13194,18 @@ check_api.c:285:20: note: in expansion of macro 'CHECKER_GET_CO' 285 | conn_opts_t *co = CHECKER_GET_CO(); | ^~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:759:2: note: in expansion of macro 'list_for_each_entry' + 759 | list_for_each_entry(cbfd, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ check_api.c: In function 'co_srcip_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13529,6 +13225,19 @@ check_api.c:300:20: note: in expansion of macro 'CHECKER_GET_CO' 300 | conn_opts_t *co = CHECKER_GET_CO(); | ^~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:759:2: note: in expansion of macro 'list_for_each_entry' + 759 | list_for_each_entry(cbfd, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'free_checker_bfd_list': check_api.c: In function 'co_srcport_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13548,6 +13257,18 @@ check_api.c:314:20: note: in expansion of macro 'CHECKER_GET_CO' 314 | conn_opts_t *co = CHECKER_GET_CO(); | ^~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ + | ^~~~~~~~~~ +check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' + 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ check_api.c: In function 'co_srcif_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13555,6 +13276,18 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' + 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -13676,6 +13409,18 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +check_data.c:777:2: note: in expansion of macro 'list_for_each_entry_safe' + 777 | list_for_each_entry_safe(cbfd, cbfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' 288 | list_entry((ptr)->prev, type, member) | ^~~~~~~~~~ @@ -13751,6 +13496,7 @@ check_api.c:515:2: note: in expansion of macro 'list_for_each_entry_safe' 515 | list_for_each_entry_safe(checker, checker_tmp, &checkers_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'check_check_script_security': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -13769,12 +13515,36 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:920:2: note: in expansion of macro 'list_for_each_entry' + 920 | list_for_each_entry(vs, &check_data->vs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ check_api.c:515:2: note: in expansion of macro 'list_for_each_entry_safe' 515 | list_for_each_entry_safe(checker, checker_tmp, &checkers_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:920:2: note: in expansion of macro 'list_for_each_entry' + 920 | list_for_each_entry(vs, &check_data->vs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ check_api.c: In function 'register_checkers_thread': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13794,12 +13564,37 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:924:3: note: in expansion of macro 'list_for_each_entry' + 924 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ check_api.c:537:2: note: in expansion of macro 'list_for_each_entry' 537 | list_for_each_entry(checker, &checkers_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:924:3: note: in expansion of macro 'list_for_each_entry' + 924 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +check_data.c: In function 'validate_check_config': check_api.c: In function 'addr_matches': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13807,6 +13602,18 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ + | ^~~~~~~~~~ +check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' + 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ @@ -13819,12 +13626,36 @@ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' + 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ check_api.c:601:2: note: in expansion of macro 'list_for_each_entry' 601 | list_for_each_entry(vsg_entry, &vs->vsg->addr_range, e_list) { | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +check_data.c:955:2: note: in expansion of macro 'list_for_each_entry_safe' + 955 | list_for_each_entry_safe(vs, vs_tmp, &check_data->vs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ check_api.c: In function 'update_checker_activity': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) @@ -13874,7 +13705,212 @@ check_api.c:697:3: note: in expansion of macro 'list_for_each_entry' 697 | list_for_each_entry(checker, &checkers_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1005:4: note: in expansion of macro 'list_for_each_entry' + 1005 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1005:4: note: in expansion of macro 'list_for_each_entry' + 1005 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ + | ^~~~~~~~~~ +check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' + 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' + 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +check_data.c:1038:3: note: in expansion of macro 'list_for_each_entry_safe' + 1038 | list_for_each_entry_safe(rs, rs_tmp, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1041:4: note: in expansion of macro 'list_for_each_entry' + 1041 | list_for_each_entry(rs1, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1041:4: note: in expansion of macro 'list_for_each_entry' + 1041 | list_for_each_entry(rs1, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1150:5: note: in expansion of macro 'list_for_each_entry' + 1150 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1150:5: note: in expansion of macro 'list_for_each_entry' + 1150 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1160:4: note: in expansion of macro 'list_for_each_entry' + 1160 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1160:4: note: in expansion of macro 'list_for_each_entry' + 1160 | list_for_each_entry(vsge, &vs->vsg->addr_range, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1161:5: note: in expansion of macro 'list_for_each_entry' + 1161 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1161:5: note: in expansion of macro 'list_for_each_entry' + 1161 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1175:4: note: in expansion of macro 'list_for_each_entry' + 1175 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1175:4: note: in expansion of macro 'list_for_each_entry' + 1175 | list_for_each_entry(rs, &vs->rs, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +check_data.c:1216:2: note: in expansion of macro 'list_for_each_entry' + 1216 | list_for_each_entry(checker, &checkers_queue, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] + 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) + | ^ +../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' + 266 | container_of(ptr, type, member) + | ^~~~~~~~~~~~ +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +check_data.c:1216:2: note: in expansion of macro 'list_for_each_entry' + 1216 | list_for_each_entry(checker, &checkers_queue, e_list) { + | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_tcp.o check_tcp.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_http.o check_http.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_api.h:34, from check_tcp.c:29: @@ -13897,9 +13933,7 @@ check_tcp.c:78:23: note: in expansion of macro 'CHECKER_GET_CO' 78 | if (!check_conn_opts(CHECKER_GET_CO())) { | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_http.o check_http.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_ssl.o check_ssl.c -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_smtp.o check_smtp.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/check_http.h:42, @@ -14610,6 +14644,8 @@ check_http.c:1043:28: note: in expansion of macro 'list_first_entry' 1043 | http_get_check->url_it = list_first_entry(&http_get_check->url, url_t, e_list); | ^~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_smtp.o check_smtp.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_misc.o check_misc.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/check_smtp.h:31, @@ -14770,7 +14806,6 @@ check_smtp.c:272:33: note: in expansion of macro 'CHECKER_GET' 272 | smtp_checker_t *smtp_checker = CHECKER_GET(); | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_misc.o check_misc.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_dns.o check_dns.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, @@ -14814,6 +14849,7 @@ check_misc.c:231:2: note: in expansion of macro 'list_for_each_entry_safe' 231 | list_for_each_entry_safe(checker, checker_tmp, &checkers_queue, e_list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_print.o check_print.c check_dns.c: In function 'dns_recv_thread': check_dns.c:211:13: warning: cast increases required alignment of target type [-Wcast-align] 211 | s_header = (dns_header_t *) dns_check->sbuf; @@ -14926,10 +14962,10 @@ check_dns.c:555:14: note: in expansion of macro 'CHECKER_GET' 555 | dns_check = CHECKER_GET(); | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_print.o check_print.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ipwrapper.o ipwrapper.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ipvswrapper.o ipvswrapper.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libipvs.o libipvs.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_udp.o check_udp.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_data.h:39, from ../../keepalived/include/ipwrapper.h:30, @@ -15840,18 +15876,6 @@ ipvswrapper.c:729:3: note: in expansion of macro 'list_for_each_entry' 729 | list_for_each_entry(vsg_entry, &vs->vsg->addr_range, e_list) { | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ../../lib/timer.h:28, - from ../../keepalived/include/vrrp.h:40, - from ../../keepalived/include/ipvswrapper.h:29, - from ipvswrapper.c:38: -In function 'strncpy', - inlined from 'ipvs_set_srule' at ipvswrapper.c:429:2: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_udp.o check_udp.c -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_ping.o check_ping.c In file included from check_udp.c:32: check_udp.c: In function 'require_reply_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] @@ -15897,8 +15921,17 @@ check_udp.c:92:23: note: in expansion of macro 'CHECKER_GET_CO' 92 | if (!check_conn_opts(CHECKER_GET_CO())) | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_file.o check_file.c -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_snmp.o check_snmp.c +In file included from /usr/include/string.h:495, + from ../../lib/timer.h:28, + from ../../keepalived/include/vrrp.h:40, + from ../../keepalived/include/ipvswrapper.h:29, + from ipvswrapper.c:38: +In function 'strncpy', + inlined from 'ipvs_set_srule' at ipvswrapper.c:429:2: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_ping.o check_ping.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_api.h:34, from ../../keepalived/include/check_ping.h:26, @@ -15938,6 +15971,8 @@ check_ping.c:264:14: warning: cast increases required alignment of target type [-Wcast-align] 264 | icmp6_hdr = (const struct icmp6_hdr*)recv_buf; | ^ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_file.o check_file.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_snmp.o check_snmp.c In file included from ../../lib/list_head.h:28, from ../../keepalived/include/check_data.h:39, from check_file.c:28: @@ -16631,185 +16666,179 @@ gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd.o bfd.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_data.o bfd_data.c gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_parser.o bfd_parser.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_daemon.o bfd_daemon.c bfd.c: In function 'bfd_build_packet': bfd.c:184:13: warning: cast increases required alignment of target type [-Wcast-align] 184 | pkt->hdr = (bfdhdr_t *) buf; | ^ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_daemon.o bfd_daemon.c +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_scheduler.o bfd_scheduler.c In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/bfd.h:29, - from bfd_parser.c:25: -bfd_parser.c: In function 'bfd_nbrip_handler': + from bfd_data.c:25: +bfd_data.c: In function 'free_bfd_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:86:8: note: in expansion of macro 'list_last_entry' - 86 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_srcip_handler': +../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' + 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ + | ^~~~~~~~~~ +bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' + 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:113:8: note: in expansion of macro 'list_last_entry' - 113 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_minrx_handler': +../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' + 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' + 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:134:8: note: in expansion of macro 'list_last_entry' - 134 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_mintx_handler': +../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' + 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) + | ^~~~~~~~~~ +bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' + 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'dump_bfd_list': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:160:8: note: in expansion of macro 'list_last_entry' - 160 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_idletx_handler': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:204:2: note: in expansion of macro 'list_for_each_entry' + 204 | list_for_each_entry(bfd, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:186:8: note: in expansion of macro 'list_last_entry' - 186 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_multiplier_handler': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +bfd_data.c:204:2: note: in expansion of macro 'list_for_each_entry' + 204 | list_for_each_entry(bfd, l, e_list) + | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'find_bfd_by_name2': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:212:8: note: in expansion of macro 'list_last_entry' - 212 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_passive_handler': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:219:2: note: in expansion of macro 'list_for_each_entry' + 219 | list_for_each_entry(bfd, &data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:231:8: note: in expansion of macro 'list_last_entry' - 231 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_ttl_handler': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +bfd_data.c:219:2: note: in expansion of macro 'list_for_each_entry' + 219 | list_for_each_entry(bfd, &data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'bfd_complete_init': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:246:8: note: in expansion of macro 'list_last_entry' - 246 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_maxhops_handler': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:310:2: note: in expansion of macro 'list_for_each_entry' + 310 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:267:8: note: in expansion of macro 'list_last_entry' - 267 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_vrrp_end_handler': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +bfd_data.c:310:2: note: in expansion of macro 'list_for_each_entry' + 310 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'find_bfd_by_addr': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:284:29: note: in expansion of macro 'list_last_entry' - 284 | vrrp_tracked_bfd_t *tbfd = list_last_entry(&vrrp_data->vrrp_track_bfds, vrrp_tracked_bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_checker_end_handler': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:358:2: note: in expansion of macro 'list_for_each_entry' + 358 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:295:32: note: in expansion of macro 'list_last_entry' - 295 | checker_tracked_bfd_t *cbfd = list_last_entry(&check_data->track_bfds, checker_tracked_bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_end_handler': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +bfd_data.c:358:2: note: in expansion of macro 'list_for_each_entry' + 358 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'find_bfd_by_discr': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:305:15: note: in expansion of macro 'list_last_entry' - 305 | bfd_t *bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_vrrp_weight_handler': +../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' + 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ + | ^~~~~~~~~~ +bfd_data.c:387:2: note: in expansion of macro 'list_for_each_entry' + 387 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' - 288 | list_entry((ptr)->prev, type, member) - | ^~~~~~~~~~ -bfd_parser.c:396:9: note: in expansion of macro 'list_last_entry' - 396 | tbfd = list_last_entry(&vrrp_data->vrrp_track_bfds, vrrp_tracked_bfd_t, e_list); - | ^~~~~~~~~~~~~~~ -bfd_parser.c: In function 'bfd_checker_handler': +../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' + 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) + | ^~~~~~~~~~ +bfd_data.c:387:2: note: in expansion of macro 'list_for_each_entry' + 387 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c: In function 'bfd_get_random_discr': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -16819,9 +16848,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -bfd_parser.c:436:2: note: in expansion of macro 'list_for_each_entry' - 436 | list_for_each_entry(cbfd, &check_data->track_bfds, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c:431:3: note: in expansion of macro 'list_for_each_entry' + 431 | list_for_each_entry(bfd, &data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -16831,176 +16860,183 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -bfd_parser.c:436:2: note: in expansion of macro 'list_for_each_entry' - 436 | list_for_each_entry(cbfd, &check_data->track_bfds, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +bfd_data.c:431:3: note: in expansion of macro 'list_for_each_entry' + 431 | list_for_each_entry(bfd, &data->bfd, e_list) { + | ^~~~~~~~~~~~~~~~~~~ In file included from ../../lib/list_head.h:28, from ../../lib/scheduler.h:39, from ../../keepalived/include/bfd.h:29, - from bfd_data.c:25: -bfd_data.c: In function 'free_bfd_list': + from bfd_parser.c:25: +bfd_parser.c: In function 'bfd_nbrip_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:414:13: note: in expansion of macro 'list_entry' - 414 | for (pos = list_entry((head)->next, typeof(*pos), member), \ - | ^~~~~~~~~~ -bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' - 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:86:8: note: in expansion of macro 'list_last_entry' + 86 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_srcip_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:415:7: note: in expansion of macro 'list_entry' - 415 | n = list_entry(pos->member.next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' - 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:113:8: note: in expansion of macro 'list_last_entry' + 113 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_minrx_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:417:20: note: in expansion of macro 'list_entry' - 417 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) - | ^~~~~~~~~~ -bfd_data.c:108:2: note: in expansion of macro 'list_for_each_entry_safe' - 108 | list_for_each_entry_safe(bfd, bfd_tmp, l, e_list) - | ^~~~~~~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'dump_bfd_list': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:134:8: note: in expansion of macro 'list_last_entry' + 134 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_mintx_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:204:2: note: in expansion of macro 'list_for_each_entry' - 204 | list_for_each_entry(bfd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:160:8: note: in expansion of macro 'list_last_entry' + 160 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_idletx_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -bfd_data.c:204:2: note: in expansion of macro 'list_for_each_entry' - 204 | list_for_each_entry(bfd, l, e_list) - | ^~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'find_bfd_by_name2': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:186:8: note: in expansion of macro 'list_last_entry' + 186 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_multiplier_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:219:2: note: in expansion of macro 'list_for_each_entry' - 219 | list_for_each_entry(bfd, &data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:212:8: note: in expansion of macro 'list_last_entry' + 212 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_passive_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -bfd_data.c:219:2: note: in expansion of macro 'list_for_each_entry' - 219 | list_for_each_entry(bfd, &data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'bfd_complete_init': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:231:8: note: in expansion of macro 'list_last_entry' + 231 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_ttl_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:310:2: note: in expansion of macro 'list_for_each_entry' - 310 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:246:8: note: in expansion of macro 'list_last_entry' + 246 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_maxhops_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -bfd_data.c:310:2: note: in expansion of macro 'list_for_each_entry' - 310 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'find_bfd_by_addr': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:267:8: note: in expansion of macro 'list_last_entry' + 267 | bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_vrrp_end_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:358:2: note: in expansion of macro 'list_for_each_entry' - 358 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:284:29: note: in expansion of macro 'list_last_entry' + 284 | vrrp_tracked_bfd_t *tbfd = list_last_entry(&vrrp_data->vrrp_track_bfds, vrrp_tracked_bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_checker_end_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -bfd_data.c:358:2: note: in expansion of macro 'list_for_each_entry' - 358 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'find_bfd_by_discr': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:295:32: note: in expansion of macro 'list_last_entry' + 295 | checker_tracked_bfd_t *cbfd = list_last_entry(&check_data->track_bfds, checker_tracked_bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_end_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' - 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ - | ^~~~~~~~~~ -bfd_data.c:387:2: note: in expansion of macro 'list_for_each_entry' - 387 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:305:15: note: in expansion of macro 'list_last_entry' + 305 | bfd_t *bfd = list_last_entry(&bfd_data->bfd, bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_vrrp_weight_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ ../../lib/list_head.h:266:2: note: in expansion of macro 'container_of' 266 | container_of(ptr, type, member) | ^~~~~~~~~~~~ -../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' - 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) - | ^~~~~~~~~~ -bfd_data.c:387:2: note: in expansion of macro 'list_for_each_entry' - 387 | list_for_each_entry(bfd, &bfd_data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -bfd_data.c: In function 'bfd_get_random_discr': +../../lib/list_head.h:288:2: note: in expansion of macro 'list_entry' + 288 | list_entry((ptr)->prev, type, member) + | ^~~~~~~~~~ +bfd_parser.c:396:9: note: in expansion of macro 'list_last_entry' + 396 | tbfd = list_last_entry(&vrrp_data->vrrp_track_bfds, vrrp_tracked_bfd_t, e_list); + | ^~~~~~~~~~~~~~~ +bfd_parser.c: In function 'bfd_checker_handler': ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -17010,9 +17046,9 @@ ../../lib/list_head.h:340:13: note: in expansion of macro 'list_entry' 340 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ -bfd_data.c:431:3: note: in expansion of macro 'list_for_each_entry' - 431 | list_for_each_entry(bfd, &data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ +bfd_parser.c:436:2: note: in expansion of macro 'list_for_each_entry' + 436 | list_for_each_entry(cbfd, &check_data->track_bfds, e_list) { + | ^~~~~~~~~~~~~~~~~~~ ../../lib/container.h:43:3: warning: cast increases required alignment of target type [-Wcast-align] 43 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ @@ -17022,11 +17058,9 @@ ../../lib/list_head.h:342:13: note: in expansion of macro 'list_entry' 342 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ -bfd_data.c:431:3: note: in expansion of macro 'list_for_each_entry' - 431 | list_for_each_entry(bfd, &data->bfd, e_list) { - | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_scheduler.o bfd_scheduler.c -gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_event.o bfd_event.c +bfd_parser.c:436:2: note: in expansion of macro 'list_for_each_entry' + 436 | list_for_each_entry(cbfd, &check_data->track_bfds, e_list) { + | ^~~~~~~~~~~~~~~~~~~ bfd_scheduler.c: In function 'bfd_receive_packet': bfd_scheduler.c:853:14: warning: cast increases required alignment of target type [-Wcast-align] 853 | pktinfo = (struct in6_pktinfo *)CMSG_DATA(cmsg); @@ -17113,6 +17147,7 @@ bfd_scheduler.c:1187:2: note: in expansion of macro 'list_for_each_entry' 1187 | list_for_each_entry(bfd, &data->bfd, e_list) { | ^~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../../lib -I ../../keepalived/include -I ../../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfd_event.o bfd_event.c rm -f libbfd.a ar cr libbfd.a bfd.o bfd_data.o bfd_parser.o bfd_daemon.o bfd_scheduler.o bfd_event.o ranlib libbfd.a @@ -17576,6 +17611,7 @@ gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sock.o sock.c gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o layer4.o layer4.c +gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o http.o http.c main.c: In function 'parse_cmdline': main.c:178:14: warning: cast increases required alignment of target type [-Wcast-align] 178 | ptr = &((struct sockaddr_in *) res->ai_addr)->sin_addr; @@ -17583,7 +17619,6 @@ main.c:182:14: warning: cast increases required alignment of target type [-Wcast-align] 182 | ptr = &((struct sockaddr_in6 *) res->ai_addr)->sin6_addr; | ^ -gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o http.o http.c gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.32/CORE -D_FORTIFY_SOURCE=2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ssl.o ssl.c gcc -g -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/net-snmp-XNxzEs/net-snmp-5.9+dfsg=. -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe -Wdate-time -pthread -g -O2 -fdebug-prefix-map=/build/keepalived-2.1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -pie -Wl,-z,relro -Wl,-z,now -L/usr/lib/arm-linux-gnueabihf -Wl,-E -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -o genhash main.o sock.o layer4.o http.o ssl.o ../lib/liblib.a -lm -lcrypto -lssl -lnl-3 -lnl-genl-3 -lnftnl -lmnl -lpcre2-8 -lnetsnmpmibs -lnetsnmpagent -lnetsnmp -lm -lssl -lssl -lcrypto -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcrypto -lssl make[2]: Leaving directory '/build/keepalived-2.1.5/genhash' @@ -17595,7 +17630,7 @@ make[2]: Leaving directory '/build/keepalived-2.1.5' make[1]: Leaving directory '/build/keepalived-2.1.5' dh_auto_test - make -j3 check VERBOSE=1 + make -j4 check VERBOSE=1 make[1]: Entering directory '/build/keepalived-2.1.5' Making check in lib make[2]: Entering directory '/build/keepalived-2.1.5/lib' @@ -17678,7 +17713,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/keepalived-2.1.5' dh_auto_install - make -j3 install DESTDIR=/build/keepalived-2.1.5/debian/keepalived AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/keepalived-2.1.5/debian/keepalived AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/keepalived-2.1.5' Making install in lib make[3]: Entering directory '/build/keepalived-2.1.5/lib' @@ -17720,8 +17755,8 @@ /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/dbus-1/interfaces' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/etc/dbus-1/system.d' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/dbus-1/interfaces' - /usr/bin/install -c -m 644 org.keepalived.Vrrp1.Instance.xml '/build/keepalived-2.1.5/debian/keepalived/usr/share/dbus-1/interfaces' /usr/bin/install -c -m 644 org.keepalived.Vrrp1.conf '/build/keepalived-2.1.5/debian/keepalived/etc/dbus-1/system.d' + /usr/bin/install -c -m 644 org.keepalived.Vrrp1.Instance.xml '/build/keepalived-2.1.5/debian/keepalived/usr/share/dbus-1/interfaces' /usr/bin/install -c -m 644 org.keepalived.Vrrp1.Vrrp.xml '/build/keepalived-2.1.5/debian/keepalived/usr/share/dbus-1/interfaces' make[5]: Leaving directory '/build/keepalived-2.1.5/keepalived/dbus' make[4]: Leaving directory '/build/keepalived-2.1.5/keepalived/dbus' @@ -17764,9 +17799,9 @@ make[5]: Entering directory '/build/keepalived-2.1.5/keepalived' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/sbin' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/etc/keepalived' - /usr/bin/install -c keepalived '/build/keepalived-2.1.5/debian/keepalived/usr/sbin' /usr/bin/install -c -m 644 etc/keepalived/keepalived.conf '/build/keepalived-2.1.5/debian/keepalived/etc/keepalived' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/etc/sysconfig' + /usr/bin/install -c keepalived '/build/keepalived-2.1.5/debian/keepalived/usr/sbin' /usr/bin/install -c -m 644 etc/sysconfig/keepalived '/build/keepalived-2.1.5/debian/keepalived/etc/sysconfig' make[5]: Leaving directory '/build/keepalived-2.1.5/keepalived' make[4]: Leaving directory '/build/keepalived-2.1.5/keepalived' @@ -17785,12 +17820,12 @@ make[5]: Entering directory '/build/keepalived-2.1.5/doc' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man1' - /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/snmp/mibs' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man5' - /usr/bin/install -c -m 644 man/man1/genhash.1 '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man1' + /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/usr/share/snmp/mibs' /usr/bin/install -c -m 644 KEEPALIVED-MIB.txt VRRP-MIB.txt VRRPv3-MIB.txt '/build/keepalived-2.1.5/debian/keepalived/usr/share/snmp/mibs' - /usr/bin/install -c -m 644 man/man5/keepalived.conf.5 '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man5' /bin/mkdir -p '/build/keepalived-2.1.5/debian/keepalived/etc/keepalived/samples' + /usr/bin/install -c -m 644 man/man5/keepalived.conf.5 '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man5' + /usr/bin/install -c -m 644 man/man1/genhash.1 '/build/keepalived-2.1.5/debian/keepalived/usr/share/man/man1' /usr/bin/install -c -m 644 ./samples/client.pem ./samples/dh1024.pem ./samples/keepalived.conf.HTTP_GET.port ./samples/keepalived.conf.IPv6 ./samples/keepalived.conf.PING_CHECK ./samples/keepalived.conf.SMTP_CHECK ./samples/keepalived.conf.SSL_GET ./samples/keepalived.conf.UDP_CHECK ./samples/keepalived.conf.conditional_conf ./samples/keepalived.conf.fwmark ./samples/keepalived.conf.inhibit ./samples/keepalived.conf.misc_check ./samples/keepalived.conf.misc_check_arg ./samples/keepalived.conf.quorum ./samples/keepalived.conf.sample ./samples/keepalived.conf.status_code ./samples/keepalived.conf.track_interface ./samples/keepalived.conf.virtual_server_group ./samples/keepalived.conf.virtualhost ./samples/keepalived.conf.vrrp ./samples/keepalived.conf.vrrp.localcheck ./samples/keepalived.conf.vrrp.lvs_syncd ./samples/keepalived.conf.vrrp.routes ./samples/keepalived.conf.vrrp.rules ./samples/keepalived.conf.vrrp.scripts ./samples/keepalived.conf.vrrp.static_ipaddress ./samples/keepalived.conf.vrrp.sync ./samples/root.pem ./samples/sample.misccheck.smbcheck.sh ./samples/sample_notify_fifo.sh '/build/keepalived-2.1.5/debian/keepalived/etc/keepalived/samples' make[5]: Leaving directory '/build/keepalived-2.1.5/doc' make[4]: Leaving directory '/build/keepalived-2.1.5/doc' @@ -17852,12 +17887,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/5745/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5745/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/10120 and its subdirectories -I: Current time: Sat Dec 18 04:12:40 -12 2021 -I: pbuilder-time-stamp: 1639843960 +I: removing directory /srv/workspace/pbuilder/5745 and its subdirectories +I: Current time: Sun Dec 19 06:18:40 +14 2021 +I: pbuilder-time-stamp: 1639844320