Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'], chrootPath='/var/lib/mock/f29-build-19818-10492/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dmraid-1.0.0.rc16-39.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'], chrootPath='/var/lib/mock/f29-build-19818-10492/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kvGLlg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmraid/1.0.0.rc16 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/dmraid-1.0.0.rc16.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmraid/1.0.0.rc16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dmraid-1.0.0.rc16-test_devices.patch):' Patch #0 (dmraid-1.0.0.rc16-test_devices.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in patching file configure patching file lib/device/scan.c + echo 'Patch #1 (ddf1_lsi_persistent_name.patch):' Patch #1 (ddf1_lsi_persistent_name.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/format/ddf/ddf1.c + echo 'Patch #2 (pdc_raid10_failure.patch):' Patch #2 (pdc_raid10_failure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/format/ataraid/pdc.c Patch #3 (return_error_wo_disks.patch): + echo 'Patch #3 (return_error_wo_disks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/metadata/metadata.c Patch #4 (fix_sil_jbod.patch): + echo 'Patch #4 (fix_sil_jbod.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/format/ataraid/sil.c Patch #5 (avoid_register.patch): + echo 'Patch #5 (avoid_register.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/activate/activate.c Patch #6 (move_pattern_file_to_var.patch): + echo 'Patch #6 (move_pattern_file_to_var.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file logwatch/dmeventd Patch #7 (libversion.patch): + echo 'Patch #7 (libversion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/version.h Patch #8 (libversion-display.patch): + echo 'Patch #8 (libversion-display.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/misc/lib_context.c Patch #9 (bz635995-data_corruption_during_activation_volume_marked_for_rebuild.patch): + echo 'Patch #9 (bz635995-data_corruption_during_activation_volume_marked_for_rebuild.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/activate/activate.c Hunk #4 succeeded at 546 (offset 5 lines). patching file lib/format/ataraid/isw.c + echo 'Patch #11 (bz626417_19-enabling_registration_degraded_volume.patch):' Patch #11 (bz626417_19-enabling_registration_degraded_volume.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/events/libdmraid-events-isw.c patching file lib/register/dmreg.c + echo 'Patch #12 (bz626417_20-cleanup_some_compilation_warning.patch):' Patch #12 (bz626417_20-cleanup_some_compilation_warning.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/events/libdmraid-events-isw.c patching file lib/format/ataraid/isw.c patching file lib/register/dmreg.c + echo 'Patch #13 (bz626417_21-add_option_that_postpones_any_metadata_updates.patch):' Patch #13 (bz626417_21-add_option_that_postpones_any_metadata_updates.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/dmraid/lib_context.h patching file lib/metadata/reconfig.c patching file man/dmraid.8 patching file tools/commands.c + echo 'Patch #14 (dmraid-fix-build-to-honour-cflags-var.patch):' Patch #14 (dmraid-fix-build-to-honour-cflags-var.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/Makefile.in + echo 'Patch #15 (dmraid-fix-errors-and-warnings-triggered-by-CFLAGS.patch):' Patch #15 (dmraid-fix-errors-and-warnings-triggered-by-CFLAGS.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/events/libdmraid-events-isw.c patching file lib/format/ataraid/jm.c patching file lib/metadata/metadata.c + echo 'Patch #16 (dmraid-fix-destdir.patch):' Patch #16 (dmraid-fix-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dmraid.spec patching file make.tmpl.in patching file tools/Makefile.in + echo 'Patch #17 (dmraid-fix-missing-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #17 (dmraid-fix-missing-destdir.patch): patching file make.tmpl.in Patch #18 (dmraid-fix-so-flags.patch): + echo 'Patch #18 (dmraid-fix-so-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file make.tmpl.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0Hpbrv + umask 022 + cd /builddir/build/BUILD + cd dmraid/1.0.0.rc16 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub BUILDSTDERR: ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess BUILDSTDERR: ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug --enable-libselinux --enable-libsepol --disable-static_link --enable-led --enable-intel_led BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-linux-gnu-gcc... no 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... /usr/bin/grep checking for egrep... /usr/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... yes checking whether to enable malloc debugging... yes checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... yes 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 BUILDSTDERR: config.status: WARNING: 'make.tmpl.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make make -C include make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' make -C lib make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from activate/activate.c:21: BUILDSTDERR: activate/activate.c: In function '_biggest': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function '_smallest': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'dm_linear': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:142:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:142:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:165:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:165:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function '_dm_raid0_eol': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:236:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:236:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:255:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:255:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function '_dm_raid_devs': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:280:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:280:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:285:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:285:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'get_rds': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:344:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:344:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'get_dm_devs': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:362:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:362:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'get_rebuild_drive': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: activate/activate.c:389:7: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(rs->devs.next, typeof(*rd), devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'dm_raid1': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:470:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:470:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:507:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:507:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'dm_raid45': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: activate/activate.c:689:14: note: in expansion of macro 'list_entry' BUILDSTDERR: rd_first = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' BUILDSTDERR: for (pos = list_entry((head)->next, typeof(*pos), member),\ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:709:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' BUILDSTDERR: n = list_entry(pos->member.next, typeof(*pos), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:709:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' BUILDSTDERR: pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:709:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:757:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:757:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:771:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:771:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'reload_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:953:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:953:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'activate_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: activate/activate.c:1014:25: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: activate/activate.c:1030:25: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:1044:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:1044:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: activate/activate.c: In function 'deactivate_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:1095:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: activate/activate.c:1095:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o gcc -MM -MF device/ata.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o BUILDSTDERR: device/ata.c: In function 'get_ata_serial': BUILDSTDERR: device/ata.c:30:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ata_ident = (struct ata_identify *) &buf[cmd_offset]; BUILDSTDERR: ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from device/partition.c:11: BUILDSTDERR: device/partition.c: In function '_remove_subset_partitions': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: device/partition.c: In function 'remove_device_partitions': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(subset, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(subset, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o gcc -MM -MF device/scsi.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o BUILDSTDERR: device/scsi.c: In function 'old_inquiry': BUILDSTDERR: device/scsi.c:69:20: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: unsigned int *i = (unsigned int *) response; BUILDSTDERR: ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE display/display.c -o display/display.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from display/display.c:8: BUILDSTDERR: display/display.c: In function 'log_disk': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: display/display.c:94:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct dev_info *di = list_entry(pos, typeof(*di), list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c: In function 'log_rd_native': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: display/display.c:132:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(pos, typeof(*rd), list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c: In function 'log_rd': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: display/display.c:147:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(pos, typeof(*rd), list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c: In function 'log_rs': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: display/display.c: In function 'group_active': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: display/display.c: In function 'display_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: display/display.c: In function '_list_formats': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fmt_list, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fmt_list, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/format.c -o format/format.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from format/format.c:12: BUILDSTDERR: format/format.c: In function 'unregister_format_handlers': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/format.c:141:12: note: in expansion of macro 'list_entry' BUILDSTDERR: dbg_free(list_entry(elem, struct format_list, list)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c: In function '_check_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:291:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:291:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/format.c: In function 'set_rs_status': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:416:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:416:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:429:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:429:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/format.c: In function 'check_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:463:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:463:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/format.c:469:8: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c: In function 'check_valid_format': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:587:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/format.c:587:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o gcc -MM -MF log/log.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE log/log.c -o log/log.o gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from metadata/log_ops.c:10: BUILDSTDERR: metadata/log_ops.c: In function 'end_log': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/log_ops.c:19:12: note: in expansion of macro 'list_entry' BUILDSTDERR: dbg_free(list_entry(pos, struct change, changes)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/log_ops.c: In function 'revert_log': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(entry, log, changes) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(entry, log, changes) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from metadata/metadata.c:12: BUILDSTDERR: metadata/metadata.c: In function 'smallest_disk': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'count_subsets': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) ret++; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) ret++; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'total_sectors': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'count_devs': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function '_free_dev_infos': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:365:22: note: in expansion of macro 'list_entry' BUILDSTDERR: _free_dev_info(lc, list_entry(elem, struct dev_info, list)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function '_free_raid_devs': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:424:8: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(elem, struct raid_dev, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function '_free_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:464:8: note: in expansion of macro 'RD' BUILDSTDERR: rd = RD(elem); BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c: In function 'free_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:499:21: note: in expansion of macro 'RS' BUILDSTDERR: free_raid_set(lc, RS(elem)); BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c: In function '_find_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:574:28: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_set *new_rs = list_entry(new, struct raid_set, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:575:28: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'dmraid_read': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'discover_raid_devices_spares': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'discover_raid_devices': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function '_discover_partitions': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, rs_list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, rs_list, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'want_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' BUILDSTDERR: for (pos = list_entry((head)->next, typeof(*pos), member),\ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' BUILDSTDERR: n = list_entry(pos->member.next, typeof(*pos), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' BUILDSTDERR: pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'get_format': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c:946:21: note: in expansion of macro 'RD_RS' BUILDSTDERR: return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: metadata/metadata.c: In function 'get_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(sub_rs, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(sub_rs, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'check_raid_sets': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:981:32: note: in expansion of macro 'RS' BUILDSTDERR: if (!(fmt = get_format((rs = RS(elem))))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c: In function 'build_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:1015:8: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(elem, struct raid_dev, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'find_disk': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'find_format': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(fl, LC_FMT(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'free_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:1333:9: note: in expansion of macro 'list_entry' BUILDSTDERR: rs1 = list_entry(rs->sets.next, struct raid_set, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'find_raiddev': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'rebuild_config_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c:1472:15: note: in expansion of macro 'RD_RS' BUILDSTDERR: if (!(fmt = (RD_RS(rs)->fmt))) BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1485:9: note: in expansion of macro 'RD' BUILDSTDERR: rd = RD(elem); BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c: In function 'config_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c:1507:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: if (!(fmt = RD_RS(rs)->fmt)) BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1520:9: note: in expansion of macro 'RD' BUILDSTDERR: rd = RD(elem); BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c: In function 'process_sets': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'write_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'erase_metadata': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'delete_raidsets': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:1891:14: note: in expansion of macro 'list_entry' BUILDSTDERR: if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, &rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/metadata.c:1912:11: note: in expansion of macro 'list_entry' BUILDSTDERR: rs1 = list_entry(rs->sets.next, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'find_set_inconsistent': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'find_spare': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/metadata.c:1985:13: note: in expansion of macro 'RD_RS' BUILDSTDERR: !(rd = RD_RS(rs_failed))) BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(spare_rd, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(spare_rd, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(group_rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(group_rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp_spare_rs, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp_spare_rs, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/metadata.c: In function 'dso_get_members': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from metadata/reconfig.c:19: BUILDSTDERR: metadata/reconfig.c: In function 'dso_end_rebuild': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/reconfig.c:53:32: note: in expansion of macro 'RD_RS' BUILDSTDERR: struct raid_dev *check_rd = RD_RS(sub_rs); BUILDSTDERR: ^~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'show_raid_stack': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rs, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rd, &_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rd, &_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rss, &_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rss, &_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rsd, &_rss->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rsd, &_rss->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rsss, &_rss->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rsss, &_rss->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rssd, &_rsss->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rssd, &_rsss->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'add_dev_to_raid': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/reconfig.c:145:13: note: in expansion of macro 'list_entry' BUILDSTDERR: check_rd = list_entry(rs->devs.next, typeof(*rd), devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' BUILDSTDERR: for (pos = list_entry((head)->next, typeof(*pos), member),\ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(before_rd, tmp_rd, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' BUILDSTDERR: n = list_entry(pos->member.next, typeof(*pos), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(before_rd, tmp_rd, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' BUILDSTDERR: pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' BUILDSTDERR: list_for_each_entry_safe(before_rd, tmp_rd, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(crs, &sub_rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(crs, &sub_rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(crs, &sub_rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(crs, &sub_rs->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:235:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rd, &sub_rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:235:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(_rd, &sub_rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'check_busy_disk': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:285:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:285:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'del_dev_in_raid1': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:398:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:398:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:417:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:417:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'handle_dev': BUILDSTDERR: metadata/reconfig.c:462:15: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] BUILDSTDERR: if (h->type == rs->type) BUILDSTDERR: ^~ BUILDSTDERR: metadata/reconfig.c:464:23: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] BUILDSTDERR: } while ((++h)->type != t_undef); BUILDSTDERR: ^~ BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from metadata/reconfig.c:19: BUILDSTDERR: metadata/reconfig.c: In function 'find_group': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:523:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:523:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(tmp, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:525:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &tmp->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:525:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &tmp->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:529:6: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r2, &r->sets, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:529:6: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r2, &r->sets, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function '_rebuild_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: metadata/reconfig.c:577:31: note: in expansion of macro 'RD_RS' BUILDSTDERR: struct raid_dev *check_rd = RD_RS(sub_rs); BUILDSTDERR: ^~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'check_allow_rebuild': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: metadata/reconfig.c:643:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'rebuild_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:689:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &sub_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:689:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &sub_rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c: In function 'write_set_spare': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:715:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:715:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:727:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: metadata/reconfig.c:727:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o gcc -MM -MF misc/init.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o gcc -MM -MF misc/misc.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/asr.c:20: BUILDSTDERR: format/ataraid/asr.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:490:35: note: in expansion of macro 'RD' BUILDSTDERR: return compose_id(this_disk(META(RD(new), asr))) < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:491:35: note: in expansion of macro 'RD' BUILDSTDERR: compose_id(this_disk(META(RD(pos), asr))); BUILDSTDERR: ^~ BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from format/ataraid/asr.c:20: BUILDSTDERR: format/ataraid/asr.c: In function 'find_newest_drive': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(device, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(device, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c: In function 'in_raid_set': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c: In function 'cleanup_configlines': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c: In function 'update_metadata': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(d, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/asr.c: In function 'check_rd': BUILDSTDERR: format/ataraid/asr.c:1034:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] BUILDSTDERR: return rd->type != s_broken; BUILDSTDERR: ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/hpt37x.c:16: BUILDSTDERR: format/ataraid/hpt37x.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt37x.c:98:14: note: in expansion of macro 'RD' BUILDSTDERR: return META(RD(new), hpt37x)->disk_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt37x.c:99:14: note: in expansion of macro 'RD' BUILDSTDERR: META(RD(pos), hpt37x)->disk_number; BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt37x)->order < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt37x.c:106:20: note: in expansion of macro 'RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt37x)->order < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt37x)->order < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt37x)->order; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt37x.c:107:20: note: in expansion of macro 'RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt37x)->order; BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt37x)->order; BUILDSTDERR: ^~~~~ BUILDSTDERR: format/ataraid/hpt37x.c: In function 'group_rd': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt37x.c:231:22: note: in expansion of macro 'RD_RS' BUILDSTDERR: h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/hpt45x.c:16: BUILDSTDERR: format/ataraid/hpt45x.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt45x.c:90:14: note: in expansion of macro 'RD' BUILDSTDERR: return META(RD(new), hpt45x)->disk_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt45x.c:91:14: note: in expansion of macro 'RD' BUILDSTDERR: META(RD(pos), hpt45x)->disk_number; BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt45x.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt45x.c:98:20: note: in expansion of macro 'RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/hpt45x.c:99:20: note: in expansion of macro 'RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' BUILDSTDERR: META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o BUILDSTDERR: format/ataraid/isw.c: In function '_checksum': BUILDSTDERR: format/ataraid/isw.c:303:8: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: *p = (uint32_t *) isw, ret = 0; BUILDSTDERR: ^ BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from format/ataraid/isw.c:28: BUILDSTDERR: format/ataraid/isw.c: In function 'is_first_volume': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:437:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:437:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:438:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:438:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:743:20: note: in expansion of macro 'RD' BUILDSTDERR: struct isw *isw = RD(new)->private.ptr; BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:745:24: note: in expansion of macro 'RD' BUILDSTDERR: return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:745:54: note: in expansion of macro 'RD' BUILDSTDERR: return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/isw.c: In function 'rd_by_serial': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:915:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:915:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'update_metadata_after_rebuild': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:928:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'number_disks_status': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1036:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1036:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'get_rs_status': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1117:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(check_rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1117:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(check_rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1107:19: warning: variable 'disk' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct isw_disk *disk; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from format/ataraid/isw.c:28: BUILDSTDERR: format/ataraid/isw.c: In function 'get_rebuild_state': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1167:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(check_rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1167:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(check_rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'get_number_of_devices': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:1217:3: note: in expansion of macro 'list_entry' BUILDSTDERR: list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'isw_metadata_handler': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:1255:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1267:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1267:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:1303:8: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(rs->devs.next, typeof(*rd), devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function '_isw_check': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1378:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1378:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'is_name_unique': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1414:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1414:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs1, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1416:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs2, &rs1->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1416:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs2, &rs1->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'check_capability': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:1444:4: note: in expansion of macro 'list_entry' BUILDSTDERR: list_entry(rs->sets.next, struct raid_set, list); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'match_hd_array': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1469:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1469:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'is_hd_array_available': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1482:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1482:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1483:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1483:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, LC_RD(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'isw_config_disks': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1521:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1521:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function '_cal_array_size': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1657:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1657:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'display_new_volume': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1788:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1788:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function '_find_group': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1863:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1863:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, LC_RS(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1867:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1867:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd2, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1868:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &r->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1868:4: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd1, &r->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function '_isw_create_second_volume': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:1903:7: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(rs_group->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'update_raidset': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1986:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:1986:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2018:8: note: in expansion of macro 'list_entry' BUILDSTDERR: rd = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'isw_erase_metadata': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2330:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2330:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'isw_write_all': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2353:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2353:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(r, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function '_isw_delete_all': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2413:13: note: in expansion of macro 'list_entry' BUILDSTDERR: if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2417:13: note: in expansion of macro 'list_entry' BUILDSTDERR: if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2433:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &rs_group->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2433:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &rs_group->sets, list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'isw_delete': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2469:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &rs_group->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2469:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rs, &rs_group->sets, list) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2475:13: note: in expansion of macro 'list_entry' BUILDSTDERR: if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2484:13: note: in expansion of macro 'list_entry' BUILDSTDERR: if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c: In function 'update_metadata': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: format/ataraid/isw.c:2649:24: note: in expansion of macro 'list_entry' BUILDSTDERR: struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2664:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2664:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2698:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2698:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2711:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2711:3: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(di, LC_DI(lc), list) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2815:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2815:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &sub_rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' BUILDSTDERR: for (entry = list_entry((head)->next, typeof(*entry), member); \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2861:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' BUILDSTDERR: entry = list_entry(entry->member.next, typeof(*entry), member)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/isw.c:2861:2: note: in expansion of macro 'list_for_each_entry' BUILDSTDERR: list_for_each_entry(rd, &rs->devs, devs) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o BUILDSTDERR: format/ataraid/jm.c: In function 'checksum': BUILDSTDERR: format/ataraid/jm.c:86:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t *p = (uint16_t *) jm, sum = 0; BUILDSTDERR: ^ BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/jm.c:12: BUILDSTDERR: format/ataraid/jm.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/jm.c:124:21: note: in expansion of macro 'RD' BUILDSTDERR: return member(META(RD(new), jm)) < member(META(RD(pos), jm)); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/jm.c:124:49: note: in expansion of macro 'RD' BUILDSTDERR: return member(META(RD(new), jm)) < member(META(RD(pos), jm)); BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/jm.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' BUILDSTDERR: return member(META(RD_RS(RS(pos)), jm)) > 1; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/jm.c:131:27: note: in expansion of macro 'RS' BUILDSTDERR: return member(META(RD_RS(RS(pos)), jm)) > 1; BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' BUILDSTDERR: return member(META(RD_RS(RS(pos)), jm)) > 1; BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/lsi.c:16: BUILDSTDERR: format/ataraid/lsi.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/lsi.c:95:23: note: in expansion of macro 'RD' BUILDSTDERR: struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/lsi.c:95:48: note: in expansion of macro 'RD' BUILDSTDERR: struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/lsi.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/lsi.c:111:23: note: in expansion of macro 'RD_RS' BUILDSTDERR: struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' BUILDSTDERR: struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/nv.c:14: BUILDSTDERR: format/ataraid/nv.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/nv.c:133:14: note: in expansion of macro 'RD' BUILDSTDERR: return META(RD(new), nv)->unitNumber < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/nv.c:134:14: note: in expansion of macro 'RD' BUILDSTDERR: META(RD(pos), nv)->unitNumber; BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/nv.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' BUILDSTDERR: return _subset((META(RD_RS(RS(new)), nv))) < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/nv.c:141:29: note: in expansion of macro 'RS' BUILDSTDERR: return _subset((META(RD_RS(RS(new)), nv))) < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' BUILDSTDERR: return _subset((META(RD_RS(RS(new)), nv))) < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' BUILDSTDERR: _subset((META(RD_RS(RS(pos)), nv))); BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/nv.c:142:29: note: in expansion of macro 'RS' BUILDSTDERR: _subset((META(RD_RS(RS(pos)), nv))); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' BUILDSTDERR: _subset((META(RD_RS(RS(pos)), nv))); BUILDSTDERR: ^~~~~ BUILDSTDERR: format/ataraid/nv.c: In function 'checksum': BUILDSTDERR: format/ataraid/nv.c:194:11: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: sum += ((uint32_t *) nv)[s]; BUILDSTDERR: ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o BUILDSTDERR: format/ataraid/pdc.c: In function 'checksum': BUILDSTDERR: format/ataraid/pdc.c:108:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint32_t *p = (uint32_t *) pdc; BUILDSTDERR: ^ BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/pdc.c:16: BUILDSTDERR: format/ataraid/pdc.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/pdc.c:279:14: note: in expansion of macro 'RD' BUILDSTDERR: return META(RD(new), pdc)->raid.disk_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/pdc.c:280:14: note: in expansion of macro 'RD' BUILDSTDERR: META(RD(pos), pdc)->raid.disk_number; BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/pdc.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' BUILDSTDERR: return !set_number(META(RD_RS(RS(new)), pdc)); BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/pdc.c:287:32: note: in expansion of macro 'RS' BUILDSTDERR: return !set_number(META(RD_RS(RS(new)), pdc)); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' BUILDSTDERR: return !set_number(META(RD_RS(RS(new)), pdc)); BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o BUILDSTDERR: format/ataraid/sil.c: In function 'checksum': BUILDSTDERR: format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: uint16_t *p = (uint16_t *) sil; BUILDSTDERR: ^ BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/sil.c:12: BUILDSTDERR: format/ataraid/sil.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/sil.c:306:15: note: in expansion of macro 'RD' BUILDSTDERR: return (META(RD(new), sil))->disk_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/sil.c:307:9: note: in expansion of macro 'RD' BUILDSTDERR: (META(RD(pos), sil))->disk_number; BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/sil.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' BUILDSTDERR: return (META(RD_RS(RS(new)), sil))->mirrored_set_number < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/sil.c:314:21: note: in expansion of macro 'RS' BUILDSTDERR: return (META(RD_RS(RS(new)), sil))->mirrored_set_number < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' BUILDSTDERR: return (META(RD_RS(RS(new)), sil))->mirrored_set_number < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' BUILDSTDERR: (META(RD_RS(RS(pos)), sil))->mirrored_set_number; BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/sil.c:315:15: note: in expansion of macro 'RS' BUILDSTDERR: (META(RD_RS(RS(pos)), sil))->mirrored_set_number; BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' BUILDSTDERR: (META(RD_RS(RS(pos)), sil))->mirrored_set_number; BUILDSTDERR: ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o BUILDSTDERR: In file included from ./internal.h:36, BUILDSTDERR: from format/ataraid/via.c:12: BUILDSTDERR: format/ataraid/via.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/via.c:188:23: note: in expansion of macro 'RD' BUILDSTDERR: struct via *p = META(RD(pos), via); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/via.c:189:23: note: in expansion of macro 'RD' BUILDSTDERR: struct via *n = META(RD(new), via); BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/via.c: In function 'set_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' BUILDSTDERR: return _subset(META(RD_RS(RS(new)), via)) < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/via.c:204:28: note: in expansion of macro 'RS' BUILDSTDERR: return _subset(META(RD_RS(RS(new)), via)) < BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' BUILDSTDERR: return _subset(META(RD_RS(RS(new)), via)) < BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' BUILDSTDERR: _subset(META(RD_RS(RS(pos)), via)); BUILDSTDERR: ^~~~~ BUILDSTDERR: ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RS(pos) (list_entry(pos, struct raid_set, list)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ataraid/via.c:205:22: note: in expansion of macro 'RS' BUILDSTDERR: _subset(META(RD_RS(RS(pos)), via)); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:284:61: note: in definition of macro 'META' BUILDSTDERR: #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' BUILDSTDERR: #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) BUILDSTDERR: ^~ BUILDSTDERR: format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' BUILDSTDERR: _subset(META(RD_RS(RS(pos)), via)); BUILDSTDERR: ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o BUILDSTDERR: In file included from format/ddf/ddf1.c:16: BUILDSTDERR: format/ddf/ddf1.c: In function 'get_config_byoffset': BUILDSTDERR: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1.c:107:20: note: in expansion of macro 'CR_IDS' BUILDSTDERR: cfg_drive_ids = CR_IDS(ddf1, cfg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1.c:108:24: note: in expansion of macro 'CR_OFF' BUILDSTDERR: cfg_drive_offsets = CR_OFF(ddf1, cfg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1.c: In function 'get_config_index': BUILDSTDERR: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1.c:131:10: note: in expansion of macro 'CR_IDS' BUILDSTDERR: ids = CR_IDS(ddf1, cr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1.c: In function 'get_offset_entry': BUILDSTDERR: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1.c:173:9: note: in expansion of macro 'CR_IDS' BUILDSTDERR: ids = CR_IDS(ddf1, cr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1.c: In function 'get_offset': BUILDSTDERR: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1.c:190:28: note: in expansion of macro 'CR_OFF' BUILDSTDERR: return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ../include/dmraid/lib_context.h:14, BUILDSTDERR: from ./internal.h:26, BUILDSTDERR: from format/ddf/ddf1.c:13: BUILDSTDERR: format/ddf/ddf1.c: In function 'dev_sort': BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ddf/ddf1.c:620:28: note: in expansion of macro 'RD' BUILDSTDERR: struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); BUILDSTDERR: ^~ BUILDSTDERR: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) BUILDSTDERR: ^ BUILDSTDERR: ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' BUILDSTDERR: #define RD(pos) (list_entry(pos, struct raid_dev, devs)) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: format/ddf/ddf1.c:620:47: note: in expansion of macro 'RD' BUILDSTDERR: struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); BUILDSTDERR: ^~ BUILDSTDERR: format/ddf/ddf1.c: In function 'check_rd': BUILDSTDERR: format/ddf/ddf1.c:886:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] BUILDSTDERR: return rd->type != s_broken; BUILDSTDERR: ^~ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o BUILDSTDERR: format/ddf/ddf1_lib.c: In function 'ddf1_process_records': BUILDSTDERR: format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: x = *((uint32_t *) CR(ddf1, i)); BUILDSTDERR: ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o BUILDSTDERR: In file included from format/ddf/ddf1_cvt.c:15: BUILDSTDERR: format/ddf/ddf1_cvt.c: In function 'ddf1_cvt_config_record': BUILDSTDERR: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro 'CR_IDS' BUILDSTDERR: ids = CR_IDS(ddf1, hdr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + BUILDSTDERR: ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o BUILDSTDERR: In file included from format/ddf/ddf1_dump.c:17: BUILDSTDERR: format/ddf/ddf1_dump.c: In function 'dump_config_record': BUILDSTDERR: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1_dump.c:221:18: note: in expansion of macro 'CR_IDS' BUILDSTDERR: cfg_drive_ids = CR_IDS(ddf, cfg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ BUILDSTDERR: ^ BUILDSTDERR: format/ddf/ddf1_dump.c:222:22: note: in expansion of macro 'CR_OFF' BUILDSTDERR: cfg_drive_offsets = CR_OFF(ddf, cfg); BUILDSTDERR: ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o gcc -MM -MF register/dmreg.d -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE register/dmreg.c; \ gcc -c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE register/dmreg.c -o register/dmreg.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 register/dmreg.o BUILDSTDERR: ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libdmraid.so.1 \ -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 register/dmreg.o -o ../lib/libdmraid.so -ldevmapper-event gcc events/libdmraid-events-isw.c -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libdmraid-events-isw.so.1 -o ../lib/libdmraid-events-isw.so -ldevmapper -ldevmapper-event ../lib/libdmraid.so BUILDSTDERR: events/libdmraid-events-isw.c: In function '_process_mirror_event': BUILDSTDERR: events/libdmraid-events-isw.c:1244:6: warning: 'log_status_str' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: *log_status_str == 'D') { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/libdevmapper-event.h: In function 'register_device': BUILDSTDERR: events/libdmraid-events-isw.c:905:19: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: sprintf(path, "%s%s%s", sys_block_path, dev_name, sys_slaves_dir); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from events/libdmraid-events-isw.c:72: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' make -C man make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' make -C tools make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o gcc -MM -MF commands.d -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE commands.c -o commands.o gcc -MM -MF toollib.d -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -L../lib \ -ldmraid -ldevmapper -lselinux -lsepol -ldevmapper-event -ldmraid -ldevmapper -lselinux -lsepol -ldl gcc -o dmevent_tool dmevent_tool.c -I -I. -I../include -I../lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_TEST -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -L../lib \ -ldmraid -ldevmapper -lselinux -lsepol -ldevmapper-event -ldmraid -ldevmapper -lselinux -lsepol -ldl BUILDSTDERR: dmevent_tool.c:126:8: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: static _process_opt(int opt, const char *cmd) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dmevent_tool.c: In function '_process_opt': BUILDSTDERR: dmevent_tool.c:151:4: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: dmevent_tool.c:126:8: note: declared here BUILDSTDERR: static _process_opt(int opt, const char *cmd) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dmevent_tool.c: In function 'main': BUILDSTDERR: dmevent_tool.c:228:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: else if (optc[OPT_r] && !optc[OPT_u]) BUILDSTDERR: ^ BUILDSTDERR: dmevent_tool.c:217:6: warning: unused variable 'opt' [-Wunused-variable] BUILDSTDERR: int opt, ret = 0; BUILDSTDERR: ^~~ make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qKYIuD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 + cd dmraid/1.0.0.rc16 + install -m 755 -d /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64 /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/bin /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64 /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/include/dmraid/ /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/var/lock/dmraid /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/cron.d/ /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/logwatch/conf/services/ /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/logwatch/scripts/services/ /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/var/cache/logwatch/dmeventd + make DESTDIR=/builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 install make -C include make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' make -C lib make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' make -C man make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' make -C tools make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' make -C include install make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' Installing dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/dmreg.h dmraid/locking.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h in /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/include/dmraid mkdir -p /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/lib_context.h dmraid/list.h dmraid/dmreg.h dmraid/locking.h dmraid/reconfig.h dmraid/misc.h dmraid/dmraid.h dmraid/metadata.h dmraid/format.h /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/include/dmraid make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/include' make -C lib install make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so Installing ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so in /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64 make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/lib' make -C man install make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' Installing dmraid.8 dmevent_tool.8 in /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/man/man8 make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/man' make -C tools install make[1]: Entering directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' Installing dmraid dmevent_tool in /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin make[1]: Leaving directory '/builddir/build/BUILD/dmraid/1.0.0.rc16/tools' + ln -s dmraid /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin/dmraid.static + cd /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin + ln -f dmevent_tool dm_dso_reg_tool + cd /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/man/man8 + ln -f dmevent_tool.8 dm_dso_reg_tool.8 + ln -f dmraid.8 dmraid.static.8 + install -p -m 644 include/dmraid/display.h include/dmraid/dmraid.h include/dmraid/dmreg.h include/dmraid/format.h include/dmraid/lib_context.h include/dmraid/list.h include/dmraid/locking.h include/dmraid/metadata.h include/dmraid/misc.h include/dmraid/reconfig.h /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/include/dmraid/ + install -p -m 755 lib/libdmraid.so /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64/libdmraid.so.1.0.0.rc16 + cd /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64 + ln -sf libdmraid.so.1.0.0.rc16 libdmraid.so + ln -sf libdmraid.so.1.0.0.rc16 libdmraid.so.1 + install -p -m 755 lib/libdmraid-events-isw.so /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64/libdmraid-events-isw.so.1.0.0.rc16 + cd /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64 + ln -sf libdmraid-events-isw.so.1.0.0.rc16 libdmraid-events-isw.so + ln -sf libdmraid-events-isw.so.1.0.0.rc16 libdmraid-events-isw.so.1 + install -p -m 644 logwatch/dmeventd.conf /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/logwatch/conf/services/dmeventd.conf + install -p -m 755 logwatch/dmeventd /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/logwatch/scripts/services/dmeventd + install -p -m 644 logwatch/dmeventd_cronjob.txt /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/cron.d/dmeventd-logwatch + install -p -m 0700 /dev/null /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/var/cache/logwatch/dmeventd/syslogpattern.txt + install -d /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/systemd + install -d /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/systemd/system + install -p -m 755 /builddir/build/SOURCES/fedora-dmraid-activation /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/systemd/fedora-dmraid-activation + install -p -m 444 /builddir/build/SOURCES/dmraid-activation.service /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/systemd/system/dmraid-activation.service + rm -f /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64/libdmraid.a + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.0.rc16-39.fc29 --unique-debug-suffix -1.0.0.rc16-39.fc29.riscv64 --unique-debug-src-base dmraid-1.0.0.rc16-39.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dmraid/1.0.0.rc16 extracting debug info from /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin/dmevent_tool extracting debug info from /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/sbin/dmraid extracting debug info from /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64/libdmraid-events-isw.so.1.0.0.rc16 extracting debug info from /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/lib64/libdmraid.so.1.0.0.rc16 hard linked /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/debug/usr/sbin/dmevent_tool-1.0.0.rc16-39.fc29.riscv64.debug to /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/lib/debug/usr/sbin/dm_dso_reg_tool-1.0.0.rc16-39.fc29.riscv64.debug /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1178 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/systemd/fedora-dmraid-activation from /bin/bash to #!/usr/bin/bash BUILDSTDERR: *** WARNING: ./etc/logwatch/scripts/services/dmeventd is executable but has empty or no shebang, removing executable bit Processing files: dmraid-1.0.0.rc16-39.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rvbFn5 + umask 022 + cd /builddir/build/BUILD + cd dmraid/1.0.0.rc16 + DOCDIR=/builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr CHANGELOG /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr CREDITS /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr KNOWN_BUGS /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr README /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr TODO /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + cp -pr doc/dmraid_design.txt /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/doc/dmraid + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wnxA8H + umask 022 + cd /builddir/build/BUILD + cd dmraid/1.0.0.rc16 + LICENSEDIR=/builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/licenses/dmraid + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/licenses/dmraid + cp -pr LICENSE /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/licenses/dmraid + cp -pr LICENSE_GPL /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/licenses/dmraid + cp -pr LICENSE_LGPL /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64/usr/share/licenses/dmraid + exit 0 Provides: dmraid = 1.0.0.rc16-39.fc29 dmraid(riscv-64) = 1.0.0.rc16-39.fc29 libdmraid-events-isw.so.1()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd >= 195-4 Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdevmapper-event.so.1.02()(64bit) libdevmapper-event.so.1.02(Base)(64bit) libdevmapper.so.1.02()(64bit) libdevmapper.so.1.02(Base)(64bit) libdevmapper.so.1.02(DM_1_02_103)(64bit) libdevmapper.so.1.02(DM_1_02_97)(64bit) libdl.so.2()(64bit) libdmraid-events-isw.so.1()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) libselinux.so.1()(64bit) libsepol.so.1()(64bit) rtld(GNU_HASH) Processing files: dmraid-devel-1.0.0.rc16-39.fc29.riscv64 Provides: dmraid-devel = 1.0.0.rc16-39.fc29 dmraid-devel(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmraid-events-1.0.0.rc16-39.fc29.riscv64 Provides: dmraid-events = 1.0.0.rc16-39.fc29 dmraid-events(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdevmapper-event.so.1.02()(64bit) libdevmapper.so.1.02()(64bit) libdl.so.2()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) libselinux.so.1()(64bit) libsepol.so.1()(64bit) rtld(GNU_HASH) Processing files: dmraid-events-logwatch-1.0.0.rc16-39.fc29.riscv64 Provides: config(dmraid-events-logwatch) = 1.0.0.rc16-39.fc29 dmraid-events-logwatch = 1.0.0.rc16-39.fc29 dmraid-events-logwatch(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmraid-debugsource-1.0.0.rc16-39.fc29.riscv64 Provides: dmraid-debugsource = 1.0.0.rc16-39.fc29 dmraid-debugsource(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmraid-debuginfo-1.0.0.rc16-39.fc29.riscv64 Provides: debuginfo(build-id) = 9b6b2e0df9774d290985d6bc937b11368a26ae09 debuginfo(build-id) = b2928bcb3832898525ecb51199721a7db189a24b debuginfo(build-id) = d14cef980d3ef43e2e929f2fb7fddea735617d6a dmraid-debuginfo = 1.0.0.rc16-39.fc29 dmraid-debuginfo(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmraid-debugsource(riscv-64) = 1.0.0.rc16-39.fc29 Processing files: dmraid-events-debuginfo-1.0.0.rc16-39.fc29.riscv64 Provides: debuginfo(build-id) = 270f35697256dd85551a2ed6acaa4b5d6ae06c83 dmraid-events-debuginfo = 1.0.0.rc16-39.fc29 dmraid-events-debuginfo(riscv-64) = 1.0.0.rc16-39.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmraid-debugsource(riscv-64) = 1.0.0.rc16-39.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 Wrote: /builddir/build/RPMS/dmraid-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-devel-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-logwatch-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-debugsource-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-debuginfo-1.0.0.rc16-39.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-debuginfo-1.0.0.rc16-39.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.43HMOz + umask 022 + cd /builddir/build/BUILD + cd dmraid/1.0.0.rc16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmraid-1.0.0.rc16-39.fc29.riscv64 + exit 0 Child return code was: 0