Diff of the two buildlogs: -- --- b1/build.log 2021-08-11 17:34:10.528587479 +0000 +++ b2/build.log 2021-08-11 17:37:25.457366526 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 11 05:27:46 -12 2021 -I: pbuilder-time-stamp: 1628702866 +I: Current time: Thu Aug 12 07:34:27 +14 2021 +I: pbuilder-time-stamp: 1628703267 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 [./raidutils_0.0.6-23.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.Wbic48L4/trustedkeys.kbx': General error -gpgv: Signature made Sat May 2 06:34:15 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.f9pX4HcZ/trustedkeys.kbx': General error +gpgv: Signature made Sun May 3 08:34:15 2020 +14 gpgv: using RSA key 64F429E36EA11CC2D966546F125B57475E190D18 gpgv: issuer "bap@debian.org" gpgv: Can't check signature: No public key @@ -29,135 +29,169 @@ dpkg-source: info: applying debian-changes I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25208/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14616/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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/14616/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14616/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='133ccafc896d4616a83d996087d5f03c' - 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='25208' - PS1='# ' - PS2='> ' + INVOCATION_ID=4771926571c542dc9ee415e96f6ad81d + 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=14616 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.J3DkI14ViD/pbuilderrc_3cyn --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.J3DkI14ViD/b1 --logfile b1/build.log raidutils_0.0.6-23.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.J3DkI14ViD/pbuilderrc_H0En --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.J3DkI14ViD/b2 --logfile b2/build.log --extrapackages usrmerge raidutils_0.0.6-23.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 ff4a 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) 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 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 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 03:38 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 Aug 10 21:29 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 21:55 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 04:12 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 11:30 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 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/25208/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 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 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 05:38 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 Aug 12 07:34 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 10 23:24 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 23:55 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 06:12 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 13:30 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 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/14616/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +261,7 @@ Get: 30 http://deb.debian.org/debian bullseye/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 31 http://deb.debian.org/debian bullseye/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian bullseye/main armhf debhelper all 13.3.4 [1049 kB] -Fetched 18.4 MB in 3s (6714 kB/s) +Fetched 18.4 MB in 2s (7683 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.) @@ -370,8 +404,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 1s (61.3 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 22435 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/raidutils-0.0.6/ && 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 > ../raidutils_0.0.6-23_source.changes +hostname: Name or service not known +I: Running cd /build/raidutils-0.0.6/ && 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 > ../raidutils_0.0.6-23_source.changes dpkg-buildpackage: info: source package raidutils dpkg-buildpackage: info: source version 0.0.6-23 dpkg-buildpackage: info: source distribution unstable @@ -422,7 +493,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -449,10 +520,10 @@ checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking how to print strings... printf -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B @@ -471,8 +542,8 @@ checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes @@ -624,18 +695,20 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/raidutils-0.0.6' make all-recursive make[2]: Entering directory '/build/raidutils-0.0.6' Making all in lib make[3]: Entering directory '/build/raidutils-0.0.6/lib' -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o engcalls.cpp: In function 'uLONG DPT_OpenEngine()': engcalls.cpp:586:65: warning: missing sentinel in function call [-Wformat=] 586 | execle(EngineLoadString,EngineLoadString, 0, environ); @@ -651,24 +724,18 @@ 1223 | if(Offset + i >= Count) | ~~~~~~~~~~~^~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -o libraidutil_la-dpt_buff.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -o libraidutil_la-engmsg.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -o libraidutil_la-ctlr_map.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -o libraidutil_la-engcalls.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -fPIC -DPIC -o .libs/libraidutil_la-findpath.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -o libraidutil_la-engmsg.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -fPIC -DPIC -o .libs/libraidutil_la-funcs.o -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -o libraidutil_la-findpath.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-hba_log.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -o libraidutil_la-funcs.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -fPIC -DPIC -o .libs/libraidutil_la-lockunix.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-scsi_log.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -o libraidutil_la-hba_log.o >/dev/null 2>&1 lockunix.c: In function 'MkLock': lockunix.c:91:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write (fd, buffer, strlen(buffer)); @@ -676,6 +743,7 @@ lockunix.c:102:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | read (fd, buffer, sizeof(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -o libraidutil_la-findpath.o >/dev/null 2>&1 lockunix.c: In function 'ChLock': lockunix.c:157:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | write (fd, buffer, strlen(buffer)); @@ -684,12 +752,15 @@ lockunix.c:185:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 185 | read (fd, buffer, sizeof(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -o libraidutil_la-hba_log.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -o libraidutil_la-lockunix.o >/dev/null 2>&1 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-scsi_log.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -o libraidutil_la-scsi_log.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -fPIC -DPIC -o .libs/libraidutil_la-dptalign.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -o libraidutil_la-dptalign.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/arm-linux-gnueabihf libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/arm-linux-gnueabihf libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o .libs/libraidutil_la-ctlr_map.o .libs/libraidutil_la-dpt_buff.o .libs/libraidutil_la-engcalls.o .libs/libraidutil_la-engmsg.o .libs/libraidutil_la-findpath.o .libs/libraidutil_la-funcs.o .libs/libraidutil_la-hba_log.o .libs/libraidutil_la-lockunix.o .libs/libraidutil_la-scsi_log.o .libs/libraidutil_la-dptalign.o -L/usr/lib/gcc/arm-linux-gnueabihf/10 -L/usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/10/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabihf/10/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libraidutil.so.0 -o .libs/libraidutil.so.0.0.0 /usr/bin/ld: .libs/libraidutil_la-lockunix.o: in function `MkLock': ./lib/lockunix.c:85: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -704,6 +775,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-alarm.o `test -f 'alarm.cpp' || echo './'`alarm.cpp gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-bufiolsb.o `test -f 'bufiolsb.c' || echo './'`bufiolsb.c g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-cmdlist.o `test -f 'cmdlist.cpp' || echo './'`cmdlist.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -813,31 +885,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -In file included from ../include/get_info.h:862, - from ./dpt_info.h:54, - from ../include/dpt_api.h:69, - from engiface.hpp:54, - from command.hpp:57, - from alarm.hpp:53, - from alarm.cpp:53: -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - 32 | # define PACK __attribute__ ((packed)) - | ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - 381 | # define PACK_A PACK - | ^~~~ -../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' - 37 | dptCaddr_S maxAddr PACK_A; // Maximum physical address supported - | ^~~~~~ -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - 32 | # define PACK __attribute__ ((packed)) - | ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - 381 | # define PACK_A PACK - | ^~~~ -../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' - 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported - | ^~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -863,6 +910,31 @@ ../include/device.hh:55:26: note: in expansion of macro 'PACK_A' 55 | dptCemuParam_S emulation PACK_A; // Emulated drive parameters | ^~~~~~ +In file included from ../include/get_info.h:862, + from ./dpt_info.h:54, + from ../include/dpt_api.h:69, + from engiface.hpp:54, + from command.hpp:57, + from alarm.hpp:53, + from alarm.cpp:53: +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + 32 | # define PACK __attribute__ ((packed)) + | ^ +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + 381 | # define PACK_A PACK + | ^~~~ +../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' + 37 | dptCaddr_S maxAddr PACK_A; // Maximum physical address supported + | ^~~~~~ +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + 32 | # define PACK __attribute__ ((packed)) + | ^ +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + 381 | # define PACK_A PACK + | ^~~~ +../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' + 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported + | ^~~~~~ In file included from ../include/get_info.h:771, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -922,7 +994,6 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' 83 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.cpp In file included from ../include/get_info.h:838, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1102,52 +1173,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': -alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] - 229 | switch ( alarmCmd ) - | ^ -command.cpp: In destructor 'virtual Command::~Command()': -command.cpp:121:7: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 121 | delete engine; - | ^~~~~~~~~~~~~~ -command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address(SCSI_Address&, Command::get_Devs_Type*, bool*)': -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] - 1416 | switch (this_Devs_Type) - | ^ -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)': -command.cpp:1670:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::hba' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] - 1670 | obj_Address.hba, - | ~~~~~~~~~~~~^~~ -command.cpp:1671:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::bus' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] - 1671 | obj_Address.bus, - | ~~~~~~~~~~~~^~~ -command.cpp:1672:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::id' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] - 1672 | obj_Address.id, - | ~~~~~~~~~~~~^~ -command.cpp:1673:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::lun' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] - 1673 | obj_Address.lun - | ~~~~~~~~~~~~^~~ -command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] - 1668 | dptCaddr_S addr = - | ^~~~ -command.cpp: In member function 'char Command::PrintAQuestion(char*)': -command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2153 | fgets(Buffer, sizeof(Buffer), stdin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-config.o `test -f 'config.cpp' || echo './'`config.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-creatrad.o `test -f 'creatrad.cpp' || echo './'`creatrad.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1277,6 +1303,65 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': +alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] + 229 | switch ( alarmCmd ) + | ^ +command.cpp: In destructor 'virtual Command::~Command()': +command.cpp:121:7: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 121 | delete engine; + | ^~~~~~~~~~~~~~ +command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address(SCSI_Address&, Command::get_Devs_Type*, bool*)': +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] + 1416 | switch (this_Devs_Type) + | ^ +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)': +command.cpp:1670:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::hba' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] + 1670 | obj_Address.hba, + | ~~~~~~~~~~~~^~~ +command.cpp:1671:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::bus' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] + 1671 | obj_Address.bus, + | ~~~~~~~~~~~~^~~ +command.cpp:1672:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::id' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] + 1672 | obj_Address.id, + | ~~~~~~~~~~~~^~ +command.cpp:1673:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::lun' from 'int' to 'uCHAR' {aka 'unsigned char'} [-Wnarrowing] + 1673 | obj_Address.lun + | ~~~~~~~~~~~~^~~ +command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] + 1668 | dptCaddr_S addr = + | ^~~~ +command.cpp: In member function 'char Command::PrintAQuestion(char*)': +command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2153 | fgets(Buffer, sizeof(Buffer), stdin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-creatrad.o `test -f 'creatrad.cpp' || echo './'`creatrad.cpp +config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': +config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 310 | else if ((engine->devInfo_P->level == 1) && + | ^~ +config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 313 | tempBuff_P->writeIndex = sizeof (smUserBuff_S); + | ^~~~~~~~~~ +config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 235 | fread (&readHdr, sizeof(dsmHdr_S), 1, fp); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 263 | fread(config_P->data,config_P->writeIndex,1,fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1411,73 +1496,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': -config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 310 | else if ((engine->devInfo_P->level == 1) && - | ^~ -config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 313 | tempBuff_P->writeIndex = sizeof (smUserBuff_S); - | ^~~~~~~~~~ -config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 235 | fread (&readHdr, sizeof(dsmHdr_S), 1, fp); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 263 | fread(config_P->data,config_P->writeIndex,1,fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from creatrad.cpp:51: -creatrad.hpp: In constructor 'Create_Raid::Create_Raid(SCSI_Addr_List*, Command::Raid_Type, uLONG, uLONG, bool, bool, int, SCSI_Addr_List*)': -creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] - 97 | SCSI_Addr_List *address_List; - | ^~~~~~~~~~~~ -creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] - 92 | uLONG desired_Raid_Size_in_Blocks; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -creatrad.cpp:64:1: warning: when initialized here [-Wreorder] - 64 | Create_Raid::Create_Raid( - | ^~~~~~~~~~~ -In file included from creatrad.cpp:51: -creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] - 96 | const bool ignoreNonfatalErrors; - | ^~~~~~~~~~~~~~~~~~~~ -creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] - 94 | int drivesPerArray; - | ^~~~~~~~~~~~~~ -creatrad.cpp:64:1: warning: when initialized here [-Wreorder] - 64 | Create_Raid::Create_Raid( - | ^~~~~~~~~~~ -In file included from creatrad.cpp:51: -creatrad.hpp: In copy constructor 'Create_Raid::Create_Raid(const Create_Raid&)': -creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] - 97 | SCSI_Addr_List *address_List; - | ^~~~~~~~~~~~ -creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] - 92 | uLONG desired_Raid_Size_in_Blocks; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -creatrad.cpp:87:1: warning: when initialized here [-Wreorder] - 87 | Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): - | ^~~~~~~~~~~ -In file included from creatrad.cpp:51: -creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] - 96 | const bool ignoreNonfatalErrors; - | ^~~~~~~~~~~~~~~~~~~~ -creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] - 94 | int drivesPerArray; - | ^~~~~~~~~~~~~~ -creatrad.cpp:87:1: warning: when initialized here [-Wreorder] - 87 | Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): - | ^~~~~~~~~~~ -creatrad.cpp: In member function 'Command::Dpt_Error Create_Raid::MakeGroupLists(String_List**)': -creatrad.cpp:714:3: warning: 'this_RAID_Type' may be used uninitialized in this function [-Wmaybe-uninitialized] - 714 | if ( this_RAID_Type >= 10 ) - | ^~ -creatrad.cpp:631:34: warning: 'blksPerComp' may be used uninitialized in this function [-Wmaybe-uninitialized] - 631 | calcRaidSize = blksPerComp * numInThisGroup; - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] - 464 | err = engine->Send (MSG_RAID_NEW, hbaTag); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1612,11 +1630,64 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.cpp +In file included from creatrad.cpp:51: +creatrad.hpp: In constructor 'Create_Raid::Create_Raid(SCSI_Addr_List*, Command::Raid_Type, uLONG, uLONG, bool, bool, int, SCSI_Addr_List*)': +creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] + 97 | SCSI_Addr_List *address_List; + | ^~~~~~~~~~~~ +creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] + 92 | uLONG desired_Raid_Size_in_Blocks; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +creatrad.cpp:64:1: warning: when initialized here [-Wreorder] + 64 | Create_Raid::Create_Raid( + | ^~~~~~~~~~~ +In file included from creatrad.cpp:51: +creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] + 96 | const bool ignoreNonfatalErrors; + | ^~~~~~~~~~~~~~~~~~~~ +creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] + 94 | int drivesPerArray; + | ^~~~~~~~~~~~~~ +creatrad.cpp:64:1: warning: when initialized here [-Wreorder] + 64 | Create_Raid::Create_Raid( + | ^~~~~~~~~~~ +In file included from creatrad.cpp:51: +creatrad.hpp: In copy constructor 'Create_Raid::Create_Raid(const Create_Raid&)': +creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] + 97 | SCSI_Addr_List *address_List; + | ^~~~~~~~~~~~ +creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] + 92 | uLONG desired_Raid_Size_in_Blocks; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +creatrad.cpp:87:1: warning: when initialized here [-Wreorder] + 87 | Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): + | ^~~~~~~~~~~ +In file included from creatrad.cpp:51: +creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] + 96 | const bool ignoreNonfatalErrors; + | ^~~~~~~~~~~~~~~~~~~~ +creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] + 94 | int drivesPerArray; + | ^~~~~~~~~~~~~~ +creatrad.cpp:87:1: warning: when initialized here [-Wreorder] + 87 | Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): + | ^~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.cpp deletrad.cpp: In member function 'Command::Dpt_Error Delete_Raid::CheckForSuppressed(DPT_TAG_T)': deletrad.cpp:407:9: warning: variable 'devChannel' set but not used [-Wunused-but-set-variable] 407 | int devChannel; // channel number of this device | ^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.cpp +creatrad.cpp: In member function 'Command::Dpt_Error Create_Raid::MakeGroupLists(String_List**)': +creatrad.cpp:714:3: warning: 'this_RAID_Type' may be used uninitialized in this function [-Wmaybe-uninitialized] + 714 | if ( this_RAID_Type >= 10 ) + | ^~ +creatrad.cpp:631:34: warning: 'blksPerComp' may be used uninitialized in this function [-Wmaybe-uninitialized] + 631 | calcRaidSize = blksPerComp * numInThisGroup; + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] + 464 | err = engine->Send (MSG_RAID_NEW, hbaTag); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1744,12 +1815,11 @@ deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] 498 | rh.addr.chan = newChan; | ~~~~~~~~~~~~~^~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.cpp engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' 51 | extern "C" uLONG engineTimeOut = 0; | ^~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-expand.o `test -f 'expand.cpp' || echo './'`expand.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1884,6 +1954,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2147,60 +2219,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -In file included from eventlog.cpp:53: -eventlog.hpp: In constructor 'EventLog::EventLog(SCSI_Addr_List*, EventLogOptions)': -eventlog.hpp:100:23: warning: 'EventLog::devsToCtrl' will be initialized after [-Wreorder] - 100 | SCSI_Addr_List *devsToCtrl; - | ^~~~~~~~~~ -eventlog.hpp:99:23: warning: 'EventLogOptions EventLog::eventCmd' [-Wreorder] - 99 | EventLogOptions eventCmd; - | ^~~~~~~~ -eventlog.cpp:305:1: warning: when initialized here [-Wreorder] - 305 | EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) - | ^~~~~~~~ -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:570:34: warning: unused variable 'of' [-Wunused-variable] - 570 | hl_Overflow_S *of = (hl_Overflow_S *) datap; - | ^~ -eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] - 755 | hl_decArray_S *da = (hl_decArray_S *) datap; - | ^~ -eventlog.cpp:763:38: warning: unused variable 'df' [-Wunused-variable] - 763 | hl_driveFailure_S *df = (hl_driveFailure_S *) datap; - | ^~ -eventlog.cpp:775:33: warning: unused variable 'vc' [-Wunused-variable] - 775 | hl_voltage_S *vc = (hl_voltage_S *) datap; - | ^~ -eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] - 789 | hl_temperature_S *tc = (hl_temperature_S *) datap; - | ^~ -eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': -eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] - 2153 | uCHAR LOGLOGICAL = 1; - | ^~~~~~~~~~ -eventlog.cpp:2157:8: warning: variable 'maxmain' set but not used [-Wunused-but-set-variable] - 2157 | int maxmain[2]; - | ^~~~~~~ -eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] - 2158 | int maxsub[2]; - | ^~~~~~ -eventlog.cpp: At global scope: -eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] - 1768 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) - | ^~~~~~~ -expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': -expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 110 | if ((engine->devInfo_P->raidParent == -1) && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': -expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] - 170 | bool first_time_through = true; - | ^~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.cpp -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:909:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - 909 | SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2330,6 +2348,56 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +In file included from eventlog.cpp:53: +eventlog.hpp: In constructor 'EventLog::EventLog(SCSI_Addr_List*, EventLogOptions)': +eventlog.hpp:100:23: warning: 'EventLog::devsToCtrl' will be initialized after [-Wreorder] + 100 | SCSI_Addr_List *devsToCtrl; + | ^~~~~~~~~~ +eventlog.hpp:99:23: warning: 'EventLogOptions EventLog::eventCmd' [-Wreorder] + 99 | EventLogOptions eventCmd; + | ^~~~~~~~ +eventlog.cpp:305:1: warning: when initialized here [-Wreorder] + 305 | EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) + | ^~~~~~~~ +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:570:34: warning: unused variable 'of' [-Wunused-variable] + 570 | hl_Overflow_S *of = (hl_Overflow_S *) datap; + | ^~ +eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] + 755 | hl_decArray_S *da = (hl_decArray_S *) datap; + | ^~ +eventlog.cpp:763:38: warning: unused variable 'df' [-Wunused-variable] + 763 | hl_driveFailure_S *df = (hl_driveFailure_S *) datap; + | ^~ +eventlog.cpp:775:33: warning: unused variable 'vc' [-Wunused-variable] + 775 | hl_voltage_S *vc = (hl_voltage_S *) datap; + | ^~ +eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] + 789 | hl_temperature_S *tc = (hl_temperature_S *) datap; + | ^~ +eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': +eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] + 2153 | uCHAR LOGLOGICAL = 1; + | ^~~~~~~~~~ +eventlog.cpp:2157:8: warning: variable 'maxmain' set but not used [-Wunused-but-set-variable] + 2157 | int maxmain[2]; + | ^~~~~~~ +eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] + 2158 | int maxsub[2]; + | ^~~~~~ +expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': +expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 110 | if ((engine->devInfo_P->raidParent == -1) && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': +expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] + 170 | bool first_time_through = true; + | ^~~~~~~~~~~~~~~~~~ +eventlog.cpp: At global scope: +eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] + 1768 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp In file included from flashmem.cpp:71: flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] @@ -2345,11 +2413,10 @@ flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] 471 | switch ( GetCompressionState() ) | ^ -flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': -flash.cpp:1566:9: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1566 | char Old_PCI_ID, BIOS_rewrite = 0; - | ^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:909:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + 909 | SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2485,6 +2552,45 @@ 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-id_list.o `test -f 'id_list.cpp' || echo './'`id_list.cpp +In file included from forcest.cpp:50: +forcest.hpp: In constructor 'ForceState::ForceState(SCSI_Addr_List*, ForceStateOptions)': +forcest.hpp:80:19: warning: 'ForceState::objsToCtrl' will be initialized after [-Wreorder] + 80 | SCSI_Addr_List *objsToCtrl; + | ^~~~~~~~~~ +forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] + 79 | ForceStateOptions toState; + | ^~~~~~~ +forcest.cpp:63:1: warning: when initialized here [-Wreorder] + 63 | ForceState::ForceState( + | ^~~~~~~~~~ +forcest.cpp: In member function 'virtual Command::Dpt_Error ForceState::execute(String_List**)': +forcest.cpp:148:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 148 | if (parentTag != -1) + | ~~~~~~~~~~^~~~~ +forcest.cpp:197:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 197 | if (parentTag == -1) + | ~~~~~~~~~~^~~~~ +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + 142 | switch (devs_Type) + | ^ +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +forcest.cpp:142:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +forcest.cpp:110:8: warning: unused variable 'devFound' [-Wunused-variable] + 110 | bool devFound = true; + | ^~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2529,14 +2635,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -In file included from forcest.cpp:50: -forcest.hpp: In constructor 'ForceState::ForceState(SCSI_Addr_List*, ForceStateOptions)': -forcest.hpp:80:19: warning: 'ForceState::objsToCtrl' will be initialized after [-Wreorder] - 80 | SCSI_Addr_List *objsToCtrl; - | ^~~~~~~~~~ -forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] - 79 | ForceStateOptions toState; - | ^~~~~~~ In file included from ../include/get_info.h:772, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2550,9 +2648,6 @@ ../include/hba.hh:37:23: note: in expansion of macro 'PACK_A' 37 | dptIOaddr_U ioAddr PACK_A; // EISA/ISA/PCI address | ^~~~~~ -forcest.cpp:63:1: warning: when initialized here [-Wreorder] - 63 | ForceState::ForceState( - | ^~~~~~~~~~ ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -2615,37 +2710,14 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -forcest.cpp: In member function 'virtual Command::Dpt_Error ForceState::execute(String_List**)': -forcest.cpp:148:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 148 | if (parentTag != -1) - | ~~~~~~~~~~^~~~~ -forcest.cpp:197:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 197 | if (parentTag == -1) - | ~~~~~~~~~~^~~~~ -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - 142 | switch (devs_Type) - | ^ -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -forcest.cpp:142:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -forcest.cpp:110:8: warning: unused variable 'devFound' [-Wunused-variable] - 110 | bool devFound = true; - | ^~~~~~~~ +flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': +flash.cpp:1566:9: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1566 | char Old_PCI_ID, BIOS_rewrite = 0; + | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-intlist.o `test -f 'intlist.cpp' || echo './'`intlist.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-listdev.o `test -f 'listdev.cpp' || echo './'`listdev.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzssdon.o `test -f 'lzssdon.cpp' || echo './'`lzssdon.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzstrbuf.o `test -f 'lzstrbuf.cpp' || echo './'`lzstrbuf.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2775,7 +2847,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzstrbuf.o `test -f 'lzstrbuf.cpp' || echo './'`lzstrbuf.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-modnvram.o `test -f 'modnvram.cpp' || echo './'`modnvram.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, @@ -2912,103 +2983,6 @@ 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp -In file included from listdev.cpp:56: -flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': -flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] - 158 | Region m_Region; - | ^~~~~~~~ -flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] - 157 | const DPT_TAG_T m_Tag; - | ^~~~~ -flashmem.h:109:12: warning: when initialized here [-Wreorder] - 109 | inline FlashMemory( - | ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type, SCSI_Address&)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - 140 | list_Type list_What; - | ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - 139 | SCSI_Address obj_Root; - | ^~~~~~~~ -listdev.cpp:85:1: warning: when initialized here [-Wreorder] - 85 | List_Device::List_Device( - | ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - 140 | list_Type list_What; - | ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - 139 | SCSI_Address obj_Root; - | ^~~~~~~~ -listdev.cpp:96:1: warning: when initialized here [-Wreorder] - 96 | List_Device::List_Device( list_Type what ): list_What( what ), - | ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In copy constructor 'List_Device::List_Device(const List_Device&)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - 140 | list_Type list_What; - | ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - 139 | SCSI_Address obj_Root; - | ^~~~~~~~ -listdev.cpp:105:1: warning: when initialized here [-Wreorder] - 105 | List_Device::List_Device( const List_Device &right ): - | ^~~~~~~~~~~ -listdev.cpp: In member function 'virtual Command::Dpt_Error List_Device::execute(String_List**)': -listdev.cpp:133:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 133 | else - | ^~~~ -listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 136 | switch( list_What ) - | ^~~~~~ -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Log_Devices(String_List&, Command::get_Devs_Type)': -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] - 789 | switch( devs_Type ) - | ^ -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 815 | (engine->devInfo_P->raidParent != -1)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_LSU_Devices(String_List&)': -listdev.cpp:1030:44: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1030 | if (engine->devInfo_P->raidParent != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] - 1033 | switch(dev_Type) - | ^ -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Devices(String_List&)': -listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1109 | if (hba_Tag != -1) - | ~~~~~~~~^~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3084,10 +3058,6 @@ ../include/hba.hh:43:19: note: in expansion of macro 'PACK_A' 43 | dptHBAid_U id PACK_A; // EISA = ID PAL bytes | ^~~~~~ -listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': -listdev.cpp:2003:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 2003 | k < sizeof(build) && - | ~~^~~~~~~~~~~~~~~ ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -3097,9 +3067,6 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' 83 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) | ^~~~~~ -listdev.cpp:2037:15: warning: deleting 'void*' is undefined [-Wdelete-incomplete] - 2037 | delete [] saveData; - | ^~~~~~~~ In file included from ../include/get_info.h:838, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3161,6 +3128,115 @@ lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] 76 | LzInStreamBuf::LzInStreamBuf( | ^~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp +In file included from listdev.cpp:56: +flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': +flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] + 158 | Region m_Region; + | ^~~~~~~~ +flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] + 157 | const DPT_TAG_T m_Tag; + | ^~~~~ +flashmem.h:109:12: warning: when initialized here [-Wreorder] + 109 | inline FlashMemory( + | ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type, SCSI_Address&)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + 140 | list_Type list_What; + | ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + 139 | SCSI_Address obj_Root; + | ^~~~~~~~ +listdev.cpp:85:1: warning: when initialized here [-Wreorder] + 85 | List_Device::List_Device( + | ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + 140 | list_Type list_What; + | ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + 139 | SCSI_Address obj_Root; + | ^~~~~~~~ +listdev.cpp:96:1: warning: when initialized here [-Wreorder] + 96 | List_Device::List_Device( list_Type what ): list_What( what ), + | ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In copy constructor 'List_Device::List_Device(const List_Device&)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + 140 | list_Type list_What; + | ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + 139 | SCSI_Address obj_Root; + | ^~~~~~~~ +listdev.cpp:105:1: warning: when initialized here [-Wreorder] + 105 | List_Device::List_Device( const List_Device &right ): + | ^~~~~~~~~~~ +listdev.cpp: In member function 'virtual Command::Dpt_Error List_Device::execute(String_List**)': +listdev.cpp:133:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 133 | else + | ^~~~ +listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 136 | switch( list_What ) + | ^~~~~~ +namarray.cpp: In member function 'virtual Command::Dpt_Error NameArray::execute(String_List**)': +namarray.cpp:105:43: warning: 'arrayName' may be used uninitialized in this function [-Wmaybe-uninitialized] + 105 | engine->Insert(arrayName,strlen(arrayName+1)); + | ~~~~~~~~~^~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Log_Devices(String_List&, Command::get_Devs_Type)': +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] + 789 | switch( devs_Type ) + | ^ +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 815 | (engine->devInfo_P->raidParent != -1)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_LSU_Devices(String_List&)': +listdev.cpp:1030:44: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1030 | if (engine->devInfo_P->raidParent != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] + 1033 | switch(dev_Type) + | ^ +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Devices(String_List&)': +listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1109 | if (hba_Tag != -1) + | ~~~~~~~~^~~~~ +listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': +listdev.cpp:2003:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 2003 | k < sizeof(build) && + | ~~^~~~~~~~~~~~~~~ +listdev.cpp:2037:15: warning: deleting 'void*' is undefined [-Wdelete-incomplete] + 2037 | delete [] saveData; + | ^~~~~~~~ listdev.cpp: In member function 'void List_Device::Show_Cache_Mode(DPT_TAG_T, Command::get_Devs_Type, String_List&)': listdev.cpp:2251:85: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2251 | if (((devs_Type == GET_ARRAY) && (i > 0) && (engine->devInfo_P->raidParent == -1)) || @@ -3168,16 +3244,6 @@ listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2252 | ((devs_Type == GET_ARRAY) && (i == 0) && (engine->devInfo_P->raidParent != -1)) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -namarray.cpp: In member function 'virtual Command::Dpt_Error NameArray::execute(String_List**)': -namarray.cpp:105:43: warning: 'arrayName' may be used uninitialized in this function [-Wmaybe-uninitialized] - 105 | engine->Insert(arrayName,strlen(arrayName+1)); - | ~~~~~~~~~^~ -listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': -listdev.cpp:767:14: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] - 767 | temp_Buf[parmLen] = '\0'; - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3312,6 +3378,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3456,8 +3524,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parserr.o `test -f 'parserr.cpp' || echo './'`parserr.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3597,6 +3663,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': +listdev.cpp:767:14: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] + 767 | temp_Buf[parmLen] = '\0'; + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parserr.o `test -f 'parserr.cpp' || echo './'`parserr.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3732,6 +3803,7 @@ 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-raidutil.o `test -f 'raidutil.cpp' || echo './'`raidutil.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rawdata.o `test -f 'rawdata.cpp' || echo './'`rawdata.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3876,34 +3948,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -In file included from parser.cpp:70: -eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - 67 | static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, - | ^~~~~~~~~~~~~~~~~~~ -eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] - 69 | static void DoTime(uLONG ti, uSHORT level, String_List *out); - | ^~~~~~ -eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - 70 | static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); - | ^~~~~~~~~~~~~~~~~~~~~ -eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] - 71 | static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); - | ^~~~~~~ -eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] - 72 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); - | ^~~~~~~ -eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] - 73 | static int bufcat(String_List *out, char *source, ...); - | ^~~~~~ -raidutil.cpp: In function 'int main(int, char**)': -raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] - 309 | bool pageMode = mode.GetPagenationMode(); - | ^~~~~~~~ -raidutil.cpp: In function 'void Flush(String_List*)': -raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] - 466 | int key = getchar(); - | ^~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rawdata.o `test -f 'rawdata.cpp' || echo './'`rawdata.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4038,7 +4082,25 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp +In file included from parser.cpp:70: +eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + 67 | static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, + | ^~~~~~~~~~~~~~~~~~~ +eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] + 69 | static void DoTime(uLONG ti, uSHORT level, String_List *out); + | ^~~~~~ +eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + 70 | static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); + | ^~~~~~~~~~~~~~~~~~~~~ +eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] + 71 | static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); + | ^~~~~~~ +eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] + 72 | static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); + | ^~~~~~~ +eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] + 73 | static int bufcat(String_List *out, char *source, ...); + | ^~~~~~ rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': rawdata.cpp:87:17: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 87 | memset(rtnBuff,NULL,sizeof(rtnBuff)); @@ -4066,6 +4128,15 @@ /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:59:1: note: declared here 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | ^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp +raidutil.cpp: In function 'int main(int, char**)': +raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] + 309 | bool pageMode = mode.GetPagenationMode(); + | ^~~~~~~~ +raidutil.cpp: In function 'void Flush(String_List*)': +raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] + 466 | int key = getchar(); + | ^~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4190,11 +4261,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp rdutlosd.cpp: In function 'unsigned int* Load_Engine(DPT_RTN_T (**)(DPT_TAG_T, DPT_MSG_T, DPT_TAG_T, void*, void*, uLONG))': rdutlosd.cpp:108:9: warning: unused variable 'fname_and_Path_Buf' [-Wunused-variable] 108 | char fname_and_Path_Buf[ 256 ]; | ^~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4220,7 +4291,6 @@ ../include/device.hh:55:26: note: in expansion of macro 'PACK_A' 55 | dptCemuParam_S emulation PACK_A; // Emulated drive parameters | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp In file included from ../include/get_info.h:771, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4330,6 +4400,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4469,12 +4541,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -parser.cpp: In constructor 'Parser::Parser(char*, bool*)': -parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1940 | segOffset[ct] = currSegOffset; - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp In file included from ../include/get_info.h:364, from trapdef.h:52, from log_core.hpp:55, @@ -4594,6 +4660,13 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +parser.cpp: In constructor 'Parser::Parser(char*, bool*)': +parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1940 | segOffset[ct] = currSegOffset; + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setrate.o `test -f 'setrate.cpp' || echo './'`setrate.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4728,7 +4801,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setrate.o `test -f 'setrate.cpp' || echo './'`setrate.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4858,25 +4930,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': -setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 128 | if ((devs_Type != GET_SCSI_DASD) && - | ^~ -setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 131 | engine->Reset(); - | ^~~~~~ -setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 134 | if ((tempTag == -1) && (!err.Is_Error())) - | ~~~~~~~~^~~~~ -setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': -setrate.cpp:173:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 173 | if (devs_Type == GET_RAID_HOT_SPARE) - | ^~ -setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 176 | if ((devs_Type != GET_SCSI_HBA) && - | ^~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-showinq.o `test -f 'showinq.cpp' || echo './'`showinq.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5006,6 +5059,24 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': +setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 128 | if ((devs_Type != GET_SCSI_DASD) && + | ^~ +setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 131 | engine->Reset(); + | ^~~~~~ +setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 134 | if ((tempTag == -1) && (!err.Is_Error())) + | ~~~~~~~~^~~~~ +setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': +setrate.cpp:173:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 173 | if (devs_Type == GET_RAID_HOT_SPARE) + | ^~ +setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 176 | if ((devs_Type != GET_SCSI_HBA) && + | ^~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-showinq.o `test -f 'showinq.cpp' || echo './'`showinq.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5162,6 +5233,8 @@ showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] 178 | long capacity_in_Mb; | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-strlist.o `test -f 'strlist.cpp' || echo './'`strlist.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-taskctrl.o `test -f 'taskctrl.cpp' || echo './'`taskctrl.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5296,13 +5369,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-strlist.o `test -f 'strlist.cpp' || echo './'`strlist.cpp -status.cpp: In member function 'Dpt_Status::operator char*()': -status.cpp:873:59: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 873 | (Command::engine->devInfo_P->raidParent != -1)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-taskctrl.o `test -f 'taskctrl.cpp' || echo './'`taskctrl.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-uartdmp.o `test -f 'uartdmp.cpp' || echo './'`uartdmp.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5437,14 +5503,53 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-uartdmp.o `test -f 'uartdmp.cpp' || echo './'`uartdmp.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-usage.o `test -f 'usage.cpp' || echo './'`usage.cpp +In file included from taskctrl.cpp:52: +taskctrl.hpp: In constructor 'TaskControl::TaskControl(SCSI_Addr_List*, TaskCommandOptions)': +taskctrl.hpp:76:19: warning: 'TaskControl::raidsToCtrl' will be initialized after [-Wreorder] + 76 | SCSI_Addr_List *raidsToCtrl; + | ^~~~~~~~~~~ +taskctrl.hpp:75:22: warning: 'TaskCommandOptions TaskControl::taskCmd' [-Wreorder] + 75 | TaskCommandOptions taskCmd; + | ^~~~~~~ +taskctrl.cpp:70:1: warning: when initialized here [-Wreorder] + 70 | TaskControl::TaskControl( + | ^~~~~~~~~~~ +taskctrl.cpp: In member function 'virtual Command::Dpt_Error TaskControl::execute(String_List**)': +taskctrl.cpp:127:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 127 | if (parentTag == -1) + | ~~~~~~~~~~^~~~~ +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] + 119 | switch (devs_Type) + | ^ +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': +taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 363 | fgets (Buffer, sizeof(Buffer), stdin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from uartdmp.hpp:53, - from uartdmp.cpp:50: + from usage.hpp:53, + from usage.cpp:50: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 40 | # define PACK __attribute__ ((packed)) | ^ @@ -5468,8 +5573,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from uartdmp.hpp:53, - from uartdmp.cpp:50: + from usage.hpp:53, + from usage.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5493,8 +5598,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from uartdmp.hpp:53, - from uartdmp.cpp:50: + from usage.hpp:53, + from usage.cpp:50: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5527,8 +5632,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from uartdmp.hpp:53, - from uartdmp.cpp:50: + from usage.hpp:53, + from usage.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5552,8 +5657,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from uartdmp.hpp:53, - from uartdmp.cpp:50: + from usage.hpp:53, + from usage.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5577,8 +5682,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from usage.hpp:53, - from usage.cpp:50: + from uartdmp.hpp:53, + from uartdmp.cpp:50: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 40 | # define PACK __attribute__ ((packed)) | ^ @@ -5602,8 +5707,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from usage.hpp:53, - from usage.cpp:50: + from uartdmp.hpp:53, + from uartdmp.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5627,8 +5732,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from usage.hpp:53, - from usage.cpp:50: + from uartdmp.hpp:53, + from uartdmp.cpp:50: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5661,8 +5766,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from usage.hpp:53, - from usage.cpp:50: + from uartdmp.hpp:53, + from uartdmp.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5686,8 +5791,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from usage.hpp:53, - from usage.cpp:50: + from uartdmp.hpp:53, + from uartdmp.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -5706,51 +5811,16 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -In file included from taskctrl.cpp:52: -taskctrl.hpp: In constructor 'TaskControl::TaskControl(SCSI_Addr_List*, TaskCommandOptions)': -taskctrl.hpp:76:19: warning: 'TaskControl::raidsToCtrl' will be initialized after [-Wreorder] - 76 | SCSI_Addr_List *raidsToCtrl; - | ^~~~~~~~~~~ -taskctrl.hpp:75:22: warning: 'TaskCommandOptions TaskControl::taskCmd' [-Wreorder] - 75 | TaskCommandOptions taskCmd; - | ^~~~~~~ -taskctrl.cpp:70:1: warning: when initialized here [-Wreorder] - 70 | TaskControl::TaskControl( - | ^~~~~~~~~~~ -taskctrl.cpp: In member function 'virtual Command::Dpt_Error TaskControl::execute(String_List**)': -taskctrl.cpp:127:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 127 | if (parentTag == -1) - | ~~~~~~~~~~^~~~~ -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] - 119 | switch (devs_Type) - | ^ -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': -taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 363 | fgets (Buffer, sizeof(Buffer), stdin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +status.cpp: In member function 'Dpt_Status::operator char*()': +status.cpp:873:59: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 873 | (Command::engine->devInfo_P->raidParent != -1)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-zap.o `test -f 'zap.cpp' || echo './'`zap.cpp uartdmp.cpp: In member function 'Command::Dpt_Error UartDmp::ViewUartDmp(String_List*, DPT_TAG_T)': uartdmp.cpp:240:25: warning: comparison of integer expressions of different signedness: 'int' and 'uLONG' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (int i = 0; i < bytesSent; i++) | ~~^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-zap.o `test -f 'zap.cpp' || echo './'`zap.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setscfg.o `test -f 'setscfg.cpp' || echo './'`setscfg.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-segment.o `test -f 'segment.cpp' || echo './'`segment.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5994,6 +6064,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-segment.o `test -f 'segment.cpp' || echo './'`segment.cpp In file included from ../include/get_info.h:862, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -6019,6 +6090,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -6218,8 +6290,7 @@ segment.cpp:118:8: warning: variable 'lastValidSegment' set but not used [-Wunused-but-set-variable] 118 | uLONG lastValidSegment; | ^~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raidutil' Making all in raideng @@ -6343,9 +6414,10 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_con.o `test -f 'core_con.cpp' || echo './'`core_con.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core.cpp:49: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 40 | # define PACK __attribute__ ((packed)) | ^ @@ -6366,7 +6438,7 @@ | ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6387,7 +6459,7 @@ | ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core.cpp:49: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6417,7 +6489,7 @@ | ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6438,7 +6510,7 @@ | ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6459,7 +6531,7 @@ | ^~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core.cpp:49: + from core_ccb.cpp:45: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 40 | # define PACK __attribute__ ((packed)) | ^ @@ -6480,7 +6552,7 @@ | ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core.cpp:49: + from core_ccb.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6501,7 +6573,7 @@ | ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core.cpp:49: + from core_ccb.cpp:45: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6531,7 +6603,7 @@ | ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core.cpp:49: + from core_ccb.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6552,7 +6624,7 @@ | ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core.cpp:49: + from core_ccb.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 32 | # define PACK __attribute__ ((packed)) | ^ @@ -6571,9 +6643,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_con.o `test -f 'core_con.cpp' || echo './'`core_con.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_dev.o `test -f 'core_dev.cpp' || echo './'`core_dev.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_mgr.o `test -f 'core_mgr.cpp' || echo './'`core_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from core_con.cpp:45: @@ -6688,6 +6757,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_dev.o `test -f 'core_dev.cpp' || echo './'`core_dev.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_mgr.o `test -f 'core_mgr.cpp' || echo './'`core_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from core_dev.cpp:46: @@ -6802,6 +6873,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_obj.o `test -f 'core_obj.cpp' || echo './'`core_obj.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from core_mgr.cpp:46: @@ -6916,9 +6988,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_obj.o `test -f 'core_obj.cpp' || echo './'`core_obj.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-device.o `test -f 'device.cpp' || echo './'`device.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from core_obj.cpp:46: @@ -7033,7 +7102,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-dptcbuff.o `test -f 'dptcbuff.c' || echo './'`dptcbuff.c +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-device.o `test -f 'device.cpp' || echo './'`device.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from device.cpp:46: @@ -7148,7 +7218,15 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-dptcbuff.o `test -f 'dptcbuff.c' || echo './'`dptcbuff.c g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-driver.o `test -f 'driver.cpp' || echo './'`driver.cpp +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eata2i2o.o `test -f 'eata2i2o.c' || echo './'`eata2i2o.c +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_sig.o `test -f 'eng_sig.c' || echo './'`eng_sig.c +eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] + 64 | dpt_sig_S engineSig = { 'd','P','t','S','i','G', SIG_VERSION, + | ^ + | { } +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_std.o `test -f 'eng_std.cpp' || echo './'`eng_std.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from driver.cpp:47: @@ -7263,21 +7341,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -device.cpp: In member function 'DPT_RTN_T dptDevice_C::fmtHandler(dptBuffer_S*, dptBuffer_S*)': -device.cpp:3753:15: warning: unused variable 'is_Cheetah' [-Wunused-variable] - 3753 | int is_Cheetah = FALSE; - | ^~~~~~~~~~ -device.cpp: In member function 'virtual DPT_RTN_T dptDevice_C::rtnConfigInfo(dptBuffer_S*)': -device.cpp:4072:39: warning: taking address of packed member of 'dptBasic_S' may result in an unaligned pointer value [-Waddress-of-packed-member] - 4072 | reverseBytes((uLONG &) basic_P->attachedTo); - | ~~~~~~~~~^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eata2i2o.o `test -f 'eata2i2o.c' || echo './'`eata2i2o.c -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_sig.o `test -f 'eng_sig.c' || echo './'`eng_sig.c -eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] - 64 | dpt_sig_S engineSig = { 'd','P','t','S','i','G', SIG_VERSION, - | ^ - | { } -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_std.o `test -f 'eng_std.cpp' || echo './'`eng_std.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from eng_std.cpp:49: @@ -7392,6 +7455,14 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +device.cpp: In member function 'DPT_RTN_T dptDevice_C::fmtHandler(dptBuffer_S*, dptBuffer_S*)': +device.cpp:3753:15: warning: unused variable 'is_Cheetah' [-Wunused-variable] + 3753 | int is_Cheetah = FALSE; + | ^~~~~~~~~~ +device.cpp: In member function 'virtual DPT_RTN_T dptDevice_C::rtnConfigInfo(dptBuffer_S*)': +device.cpp:4072:39: warning: taking address of packed member of 'dptBasic_S' may result in an unaligned pointer value [-Waddress-of-packed-member] + 4072 | reverseBytes((uLONG &) basic_P->attachedTo); + | ~~~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_unix.o `test -f 'eng_unix.cpp' || echo './'`eng_unix.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-engine.o `test -f 'engine.cpp' || echo './'`engine.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-englists.o `test -f 'englists.cpp' || echo './'`englists.cpp @@ -7627,11 +7698,7 @@ eng_unix.cpp:768:18: warning: comparison of integer expressions of different signedness: 'uINT' {aka 'unsigned int'} and 'int' [-Wsign-compare] 768 | for(i = 1; i < argc; ++i) | ~~^~~~~~ -engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' - 108 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; - | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-gbl_fns.o `test -f 'gbl_fns.cpp' || echo './'`gbl_fns.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-hba.o `test -f 'hba.cpp' || echo './'`hba.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from gbl_fns.cpp:51: @@ -7653,7 +7720,6 @@ ../include/device.hh:55:26: note: in expansion of macro 'PACK_A' 55 | dptCemuParam_S emulation PACK_A; // Emulated drive parameters | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp In file included from ../include/get_info.h:771, from allfiles.hpp:112, from gbl_fns.cpp:51: @@ -7747,6 +7813,10 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-hba.o `test -f 'hba.cpp' || echo './'`hba.cpp +engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' + 108 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; + | ^~~~~~~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, from hba.cpp:46: @@ -7819,28 +7889,28 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' 83 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) | ^~~~~~ -In file included from ../include/get_info.h:364, +In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from manager.cpp:47: -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] - 40 | # define PACK __attribute__ ((packed)) + from hba.cpp:46: +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + 32 | # define PACK __attribute__ ((packed)) | ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - 46 | # define PACK_A PACK +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + 381 | # define PACK_A PACK | ^~~~ -../include/device.hh:54:25: note: in expansion of macro 'PACK_A' - 54 | dptCcapacity_S capacity PACK_A; // Device capacity - | ^~~~~~ -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] - 40 | # define PACK __attribute__ ((packed)) +../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' + 37 | dptCaddr_S maxAddr PACK_A; // Maximum physical address supported + | ^~~~~~ +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + 32 | # define PACK __attribute__ ((packed)) | ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - 46 | # define PACK_A PACK +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + 381 | # define PACK_A PACK | ^~~~ -../include/device.hh:55:26: note: in expansion of macro 'PACK_A' - 55 | dptCemuParam_S emulation PACK_A; // Emulated drive parameters - | ^~~~~~ -In file included from ../include/get_info.h:838, +../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' + 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported + | ^~~~~~ +In file included from ../include/get_info.h:862, from allfiles.hpp:112, from hba.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] @@ -7861,6 +7931,30 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-msg_str.o `test -f 'msg_str.cpp' || echo './'`msg_str.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-object.o `test -f 'object.cpp' || echo './'`object.cpp +In file included from ../include/get_info.h:364, + from allfiles.hpp:112, + from manager.cpp:47: +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] + 40 | # define PACK __attribute__ ((packed)) + | ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + 46 | # define PACK_A PACK + | ^~~~ +../include/device.hh:54:25: note: in expansion of macro 'PACK_A' + 54 | dptCcapacity_S capacity PACK_A; // Device capacity + | ^~~~~~ +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] + 40 | # define PACK __attribute__ ((packed)) + | ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + 46 | # define PACK_A PACK + | ^~~~ +../include/device.hh:55:26: note: in expansion of macro 'PACK_A' + 55 | dptCemuParam_S emulation PACK_A; // Emulated drive parameters + | ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, from manager.cpp:47: @@ -7912,27 +8006,6 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' 83 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) | ^~~~~~ -In file included from ../include/get_info.h:862, - from allfiles.hpp:112, - from hba.cpp:46: -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - 32 | # define PACK __attribute__ ((packed)) - | ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - 381 | # define PACK_A PACK - | ^~~~ -../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' - 37 | dptCaddr_S maxAddr PACK_A; // Maximum physical address supported - | ^~~~~~ -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - 32 | # define PACK __attribute__ ((packed)) - | ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - 381 | # define PACK_A PACK - | ^~~~ -../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' - 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported - | ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, from manager.cpp:47: @@ -7975,23 +8048,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': -hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] - 2513 | DPT_RTN_T retVal = MSG_RTN_FAILED | ERR_GET_CCB; - | ^~~~~~ -hba.cpp: In member function 'DPT_RTN_T dptHBA_C::flashStatus(dptBuffer_S*)': -hba.cpp:3513:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 3513 | else if (fromEng_P->insert(fwStatus)) - | ^~ -hba.cpp:3516:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 3516 | flashStablize(); - | ^~~~~~~~~~~~~ -hba.cpp: In member function 'DPT_RTN_T dptHBA_C::switchToFlashMode(engCCB_C*)': -hba.cpp:3681:17: warning: unused variable 'inq_P' [-Wunused-variable] - 3681 | sdInquiry_S *inq_P = (sdInquiry_S *) ccb_P->defData; - | ^~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-msg_str.o `test -f 'msg_str.cpp' || echo './'`msg_str.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-object.o `test -f 'object.cpp' || echo './'`object.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from object.cpp:45: @@ -8106,19 +8162,26 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-osd_unix.o `test -f 'osd_unix.cpp' || echo './'`osd_unix.cpp +hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': +hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] + 2513 | DPT_RTN_T retVal = MSG_RTN_FAILED | ERR_GET_CCB; + | ^~~~~~ object.cpp: In member function 'DPT_RTN_T dptObject_C::modeLogSense(dptBuffer_S*, dptBuffer_S*, uSHORT)': object.cpp:458:10: warning: unused variable 'unused' [-Wunused-variable] 458 | uCHAR unused = 0; | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-osd_unix.o `test -f 'osd_unix.cpp' || echo './'`osd_unix.cpp -object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': -object.cpp:771:26: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] - 771 | uSHORT i,startOffset,numLongs; - | ^~~~~~~~ -object.cpp:771:14: warning: 'startOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - 771 | uSHORT i,startOffset,numLongs; - | ^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-ptrarray.o `test -f 'ptrarray.cpp' || echo './'`ptrarray.cpp +hba.cpp: In member function 'DPT_RTN_T dptHBA_C::flashStatus(dptBuffer_S*)': +hba.cpp:3513:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 3513 | else if (fromEng_P->insert(fwStatus)) + | ^~ +hba.cpp:3516:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 3516 | flashStablize(); + | ^~~~~~~~~~~~~ +hba.cpp: In member function 'DPT_RTN_T dptHBA_C::switchToFlashMode(engCCB_C*)': +hba.cpp:3681:17: warning: unused variable 'inq_P' [-Wunused-variable] + 3681 | sdInquiry_S *inq_P = (sdInquiry_S *) ccb_P->defData; + | ^~~~~ In file included from ../include/get_info.h:364, from ./dptcbuff.h:30, from osd_unix.cpp:110: @@ -8273,6 +8336,14 @@ osd_unix.cpp:248:14: warning: 'DebugFileName' defined but not used [-Wunused-variable] 248 | static char *DebugFileName = "EngLog"; | ^~~~~~~~~~~~~ +object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': +object.cpp:771:26: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] + 771 | uSHORT i,startOffset,numLongs; + | ^~~~~~~~ +object.cpp:771:14: warning: 'startOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + 771 | uSHORT i,startOffset,numLongs; + | ^~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-ptrarray.o `test -f 'ptrarray.cpp' || echo './'`ptrarray.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid.o `test -f 'raid.cpp' || echo './'`raid.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, @@ -8619,6 +8690,10 @@ 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_hba.o `test -f 'raid_hba.cpp' || echo './'`raid_hba.cpp +raid_bcd.cpp: In member function 'virtual uSHORT dptRAIDbcd_C::findMyPhysicals()': +raid_bcd.cpp:603:11: warning: variable 'maxID' set but not used [-Wunused-but-set-variable] + 603 | uCHAR maxID,maxChan; + | ^~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, from raid_hba.cpp:49: @@ -8733,11 +8808,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -raid_bcd.cpp: In member function 'virtual uSHORT dptRAIDbcd_C::findMyPhysicals()': -raid_bcd.cpp:603:11: warning: variable 'maxID' set but not used [-Wunused-but-set-variable] - 603 | uCHAR maxID,maxChan; - | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_mgr.o `test -f 'raid_mgr.cpp' || echo './'`raid_mgr.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raiddrvr.o `test -f 'raiddrvr.cpp' || echo './'`raiddrvr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from raid_mgr.cpp:46: @@ -8852,7 +8924,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raiddrvr.o `test -f 'raiddrvr.cpp' || echo './'`raiddrvr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from raiddrvr.cpp:46: @@ -8968,6 +9039,7 @@ 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_bcd.o `test -f 'scsi_bcd.cpp' || echo './'`scsi_bcd.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_bcd.cpp:49: @@ -9082,7 +9154,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_con.o `test -f 'scsi_con.cpp' || echo './'`scsi_con.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, @@ -9427,10 +9498,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -scsi_con.cpp: In member function 'DPT_RTN_T dptSCSIcon_C::rtnIDfromASCII(dptBuffer_S*, dptBuffer_S*, uSHORT)': -scsi_con.cpp:322:24: warning: 'in_P' may be used uninitialized in this function [-Wmaybe-uninitialized] - 322 | if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_hba.o `test -f 'scsi_hba.cpp' || echo './'`scsi_hba.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_mgr.o `test -f 'scsi_mgr.cpp' || echo './'`scsi_mgr.cpp In file included from ../include/get_info.h:364, @@ -9547,6 +9614,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +scsi_con.cpp: In member function 'DPT_RTN_T dptSCSIcon_C::rtnIDfromASCII(dptBuffer_S*, dptBuffer_S*, uSHORT)': +scsi_con.cpp:322:24: warning: 'in_P' may be used uninitialized in this function [-Wmaybe-uninitialized] + 322 | if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_obj.o `test -f 'scsi_obj.cpp' || echo './'`scsi_obj.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_mgr.cpp:49: @@ -9661,7 +9733,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_obj.o `test -f 'scsi_obj.cpp' || echo './'`scsi_obj.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_obj.cpp:50: @@ -9776,19 +9847,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsidrvr.o `test -f 'scsidrvr.cpp' || echo './'`scsidrvr.cpp scsi_hba.cpp: In member function 'virtual DPT_RTN_T dptSCSIhba_C::rtnInfo(dptBuffer_S*)': scsi_hba.cpp:429:10: warning: unused variable 'insertStart' [-Wunused-variable] 429 | uLONG insertStart = fromEng_P->writeIndex; | ^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsidrvr.o `test -f 'scsidrvr.cpp' || echo './'`scsidrvr.cpp -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-semaphor.o `test -f 'semaphor.c' || echo './'`semaphor.c -scsi_obj.cpp: In member function 'virtual DPT_RTN_T dptSCSIobj_C::rtnConfigInfo(dptBuffer_S*)': -scsi_obj.cpp:446:38: warning: taking address of packed member of 'dptBasic_S' may result in an unaligned pointer value [-Waddress-of-packed-member] - 446 | reverseBytes((uLONG &)basic_P->attachedTo); - | ~~~~~~~~~^~~~~~~~~~ -scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] - 426 | int oldidx; - | ^~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsidrvr.cpp:50: @@ -9903,6 +9966,14 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' 38 | dptCaddr_S minAddr PACK_A; // Minimum physical address supported | ^~~~~~ +scsi_obj.cpp: In member function 'virtual DPT_RTN_T dptSCSIobj_C::rtnConfigInfo(dptBuffer_S*)': +scsi_obj.cpp:446:38: warning: taking address of packed member of 'dptBasic_S' may result in an unaligned pointer value [-Waddress-of-packed-member] + 446 | reverseBytes((uLONG &)basic_P->attachedTo); + | ~~~~~~~~~^~~~~~~~~~ +scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] + 426 | int oldidx; + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-semaphor.o `test -f 'semaphor.c' || echo './'`semaphor.c g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-stat_log.o `test -f 'stat_log.cpp' || echo './'`stat_log.cpp gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c swap_em.c: In function 'trueSwap2': @@ -9911,7 +9982,7 @@ | ^ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-threads.o `test -f 'threads.cpp' || echo './'`threads.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-unreslvd.o `test -f 'unreslvd.cpp' || echo './'`unreslvd.cpp -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -fdebug-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6' @@ -9919,7 +9990,7 @@ make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' dh_auto_test - make -j3 check VERBOSE=1 + make -j4 check VERBOSE=1 make[1]: Entering directory '/build/raidutils-0.0.6' Making check in lib make[2]: Entering directory '/build/raidutils-0.0.6/lib' @@ -9944,8 +10015,8 @@ Making install in lib make[2]: Entering directory '/build/raidutils-0.0.6/lib' make[3]: Entering directory '/build/raidutils-0.0.6/lib' - /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' - /bin/bash ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' + /usr/bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' + /bin/sh ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/libraidutil.so.0.0.0 /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libraidutil.so.0.0.0 libraidutil.so.0 || { rm -f libraidutil.so.0 && ln -s libraidutil.so.0.0.0 libraidutil.so.0; }; }) libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libraidutil.so.0.0.0 libraidutil.so || { rm -f libraidutil.so && ln -s libraidutil.so.0.0.0 libraidutil.so; }; }) @@ -9960,8 +10031,8 @@ Making install in raidutil make[2]: Entering directory '/build/raidutils-0.0.6/raidutil' make[3]: Entering directory '/build/raidutils-0.0.6/raidutil' - /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/raidutil /build/raidutils-0.0.6/debian/tmp/usr/sbin/raidutil make[3]: Nothing to be done for 'install-data-am'. @@ -9970,8 +10041,8 @@ Making install in raideng make[2]: Entering directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6/raideng' - /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/raideng /build/raidutils-0.0.6/debian/tmp/usr/sbin/raideng make[3]: Nothing to be done for 'install-data-am'. @@ -10019,18 +10090,18 @@ dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: debian/dpt-i2o-raidutils/usr/sbin/raidutil contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin -dpkg-shlibdeps: warning: symbol osdSwap2 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries +dpkg-shlibdeps: warning: symbol osdSwap2 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol osdSwap4 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: debian/dpt-i2o-raidutils/usr/sbin/raideng contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin +dpkg-shlibdeps: warning: debian/dpt-i2o-raidutils/usr/sbin/raidutil contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package raidutils: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb -dpkg-deb: building package 'dpt-i2o-raidutils' in '../dpt-i2o-raidutils_0.0.6-23_armhf.deb'. dpkg-deb: building package 'dpt-i2o-raidutils-dbgsym' in '../dpt-i2o-raidutils-dbgsym_0.0.6-23_armhf.deb'. +dpkg-deb: building package 'dpt-i2o-raidutils' in '../dpt-i2o-raidutils_0.0.6-23_armhf.deb'. dpkg-deb: building package 'raidutils' in '../raidutils_0.0.6-23_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../raidutils_0.0.6-23_armhf.changes @@ -10039,12 +10110,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/14616/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14616/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/25208 and its subdirectories -I: Current time: Wed Aug 11 05:34:04 -12 2021 -I: pbuilder-time-stamp: 1628703244 +I: removing directory /srv/workspace/pbuilder/14616 and its subdirectories +I: Current time: Thu Aug 12 07:37:16 +14 2021 +I: pbuilder-time-stamp: 1628703436