RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux bos01-arm64-025 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:20 UTC 2017 aarch64 Buildd toolchain package versions: launchpad-buildd_143 python-lpbuildd_143 sbuild_0.67.0-2ubuntu7 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.1 dpkg-dev_1.18.4ubuntu1.2 python-debian_0.1.27ubuntu2 qemu-user-static_1:2.5+dfsg-5ubuntu10.11. Syncing the system clock with the buildd NTP service... 15 May 21:35:46 ntpdate[1831]: adjust time server 10.211.37.1 offset 0.019342 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-12589884', '/home/buildd/filecache-default/42e17d2fa25e748a1aa6eaeef2fe6722beaed5a9'] Unpacking chroot for build PACKAGEBUILD-12589884 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-12589884'] Mounting chroot for build PACKAGEBUILD-12589884 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-12589884', 'deb http://ftpmaster.internal/ubuntu artful main universe', 'deb http://ftpmaster.internal/ubuntu artful-security main universe', 'deb http://ftpmaster.internal/ubuntu artful-updates main universe', 'deb http://ftpmaster.internal/ubuntu artful-proposed main universe'] Overriding sources.list in build-PACKAGEBUILD-12589884 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-12589884', 'armhf'] Updating debian chroot for build PACKAGEBUILD-12589884 Get:1 http://ftpmaster.internal/ubuntu artful InRelease [237 kB] Get:2 http://ftpmaster.internal/ubuntu artful-security InRelease [65.5 kB] Get:3 http://ftpmaster.internal/ubuntu artful-updates InRelease [65.5 kB] Get:4 http://ftpmaster.internal/ubuntu artful-proposed InRelease [235 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main armhf Packages [1129 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main Translation-en [564 kB] Get:7 http://ftpmaster.internal/ubuntu artful/universe armhf Packages [7999 kB] Get:8 http://ftpmaster.internal/ubuntu artful/universe Translation-en [4749 kB] Get:9 http://ftpmaster.internal/ubuntu artful-proposed/main armhf Packages [43.8 kB] Get:10 http://ftpmaster.internal/ubuntu artful-proposed/main Translation-en [26.4 kB] Get:11 http://ftpmaster.internal/ubuntu artful-proposed/universe armhf Packages [130 kB] Get:12 http://ftpmaster.internal/ubuntu artful-proposed/universe Translation-en [73.6 kB] Fetched 15.3 MB in 6s (2383 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: gcc-7-base The following packages will be upgraded: advancecomp apt apt-transport-https binutils cpp-6 debianutils dmsetup dpkg dpkg-dev g++-6 gcc-6 gcc-6-base init init-system-helpers libapparmor1 libapt-pkg5.0 libasan3 libasn1-8-heimdal libatomic1 libaudit-common libaudit1 libcc1-0 libdevmapper1.02.1 libdpkg-perl libgcc-6-dev libgcc1 libgnutls30 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkmod2 libkrb5-26-heimdal libroken18-heimdal libselinux1 libsemanage-common libsemanage1 libstdc++-6-dev libstdc++6 libsystemd0 libubsan0 libudev1 libusb-0.1-4 libwind0-heimdal linux-libc-dev systemd systemd-sysv 49 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 31.4 MB of archives. After this operation, 1149 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu artful/main armhf debianutils armhf 4.8.1.1 [84.3 kB] Get:2 http://ftpmaster.internal/ubuntu artful/main armhf dpkg armhf 1.18.23ubuntu6 [1093 kB] Get:3 http://ftpmaster.internal/ubuntu artful-proposed/main armhf init-system-helpers all 1.48 [37.8 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main armhf gcc-7-base armhf 7.1.0-5ubuntu1 [18.5 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main armhf libgcc1 armhf 1:7.1.0-5ubuntu1 [38.5 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main armhf libstdc++6 armhf 7.1.0-5ubuntu1 [346 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main armhf libapt-pkg5.0 armhf 1.4.3 [719 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main armhf apt armhf 1.4.3 [1064 kB] Get:9 http://ftpmaster.internal/ubuntu artful-proposed/main armhf libapparmor1 armhf 2.11.0-2ubuntu7 [26.1 kB] Get:10 http://ftpmaster.internal/ubuntu artful/main armhf libaudit-common all 1:2.6.6-1ubuntu2 [4626 B] Get:11 http://ftpmaster.internal/ubuntu artful/main armhf libaudit1 armhf 1:2.6.6-1ubuntu2 [34.7 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main armhf libkmod2 armhf 24-1ubuntu1 [34.8 kB] Get:13 http://ftpmaster.internal/ubuntu artful/main armhf libselinux1 armhf 2.6-3build1 [59.4 kB] Get:14 http://ftpmaster.internal/ubuntu artful/main armhf systemd armhf 233-6ubuntu1 [2251 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main armhf libsystemd0 armhf 233-6ubuntu1 [192 kB] Get:16 http://ftpmaster.internal/ubuntu artful-proposed/main armhf init armhf 1.48 [5806 B] Get:17 http://ftpmaster.internal/ubuntu artful/main armhf systemd-sysv armhf 233-6ubuntu1 [13.6 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main armhf libsemanage-common all 2.6-2build1 [6738 B] Get:19 http://ftpmaster.internal/ubuntu artful/main armhf libsemanage1 armhf 2.6-2build1 [71.1 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main armhf libudev1 armhf 233-6ubuntu1 [52.6 kB] Get:21 http://ftpmaster.internal/ubuntu artful-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.137-2ubuntu2 [125 kB] Get:22 http://ftpmaster.internal/ubuntu artful-proposed/main armhf dmsetup armhf 2:1.02.137-2ubuntu2 [71.2 kB] Get:23 http://ftpmaster.internal/ubuntu artful/main armhf libroken18-heimdal armhf 7.1.0+dfsg-13 [33.7 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main armhf libasn1-8-heimdal armhf 7.1.0+dfsg-13 [138 kB] Get:25 http://ftpmaster.internal/ubuntu artful/main armhf libgnutls30 armhf 3.5.8-5ubuntu1 [618 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main armhf libheimbase1-heimdal armhf 7.1.0+dfsg-13 [23.9 kB] Get:27 http://ftpmaster.internal/ubuntu artful/main armhf libhcrypto4-heimdal armhf 7.1.0+dfsg-13 [77.4 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main armhf libwind0-heimdal armhf 7.1.0+dfsg-13 [47.3 kB] Get:29 http://ftpmaster.internal/ubuntu artful/main armhf libhx509-5-heimdal armhf 7.1.0+dfsg-13 [88.3 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main armhf libkrb5-26-heimdal armhf 7.1.0+dfsg-13 [168 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main armhf libheimntlm0-heimdal armhf 7.1.0+dfsg-13 [13.3 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main armhf libgssapi3-heimdal armhf 7.1.0+dfsg-13 [79.3 kB] Get:33 http://ftpmaster.internal/ubuntu artful/main armhf apt-transport-https armhf 1.4.3 [30.5 kB] Get:34 http://ftpmaster.internal/ubuntu artful-proposed/main armhf advancecomp armhf 1.23-1 [158 kB] Get:35 http://ftpmaster.internal/ubuntu artful-proposed/main armhf binutils armhf 2.28-5ubuntu1 [2416 kB] Get:36 http://ftpmaster.internal/ubuntu artful/main armhf libgomp1 armhf 7.1.0-5ubuntu1 [64.2 kB] Get:37 http://ftpmaster.internal/ubuntu artful/main armhf libubsan0 armhf 7.1.0-5ubuntu1 [104 kB] Get:38 http://ftpmaster.internal/ubuntu artful/main armhf libatomic1 armhf 7.1.0-5ubuntu1 [6250 B] Get:39 http://ftpmaster.internal/ubuntu artful/main armhf libasan3 armhf 6.3.0-17ubuntu1 [294 kB] Get:40 http://ftpmaster.internal/ubuntu artful/main armhf g++-6 armhf 6.3.0-17ubuntu1 [5919 kB] Get:41 http://ftpmaster.internal/ubuntu artful/main armhf libstdc++-6-dev armhf 6.3.0-17ubuntu1 [1478 kB] Get:42 http://ftpmaster.internal/ubuntu artful/main armhf gcc-6 armhf 6.3.0-17ubuntu1 [5789 kB] Get:43 http://ftpmaster.internal/ubuntu artful/main armhf libgcc-6-dev armhf 6.3.0-17ubuntu1 [547 kB] Get:44 http://ftpmaster.internal/ubuntu artful/main armhf libcc1-0 armhf 7.1.0-5ubuntu1 [31.5 kB] Get:45 http://ftpmaster.internal/ubuntu artful/main armhf cpp-6 armhf 6.3.0-17ubuntu1 [5217 kB] Get:46 http://ftpmaster.internal/ubuntu artful/main armhf gcc-6-base armhf 6.3.0-17ubuntu1 [17.3 kB] Get:47 http://ftpmaster.internal/ubuntu artful/main armhf dpkg-dev all 1.18.23ubuntu6 [607 kB] Get:48 http://ftpmaster.internal/ubuntu artful/main armhf libdpkg-perl all 1.18.23ubuntu6 [209 kB] Get:49 http://ftpmaster.internal/ubuntu artful/main armhf libusb-0.1-4 armhf 2:0.1.12-31 [15.6 kB] Get:50 http://ftpmaster.internal/ubuntu artful-proposed/main armhf linux-libc-dev armhf 4.10.0-21.23 [890 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 31.4 MB in 1s (23.5 MB/s) (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 ... 12213 files and directories currently installed.) Preparing to unpack .../debianutils_4.8.1.1_armhf.deb ... Unpacking debianutils (4.8.1.1) over (4.8.1) ... Setting up debianutils (4.8.1.1) ... (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 ... 12213 files and directories currently installed.) Preparing to unpack .../dpkg_1.18.23ubuntu6_armhf.deb ... Unpacking dpkg (1.18.23ubuntu6) over (1.18.23ubuntu4) ... Setting up dpkg (1.18.23ubuntu6) ... (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 ... 12213 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.48_all.deb ... Unpacking init-system-helpers (1.48) over (1.47) ... Setting up init-system-helpers (1.48) ... Selecting previously unselected package gcc-7-base:armhf. (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 ... 12213 files and directories currently installed.) Preparing to unpack .../gcc-7-base_7.1.0-5ubuntu1_armhf.deb ... Unpacking gcc-7-base:armhf (7.1.0-5ubuntu1) ... Setting up gcc-7-base:armhf (7.1.0-5ubuntu1) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.1.0-5ubuntu1_armhf.deb ... Unpacking libgcc1:armhf (1:7.1.0-5ubuntu1) over (1:6.3.0-14ubuntu3) ... Setting up libgcc1:armhf (1:7.1.0-5ubuntu1) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libstdc++6_7.1.0-5ubuntu1_armhf.deb ... Unpacking libstdc++6:armhf (7.1.0-5ubuntu1) over (6.3.0-14ubuntu3) ... Setting up libstdc++6:armhf (7.1.0-5ubuntu1) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.4.3_armhf.deb ... Unpacking libapt-pkg5.0:armhf (1.4.3) over (1.4.1ubuntu2) ... Setting up libapt-pkg5.0:armhf (1.4.3) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../archives/apt_1.4.3_armhf.deb ... Unpacking apt (1.4.3) over (1.4.1ubuntu2) ... Setting up apt (1.4.3) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.11.0-2ubuntu7_armhf.deb ... Unpacking libapparmor1:armhf (2.11.0-2ubuntu7) over (2.11.0-2ubuntu4) ... Preparing to unpack .../libaudit-common_1%3a2.6.6-1ubuntu2_all.deb ... Unpacking libaudit-common (1:2.6.6-1ubuntu2) over (1:2.6.6-1ubuntu1) ... Setting up libaudit-common (1:2.6.6-1ubuntu2) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.6.6-1ubuntu2_armhf.deb ... Unpacking libaudit1:armhf (1:2.6.6-1ubuntu2) over (1:2.6.6-1ubuntu1) ... Setting up libaudit1:armhf (1:2.6.6-1ubuntu2) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../libkmod2_24-1ubuntu1_armhf.deb ... Unpacking libkmod2:armhf (24-1ubuntu1) over (22-1.1ubuntu1) ... Preparing to unpack .../libselinux1_2.6-3build1_armhf.deb ... Unpacking libselinux1:armhf (2.6-3build1) over (2.6-3) ... Setting up libselinux1:armhf (2.6-3build1) ... (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 ... 12220 files and directories currently installed.) Preparing to unpack .../systemd_233-6ubuntu1_armhf.deb ... Unpacking systemd (233-6ubuntu1) over (232-21ubuntu3) ... dpkg: warning: unable to delete old directory '/etc/dbus-1/system.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/dbus-1': Directory not empty Preparing to unpack .../libsystemd0_233-6ubuntu1_armhf.deb ... Unpacking libsystemd0:armhf (233-6ubuntu1) over (232-21ubuntu3) ... Setting up libsystemd0:armhf (233-6ubuntu1) ... (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 ... 12246 files and directories currently installed.) Preparing to unpack .../archives/init_1.48_armhf.deb ... Unpacking init (1.48) over (1.47) ... Setting up libapparmor1:armhf (2.11.0-2ubuntu7) ... Setting up libkmod2:armhf (24-1ubuntu1) ... Setting up systemd (233-6ubuntu1) ... Installing new version of config file /etc/systemd/resolved.conf ... addgroup: The group `systemd-journal' already exists as a system group. Exiting. Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.hostname1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.locale1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.login1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.network1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ... (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 ... 12246 files and directories currently installed.) Preparing to unpack .../systemd-sysv_233-6ubuntu1_armhf.deb ... Unpacking systemd-sysv (233-6ubuntu1) over (232-21ubuntu3) ... Preparing to unpack .../libsemanage-common_2.6-2build1_all.deb ... Unpacking libsemanage-common (2.6-2build1) over (2.6-2) ... Setting up libsemanage-common (2.6-2build1) ... (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 ... 12246 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.6-2build1_armhf.deb ... Unpacking libsemanage1:armhf (2.6-2build1) over (2.6-2) ... Setting up libsemanage1:armhf (2.6-2build1) ... (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 ... 12246 files and directories currently installed.) Preparing to unpack .../libudev1_233-6ubuntu1_armhf.deb ... Unpacking libudev1:armhf (233-6ubuntu1) over (232-21ubuntu3) ... Setting up libudev1:armhf (233-6ubuntu1) ... (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 ... 12246 files and directories currently installed.) Preparing to unpack .../00-libdevmapper1.02.1_2%3a1.02.137-2ubuntu2_armhf.deb ... Unpacking libdevmapper1.02.1:armhf (2:1.02.137-2ubuntu2) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../01-dmsetup_2%3a1.02.137-2ubuntu2_armhf.deb ... Unpacking dmsetup (2:1.02.137-2ubuntu2) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../02-libroken18-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libroken18-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../03-libasn1-8-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libasn1-8-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../04-libgnutls30_3.5.8-5ubuntu1_armhf.deb ... Unpacking libgnutls30:armhf (3.5.8-5ubuntu1) over (3.5.6-4ubuntu4) ... Preparing to unpack .../05-libheimbase1-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libheimbase1-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../06-libhcrypto4-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libhcrypto4-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../07-libwind0-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libwind0-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../08-libhx509-5-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libhx509-5-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../09-libkrb5-26-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libkrb5-26-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../10-libheimntlm0-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libheimntlm0-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../11-libgssapi3-heimdal_7.1.0+dfsg-13_armhf.deb ... Unpacking libgssapi3-heimdal:armhf (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../12-apt-transport-https_1.4.3_armhf.deb ... Unpacking apt-transport-https (1.4.3) over (1.4.1ubuntu2) ... Preparing to unpack .../13-advancecomp_1.23-1_armhf.deb ... Unpacking advancecomp (1.23-1) over (1.20-1) ... Preparing to unpack .../14-binutils_2.28-5ubuntu1_armhf.deb ... Unpacking binutils (2.28-5ubuntu1) over (2.28-4ubuntu1) ... Preparing to unpack .../15-libgomp1_7.1.0-5ubuntu1_armhf.deb ... Unpacking libgomp1:armhf (7.1.0-5ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../16-libubsan0_7.1.0-5ubuntu1_armhf.deb ... Unpacking libubsan0:armhf (7.1.0-5ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../17-libatomic1_7.1.0-5ubuntu1_armhf.deb ... Unpacking libatomic1:armhf (7.1.0-5ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../18-libasan3_6.3.0-17ubuntu1_armhf.deb ... Unpacking libasan3:armhf (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../19-g++-6_6.3.0-17ubuntu1_armhf.deb ... Unpacking g++-6 (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../20-libstdc++-6-dev_6.3.0-17ubuntu1_armhf.deb ... Unpacking libstdc++-6-dev:armhf (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../21-gcc-6_6.3.0-17ubuntu1_armhf.deb ... Unpacking gcc-6 (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../22-libgcc-6-dev_6.3.0-17ubuntu1_armhf.deb ... Unpacking libgcc-6-dev:armhf (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../23-libcc1-0_7.1.0-5ubuntu1_armhf.deb ... Unpacking libcc1-0:armhf (7.1.0-5ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../24-cpp-6_6.3.0-17ubuntu1_armhf.deb ... Unpacking cpp-6 (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../25-gcc-6-base_6.3.0-17ubuntu1_armhf.deb ... Unpacking gcc-6-base:armhf (6.3.0-17ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../26-dpkg-dev_1.18.23ubuntu6_all.deb ... Unpacking dpkg-dev (1.18.23ubuntu6) over (1.18.23ubuntu4) ... Preparing to unpack .../27-libdpkg-perl_1.18.23ubuntu6_all.deb ... Unpacking libdpkg-perl (1.18.23ubuntu6) over (1.18.23ubuntu4) ... Preparing to unpack .../28-libusb-0.1-4_2%3a0.1.12-31_armhf.deb ... Unpacking libusb-0.1-4:armhf (2:0.1.12-31) over (2:0.1.12-30) ... Preparing to unpack .../29-linux-libc-dev_4.10.0-21.23_armhf.deb ... Unpacking linux-libc-dev:armhf (4.10.0-21.23) over (4.10.0-20.22) ... Setting up libgomp1:armhf (7.1.0-5ubuntu1) ... Setting up libatomic1:armhf (7.1.0-5ubuntu1) ... Setting up libcc1-0:armhf (7.1.0-5ubuntu1) ... Setting up apt-transport-https (1.4.3) ... Setting up systemd-sysv (233-6ubuntu1) ... Setting up libubsan0:armhf (7.1.0-5ubuntu1) ... Setting up gcc-6-base:armhf (6.3.0-17ubuntu1) ... Setting up linux-libc-dev:armhf (4.10.0-21.23) ... Setting up advancecomp (1.23-1) ... Setting up libgnutls30:armhf (3.5.8-5ubuntu1) ... Setting up libdpkg-perl (1.18.23ubuntu6) ... Setting up libroken18-heimdal:armhf (7.1.0+dfsg-13) ... Setting up libdevmapper1.02.1:armhf (2:1.02.137-2ubuntu2) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... Setting up libheimbase1-heimdal:armhf (7.1.0+dfsg-13) ... Setting up dmsetup (2:1.02.137-2ubuntu2) ... Setting up binutils (2.28-5ubuntu1) ... Setting up cpp-6 (6.3.0-17ubuntu1) ... Setting up libusb-0.1-4:armhf (2:0.1.12-31) ... Setting up libasan3:armhf (6.3.0-17ubuntu1) ... Setting up libgcc-6-dev:armhf (6.3.0-17ubuntu1) ... Setting up libstdc++-6-dev:armhf (6.3.0-17ubuntu1) ... Setting up libwind0-heimdal:armhf (7.1.0+dfsg-13) ... Setting up init (1.48) ... Setting up libasn1-8-heimdal:armhf (7.1.0+dfsg-13) ... Setting up libhcrypto4-heimdal:armhf (7.1.0+dfsg-13) ... Setting up libhx509-5-heimdal:armhf (7.1.0+dfsg-13) ... Setting up gcc-6 (6.3.0-17ubuntu1) ... Setting up g++-6 (6.3.0-17ubuntu1) ... Setting up dpkg-dev (1.18.23ubuntu6) ... Setting up libkrb5-26-heimdal:armhf (7.1.0+dfsg-13) ... Setting up libheimntlm0-heimdal:armhf (7.1.0+dfsg-13) ... Setting up libgssapi3-heimdal:armhf (7.1.0+dfsg-13) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-12589884', 'armhf', 'artful-proposed', '-c', 'chroot:autobuild', '--arch=armhf', '--dist=artful-proposed', '--purge=never', '--nolog', 'dmraid_1.0.0.rc16-8ubuntu1.dsc'] Initiating build PACKAGEBUILD-12589884 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:20 UTC 2017 armv7l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos01-arm64-025.buildd +==============================================================================+ | dmraid 1.0.0.rc16-8ubuntu1 (armhf) 15 May 2017 21:36 | +==============================================================================+ Package: dmraid Version: 1.0.0.rc16-8ubuntu1 Source Version: 1.0.0.rc16-8ubuntu1 Distribution: artful-proposed Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/dmraid-7OrZ2Q/dmraid-1.0.0.rc16' with '<>' I: NOTICE: Log filtering will replace 'build/dmraid-7OrZ2Q' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-12589884/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- dmraid_1.0.0.rc16-8ubuntu1.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-9HuyPt/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-9HuyPt/apt_archive ./ InRelease Get:2 copy:/<>/resolver-9HuyPt/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-9HuyPt/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-9HuyPt/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-9HuyPt/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (22.9 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 778 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-9HuyPt/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [778 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 778 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (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 ... 12245 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 9), libdevmapper-dev, libklibc-dev, libselinux1-dev, quilt (>= 0.40), autotools-dev Filtered Build-Depends: debhelper (>= 9), libdevmapper-dev, libklibc-dev, libselinux1-dev, quilt (>= 0.40), autotools-dev dpkg-deb: building package 'sbuild-build-depends-dmraid-dummy' in '/<>/resolver-J111sL/apt_archive/sbuild-build-depends-dmraid-dummy.deb'. Ign:1 copy:/<>/resolver-J111sL/apt_archive ./ InRelease Get:2 copy:/<>/resolver-J111sL/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-J111sL/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-J111sL/apt_archive ./ Sources [247 B] Get:5 copy:/<>/resolver-J111sL/apt_archive ./ Packages [565 B] Fetched 2931 B in 0s (56.9 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install dmraid build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism diffstat file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdevmapper-dev libdevmapper-event1.02.1 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libklibc libklibc-dev libmagic-mgc libmagic1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libselinux1-dev libsepol1-dev libsigsegv2 libtimedate-perl libtool libudev-dev libxml2 m4 man-db po-debconf quilt Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl procmail graphviz default-mta | mail-transport-agent Recommended packages: curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl less The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism diffstat file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdevmapper-dev libdevmapper-event1.02.1 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libklibc libklibc-dev libmagic-mgc libmagic1 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libselinux1-dev libsepol1-dev libsigsegv2 libtimedate-perl libtool libudev-dev libxml2 m4 man-db po-debconf quilt sbuild-build-depends-dmraid-dummy 0 upgraded, 43 newly installed, 1 to remove and 0 not upgraded. Need to get 17.2 MB of archives. After this operation, 62.8 MB of additional disk space will be used. Get:1 copy:/<>/resolver-J111sL/apt_archive ./ sbuild-build-depends-dmraid-dummy 0.invalid.0 [818 B] Get:2 http://ftpmaster.internal/ubuntu artful/main armhf groff-base armhf 1.22.3-9 [1013 kB] Get:3 http://ftpmaster.internal/ubuntu artful/main armhf libbsd0 armhf 0.8.3-1 [48.3 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main armhf bsdmainutils armhf 9.0.12ubuntu1 [169 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main armhf libpipeline1 armhf 1.4.1-2 [21.0 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main armhf man-db armhf 2.7.6.1-2 [873 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main armhf libpcrecpp0v5 armhf 2:8.39-3 [13.2 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main armhf libudev-dev armhf 233-6ubuntu1 [19.0 kB] Get:9 http://ftpmaster.internal/ubuntu artful/main armhf libmagic-mgc armhf 1:5.30-1 [181 kB] Get:10 http://ftpmaster.internal/ubuntu artful/main armhf libmagic1 armhf 1:5.30-1 [63.0 kB] Get:11 http://ftpmaster.internal/ubuntu artful/main armhf file armhf 1:5.30-1 [21.5 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main armhf libklibc armhf 2.0.4-9ubuntu1 [38.9 kB] Get:13 http://ftpmaster.internal/ubuntu artful/main armhf gettext-base armhf 0.19.8.1-2ubuntu1 [44.8 kB] Get:14 http://ftpmaster.internal/ubuntu artful/main armhf libglib2.0-0 armhf 2.53.1-1 [1006 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main armhf libicu57 armhf 57.1-6 [7442 kB] Get:16 http://ftpmaster.internal/ubuntu artful/main armhf libxml2 armhf 2.9.4+dfsg1-2.2build1 [605 kB] Get:17 http://ftpmaster.internal/ubuntu artful/main armhf libsigsegv2 armhf 2.10-5 [13.3 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main armhf m4 armhf 1.4.18-1 [181 kB] Get:19 http://ftpmaster.internal/ubuntu artful/main armhf autoconf all 2.69-10 [321 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main armhf autotools-dev all 20161112.1 [39.5 kB] Get:21 http://ftpmaster.internal/ubuntu artful/main armhf automake all 1:1.15-6ubuntu1 [509 kB] Get:22 http://ftpmaster.internal/ubuntu artful/main armhf autopoint all 0.19.8.1-2ubuntu1 [411 kB] Get:23 http://ftpmaster.internal/ubuntu artful/main armhf libtool all 2.4.6-2 [194 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main armhf dh-autoreconf all 14 [15.5 kB] Get:25 http://ftpmaster.internal/ubuntu artful/main armhf libarchive-zip-perl all 1.59-1 [84.0 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main armhf libfile-stripnondeterminism-perl all 0.033-2 [13.0 kB] Get:27 http://ftpmaster.internal/ubuntu artful/main armhf libtimedate-perl all 2.3000-2 [37.5 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main armhf dh-strip-nondeterminism all 0.033-2 [5016 B] Get:29 http://ftpmaster.internal/ubuntu artful/main armhf libcroco3 armhf 0.6.11-3 [69.6 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main armhf gettext armhf 0.19.8.1-2ubuntu1 [1018 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main armhf intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main armhf po-debconf all 1.0.20 [232 kB] Get:33 http://ftpmaster.internal/ubuntu artful/main armhf debhelper all 10.2.5ubuntu2 [870 kB] Get:34 http://ftpmaster.internal/ubuntu artful/main armhf diffstat armhf 1.61-1build1 [21.1 kB] Get:35 http://ftpmaster.internal/ubuntu artful-proposed/main armhf libdevmapper-event1.02.1 armhf 2:1.02.137-2ubuntu2 [10.1 kB] Get:36 http://ftpmaster.internal/ubuntu artful/main armhf libsepol1-dev armhf 2.6-2 [269 kB] Get:37 http://ftpmaster.internal/ubuntu artful/main armhf libpcre16-3 armhf 2:8.39-3 [129 kB] Get:38 http://ftpmaster.internal/ubuntu artful/main armhf libpcre32-3 armhf 2:8.39-3 [121 kB] Get:39 http://ftpmaster.internal/ubuntu artful/main armhf libpcre3-dev armhf 2:8.39-3 [476 kB] Get:40 http://ftpmaster.internal/ubuntu artful/main armhf libselinux1-dev armhf 2.6-3build1 [139 kB] Get:41 http://ftpmaster.internal/ubuntu artful-proposed/main armhf libdevmapper-dev armhf 2:1.02.137-2ubuntu2 [33.4 kB] Get:42 http://ftpmaster.internal/ubuntu artful/main armhf libklibc-dev armhf 2.0.4-9ubuntu1 [130 kB] Get:43 http://ftpmaster.internal/ubuntu artful/universe armhf quilt all 0.63-8 [293 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.2 MB in 2s (6556 kB/s) (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 ... 12245 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package groff-base. (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 ... 12236 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../01-libbsd0_0.8.3-1_armhf.deb ... Unpacking libbsd0:armhf (0.8.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_9.0.12ubuntu1_armhf.deb ... Unpacking bsdmainutils (9.0.12ubuntu1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.4.1-2_armhf.deb ... Unpacking libpipeline1:armhf (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.7.6.1-2_armhf.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libpcrecpp0v5:armhf. Preparing to unpack .../05-libpcrecpp0v5_2%3a8.39-3_armhf.deb ... Unpacking libpcrecpp0v5:armhf (2:8.39-3) ... Selecting previously unselected package libudev-dev:armhf. Preparing to unpack .../06-libudev-dev_233-6ubuntu1_armhf.deb ... Unpacking libudev-dev:armhf (233-6ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.30-1_armhf.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../08-libmagic1_1%3a5.30-1_armhf.deb ... Unpacking libmagic1:armhf (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.30-1_armhf.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package libklibc. Preparing to unpack .../10-libklibc_2.0.4-9ubuntu1_armhf.deb ... Unpacking libklibc (2.0.4-9ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-2ubuntu1_armhf.deb ... Unpacking gettext-base (0.19.8.1-2ubuntu1) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../12-libglib2.0-0_2.53.1-1_armhf.deb ... Unpacking libglib2.0-0:armhf (2.53.1-1) ... Selecting previously unselected package libicu57:armhf. Preparing to unpack .../13-libicu57_57.1-6_armhf.deb ... Unpacking libicu57:armhf (57.1-6) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../14-libxml2_2.9.4+dfsg1-2.2build1_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-2.2build1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../15-libsigsegv2_2.10-5_armhf.deb ... Unpacking libsigsegv2:armhf (2.10-5) ... Selecting previously unselected package m4. Preparing to unpack .../16-m4_1.4.18-1_armhf.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../17-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../18-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../19-automake_1%3a1.15-6ubuntu1_all.deb ... Unpacking automake (1:1.15-6ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../20-autopoint_0.19.8.1-2ubuntu1_all.deb ... Unpacking autopoint (0.19.8.1-2ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../24-libfile-stripnondeterminism-perl_0.033-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.033-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../25-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_0.033-2_all.deb ... Unpacking dh-strip-nondeterminism (0.033-2) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../27-libcroco3_0.6.11-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.11-3) ... Selecting previously unselected package gettext. Preparing to unpack .../28-gettext_0.19.8.1-2ubuntu1_armhf.deb ... Unpacking gettext (0.19.8.1-2ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../29-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../30-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../31-debhelper_10.2.5ubuntu2_all.deb ... Unpacking debhelper (10.2.5ubuntu2) ... Selecting previously unselected package diffstat. Preparing to unpack .../32-diffstat_1.61-1build1_armhf.deb ... Unpacking diffstat (1.61-1build1) ... Selecting previously unselected package libdevmapper-event1.02.1:armhf. Preparing to unpack .../33-libdevmapper-event1.02.1_2%3a1.02.137-2ubuntu2_armhf.deb ... Unpacking libdevmapper-event1.02.1:armhf (2:1.02.137-2ubuntu2) ... Selecting previously unselected package libsepol1-dev:armhf. Preparing to unpack .../34-libsepol1-dev_2.6-2_armhf.deb ... Unpacking libsepol1-dev:armhf (2.6-2) ... Selecting previously unselected package libpcre16-3:armhf. Preparing to unpack .../35-libpcre16-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre16-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre32-3:armhf. Preparing to unpack .../36-libpcre32-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre32-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre3-dev:armhf. Preparing to unpack .../37-libpcre3-dev_2%3a8.39-3_armhf.deb ... Unpacking libpcre3-dev:armhf (2:8.39-3) ... Selecting previously unselected package libselinux1-dev:armhf. Preparing to unpack .../38-libselinux1-dev_2.6-3build1_armhf.deb ... Unpacking libselinux1-dev:armhf (2.6-3build1) ... Selecting previously unselected package libdevmapper-dev:armhf. Preparing to unpack .../39-libdevmapper-dev_2%3a1.02.137-2ubuntu2_armhf.deb ... Unpacking libdevmapper-dev:armhf (2:1.02.137-2ubuntu2) ... Selecting previously unselected package libklibc-dev. Preparing to unpack .../40-libklibc-dev_2.0.4-9ubuntu1_armhf.deb ... Unpacking libklibc-dev (2.0.4-9ubuntu1) ... Selecting previously unselected package quilt. Preparing to unpack .../41-quilt_0.63-8_all.deb ... Unpacking quilt (0.63-8) ... Selecting previously unselected package sbuild-build-depends-dmraid-dummy. Preparing to unpack .../42-sbuild-build-depends-dmraid-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-dmraid-dummy (0.invalid.0) ... Setting up libsepol1-dev:armhf (2.6-2) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.10-5) ... Setting up libklibc (2.0.4-9ubuntu1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:armhf (2.53.1-1) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-2ubuntu1) ... Setting up libpipeline1:armhf (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:armhf (57.1-6) ... Setting up libbsd0:armhf (0.8.3-1) ... Setting up libxml2:armhf (2.9.4+dfsg1-2.2build1) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:armhf (1:5.30-1) ... Setting up libcroco3:armhf (0.6.11-3) ... Setting up libdevmapper-event1.02.1:armhf (2:1.02.137-2ubuntu2) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... Setting up autotools-dev (20161112.1) ... Setting up libpcrecpp0v5:armhf (2:8.39-3) ... Setting up libpcre32-3:armhf (2:8.39-3) ... Setting up libpcre16-3:armhf (2:8.39-3) ... Setting up bsdmainutils (9.0.12ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libudev-dev:armhf (233-6ubuntu1) ... Setting up diffstat (1.61-1build1) ... Setting up autopoint (0.19.8.1-2ubuntu1) ... Setting up libfile-stripnondeterminism-perl (0.033-2) ... Setting up libpcre3-dev:armhf (2:8.39-3) ... Setting up gettext (0.19.8.1-2ubuntu1) ... Setting up libklibc-dev (2.0.4-9ubuntu1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15-6ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libselinux1-dev:armhf (2.6-3build1) ... Setting up libtool (2.4.6-2) ... Setting up quilt (0.63-8) ... Setting up libdevmapper-dev:armhf (2:1.02.137-2ubuntu2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.033-2) ... Setting up debhelper (10.2.5ubuntu2) ... Setting up sbuild-build-depends-dmraid-dummy (0.invalid.0) ... (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 ... 14921 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-77-generic arm64 (armv7l) Toolchain package versions: binutils_2.28-5ubuntu1 dpkg-dev_1.18.23ubuntu6 g++-6_6.3.0-17ubuntu1 gcc-6_6.3.0-17ubuntu1 libc6-dev_2.24-9ubuntu2 libstdc++-6-dev_6.3.0-17ubuntu1 libstdc++6_7.1.0-5ubuntu1 linux-libc-dev_4.10.0-21.23 Package versions: adduser_3.113+nmu3ubuntu5 advancecomp_1.23-1 apt_1.4.3 apt-transport-https_1.4.3 autoconf_2.69-10 automake_1:1.15-6ubuntu1 autopoint_0.19.8.1-2ubuntu1 autotools-dev_20161112.1 base-files_9.6ubuntu99 base-passwd_3.5.43 bash_4.4-2ubuntu1 binutils_2.28-5ubuntu1 bsdmainutils_9.0.12ubuntu1 bsdutils_1:2.29-1ubuntu2 build-essential_12.1ubuntu2 bzip2_1.0.6-8.1 ca-certificates_20161130 coreutils_8.26-3ubuntu3 cpp_4:6.3.0-2ubuntu1 cpp-6_6.3.0-17ubuntu1 dash_0.5.8-2.3ubuntu1 debconf_1.5.60ubuntu1 debhelper_10.2.5ubuntu2 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.033-2 diffstat_1.61-1build1 diffutils_1:3.5-3 dmsetup_2:1.02.137-2ubuntu2 dpkg_1.18.23ubuntu6 dpkg-dev_1.18.23ubuntu6 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 fakeroot_1.21-1ubuntu2 file_1:5.30-1 findutils_4.6.0+git+20161106-2 g++_4:6.3.0-2ubuntu1 g++-6_6.3.0-17ubuntu1 gcc_4:6.3.0-2ubuntu1 gcc-6_6.3.0-17ubuntu1 gcc-6-base_6.3.0-17ubuntu1 gcc-7-base_7.1.0-5ubuntu1 gettext_0.19.8.1-2ubuntu1 gettext-base_0.19.8.1-2ubuntu1 gnupg_2.1.15-1ubuntu7 gnupg-agent_2.1.15-1ubuntu7 gpgv_2.1.15-1ubuntu7 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hostname_3.18 init_1.48 init-system-helpers_1.48 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.11.0-2ubuntu7 libapt-pkg5.0_1.4.3 libarchive-zip-perl_1.59-1 libasan3_6.3.0-17ubuntu1 libasn1-8-heimdal_7.1.0+dfsg-13 libassuan0_2.4.3-2 libatomic1_7.1.0-5ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.6.6-1ubuntu2 libaudit1_1:2.6.6-1ubuntu2 libblkid1_2.29-1ubuntu2 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-9ubuntu2 libc-dev-bin_2.24-9ubuntu2 libc6_2.24-9ubuntu2 libc6-dev_2.24-9ubuntu2 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcc1-0_7.1.0-5ubuntu1 libcomerr2_1.43.4-2 libcroco3_0.6.11-3 libcryptsetup4_2:1.7.2-0ubuntu1 libcurl3-gnutls_7.52.1-5ubuntu1 libdb5.3_5.3.28-12 libdebconfclient0_0.213ubuntu1 libdevmapper-dev_2:1.02.137-2ubuntu2 libdevmapper-event1.02.1_2:1.02.137-2ubuntu2 libdevmapper1.02.1_2:1.02.137-2ubuntu2 libdpkg-perl_1.18.23ubuntu6 libfakeroot_1.21-1ubuntu2 libfdisk1_2.29-1ubuntu2 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.033-2 libgcc-6-dev_6.3.0-17ubuntu1 libgcc1_1:7.1.0-5ubuntu1 libgcrypt20_1.7.6-1 libgdbm3_1.8.3-14 libglib2.0-0_2.53.1-1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.8-5ubuntu1 libgomp1_7.1.0-5ubuntu1 libgpg-error0_1.26-2 libgssapi-krb5-2_1.15-2 libgssapi3-heimdal_7.1.0+dfsg-13 libhcrypto4-heimdal_7.1.0+dfsg-13 libheimbase1-heimdal_7.1.0+dfsg-13 libheimntlm0-heimdal_7.1.0+dfsg-13 libhogweed4_3.3-1 libhx509-5-heimdal_7.1.0+dfsg-13 libicu57_57.1-6 libidn11_1.33-1 libidn2-0_0.16-1 libip4tc0_1.6.0-3ubuntu2 libisl15_0.18-1 libk5crypto3_1.15-2 libkeyutils1_1.5.9-9ubuntu1 libklibc_2.0.4-9ubuntu1 libklibc-dev_2.0.4-9ubuntu1 libkmod2_24-1ubuntu1 libkrb5-26-heimdal_7.1.0+dfsg-13 libkrb5-3_1.15-2 libkrb5support0_1.15-2 libksba8_1.3.5-2 libldap-2.4-2_2.4.44+dfsg-4ubuntu1 libldap-common_2.4.44+dfsg-4ubuntu1 liblockfile-bin_1.14-1 liblockfile1_1.14-1 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.2 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29-1ubuntu2 libmpc3_1.0.3-1 libmpfr4_3.1.5-1 libncurses5_6.0+20160625-1ubuntu1 libncursesw5_6.0+20160625-1ubuntu1 libnettle6_3.3-1 libnpth0_1.3-1 libp11-kit0_0.23.3-5 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libpcre16-3_2:8.39-3 libpcre3_2:8.39-3 libpcre3-dev_2:8.39-3 libpcre32-3_2:8.39-3 libpcrecpp0v5_2:8.39-3 libperl5.24_5.24.1-2ubuntu1 libpipeline1_1.4.1-2 libpng16-16_1.6.29-2 libprocps6_2:3.3.12-1ubuntu2 libpsl5_0.17.0-4 libreadline7_7.0-0ubuntu2 libroken18-heimdal_7.1.0+dfsg-13 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-2ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-2ubuntu1 libseccomp2_2.3.1-2.1ubuntu1 libselinux1_2.6-3build1 libselinux1-dev_2.6-3build1 libsemanage-common_2.6-2build1 libsemanage1_2.6-2build1 libsepol1_2.6-2 libsepol1-dev_2.6-2 libsigsegv2_2.10-5 libslang2_2.3.1-5ubuntu1 libsmartcols1_2.29-1ubuntu2 libsqlite3-0_3.16.2-3 libss2_1.43.4-2 libssl1.0.0_1.0.2g-1ubuntu12 libstdc++-6-dev_6.3.0-17ubuntu1 libstdc++6_7.1.0-5ubuntu1 libsystemd0_233-6ubuntu1 libtasn1-6_4.10-1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160625-1ubuntu1 libtool_2.4.6-2 libubsan0_7.1.0-5ubuntu1 libudev-dev_233-6ubuntu1 libudev1_233-6ubuntu1 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.29-1ubuntu2 libwind0-heimdal_7.1.0+dfsg-13 libxml2_2.9.4+dfsg1-2.2build1 linux-libc-dev_4.10.0-21.23 lockfile-progs_0.1.17build1 login_1:4.2-3.2ubuntu1 lsb-base_9.20160110ubuntu5 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17ubuntu2 mount_2.29-1ubuntu2 multiarch-support_2.24-9ubuntu2 ncurses-base_6.0+20160625-1ubuntu1 ncurses-bin_6.0+20160625-1ubuntu1 openssl_1.0.2g-1ubuntu12 optipng_0.7.6-1build1 passwd_1:4.2-3.2ubuntu1 patch_2.7.5-1build1 perl_5.24.1-2ubuntu1 perl-base_5.24.1-2ubuntu1 perl-modules-5.24_5.24.1-2ubuntu1 pinentry-curses_1.0.0-2 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-1ubuntu2 quilt_0.63-8 readline-common_7.0-0ubuntu2 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-dmraid-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 systemd_233-6ubuntu1 systemd-sysv_233-6ubuntu1 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.8git1 tar_1.29b-1.1 tzdata_2017b-1 ubuntu-keyring_2016.10.27 util-linux_2.29-1ubuntu2 xz-utils_5.2.2-1.2 zlib1g_1:1.2.11.dfsg-0ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Mon May 15 21:33:35 2017 UTC gpgv: using RSA key gpgv: issuer "steve.langasek@ubuntu.com" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./dmraid_1.0.0.rc16-8ubuntu1.dsc dpkg-source: info: extracting dmraid in dmraid-1.0.0.rc16 dpkg-source: info: unpacking dmraid_1.0.0.rc16.orig.tar.gz dpkg-source: info: applying dmraid_1.0.0.rc16-8ubuntu1.diff.gz dpkg-source: info: upstream files that have been modified: dmraid-1.0.0.rc16/1.0.0.rc16/autoconf/config.guess dmraid-1.0.0.rc16/1.0.0.rc16/autoconf/config.sub Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/home/buildd LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd MAIL=/var/mail/buildd OLDPWD=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/<> SHELL=/bin/sh SUDO_COMMAND=/usr/sbin/chroot /<> su buildd -s /bin/sh -c cd '/<>' && 'env' SUDO_GID=2501 SUDO_UID=2001 SUDO_USER=buildd TERM=unknown USER=buildd USERNAME=root dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package dmraid dpkg-buildpackage: info: source version 1.0.0.rc16-8ubuntu1 dpkg-buildpackage: info: source distribution artful dpkg-source --before-build dmraid-1.0.0.rc16 dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir dh_testroot dh_clean rm -f *-stamp rm -rf debian/build debian/standard debian/udeb debian/rules build-arch QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null push -a || test $? = 2 Applying patch 01_fix_broken_linking.patch patching file 1.0.0.rc16/configure patching file 1.0.0.rc16/configure.in patching file 1.0.0.rc16/lib/Makefile.in patching file 1.0.0.rc16/make.tmpl.in patching file 1.0.0.rc16/tools/Makefile.in Applying patch 02_disable_dmreg.patch patching file 1.0.0.rc16/lib/Makefile.in patching file 1.0.0.rc16/make.tmpl.in patching file 1.0.0.rc16/tools/Makefile.in patching file 1.0.0.rc16/lib/.export.sym patching file 1.0.0.rc16/lib/activate/activate.c patching file 1.0.0.rc16/lib/metadata/reconfig.c Applying patch 03_fix_hyphen-used-as-minus-sign.patch patching file 1.0.0.rc16/man/dmraid.8 Applying patch 09_promise-add-offsets.patch patching file 1.0.0.rc16/lib/format/ataraid/pdc.h Applying patch 10_exit_code.patch patching file 1.0.0.rc16/lib/metadata/metadata.c Applying patch 12_support_virtio_devices.patch patching file 1.0.0.rc16/lib/device/scan.c Applying patch 17_isw-probe-hpa.patch patching file 1.0.0.rc16/lib/format/ataraid/isw.c patching file 1.0.0.rc16/lib/format/ataraid/isw.h Applying patch 15_activate_multiple_raid_sets.patch patching file 1.0.0.rc16/lib/metadata/metadata.c Applying patch 18_pdc_raid10_failure..patch patching file 1.0.0.rc16/lib/format/ataraid/pdc.c Applying patch 19_ddf1_lsi_persistent_name.patch patching file 1.0.0.rc16/lib/format/ddf/ddf1.c Applying patch 20_fix_isw_sectors_calculation.patch patching file 1.0.0.rc16/lib/format/ataraid/isw.c Applying patch 21_fix_man_page_typos.patch patching file 1.0.0.rc16/man/dmraid.8 Applying patch 21_jmicron_namefix.patch patching file 1.0.0.rc16/lib/format/ataraid/jm.c Applying patch 21_fix_testing.patch patching file 1.0.0.rc16/lib/device/scan.c Applying patch 23_pdc_dump_extended_metadata.patch patching file 1.0.0.rc16/lib/format/ataraid/pdc.c Applying patch 24_drop_p_for_partition_conditional.patch patching file 1.0.0.rc16/lib/format/partition/dos.c Applying patch 25_change-uuid.patch patching file 1.0.0.rc16/lib/activate/devmapper.c patching file 1.0.0.rc16/include/dmraid/metadata.h patching file 1.0.0.rc16/lib/format/ataraid/isw.c patching file 1.0.0.rc16/lib/format/format.c Applying patch 26_convert-dmraid45-to-dmraid.patch patching file 1.0.0.rc16/lib/activate/activate.c patching file 1.0.0.rc16/lib/metadata/metadata.c patching file 1.0.0.rc16/lib/events/libdmraid-events-isw.c Applying patch 27_ignore-too-small-devices.patch patching file 1.0.0.rc16/lib/format/format.c Now at patch 27_ignore-too-small-devices.patch touch debian/stamp-patched dh_testdir mkdir -p /<>/debian/build cp -f /usr/share/misc/config.sub 1.0.0.rc16/autoconf/config.sub cp -f /usr/share/misc/config.guess 1.0.0.rc16/autoconf/config.guess for i in standard udeb; do cp -rp 1.0.0.rc16 /<>/debian/build/$i; done touch methods-stamp dh_testdir cd /<>/debian/build/standard && \ ./configure --build arm-linux-gnueabihf --prefix=/usr --exec-prefix=/ --disable-klibc --enable-libselinux --enable-libsepol --enable-shared_lib --enable-led --enable-intel_led checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking target system type... arm-unknown-linux-gnueabihf checking for gawk... no checking for mawk... mawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting touch configure-standard-stamp dh_testdir cd /<>/debian/build/udeb && \ ./configure --build arm-linux-gnueabihf --prefix=/usr --exec-prefix=/ --disable-libselinux --disable-libsepol --enable-shared_lib checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking target system type... arm-unknown-linux-gnueabihf checking for gawk... no checking for mawk... mawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting touch configure-udeb-stamp dh_testdir touch configure-stamp dh_testdir for i in standard udeb; do cd /<>/debian/build/$i && make; done make[1]: Entering directory '/<>/debian/build/standard' make -C include make[2]: Entering directory '/<>/debian/build/standard/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/standard/include' make -C lib make[2]: Entering directory '/<>/debian/build/standard/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from activate/activate.c:21: activate/activate.c: In function ‘_biggest’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_smallest’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_linear’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid0_eol’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rds’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_dm_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rebuild_drive’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:398:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ activate/activate.c: In function ‘dm_raid1’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_raid’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:718:14: note: in expansion of macro ‘list_entry’ rd_first = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘reload_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘activate_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:1041:25: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:1057:25: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘deactivate_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o activate/devmapper.c: In function ‘dmraid_uuid’: activate/devmapper.c:182:48: warning: format ‘%S’ expects argument of type ‘wchar_t *’, but argument 5 has type ‘char *’ [-Wformat=] r = snprintf(uuid, uuid_len, "part%s-DMRAID-%S", part, name) < uuid_len; ^ gcc -MM -MF device/ata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o device/ata.c: In function ‘get_ata_serial’: device/ata.c:30:16: warning: cast increases required alignment of target type [-Wcast-align] ata_ident = (struct ata_identify *) &buf[cmd_offset]; ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from device/partition.c:11: device/partition.c: In function ‘_remove_subset_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ device/partition.c: In function ‘remove_device_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o gcc -MM -MF device/scsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o device/scsi.c: In function ‘old_inquiry’: device/scsi.c:69:20: warning: cast increases required alignment of target type [-Wcast-align] unsigned int *i = (unsigned int *) response; ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c -o display/display.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from display/display.c:8: display/display.c: In function ‘log_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:94:24: note: in expansion of macro ‘list_entry’ struct dev_info *di = list_entry(pos, typeof(*di), list); ^~~~~~~~~~ display/display.c: In function ‘log_rd_native’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:132:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~ display/display.c: In function ‘log_rd’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:147:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~ display/display.c: In function ‘log_rs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘group_active’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘display_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘_list_formats’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c -o format/format.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/format.c:12: format/format.c: In function ‘unregister_format_handlers’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/format.c:141:12: note: in expansion of macro ‘list_entry’ dbg_free(list_entry(elem, struct format_list, list)); ^~~~~~~~~~ format/format.c: In function ‘_check_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘set_rs_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:429:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:429:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘check_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:463:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:463:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/format.c:469:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/format.c: In function ‘check_valid_format’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:599:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:599:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o gcc -MM -MF log/log.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c -o log/log.o gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/log_ops.c:10: metadata/log_ops.c: In function ‘end_log’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/log_ops.c:19:12: note: in expansion of macro ‘list_entry’ dbg_free(list_entry(pos, struct change, changes)); ^~~~~~~~~~ metadata/log_ops.c: In function ‘revert_log’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o In file included from ./internal.h:36:0, from metadata/metadata.c:12: metadata/metadata.c: In function ‘get_stacked_type’: ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) ^ metadata/metadata.c:123:50: note: in expansion of macro ‘RS_RS’ unsigned int t = (T_RAID0(rs) ? get_type_index((RS_RS(rs))->type) : ^~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function ‘smallest_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_subsets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘total_sectors’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_free_dev_infos’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:365:22: note: in expansion of macro ‘list_entry’ _free_dev_info(lc, list_entry(elem, struct dev_info, list)); ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:424:8: note: in expansion of macro ‘list_entry’ rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:464:8: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘free_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ metadata/metadata.c:499:21: note: in expansion of macro ‘RS’ free_raid_set(lc, RS(elem)); ^~ metadata/metadata.c: In function ‘_find_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:574:28: note: in expansion of macro ‘list_entry’ struct raid_set *new_rs = list_entry(new, struct raid_set, list); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:575:28: note: in expansion of macro ‘list_entry’ struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘dmraid_read’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices_spares’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_discover_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘want_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./internal.h:36:0, from metadata/metadata.c:12: metadata/metadata.c: In function ‘get_format’: ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) ^ metadata/metadata.c:944:8: note: in expansion of macro ‘RS_RS’ rs = RS_RS(rs); ^~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:946:21: note: in expansion of macro ‘RD_RS’ return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; ^~~~~ metadata/metadata.c: In function ‘get_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘check_raid_sets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ metadata/metadata.c:981:32: note: in expansion of macro ‘RS’ if (!(fmt = get_format((rs = RS(elem))))) ^~ metadata/metadata.c: In function ‘build_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1015:8: note: in expansion of macro ‘list_entry’ rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘find_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_format’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘free_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1333:9: note: in expansion of macro ‘list_entry’ rs1 = list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘find_raiddev’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘rebuild_config_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1472:15: note: in expansion of macro ‘RD_RS’ if (!(fmt = (RD_RS(rs)->fmt))) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:1485:9: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘config_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1507:14: note: in expansion of macro ‘RD_RS’ if (!(fmt = RD_RS(rs)->fmt)) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:1520:9: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘process_sets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘write_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘erase_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘delete_raidsets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1891:14: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1912:11: note: in expansion of macro ‘list_entry’ rs1 = list_entry(rs->sets.next, ^~~~~~~~~~ metadata/metadata.c: In function ‘find_set_inconsistent’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_spare’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1985:13: note: in expansion of macro ‘RD_RS’ !(rd = RD_RS(rs_failed))) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘dso_get_members’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘dso_end_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/reconfig.c:53:32: note: in expansion of macro ‘RD_RS’ struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~ metadata/reconfig.c: In function ‘show_raid_stack’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘add_dev_to_raid’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/reconfig.c:145:13: note: in expansion of macro ‘list_entry’ check_rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:235:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &sub_rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:235:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &sub_rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c:230:25: warning: unused variable ‘fmt’ [-Wunused-variable] struct dmraid_format *fmt = get_format(sub_rs); ^~~ metadata/reconfig.c:229:8: warning: unused variable ‘lib_name’ [-Wunused-variable] char lib_name[LIB_NAME_LENGTH] = { 0 }; ^~~~~~~~ metadata/reconfig.c:228:7: warning: unused variable ‘pending’ [-Wunused-variable] int pending; ^~~~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘check_busy_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘del_dev_in_raid1’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘handle_dev’: metadata/reconfig.c:458:15: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] if (h->type == rs->type) ^~ metadata/reconfig.c:460:23: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] } while ((++h)->type != t_undef); ^~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘find_group’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘_rebuild_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/reconfig.c:573:31: note: in expansion of macro ‘RD_RS’ struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~ metadata/reconfig.c: In function ‘check_allow_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/reconfig.c:639:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ metadata/reconfig.c: In function ‘rebuild_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘write_set_spare’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o gcc -MM -MF misc/init.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o gcc -MM -MF misc/misc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o In file included from ./internal.h:36:0, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/asr.c:490:35: note: in expansion of macro ‘RD’ return compose_id(this_disk(META(RD(new), asr))) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/asr.c:491:35: note: in expansion of macro ‘RD’ compose_id(this_disk(META(RD(pos), asr))); ^~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function ‘find_newest_drive’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:746:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:746:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘in_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:818:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:818:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘cleanup_configlines’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:836:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:836:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:955:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:955:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘check_rd’: format/ataraid/asr.c:1034:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] return rd->type != s_broken; ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o In file included from ./internal.h:36:0, from format/ataraid/hpt37x.c:16: format/ataraid/hpt37x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt37x.c:98:14: note: in expansion of macro ‘RD’ return META(RD(new), hpt37x)->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt37x.c:99:14: note: in expansion of macro ‘RD’ META(RD(pos), hpt37x)->disk_number; ^~ format/ataraid/hpt37x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt37x.c:106:20: note: in expansion of macro ‘RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt37x.c:107:20: note: in expansion of macro ‘RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~~~~ format/ataraid/hpt37x.c: In function ‘group_rd’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:231:22: note: in expansion of macro ‘RD_RS’ h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; ^~~~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o In file included from ./internal.h:36:0, from format/ataraid/hpt45x.c:16: format/ataraid/hpt45x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt45x.c:90:14: note: in expansion of macro ‘RD’ return META(RD(new), hpt45x)->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt45x.c:91:14: note: in expansion of macro ‘RD’ META(RD(pos), hpt45x)->disk_number; ^~ format/ataraid/hpt45x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt45x.c:98:20: note: in expansion of macro ‘RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt45x.c:99:20: note: in expansion of macro ‘RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function ‘_checksum’: format/ataraid/isw.c:303:8: warning: cast increases required alignment of target type [-Wcast-align] *p = (uint32_t *) isw, ret = 0; ^ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function ‘is_first_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:438:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:438:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:439:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:439:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:803:20: note: in expansion of macro ‘RD’ struct isw *isw = RD(new)->private.ptr; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:805:24: note: in expansion of macro ‘RD’ return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:805:54: note: in expansion of macro ‘RD’ return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~ format/ataraid/isw.c: In function ‘rd_by_serial’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:976:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:976:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata_after_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:989:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘number_disks_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1097:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1097:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘get_rs_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1178:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1178:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1168:19: warning: variable ‘disk’ set but not used [-Wunused-but-set-variable] struct isw_disk *disk; ^~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function ‘get_rebuild_state’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1228:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1228:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘get_number_of_devices’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1278:3: note: in expansion of macro ‘list_entry’ list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_metadata_handler’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1316:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1328:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1328:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1364:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_check’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1441:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1441:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_name_unique’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1477:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1477:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1479:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1479:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘check_capability’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1507:4: note: in expansion of macro ‘list_entry’ list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘match_hd_array’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_hd_array_available’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1545:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1545:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1546:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1546:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_config_disks’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1584:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1584:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_cal_array_size’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1720:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1720:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘display_new_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1851:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1851:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_find_group’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1926:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1926:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1930:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1930:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1931:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1931:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_create_second_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1966:7: note: in expansion of macro ‘list_entry’ rd = list_entry(rs_group->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘update_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2049:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2049:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2081:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_erase_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2393:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2393:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_write_all’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_delete_all’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2476:13: note: in expansion of macro ‘list_entry’ if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2480:13: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2496:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2496:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_delete’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2538:13: note: in expansion of macro ‘list_entry’ if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2547:13: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2712:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2727:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2727:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2761:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2761:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2774:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2774:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2878:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2878:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2924:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2924:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function ‘checksum’: format/ataraid/jm.c:86:16: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p = (uint16_t *) jm, sum = 0; ^ In file included from ./internal.h:36:0, from format/ataraid/jm.c:12: format/ataraid/jm.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/jm.c:124:21: note: in expansion of macro ‘RD’ return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/jm.c:124:49: note: in expansion of macro ‘RD’ return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ^~ format/ataraid/jm.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/jm.c:131:21: note: in expansion of macro ‘RD_RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/jm.c:131:27: note: in expansion of macro ‘RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/jm.c:131:21: note: in expansion of macro ‘RD_RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~~~~ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o In file included from ./internal.h:36:0, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/lsi.c:95:23: note: in expansion of macro ‘RD’ struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/lsi.c:95:48: note: in expansion of macro ‘RD’ struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ^~ format/ataraid/lsi.c: In function ‘set_sort’: ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ In file included from ./internal.h:30:0, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function ‘lsi_log’: format/ataraid/lsi.c:324:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); ^ ./log/log.h:84:70: note: in definition of macro ‘_log_print’ #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) ^ ../include/dmraid/format.h:271:7: note: in expansion of macro ‘log_print’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro ‘P_OFF’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro ‘P’ P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, ^ format/ataraid/lsi.c:324:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); ^ ./log/log.h:84:70: note: in definition of macro ‘_log_print’ #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) ^ ../include/dmraid/format.h:271:7: note: in expansion of macro ‘log_print’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro ‘P_OFF’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro ‘P’ P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, ^ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o In file included from ./internal.h:36:0, from format/ataraid/nv.c:14: format/ataraid/nv.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/nv.c:133:14: note: in expansion of macro ‘RD’ return META(RD(new), nv)->unitNumber < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/nv.c:134:14: note: in expansion of macro ‘RD’ META(RD(pos), nv)->unitNumber; ^~ format/ataraid/nv.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:141:23: note: in expansion of macro ‘RD_RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/nv.c:141:29: note: in expansion of macro ‘RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:141:23: note: in expansion of macro ‘RD_RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:142:23: note: in expansion of macro ‘RD_RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/nv.c:142:29: note: in expansion of macro ‘RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:142:23: note: in expansion of macro ‘RD_RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~~~~ format/ataraid/nv.c: In function ‘checksum’: format/ataraid/nv.c:194:11: warning: cast increases required alignment of target type [-Wcast-align] sum += ((uint32_t *) nv)[s]; ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function ‘checksum’: format/ataraid/pdc.c:108:16: warning: cast increases required alignment of target type [-Wcast-align] uint32_t *p = (uint32_t *) pdc; ^ In file included from ./internal.h:36:0, from format/ataraid/pdc.c:16: format/ataraid/pdc.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/pdc.c:280:14: note: in expansion of macro ‘RD’ return META(RD(new), pdc)->raid.disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/pdc.c:281:14: note: in expansion of macro ‘RD’ META(RD(pos), pdc)->raid.disk_number; ^~ format/ataraid/pdc.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:288:26: note: in expansion of macro ‘RD_RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/pdc.c:288:32: note: in expansion of macro ‘RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:288:26: note: in expansion of macro ‘RD_RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ format/ataraid/pdc.c: In function ‘pdc_read_metadata’: format/ataraid/pdc.c:161:11: warning: ‘ma’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned ma, sub; ^~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function ‘checksum’: format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p = (uint16_t *) sil; ^ In file included from ./internal.h:36:0, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:296:15: note: in expansion of macro ‘RD’ return (META(RD(new), sil))->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:297:9: note: in expansion of macro ‘RD’ (META(RD(pos), sil))->disk_number; ^~ format/ataraid/sil.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:304:15: note: in expansion of macro ‘RD_RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:304:21: note: in expansion of macro ‘RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:304:15: note: in expansion of macro ‘RD_RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:305:9: note: in expansion of macro ‘RD_RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:305:15: note: in expansion of macro ‘RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:305:9: note: in expansion of macro ‘RD_RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o In file included from ./internal.h:36:0, from format/ataraid/via.c:12: format/ataraid/via.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:188:23: note: in expansion of macro ‘RD’ struct via *p = META(RD(pos), via); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:189:23: note: in expansion of macro ‘RD’ struct via *n = META(RD(new), via); ^~ format/ataraid/via.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro ‘RD_RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:204:28: note: in expansion of macro ‘RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro ‘RD_RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro ‘RD_RS’ _subset(META(RD_RS(RS(pos)), via)); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:205:22: note: in expansion of macro ‘RS’ _subset(META(RD_RS(RS(pos)), via)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro ‘RD_RS’ _subset(META(RD_RS(RS(pos)), via)); ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o In file included from format/ddf/ddf1.c:16:0: format/ddf/ddf1.c: In function ‘get_config_byoffset’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:107:20: note: in expansion of macro ‘CR_IDS’ cfg_drive_ids = CR_IDS(ddf1, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:108:24: note: in expansion of macro ‘CR_OFF’ cfg_drive_offsets = CR_OFF(ddf1, cfg); ^~~~~~ format/ddf/ddf1.c: In function ‘get_config_index’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:131:10: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset_entry’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:173:9: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset’: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:190:28: note: in expansion of macro ‘CR_OFF’ return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; ^~~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:28: note: in expansion of macro ‘RD’ struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:47: note: in expansion of macro ‘RD’ struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ format/ddf/ddf1.c: In function ‘check_rd’: format/ddf/ddf1.c:886:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] return rd->type != s_broken; ^~ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o format/ddf/ddf1_lib.c: In function ‘ddf1_process_records’: format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] x = *((uint32_t *) CR(ddf1, i)); ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o In file included from format/ddf/ddf1_cvt.c:15:0: format/ddf/ddf1_cvt.c: In function ‘ddf1_cvt_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, hdr); ^~~~~~ format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o In file included from format/ddf/ddf1_dump.c:17:0: format/ddf/ddf1_dump.c: In function ‘dump_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:221:18: note: in expansion of macro ‘CR_IDS’ cfg_drive_ids = CR_IDS(ddf, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:222:22: note: in expansion of macro ‘CR_OFF’ cfg_drive_offsets = CR_OFF(ddf, cfg); ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o rm -f ../lib/libdmraid.a ar r ../lib/libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -Wl,-soname,libdmraid.so.1.0.0.rc16 \ -Wl,--version-script,.export.sym activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o -ldevmapper -o ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/<>/debian/build/standard/lib' make -C man make[2]: Entering directory '/<>/debian/build/standard/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/standard/man' make -C tools make[2]: Entering directory '/<>/debian/build/standard/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o gcc -MM -MF commands.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o gcc -MM -MF toollib.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -L../lib \ -L//lib -ldmraid -lselinux -lsepol -ldmraid -lselinux -lsepol -ldl make[2]: Leaving directory '/<>/debian/build/standard/tools' make[1]: Leaving directory '/<>/debian/build/standard' make[1]: Entering directory '/<>/debian/build/udeb' make -C include make[2]: Entering directory '/<>/debian/build/udeb/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/udeb/include' make -C lib make[2]: Entering directory '/<>/debian/build/udeb/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from activate/activate.c:21: activate/activate.c: In function ‘_biggest’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_smallest’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_linear’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid0_eol’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rds’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_dm_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rebuild_drive’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:398:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ activate/activate.c: In function ‘dm_raid1’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_raid’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:718:14: note: in expansion of macro ‘list_entry’ rd_first = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘reload_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘activate_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:1041:25: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ activate/activate.c:1057:25: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘deactivate_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o activate/devmapper.c: In function ‘dmraid_uuid’: activate/devmapper.c:182:48: warning: format ‘%S’ expects argument of type ‘wchar_t *’, but argument 5 has type ‘char *’ [-Wformat=] r = snprintf(uuid, uuid_len, "part%s-DMRAID-%S", part, name) < uuid_len; ^ gcc -MM -MF device/ata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o device/ata.c: In function ‘get_ata_serial’: device/ata.c:30:16: warning: cast increases required alignment of target type [-Wcast-align] ata_ident = (struct ata_identify *) &buf[cmd_offset]; ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from device/partition.c:11: device/partition.c: In function ‘_remove_subset_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ device/partition.c: In function ‘remove_device_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o gcc -MM -MF device/scsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o device/scsi.c: In function ‘old_inquiry’: device/scsi.c:69:20: warning: cast increases required alignment of target type [-Wcast-align] unsigned int *i = (unsigned int *) response; ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c -o display/display.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from display/display.c:8: display/display.c: In function ‘log_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:94:24: note: in expansion of macro ‘list_entry’ struct dev_info *di = list_entry(pos, typeof(*di), list); ^~~~~~~~~~ display/display.c: In function ‘log_rd_native’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:132:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~ display/display.c: In function ‘log_rd’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ display/display.c:147:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~ display/display.c: In function ‘log_rs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘group_active’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘display_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘_list_formats’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c -o format/format.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/format.c:12: format/format.c: In function ‘unregister_format_handlers’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/format.c:141:12: note: in expansion of macro ‘list_entry’ dbg_free(list_entry(elem, struct format_list, list)); ^~~~~~~~~~ format/format.c: In function ‘_check_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:291:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘set_rs_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:429:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:429:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘check_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:463:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:463:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/format.c:469:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/format.c: In function ‘check_valid_format’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/format.c:599:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/format.c:599:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o gcc -MM -MF log/log.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c -o log/log.o gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/log_ops.c:10: metadata/log_ops.c: In function ‘end_log’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/log_ops.c:19:12: note: in expansion of macro ‘list_entry’ dbg_free(list_entry(pos, struct change, changes)); ^~~~~~~~~~ metadata/log_ops.c: In function ‘revert_log’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o In file included from ./internal.h:36:0, from metadata/metadata.c:12: metadata/metadata.c: In function ‘get_stacked_type’: ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) ^ metadata/metadata.c:123:50: note: in expansion of macro ‘RS_RS’ unsigned int t = (T_RAID0(rs) ? get_type_index((RS_RS(rs))->type) : ^~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function ‘smallest_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_subsets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘total_sectors’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_free_dev_infos’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:365:22: note: in expansion of macro ‘list_entry’ _free_dev_info(lc, list_entry(elem, struct dev_info, list)); ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_devs’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:424:8: note: in expansion of macro ‘list_entry’ rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:464:8: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘free_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ metadata/metadata.c:499:21: note: in expansion of macro ‘RS’ free_raid_set(lc, RS(elem)); ^~ metadata/metadata.c: In function ‘_find_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:574:28: note: in expansion of macro ‘list_entry’ struct raid_set *new_rs = list_entry(new, struct raid_set, list); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:575:28: note: in expansion of macro ‘list_entry’ struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘dmraid_read’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices_spares’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_discover_partitions’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘want_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./internal.h:36:0, from metadata/metadata.c:12: metadata/metadata.c: In function ‘get_format’: ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) ^ metadata/metadata.c:944:8: note: in expansion of macro ‘RS_RS’ rs = RS_RS(rs); ^~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:946:21: note: in expansion of macro ‘RD_RS’ return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; ^~~~~ metadata/metadata.c: In function ‘get_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘check_raid_sets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ metadata/metadata.c:981:32: note: in expansion of macro ‘RS’ if (!(fmt = get_format((rs = RS(elem))))) ^~ metadata/metadata.c: In function ‘build_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1015:8: note: in expansion of macro ‘list_entry’ rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘find_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_format’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘free_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1333:9: note: in expansion of macro ‘list_entry’ rs1 = list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~ metadata/metadata.c: In function ‘find_raiddev’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘rebuild_config_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1472:15: note: in expansion of macro ‘RD_RS’ if (!(fmt = (RD_RS(rs)->fmt))) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:1485:9: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘config_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1507:14: note: in expansion of macro ‘RD_RS’ if (!(fmt = RD_RS(rs)->fmt)) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ metadata/metadata.c:1520:9: note: in expansion of macro ‘RD’ rd = RD(elem); ^~ metadata/metadata.c: In function ‘process_sets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘write_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘erase_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘delete_raidsets’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1891:14: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/metadata.c:1912:11: note: in expansion of macro ‘list_entry’ rs1 = list_entry(rs->sets.next, ^~~~~~~~~~ metadata/metadata.c: In function ‘find_set_inconsistent’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_spare’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/metadata.c:1985:13: note: in expansion of macro ‘RD_RS’ !(rd = RD_RS(rs_failed))) ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘dso_get_members’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘dso_end_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/reconfig.c:53:32: note: in expansion of macro ‘RD_RS’ struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~ metadata/reconfig.c: In function ‘show_raid_stack’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘add_dev_to_raid’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/reconfig.c:145:13: note: in expansion of macro ‘list_entry’ check_rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:81:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c:230:25: warning: unused variable ‘fmt’ [-Wunused-variable] struct dmraid_format *fmt = get_format(sub_rs); ^~~ metadata/reconfig.c:229:8: warning: unused variable ‘lib_name’ [-Wunused-variable] char lib_name[LIB_NAME_LENGTH] = { 0 }; ^~~~~~~~ metadata/reconfig.c:228:7: warning: unused variable ‘pending’ [-Wunused-variable] int pending; ^~~~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘check_busy_disk’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘del_dev_in_raid1’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘handle_dev’: metadata/reconfig.c:458:15: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] if (h->type == rs->type) ^~ metadata/reconfig.c:460:23: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] } while ((++h)->type != t_undef); ^~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘find_group’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘_rebuild_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ metadata/reconfig.c:573:31: note: in expansion of macro ‘RD_RS’ struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~ metadata/reconfig.c: In function ‘check_allow_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ metadata/reconfig.c:639:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ metadata/reconfig.c: In function ‘rebuild_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘write_set_spare’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o gcc -MM -MF misc/init.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o gcc -MM -MF misc/misc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o In file included from ./internal.h:36:0, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/asr.c:490:35: note: in expansion of macro ‘RD’ return compose_id(this_disk(META(RD(new), asr))) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/asr.c:491:35: note: in expansion of macro ‘RD’ compose_id(this_disk(META(RD(pos), asr))); ^~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function ‘find_newest_drive’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:746:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:746:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘in_raid_set’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:818:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:818:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘cleanup_configlines’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:836:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:836:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/asr.c:955:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/asr.c:955:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘check_rd’: format/ataraid/asr.c:1034:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] return rd->type != s_broken; ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o In file included from ./internal.h:36:0, from format/ataraid/hpt37x.c:16: format/ataraid/hpt37x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt37x.c:98:14: note: in expansion of macro ‘RD’ return META(RD(new), hpt37x)->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt37x.c:99:14: note: in expansion of macro ‘RD’ META(RD(pos), hpt37x)->disk_number; ^~ format/ataraid/hpt37x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt37x.c:106:20: note: in expansion of macro ‘RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt37x)->order < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt37x.c:107:20: note: in expansion of macro ‘RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt37x)->order; ^~~~~ format/ataraid/hpt37x.c: In function ‘group_rd’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt37x.c:231:22: note: in expansion of macro ‘RD_RS’ h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; ^~~~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o In file included from ./internal.h:36:0, from format/ataraid/hpt45x.c:16: format/ataraid/hpt45x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt45x.c:90:14: note: in expansion of macro ‘RD’ return META(RD(new), hpt45x)->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/hpt45x.c:91:14: note: in expansion of macro ‘RD’ META(RD(pos), hpt45x)->disk_number; ^~ format/ataraid/hpt45x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt45x.c:98:20: note: in expansion of macro ‘RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro ‘RD_RS’ return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/hpt45x.c:99:20: note: in expansion of macro ‘RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro ‘RD_RS’ META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function ‘_checksum’: format/ataraid/isw.c:303:8: warning: cast increases required alignment of target type [-Wcast-align] *p = (uint32_t *) isw, ret = 0; ^ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function ‘is_first_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:438:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:438:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:439:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:439:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:803:20: note: in expansion of macro ‘RD’ struct isw *isw = RD(new)->private.ptr; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:805:24: note: in expansion of macro ‘RD’ return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/isw.c:805:54: note: in expansion of macro ‘RD’ return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~ format/ataraid/isw.c: In function ‘rd_by_serial’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:976:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:976:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata_after_rebuild’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:989:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘number_disks_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1097:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1097:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘get_rs_status’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1178:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1178:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1168:19: warning: variable ‘disk’ set but not used [-Wunused-but-set-variable] struct isw_disk *disk; ^~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function ‘get_rebuild_state’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1228:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1228:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘get_number_of_devices’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1278:3: note: in expansion of macro ‘list_entry’ list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_metadata_handler’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1316:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1328:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1328:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1364:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_check’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1441:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1441:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_name_unique’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1477:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1477:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1479:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1479:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘check_capability’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1507:4: note: in expansion of macro ‘list_entry’ list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘match_hd_array’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_hd_array_available’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1545:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1545:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1546:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1546:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_config_disks’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1584:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1584:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_cal_array_size’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1720:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1720:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘display_new_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1851:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1851:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_find_group’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1926:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1926:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1930:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1930:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:1931:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:1931:4: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_create_second_volume’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:1966:7: note: in expansion of macro ‘list_entry’ rd = list_entry(rs_group->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘update_raidset’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2049:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2049:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2081:8: note: in expansion of macro ‘list_entry’ rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_erase_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2393:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2393:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_write_all’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2416:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_delete_all’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2476:13: note: in expansion of macro ‘list_entry’ if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2480:13: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2496:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2496:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_delete’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2532:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2538:13: note: in expansion of macro ‘list_entry’ if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2547:13: note: in expansion of macro ‘list_entry’ if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ format/ataraid/isw.c:2712:24: note: in expansion of macro ‘list_entry’ struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2727:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2727:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2761:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2761:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2774:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2774:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2878:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2878:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~ format/ataraid/isw.c:2924:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~ format/ataraid/isw.c:2924:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function ‘checksum’: format/ataraid/jm.c:86:16: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p = (uint16_t *) jm, sum = 0; ^ In file included from ./internal.h:36:0, from format/ataraid/jm.c:12: format/ataraid/jm.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/jm.c:124:21: note: in expansion of macro ‘RD’ return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/jm.c:124:49: note: in expansion of macro ‘RD’ return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ^~ format/ataraid/jm.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/jm.c:131:21: note: in expansion of macro ‘RD_RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/jm.c:131:27: note: in expansion of macro ‘RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/jm.c:131:21: note: in expansion of macro ‘RD_RS’ return member(META(RD_RS(RS(pos)), jm)) > 1; ^~~~~ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o In file included from ./internal.h:36:0, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/lsi.c:95:23: note: in expansion of macro ‘RD’ struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/lsi.c:95:48: note: in expansion of macro ‘RD’ struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ^~ format/ataraid/lsi.c: In function ‘set_sort’: ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro ‘RD_RS’ struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ^~~~~ In file included from ./internal.h:30:0, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function ‘lsi_log’: format/ataraid/lsi.c:324:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); ^ ./log/log.h:84:70: note: in definition of macro ‘_log_print’ #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) ^ ../include/dmraid/format.h:271:7: note: in expansion of macro ‘log_print’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro ‘P_OFF’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro ‘P’ P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, ^ format/ataraid/lsi.c:324:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); ^ ./log/log.h:84:70: note: in definition of macro ‘_log_print’ #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) ^ ../include/dmraid/format.h:271:7: note: in expansion of macro ‘log_print’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro ‘P_OFF’ do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro ‘P’ P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, ^ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o In file included from ./internal.h:36:0, from format/ataraid/nv.c:14: format/ataraid/nv.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/nv.c:133:14: note: in expansion of macro ‘RD’ return META(RD(new), nv)->unitNumber < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/nv.c:134:14: note: in expansion of macro ‘RD’ META(RD(pos), nv)->unitNumber; ^~ format/ataraid/nv.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:141:23: note: in expansion of macro ‘RD_RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/nv.c:141:29: note: in expansion of macro ‘RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:141:23: note: in expansion of macro ‘RD_RS’ return _subset((META(RD_RS(RS(new)), nv))) < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:142:23: note: in expansion of macro ‘RD_RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/nv.c:142:29: note: in expansion of macro ‘RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/nv.c:142:23: note: in expansion of macro ‘RD_RS’ _subset((META(RD_RS(RS(pos)), nv))); ^~~~~ format/ataraid/nv.c: In function ‘checksum’: format/ataraid/nv.c:194:11: warning: cast increases required alignment of target type [-Wcast-align] sum += ((uint32_t *) nv)[s]; ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function ‘checksum’: format/ataraid/pdc.c:108:16: warning: cast increases required alignment of target type [-Wcast-align] uint32_t *p = (uint32_t *) pdc; ^ In file included from ./internal.h:36:0, from format/ataraid/pdc.c:16: format/ataraid/pdc.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/pdc.c:280:14: note: in expansion of macro ‘RD’ return META(RD(new), pdc)->raid.disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/pdc.c:281:14: note: in expansion of macro ‘RD’ META(RD(pos), pdc)->raid.disk_number; ^~ format/ataraid/pdc.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:288:26: note: in expansion of macro ‘RD_RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/pdc.c:288:32: note: in expansion of macro ‘RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:288:26: note: in expansion of macro ‘RD_RS’ return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ format/ataraid/pdc.c: In function ‘pdc_read_metadata’: format/ataraid/pdc.c:161:11: warning: ‘ma’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned ma, sub; ^~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function ‘checksum’: format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p = (uint16_t *) sil; ^ In file included from ./internal.h:36:0, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:296:15: note: in expansion of macro ‘RD’ return (META(RD(new), sil))->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:297:9: note: in expansion of macro ‘RD’ (META(RD(pos), sil))->disk_number; ^~ format/ataraid/sil.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:304:15: note: in expansion of macro ‘RD_RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:304:21: note: in expansion of macro ‘RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:304:15: note: in expansion of macro ‘RD_RS’ return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:305:9: note: in expansion of macro ‘RD_RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:305:15: note: in expansion of macro ‘RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:305:9: note: in expansion of macro ‘RD_RS’ (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o In file included from ./internal.h:36:0, from format/ataraid/via.c:12: format/ataraid/via.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:188:23: note: in expansion of macro ‘RD’ struct via *p = META(RD(pos), via); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:189:23: note: in expansion of macro ‘RD’ struct via *n = META(RD(new), via); ^~ format/ataraid/via.c: In function ‘set_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro ‘RD_RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:204:28: note: in expansion of macro ‘RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro ‘RD_RS’ return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro ‘RD_RS’ _subset(META(RD_RS(RS(pos)), via)); ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro ‘list_entry’ #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:205:22: note: in expansion of macro ‘RS’ _subset(META(RD_RS(RS(pos)), via)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:284:61: note: in definition of macro ‘META’ #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro ‘RD’ #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro ‘RD_RS’ _subset(META(RD_RS(RS(pos)), via)); ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o In file included from format/ddf/ddf1.c:16:0: format/ddf/ddf1.c: In function ‘get_config_byoffset’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:107:20: note: in expansion of macro ‘CR_IDS’ cfg_drive_ids = CR_IDS(ddf1, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:108:24: note: in expansion of macro ‘CR_OFF’ cfg_drive_offsets = CR_OFF(ddf1, cfg); ^~~~~~ format/ddf/ddf1.c: In function ‘get_config_index’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:131:10: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset_entry’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:173:9: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset’: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:190:28: note: in expansion of macro ‘CR_OFF’ return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; ^~~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:28: note: in expansion of macro ‘RD’ struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:285:19: note: in expansion of macro ‘list_entry’ #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:47: note: in expansion of macro ‘RD’ struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ format/ddf/ddf1.c: In function ‘check_rd’: format/ddf/ddf1.c:886:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] return rd->type != s_broken; ^~ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o format/ddf/ddf1_lib.c: In function ‘ddf1_process_records’: format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] x = *((uint32_t *) CR(ddf1, i)); ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o In file included from format/ddf/ddf1_cvt.c:15:0: format/ddf/ddf1_cvt.c: In function ‘ddf1_cvt_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro ‘CR_IDS’ ids = CR_IDS(ddf1, hdr); ^~~~~~ format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o In file included from format/ddf/ddf1_dump.c:17:0: format/ddf/ddf1_dump.c: In function ‘dump_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:221:18: note: in expansion of macro ‘CR_IDS’ cfg_drive_ids = CR_IDS(ddf, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:222:22: note: in expansion of macro ‘CR_OFF’ cfg_drive_offsets = CR_OFF(ddf, cfg); ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o rm -f ../lib/libdmraid.a ar r ../lib/libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -Wl,-soname,libdmraid.so.1.0.0.rc16 \ -Wl,--version-script,.export.sym activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o -ldevmapper -o ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/<>/debian/build/udeb/lib' make -C man make[2]: Entering directory '/<>/debian/build/udeb/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/udeb/man' make -C tools make[2]: Entering directory '/<>/debian/build/udeb/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o gcc -MM -MF commands.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o gcc -MM -MF toollib.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -L../lib \ -L//lib -ldmraid -ldmraid -ldl make[2]: Leaving directory '/<>/debian/build/udeb/tools' make[1]: Leaving directory '/<>/debian/build/udeb' touch build-stamp fakeroot debian/rules binary-arch dh_testdir touch configure-stamp dh_testdir dh_testroot dh_prep cd /<>/debian/build/standard && make DESTDIR=/<>/debian/standard install make[1]: Entering directory '/<>/debian/build/standard' make -C include make[2]: Entering directory '/<>/debian/build/standard/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/standard/include' make -C lib make[2]: Entering directory '/<>/debian/build/standard/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/<>/debian/build/standard/lib' make -C man make[2]: Entering directory '/<>/debian/build/standard/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/standard/man' make -C tools make[2]: Entering directory '/<>/debian/build/standard/tools' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/standard/tools' make -C include install make[2]: Entering directory '/<>/debian/build/standard/include' Installing dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/dmreg.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h in /<>/debian/standard/usr/include/dmraid mkdir -p /<>/debian/standard/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/dmreg.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h /<>/debian/standard/usr/include/dmraid make[2]: Leaving directory '/<>/debian/build/standard/include' make -C lib install make[2]: Entering directory '/<>/debian/build/standard/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so Installing ../lib/libdmraid.a ../lib/libdmraid.so in /<>/debian/standard//lib make[2]: Leaving directory '/<>/debian/build/standard/lib' make -C man install make[2]: Entering directory '/<>/debian/build/standard/man' Installing dmraid.8 dmevent_tool.8 in /<>/debian/standard/usr/share/man/man8 make[2]: Leaving directory '/<>/debian/build/standard/man' make -C tools install make[2]: Entering directory '/<>/debian/build/standard/tools' Installing dmraid in /<>/debian/standard//sbin make[2]: Leaving directory '/<>/debian/build/standard/tools' make[1]: Leaving directory '/<>/debian/build/standard' cd /<>/debian/build/udeb && make DESTDIR=/<>/debian/udeb install make[1]: Entering directory '/<>/debian/build/udeb' make -C include make[2]: Entering directory '/<>/debian/build/udeb/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/udeb/include' make -C lib make[2]: Entering directory '/<>/debian/build/udeb/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/<>/debian/build/udeb/lib' make -C man make[2]: Entering directory '/<>/debian/build/udeb/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/udeb/man' make -C tools make[2]: Entering directory '/<>/debian/build/udeb/tools' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<>/debian/build/udeb/tools' make -C include install make[2]: Entering directory '/<>/debian/build/udeb/include' Installing dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/dmreg.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h in /<>/debian/udeb/usr/include/dmraid mkdir -p /<>/debian/udeb/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/dmreg.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h /<>/debian/udeb/usr/include/dmraid make[2]: Leaving directory '/<>/debian/build/udeb/include' make -C lib install make[2]: Entering directory '/<>/debian/build/udeb/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so Installing ../lib/libdmraid.a ../lib/libdmraid.so in /<>/debian/udeb//lib make[2]: Leaving directory '/<>/debian/build/udeb/lib' make -C man install make[2]: Entering directory '/<>/debian/build/udeb/man' Installing dmraid.8 dmevent_tool.8 in /<>/debian/udeb/usr/share/man/man8 make[2]: Leaving directory '/<>/debian/build/udeb/man' make -C tools install make[2]: Entering directory '/<>/debian/build/udeb/tools' Installing dmraid in /<>/debian/udeb//sbin make[2]: Leaving directory '/<>/debian/build/udeb/tools' make[1]: Leaving directory '/<>/debian/build/udeb' rm -rf debian/udeb/usr dh_link dh_testdir dh_testroot dh_install dh_installdirs dh_installudev --priority=97 dh_installdocs 1.0.0.rc16/CREDITS 1.0.0.rc16/KNOWN_BUGS 1.0.0.rc16/README 1.0.0.rc16/TODO dh_installchangelogs 1.0.0.rc16/CHANGELOG install -m0755 debian/dmraid.bug debian/dmraid/usr/share/bug/dmraid/script chmod 755 debian/dmraid/usr/share/initramfs-tools/hooks/dmraid chmod 755 debian/dmraid/usr/share/initramfs-tools/scripts/local-top/dmraid chmod 755 debian/dmraid/sbin/dmraid-activate dh_strip -a dh_compress -a dh_fixperms -a dh_makeshlibs -a --add-udeb 'libdmraid1.0.0.rc16-udeb' -V dh_shlibdeps -a dpkg-shlibdeps: warning: tried to merge the same object (ld-linux-armhf.so.3) twice in a symfile dpkg-shlibdeps: warning: tried to merge the same object (ld-linux-armhf.so.3) twice in a symfile dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: Disabling pkgsanitychecks for udeb INFO: Disabling pkgsanitychecks for udeb INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 pkgstriptranslations: processing libdmraid1.0.0.rc16-dbgsym (in debian/.debhelper/libdmraid1.0.0.rc16/dbgsym-root); do_strip: 1, oemstrip: pkgstriptranslations: processing dmraid-dbgsym (in debian/.debhelper/dmraid/dbgsym-root); do_strip: 1, oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstriptranslations: dmraid-dbgsym does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgstripfiles: processing control file: debian/libdmraid1.0.0.rc16-udeb/DEBIAN/control, package libdmraid1.0.0.rc16-udeb, directory debian/libdmraid1.0.0.rc16-udeb INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... pkgstripfiles: processing control file: debian/dmraid-udeb/DEBIAN/control, package dmraid-udeb, directory debian/dmraid-udeb INFO: pkgstripfiles: waiting for lock (dmraid-udeb) ... pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/.debhelper/dmraid/dbgsym-root/DEBIAN/control, package dmraid-dbgsym, directory debian/.debhelper/dmraid/dbgsym-root pkgstripfiles: Running PNG optimization (using 4 cpus) for package dmraid-dbgsym ... pkgstripfiles: No PNG files. dpkg-deb: building package 'dmraid-dbgsym' in 'debian/.debhelper/scratch-space/build-dmraid/dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.deb'. Renaming dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.deb to dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... INFO: pkgstripfiles: waiting for lock (dmraid-udeb) ... INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... INFO: pkgstripfiles: waiting for lock (dmraid-udeb) ... INFO: pkgstriptranslations version 131 pkgstriptranslations: processing dmraid (in debian/dmraid); do_strip: 1, oemstrip: pkgstriptranslations: dmraid does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgstriptranslations: libdmraid1.0.0.rc16-dbgsym does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... INFO: pkgstripfiles: waiting for lock (dmraid-udeb) ... pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com INFO: pkgstripfiles: waiting for lock (dmraid-udeb) ... INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... pkgstripfiles: processing control file: debian/dmraid/DEBIAN/control, package dmraid, directory debian/dmraid .. removing usr/share/doc/dmraid/changelog.gz Searching for duplicated docs in dependency libdmraid1.0.0.rc16... symlinking changelog.Debian.gz in dmraid to file in libdmraid1.0.0.rc16 pkgstripfiles: processing control file: debian/.debhelper/libdmraid1.0.0.rc16/dbgsym-root/DEBIAN/control, package libdmraid1.0.0.rc16-dbgsym, directory debian/.debhelper/libdmraid1.0.0.rc16/dbgsym-root pkgstripfiles: Running PNG optimization (using 4 cpus) for package libdmraid1.0.0.rc16-dbgsym ... pkgstripfiles: No PNG files. pkgstripfiles: Running PNG optimization (using 4 cpus) for package dmraid ... dpkg-deb: building package 'libdmraid1.0.0.rc16-dbgsym' in 'debian/.debhelper/scratch-space/build-libdmraid1.0.0.rc16/libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.deb'. pkgstripfiles: No PNG files. dpkg-deb: building package 'dmraid' in '../dmraid_1.0.0.rc16-8ubuntu1_armhf.deb'. Renaming libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.deb to libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb INFO: pkgstripfiles: waiting for lock (libdmraid1.0.0.rc16-udeb) ... pkgstripfiles: Running PNG optimization (using 4 cpus) for package dmraid-udeb ... pkgstripfiles: No PNG files. dpkg-deb: building package 'dmraid-udeb' in 'debian/.debhelper/scratch-space/build-dmraid-udeb/dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.deb'. Renaming dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.deb to dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb pkgstripfiles: Running PNG optimization (using 4 cpus) for package libdmraid1.0.0.rc16-udeb ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libdmraid1.0.0.rc16-udeb' in 'debian/.debhelper/scratch-space/build-libdmraid1.0.0.rc16-udeb/libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.deb'. Renaming libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.deb to libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 pkgstriptranslations: processing libdmraid-dev (in debian/libdmraid-dev); do_strip: 1, oemstrip: pkgstriptranslations: processing libdmraid1.0.0.rc16 (in debian/libdmraid1.0.0.rc16); do_strip: 1, oemstrip: pkgstriptranslations: libdmraid-dev does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/libdmraid-dev/DEBIAN/control, package libdmraid-dev, directory debian/libdmraid-dev .. removing usr/share/doc/libdmraid-dev/changelog.gz INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... pkgstriptranslations: libdmraid1.0.0.rc16 does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com INFO: pkgstripfiles: waiting for lock (libdmraid-dev) ... pkgstripfiles: processing control file: debian/libdmraid1.0.0.rc16/DEBIAN/control, package libdmraid1.0.0.rc16, directory debian/libdmraid1.0.0.rc16 .. removing usr/share/doc/libdmraid1.0.0.rc16/changelog.gz pkgstripfiles: Truncating usr/share/doc/libdmraid1.0.0.rc16/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package libdmraid1.0.0.rc16 ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libdmraid1.0.0.rc16' in '../libdmraid1.0.0.rc16_1.0.0.rc16-8ubuntu1_armhf.deb'. Searching for duplicated docs in dependency libdmraid1.0.0.rc16... symlinking changelog.Debian.gz in libdmraid-dev to file in libdmraid1.0.0.rc16 pkgstripfiles: Running PNG optimization (using 4 cpus) for package libdmraid-dev ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libdmraid-dev' in '../libdmraid-dev_1.0.0.rc16-8ubuntu1_armhf.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../dmraid_1.0.0.rc16-8ubuntu1_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build dmraid-1.0.0.rc16 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20170515-2139 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ dmraid_1.0.0.rc16-8ubuntu1_armhf.changes: ----------------------------------------- Format: 1.8 Date: Mon, 15 May 2017 10:06:20 -0700 Source: dmraid Binary: dmraid dmraid-udeb libdmraid1.0.0.rc16-udeb libdmraid1.0.0.rc16 libdmraid-dev Architecture: armhf Version: 1.0.0.rc16-8ubuntu1 Distribution: artful-proposed Urgency: low Maintainer: Launchpad Build Daemon Changed-By: Steve Langasek Description: dmraid - Device-Mapper Software RAID support tool dmraid-udeb - Device-Mapper Software RAID support tool (udeb) (udeb) libdmraid-dev - Device-Mapper Software RAID support tool - header files libdmraid1.0.0.rc16 - Device-Mapper Software RAID support tool - shared library libdmraid1.0.0.rc16-udeb - Device-Mapper Software RAID support tool - shared library (udeb) (udeb) Changes: dmraid (1.0.0.rc16-8ubuntu1) artful; urgency=low . * Merge from Debian unstable. Remaining changes: - Depend on kpartx-boot to pull kpartx into the initramfs - Depend on kpart-udeb - Remove modprobe dm-raid45 from dmraid-activate. - debian/dmraid-activate: Remove the special-casing of the root device which breaks in many situations and leaves the raw devices exposed. - Do not assemble Intel Rapid (Matrix) Storage, if mdmon (mdadm) is present and not disabled. - Correct dmraid fallback ddf assembly warning message. - debian/dmraid.udev: Removed |change udev rule for dmraid-activate to prevent infinite udev event loop. - Use kpartx to activate partitions - Drop force loading dm-raid45 module in the initramfs hook. - Fix initramfs hook to copy correct udev rules file with new priority of 97 instead of 85 - drop debian/patches/04_do_not_use_p_for_partition.patch, bringing our device naming into line with upstream. - Add 21_fix_testing.patch - Fix once again the jmicron naming bug, upstream fix does not work - Add 23_pdc_dump_extended_metadata.patch - Add 24_drop_p_for_partition_conditional.patch - Add 25_change-uuid.patch - 27_ignore-too-small-devices.patch: ignore devices with less than 8 sectors. * Dropped changes: - Breaks libparted0debian1 (<< 2.3-5ubuntu4): obsolete. - Add breaks on mdadm: obsolete. - Comment out "udevadm trigger" call in postinst: re-enable; this was relevant only for mountall-using systems, and mountall is now obsolete post-16.04. - Setting configure executable in debian/rules to avoid odd FTBFS: this should never happen with a proper build environment, fix your VCS check-in instead. * Dropped changes, included in Debian: - Convert library to use the dm-raid upstream module instead of the out-of-tree dm-raid45 one. Checksums-Sha1: e88ae5c1c70a88859496966b2f37e79d94ed595b 15162 dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 3f4778351128e67f31805a656c52464b7e8b8769 9596 dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb c5be0eb6c10c44c553d19f5d61ec32cbada82266 6969 dmraid_1.0.0.rc16-8ubuntu1_armhf.buildinfo be0b8f81de9a3bfca5029093e56a70895aacb45b 21814 dmraid_1.0.0.rc16-8ubuntu1_armhf.deb e2e9f0b746ca5cfa3febeb1e76ef1e3dcb6ec72c 103916 libdmraid-dev_1.0.0.rc16-8ubuntu1_armhf.deb 52c109db65b8b7667f18f53f1fb19131dc8d9a51 246992 libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 869ea99e3aee1156e8db6817800b5994da9d0272 75202 libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb a9996091d5e96d0014e49a64f4bee384f039f9f4 80488 libdmraid1.0.0.rc16_1.0.0.rc16-8ubuntu1_armhf.deb Checksums-Sha256: 484c1026bf5ec14c18172b9c07d3522e5ce2d5c6802bf47455292511570d6f03 15162 dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 9b2155fae287411ed88ef1ea7dd79a944543fb8635dda17f77485355271d5e4a 9596 dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb 59752728b52fdf38eae68e88e48cae50617dd336c75a7b1ac93c75192e123b02 6969 dmraid_1.0.0.rc16-8ubuntu1_armhf.buildinfo a7d29d29e2a04423ab97abe637a821d5e3269d6e16714afb2d72beb85b324c55 21814 dmraid_1.0.0.rc16-8ubuntu1_armhf.deb 3aa253c3383b34f94b40de7e7e2046a4cb6f7bf192de1f3a4e5dc1081fdaa1e9 103916 libdmraid-dev_1.0.0.rc16-8ubuntu1_armhf.deb b1433d18d24ab7439cf8a184c14c132fca6c42c0284926640259a1defee1a05e 246992 libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 847b579fd8f012b578f87ce7aeed4067ca0120ca3df38e3c49cbd8312d36a721 75202 libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb cbb29cffa86d558f9a4b3b0df568dafaac71c4be85ac321fbf2a40fba4f642e3 80488 libdmraid1.0.0.rc16_1.0.0.rc16-8ubuntu1_armhf.deb Files: 991dcf7790520b9c7b327cb2fc3c1f8a 15162 debug extra dmraid-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 5cb2346cdf44e232f977cb86ef16e7fb 9596 debian-installer optional dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb abcda4573434e88b3a3b8f58e2f5cc5e 6969 admin optional dmraid_1.0.0.rc16-8ubuntu1_armhf.buildinfo d79d861294f00c996b258785b60403a4 21814 admin optional dmraid_1.0.0.rc16-8ubuntu1_armhf.deb e52a16a7197c98cf1fd41a849afbf95a 103916 libdevel optional libdmraid-dev_1.0.0.rc16-8ubuntu1_armhf.deb 5f96c81d90d6891294693e56f7ddfded 246992 debug extra libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8ubuntu1_armhf.ddeb 4b86775224e3790df1c1b9a9a07cd70e 75202 debian-installer optional libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb f3160e26e4a0ee8f615800d1c6ad8e1f 80488 libs optional libdmraid1.0.0.rc16_1.0.0.rc16-8ubuntu1_armhf.deb Original-Maintainer: Laszlo Boszormenyi (GCS) Package-Type: udeb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ dmraid-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb ------------------------------------------ new debian package, version 2.0. size 9596 bytes: control archive=532 bytes. 639 bytes, 15 lines control Package: dmraid-udeb Source: dmraid Version: 1.0.0.rc16-8ubuntu1 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 27 Depends: libc6-udeb (>= 2.24), libdmraid1.0.0.rc16-udeb (>= 1.0.0.rc16), dmsetup-udeb, kpartx-udeb Section: debian-installer Priority: optional Description: Device-Mapper Software RAID support tool (udeb) dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions. . This is the minimal package (udeb) used by debian-installer Original-Maintainer: Laszlo Boszormenyi (GCS) drwxr-xr-x root/root 0 2017-05-15 17:06 ./ drwxr-xr-x root/root 0 2017-05-15 17:06 ./sbin/ -rwxr-xr-x root/root 15420 2017-05-15 17:06 ./sbin/dmraid -rwxr-xr-x root/root 7208 2017-05-15 17:06 ./sbin/dmraid-activate dmraid_1.0.0.rc16-8ubuntu1_armhf.deb ------------------------------------ new debian package, version 2.0. size 21814 bytes: control archive=1657 bytes. 1047 bytes, 28 lines control 840 bytes, 13 lines md5sums 505 bytes, 30 lines * postinst #!/bin/sh 324 bytes, 26 lines * postrm #!/bin/sh Package: dmraid Version: 1.0.0.rc16-8ubuntu1 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 87 Depends: libc6 (>= 2.4), libdmraid1.0.0.rc16 (>= 1.0.0.rc16), udev, dmsetup, kpartx-boot Section: admin Priority: optional Homepage: http://people.redhat.com/~heinzm/sw/dmraid/ Description: Device-Mapper Software RAID support tool dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions. . dmraid uses the Linux device-mapper to create devices with respective mappings for the ATARAID sets discovered. . The following formats are supported: Highpoint HPT37X/HPT45X Intel Software RAID LSI Logic MegaRAID NVidia NForce RAID (nvraid) Promise FastTrack Silicon Image(tm) Medley(tm) VIA Software RAID . Please read the documentation in /usr/share/doc/dmraid BEFORE attempting any use of this software. Improper use can cause data loss! Original-Maintainer: Laszlo Boszormenyi (GCS) drwxr-xr-x root/root 0 2017-05-15 17:06 ./ drwxr-xr-x root/root 0 2017-05-15 17:06 ./lib/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./lib/udev/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./lib/udev/rules.d/ -rw-r--r-- root/root 372 2017-05-15 17:06 ./lib/udev/rules.d/97-dmraid.rules drwxr-xr-x root/root 0 2017-05-15 17:06 ./sbin/ -rwxr-xr-x root/root 15528 2017-05-15 17:06 ./sbin/dmraid -rwxr-xr-x root/root 7208 2017-05-15 17:06 ./sbin/dmraid-activate drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/bug/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/bug/dmraid/ -rwxr-xr-x root/root 1841 2017-05-15 17:06 ./usr/share/bug/dmraid/script drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/dmraid/ -rw-r--r-- root/root 305 2009-09-16 08:55 ./usr/share/doc/dmraid/CREDITS -rw-r--r-- root/root 252 2009-09-16 08:55 ./usr/share/doc/dmraid/KNOWN_BUGS -rw-r--r-- root/root 3227 2009-09-16 10:04 ./usr/share/doc/dmraid/README -rw-r--r-- root/root 854 2009-09-16 08:55 ./usr/share/doc/dmraid/TODO lrwxrwxrwx root/root 0 2017-05-15 17:06 ./usr/share/doc/dmraid/changelog.Debian.gz -> ../libdmraid1.0.0.rc16/changelog.Debian.gz -rw-r--r-- root/root 8177 2017-05-15 17:06 ./usr/share/doc/dmraid/copyright drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/initramfs-tools/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/initramfs-tools/hooks/ -rwxr-xr-x root/root 1029 2017-05-15 17:06 ./usr/share/initramfs-tools/hooks/dmraid drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/initramfs-tools/scripts/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/initramfs-tools/scripts/local-top/ -rwxr-xr-x root/root 356 2017-05-15 17:06 ./usr/share/initramfs-tools/scripts/local-top/dmraid drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/man/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/man/man8/ -rw-r--r-- root/root 892 2017-05-15 17:06 ./usr/share/man/man8/dmevent_tool.8.gz -rw-r--r-- root/root 4855 2017-05-15 17:06 ./usr/share/man/man8/dmraid.8.gz libdmraid-dev_1.0.0.rc16-8ubuntu1_armhf.deb ------------------------------------------- new debian package, version 2.0. size 103916 bytes: control archive=1019 bytes. 787 bytes, 20 lines control 752 bytes, 12 lines md5sums Package: libdmraid-dev Source: dmraid Version: 1.0.0.rc16-8ubuntu1 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 330 Depends: libdmraid1.0.0.rc16 (= 1.0.0.rc16-8ubuntu1) Section: libdevel Priority: optional Homepage: http://people.redhat.com/~heinzm/sw/dmraid/ Description: Device-Mapper Software RAID support tool - header files dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions. . dmraid uses the Linux device-mapper to create devices with respective mappings for the ATARAID sets discovered. . This package contains the header files needed to link programs against dmraid. Original-Maintainer: Laszlo Boszormenyi (GCS) drwxr-xr-x root/root 0 2017-05-15 17:06 ./ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/include/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/include/dmraid/ -rw-r--r-- root/root 882 2017-05-15 17:06 ./usr/include/dmraid/display.h -rw-r--r-- root/root 3523 2017-05-15 17:06 ./usr/include/dmraid/dmraid.h -rw-r--r-- root/root 643 2017-05-15 17:06 ./usr/include/dmraid/dmreg.h -rw-r--r-- root/root 8047 2017-05-15 17:06 ./usr/include/dmraid/format.h -rw-r--r-- root/root 5480 2017-05-15 17:06 ./usr/include/dmraid/lib_context.h -rw-r--r-- root/root 2489 2017-05-15 17:06 ./usr/include/dmraid/list.h -rw-r--r-- root/root 781 2017-05-15 17:06 ./usr/include/dmraid/locking.h -rw-r--r-- root/root 9450 2017-05-15 17:06 ./usr/include/dmraid/metadata.h -rw-r--r-- root/root 2206 2017-05-15 17:06 ./usr/include/dmraid/misc.h -rw-r--r-- root/root 1502 2017-05-15 17:06 ./usr/include/dmraid/reconfig.h drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/lib/ -rw-r--r-- root/root 262904 2017-05-15 17:06 ./usr/lib/libdmraid.a lrwxrwxrwx root/root 0 2017-05-15 17:06 ./usr/lib/libdmraid.so -> /lib/libdmraid.so.1.0.0.rc16 drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/libdmraid-dev/ lrwxrwxrwx root/root 0 2017-05-15 17:06 ./usr/share/doc/libdmraid-dev/changelog.Debian.gz -> ../libdmraid1.0.0.rc16/changelog.Debian.gz -rw-r--r-- root/root 8177 2017-05-15 17:06 ./usr/share/doc/libdmraid-dev/copyright libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8ubuntu1_armhf.udeb ------------------------------------------------------- new debian package, version 2.0. size 75202 bytes: control archive=542 bytes. 657 bytes, 15 lines control Package: libdmraid1.0.0.rc16-udeb Source: dmraid Version: 1.0.0.rc16-8ubuntu1 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 139 Depends: libc6-udeb (>= 2.24), libdevmapper1.02.1-udeb (>= 2:1.02.137) Section: debian-installer Priority: optional Description: Device-Mapper Software RAID support tool - shared library (udeb) dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions. . This is the minimal package (udeb shared library) used by debian-installer Original-Maintainer: Laszlo Boszormenyi (GCS) drwxr-xr-x root/root 0 2017-05-15 17:06 ./ drwxr-xr-x root/root 0 2017-05-15 17:06 ./lib/ -rw-r--r-- root/root 139104 2017-05-15 17:06 ./lib/libdmraid.so.1.0.0.rc16 libdmraid1.0.0.rc16_1.0.0.rc16-8ubuntu1_armhf.deb ------------------------------------------------- new debian package, version 2.0. size 80488 bytes: control archive=1311 bytes. 893 bytes, 21 lines control 228 bytes, 3 lines md5sums 125 bytes, 2 lines shlibs 1644 bytes, 53 lines symbols 60 bytes, 2 lines triggers Package: libdmraid1.0.0.rc16 Source: dmraid Version: 1.0.0.rc16-8ubuntu1 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 175 Depends: libc6 (>= 2.7), libdevmapper1.02.1 (>= 2:1.02.97) Replaces: libdmraid1.0.0.rc15 (<< 1.0.0.rc16-1) Section: libs Priority: optional Homepage: http://people.redhat.com/~heinzm/sw/dmraid/ Description: Device-Mapper Software RAID support tool - shared library dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions. . dmraid uses the Linux device-mapper to create devices with respective mappings for the ATARAID sets discovered. . This package contains the dmraid shared library, which implements the back half of dmraid, including on-disk metadata formats. Original-Maintainer: Laszlo Boszormenyi (GCS) drwxr-xr-x root/root 0 2017-05-15 17:06 ./ drwxr-xr-x root/root 0 2017-05-15 17:06 ./lib/ -rw-r--r-- root/root 143320 2017-05-15 17:06 ./lib/libdmraid.so.1.0.0.rc16 drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-05-15 17:06 ./usr/share/doc/libdmraid1.0.0.rc16/ -rw-r--r-- root/root 2091 2017-05-15 17:06 ./usr/share/doc/libdmraid1.0.0.rc16/changelog.Debian.gz -rw-r--r-- root/root 8177 2017-05-15 17:06 ./usr/share/doc/libdmraid1.0.0.rc16/copyright +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Not removing build depends: as requested Keeping session: +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build-Space: 24352 Build-Time: 146 Distribution: artful-proposed Host Architecture: armhf Install-Time: 42 Job: dmraid_1.0.0.rc16-8ubuntu1.dsc Machine Architecture: arm64 Package: dmraid Package-Time: 194 Source-Version: 1.0.0.rc16-8ubuntu1 Space: 24352 Status: successful Version: 1.0.0.rc16-8ubuntu1 -------------------------------------------------------------------------------- Finished at 20170515-2139 Build needed 00:03:14, 24352k disc space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-12589884'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-12589884/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-12589884'] Unmounting chroot for build PACKAGEBUILD-12589884... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-12589884'] Removing build PACKAGEBUILD-12589884