Diff of the two buildlogs: -- --- b1/build.log 2021-12-14 07:25:58.319029274 +0000 +++ b2/build.log 2021-12-14 07:29:47.291869131 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 13 19:22:09 -12 2021 -I: pbuilder-time-stamp: 1639466529 +I: Current time: Tue Jan 17 03:49:02 +14 2023 +I: pbuilder-time-stamp: 1673876942 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jan 31 00:02:05 2017 -12 +gpgv: Signature made Wed Feb 1 02:02:05 2017 +14 gpgv: using RSA key 64F429E36EA11CC2D966546F125B57475E190D18 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./raidutils_0.0.6-22.dsc @@ -28,136 +28,170 @@ dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2688609/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3903027/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/3903027/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3903027/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='66df1da7f8e94986969d70db5123df8a' - 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='2688609' - PS1='# ' - PS2='> ' + INVOCATION_ID=60965c53503c49f3b41de0abc0d4186c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3903027 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.NUnu2BfiA6/pbuilderrc_46cI --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NUnu2BfiA6/b1 --logfile b1/build.log raidutils_0.0.6-22.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.NUnu2BfiA6/pbuilderrc_RYgB --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NUnu2BfiA6/b2 --logfile b2/build.log raidutils_0.0.6-22.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 7 09:58 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/2688609/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jan 17 03:49 sh -> bash + lrwxrwxrwx 1 root root 4 Dec 11 18:20 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/3903027/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -229,7 +263,7 @@ Get: 32 http://deb.debian.org/debian buster/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 33 http://deb.debian.org/debian buster/main amd64 po-debconf all 1.0.21 [248 kB] Get: 34 http://deb.debian.org/debian buster/main amd64 debhelper all 12.1.1 [1016 kB] -Fetched 19.8 MB in 15s (1278 kB/s) +Fetched 19.8 MB in 1s (25.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -388,7 +422,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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-22_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-22_source.changes dpkg-buildpackage: info: source package raidutils dpkg-buildpackage: info: source version 0.0.6-22 dpkg-buildpackage: info: source distribution unstable @@ -643,32 +678,33 @@ config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build - make -j15 + make -j16 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 -ffile-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 -ffile-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 -ffile-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/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 -ffile-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 -/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 -ffile-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/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 -ffile-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 -/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 -ffile-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 -/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 -ffile-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 -ffile-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/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 -ffile-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 -ffile-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 -ffile-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 +/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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 +/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 -ffile-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 -ffile-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 +/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 -ffile-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 +/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 -ffile-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/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 -ffile-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 -ffile-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 -ffile-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 -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 -ffile-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 +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 -ffile-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: 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 -ffile-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: 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 -ffile-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 -ffile-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 -ffile-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: 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 -ffile-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 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 -ffile-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: 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 -ffile-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 -ffile-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: 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 -ffile-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: 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 -ffile-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 -ffile-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: 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 -ffile-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 lockunix.c: In function 'MkLock': lockunix.c:91:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); @@ -700,15 +736,14 @@ ~~~~~~~~~~~^~~~~~~~ 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 -ffile-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 -ffile-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 -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 -ffile-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: 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 -ffile-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 -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 -ffile-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 -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 -ffile-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: 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 -ffile-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 +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 -ffile-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 -ffile-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 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 -ffile-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 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 -ffile-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 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 -ffile-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/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-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/x86_64-linux-gnu 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 -ffile-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/x86_64-linux-gnu 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/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/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/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/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' @@ -737,11 +772,12 @@ 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 -ffile-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 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 -ffile-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 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 -ffile-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 -ffile-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 -ffile-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 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] switch ( alarmCmd ) ^ -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 -ffile-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 config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if ((engine->devInfo_P->level == 1) && @@ -749,16 +785,57 @@ config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' tempBuff_P->writeIndex = sizeof (smUserBuff_S); ^~~~~~~~~~ +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] + SCSI_Addr_List *address_List; + ^~~~~~~~~~~~ +creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] + uLONG desired_Raid_Size_in_Blocks; + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +creatrad.cpp:64:1: warning: when initialized here [-Wreorder] + Create_Raid::Create_Raid( + ^~~~~~~~~~~ +In file included from creatrad.cpp:51: +creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] + const bool ignoreNonfatalErrors; + ^~~~~~~~~~~~~~~~~~~~ +creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] + int drivesPerArray; + ^~~~~~~~~~~~~~ +creatrad.cpp:64:1: warning: when initialized here [-Wreorder] + 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] + SCSI_Addr_List *address_List; + ^~~~~~~~~~~~ +creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] + uLONG desired_Raid_Size_in_Blocks; + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +creatrad.cpp:87:1: warning: when initialized here [-Wreorder] + 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] + const bool ignoreNonfatalErrors; + ^~~~~~~~~~~~~~~~~~~~ +creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] + int drivesPerArray; + ^~~~~~~~~~~~~~ +creatrad.cpp:87:1: warning: when initialized here [-Wreorder] + Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): + ^~~~~~~~~~~ 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] 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] fread(config_P->data,config_P->writeIndex,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -command.cpp: In destructor 'virtual Command::~Command()': -command.cpp:121:15: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - delete engine; - ^~~~~~ +engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' + extern "C" uLONG engineTimeOut = 0; + ^~~~~~~~~~~~~ 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] if ((engine->devInfo_P->raidParent == -1) && @@ -767,6 +844,21 @@ expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] bool first_time_through = true; ^~~~~~~~~~~~~~~~~~ +command.cpp: In destructor 'virtual Command::~Command()': +command.cpp:121:15: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + delete engine; + ^~~~~~ +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] + SCSI_Addr_List *objsToCtrl; + ^~~~~~~~~~ +forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] + ForceStateOptions toState; + ^~~~~~~ +forcest.cpp:63:1: warning: when initialized here [-Wreorder] + ForceState::ForceState( + ^~~~~~~~~~ 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] switch (this_Devs_Type) @@ -783,6 +875,38 @@ 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] +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] + if (parentTag != -1) + ~~~~~~~~~~^~~~~ +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] + int devChannel; // channel number of this device + ^~~~~~~~~~ +forcest.cpp:197:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (parentTag == -1) + ~~~~~~~~~~^~~~~ +forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + 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] + bool devFound = true; + ^~~~~~~~ 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'} inside { } [-Wnarrowing] obj_Address.hba, @@ -799,56 +923,7 @@ command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] dptCaddr_S addr = ^~~~ -engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' - extern "C" uLONG engineTimeOut = 0; - ^~~~~~~~~~~~~ -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] - 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 -ffile-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 -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] - SCSI_Addr_List *address_List; - ^~~~~~~~~~~~ -creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] - uLONG desired_Raid_Size_in_Blocks; - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -creatrad.cpp:64:1: warning: when initialized here [-Wreorder] - Create_Raid::Create_Raid( - ^~~~~~~~~~~ -In file included from creatrad.cpp:51: -creatrad.hpp:96:15: warning: 'Create_Raid::ignoreNonfatalErrors' will be initialized after [-Wreorder] - const bool ignoreNonfatalErrors; - ^~~~~~~~~~~~~~~~~~~~ -creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] - int drivesPerArray; - ^~~~~~~~~~~~~~ -creatrad.cpp:64:1: warning: when initialized here [-Wreorder] - 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] - SCSI_Addr_List *address_List; - ^~~~~~~~~~~~ -creatrad.hpp:92:11: warning: 'uLONG Create_Raid::desired_Raid_Size_in_Blocks' [-Wreorder] - uLONG desired_Raid_Size_in_Blocks; - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -creatrad.cpp:87:1: warning: when initialized here [-Wreorder] - 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] - const bool ignoreNonfatalErrors; - ^~~~~~~~~~~~~~~~~~~~ -creatrad.hpp:94:10: warning: 'int Create_Raid::drivesPerArray' [-Wreorder] - int drivesPerArray; - ^~~~~~~~~~~~~~ -creatrad.cpp:87:1: warning: when initialized here [-Wreorder] - 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 -ffile-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 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] fgets(Buffer, sizeof(Buffer), stdin); @@ -880,17 +955,7 @@ eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] hl_temperature_S *tc = (hl_temperature_S *) datap; ^~ -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] - SCSI_Addr_List *objsToCtrl; - ^~~~~~~~~~ -forcest.hpp:79:21: warning: 'ForceStateOptions ForceState::toState' [-Wreorder] - ForceStateOptions toState; - ^~~~~~~ -forcest.cpp:63:1: warning: when initialized here [-Wreorder] - ForceState::ForceState( - ^~~~~~~~~~ +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 -ffile-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 eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] uCHAR LOGLOGICAL = 1; @@ -901,47 +966,18 @@ eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] int maxsub[2]; ^~~~~~ -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] - 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] - if (parentTag == -1) - ~~~~~~~~~~^~~~~ -forcest.cpp:142:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - 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] - bool devFound = 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 -ffile-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 deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -ffile-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 eventlog.cpp: At global scope: eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] 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 -ffile-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 -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 -ffile-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 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 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] if ( this_RAID_Type >= 10 ) @@ -952,7 +988,6 @@ creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -ffile-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 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 -ffile-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 -ffile-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 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 -ffile-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 @@ -971,12 +1006,6 @@ flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] switch ( GetCompressionState() ) ^ -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 -ffile-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 -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 -ffile-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 -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:1604:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] engine->Insert(arrayName,strlen(arrayName+1)); @@ -992,6 +1021,9 @@ lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] 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 -ffile-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 +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 -ffile-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 -ffile-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 rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': rawdata.cpp:87:37: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(rtnBuff,NULL,sizeof(rtnBuff)); @@ -999,10 +1031,26 @@ rawdata.cpp:127:41: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(rtnBuff,NULL,sizeof(rtnBuff)); ^ -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 -ffile-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 -ffile-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 -ffile-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 +raidutil.cpp: In function 'int main(int, char**)': +raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] + bool pageMode = mode.GetPagenationMode(); + ^~~~~~~~ +raidutil.cpp: In function 'void Flush(String_List*)': +raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] + int key = getchar(); + ^~~ +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] + 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 -ffile-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 -ffile-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 +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:1604:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] @@ -1014,10 +1062,6 @@ flashmem.h:109:12: warning: when initialized here [-Wreorder] inline FlashMemory( ^~~~~~~~~~~ -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] - char fname_and_Path_Buf[ 256 ]; - ^~~~~~~~~~~~~~~~~~ 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] @@ -1058,25 +1102,7 @@ listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' switch( list_What ) ^~~~~~ -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] - 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] - 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] - 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] - 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] - 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] - static int bufcat(String_List *out, char *source, ...); - ^~~~~~ +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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-status.o `test -f 'status.cpp' || echo './'`status.cpp 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] switch( devs_Type ) @@ -1101,6 +1127,7 @@ listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] (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 -ffile-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 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] if (engine->devInfo_P->raidParent != -1) @@ -1123,15 +1150,7 @@ listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (hba_Tag != -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 -ffile-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 -raidutil.cpp: In function 'int main(int, char**)': -raidutil.cpp:309:14: warning: unused variable 'pageMode' [-Wunused-variable] - bool pageMode = mode.GetPagenationMode(); - ^~~~~~~~ -raidutil.cpp: In function 'void Flush(String_List*)': -raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] - 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 -ffile-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 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 'long unsigned int' [-Wsign-compare] k < sizeof(build) && @@ -1146,9 +1165,25 @@ listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ((devs_Type == GET_ARRAY) && (i == 0) && (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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-status.o `test -f 'status.cpp' || echo './'`status.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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 +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 -ffile-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 +flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': +flash.cpp:1691:44: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] + fileBuf[BIOSsize - 1] -= 0x11 - Old_PCI_ID; + ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +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 -ffile-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 +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] + (Command::engine->devInfo_P->raidParent != -1)) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +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] + 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' + if ((devs_Type != GET_SCSI_HBA) && + ^~ 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] if ((devs_Type != GET_SCSI_DASD) && @@ -1159,21 +1194,6 @@ setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if ((tempTag == -1) && (!err.Is_Error())) ~~~~~~~~^~~~~ -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 -ffile-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 -ffile-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 -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] - 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' - 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 -ffile-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 -ffile-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 -flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': -flash.cpp:1691:44: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] - fileBuf[BIOSsize - 1] -= 0x11 - Old_PCI_ID; - ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ showinq.cpp: In member function 'Command::Dpt_Error Show_Inquiry::Show_Inq_on_This_Dev(String_List&, DPT_TAG_T, Command::get_Devs_Type)': showinq.cpp:195:9: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] switch( devs_Type ) @@ -1200,16 +1220,6 @@ showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] 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 -ffile-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 -listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': -listdev.cpp:767:21: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] - temp_Buf[parmLen] = '\0'; - ~~~~~~~~~~~~~~~~^ -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 -ffile-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 -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] - (Command::engine->devInfo_P->raidParent != -1)) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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] @@ -1244,14 +1254,39 @@ 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] -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] - 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 -ffile-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 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] fgets (Buffer, sizeof(Buffer), stdin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -ffile-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 +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] + for (int i = 0; i < bytesSent; i++) + ~~^~~~~~~~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': +listdev.cpp:767:21: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] + temp_Buf[parmLen] = '\0'; + ~~~~~~~~~~~~~~~~^ +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] + 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] + 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] + 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] + 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] + 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] + static int bufcat(String_List *out, char *source, ...); + ^~~~~~ zap.cpp: In member function 'void Zap::AddRaid(Int_List*, DPT_TAG_T)': zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] switch ( devs_Type ) @@ -1317,10 +1352,6 @@ segment.cpp:118:8: warning: variable 'lastValidSegment' set but not used [-Wunused-but-set-variable] uLONG lastValidSegment; ^~~~~~~~~~~~~~~~ -parser.cpp: In constructor 'Parser::Parser(char*, bool*)': -parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - segOffset[ct] = currSegOffset; - ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': listdev.cpp:2020:26: warning: '%s' directive writing up to 7 bytes into a region of size between 4 and 6 [-Wformat-overflow=] sprintf(version, "%d.%c%c%s", sig.dsVersion, sig.dsRevision, @@ -1336,7 +1367,11 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-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 +parser.cpp: In constructor 'Parser::Parser(char*, bool*)': +parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + segOffset[ct] = currSegOffset; + ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-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 -ffile-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 @@ -1356,26 +1391,41 @@ 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 -ffile-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 -ffile-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 -ffile-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 +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 -ffile-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 +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 -ffile-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 eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] 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 -ffile-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 -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 -ffile-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 -ffile-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 -ffile-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 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 -ffile-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 -ffile-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 +hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': +hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] + 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] + 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' + 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] + 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 -ffile-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 eng_unix.cpp: In function 'uSHORT ParseCommandLine(int, char**)': eng_unix.cpp:768:18: warning: comparison of integer expressions of different signedness: 'uINT' {aka 'unsigned int'} and 'int' [-Wsign-compare] for(i = 1; i < argc; ++i) ~~^~~~~~ +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 -ffile-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 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] int is_Cheetah = FALSE; ^~~~~~~~~~ -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 -ffile-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 -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 -ffile-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 -ffile-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 engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' extern "C" dpt_sig_S const *engineSig_P = &engineSig; ^~~~~~~~~~~ @@ -1389,6 +1439,10 @@ 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 -ffile-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 -ffile-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 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 -ffile-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 -ffile-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 -ffile-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 +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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_dev.o `test -f 'scsi_dev.cpp' || echo './'`scsi_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 -ffile-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 osd_unix.cpp: In function 'DPT_RTN_T osdGetDrvrSig(uSHORT, dpt_sig_S*, uLONG*)': osd_unix.cpp:640:30: warning: comparison of integer expressions of different signedness: 'uLONG' {aka 'long unsigned int'} and 'int' [-Wsign-compare] for(Count = 0; Count < NumHBAs; ++Count) @@ -1421,69 +1475,50 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TimeString,HbaDevs[ctlrNum]); ~~~~~~~~~~~~~~~~ -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 -ffile-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 osd_unix.cpp: At global scope: osd_unix.cpp:248:14: warning: 'DebugFileName' defined but not used [-Wunused-variable] static char *DebugFileName = "EngLog"; ^~~~~~~~~~~~~ -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 -ffile-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 -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 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_dev.o `test -f 'scsi_dev.cpp' || echo './'`scsi_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 -ffile-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 +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 -ffile-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 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] 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 -ffile-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 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] uCHAR maxID,maxChan; ^~~~~ -hba.cpp: In member function 'void dptHBA_C::useDriveSizeTable(driveSizeTable_S*)': -hba.cpp:2513:15: warning: unused variable 'retVal' [-Wunused-variable] - 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] - 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' - 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] - 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 -ffile-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 -object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': -object.cpp:826:15: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] - for (i=0;iwriteIndex; + ^~~~~~~~~~~ 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 -ffile-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 -ffile-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 -ffile-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 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 -ffile-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 +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] + if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) + ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ swap_em.c: In function 'trueSwap2': swap_em.c:202:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ 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 -ffile-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 -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] - if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) - ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - uLONG insertStart = fromEng_P->writeIndex; - ^~~~~~~~~~~ +object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': +object.cpp:826:15: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] + for (i=0;i