Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'], chrootPath='/var/lib/mock/f41-build-828284-155575/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/dmraid-1.0.0.rc16-60.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmraid.spec'], chrootPath='/var/lib/mock/f41-build-828284-155575/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ipkcOK + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + test -d /builddir/build/BUILD/dmraid-1.0.0.rc16-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/dmraid-1.0.0.rc16-build + /usr/bin/rm -rf /builddir/build/BUILD/dmraid-1.0.0.rc16-build + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Km39EB + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + rm -rf dmraid/1.0.0.rc16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dmraid-1.0.0.rc16.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd dmraid/1.0.0.rc16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ddf1_lsi_persistent_name.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pdc_raid10_failure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/return_error_wo_disks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix_sil_jbod.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/avoid_register.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/move_pattern_file_to_var.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libversion.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libversion-display.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bz635995-data_corruption_during_activation_volume_marked_for_rebuild.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bz626417_19-enabling_registration_degraded_volume.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bz626417_20-cleanup_some_compilation_warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bz626417_21-add_option_that_postpones_any_metadata_updates.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-fix-build-to-honour-cflags-var.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-fix-errors-and-warnings-triggered-by-CFLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-fix-destdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-fix-missing-destdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-fix-so-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-use-modern-run-lock-dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/dmraid-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g7nXVp + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dmraid/1.0.0.rc16 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ 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) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ 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' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-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-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-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 config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting + make make -C include make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/include' make -C lib make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from activate/activate.c:21: activate/activate.c: In function ‘_biggest’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:52:9: note: in expansion of macro ‘list_for_each_entry’ 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:52:9: note: in expansion of macro ‘list_for_each_entry’ 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_smallest’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:68:9: note: in expansion of macro ‘list_for_each_entry’ 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:68:9: note: in expansion of macro ‘list_for_each_entry’ 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:71:9: note: in expansion of macro ‘list_for_each_entry’ 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:71:9: note: in expansion of macro ‘list_for_each_entry’ 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_linear’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:142:9: note: in expansion of macro ‘list_for_each_entry’ 142 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:142:9: note: in expansion of macro ‘list_for_each_entry’ 142 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:165:9: note: in expansion of macro ‘list_for_each_entry’ 165 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:165:9: note: in expansion of macro ‘list_for_each_entry’ 165 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid0_eol’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:236:9: note: in expansion of macro ‘list_for_each_entry’ 236 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:236:9: note: in expansion of macro ‘list_for_each_entry’ 236 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:255:9: note: in expansion of macro ‘list_for_each_entry’ 255 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:255:9: note: in expansion of macro ‘list_for_each_entry’ 255 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘_dm_raid_devs’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:280:9: note: in expansion of macro ‘list_for_each_entry’ 280 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:280:9: note: in expansion of macro ‘list_for_each_entry’ 280 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:285:9: note: in expansion of macro ‘list_for_each_entry’ 285 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:285:9: note: in expansion of macro ‘list_for_each_entry’ 285 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rds’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:344:9: note: in expansion of macro ‘list_for_each_entry’ 344 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:344:9: note: in expansion of macro ‘list_for_each_entry’ 344 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_dm_devs’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:362:9: note: in expansion of macro ‘list_for_each_entry’ 362 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:362:9: note: in expansion of macro ‘list_for_each_entry’ 362 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘get_rebuild_drive’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:389:14: note: in expansion of macro ‘list_entry’ 389 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ activate/activate.c: In function ‘dm_raid1’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:470:9: note: in expansion of macro ‘list_for_each_entry’ 470 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:470:9: note: in expansion of macro ‘list_for_each_entry’ 470 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:507:9: note: in expansion of macro ‘list_for_each_entry’ 507 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:507:9: note: in expansion of macro ‘list_for_each_entry’ 507 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘dm_raid45’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:689:28: note: in expansion of macro ‘list_entry’ 689 | rd_first = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:20: note: in expansion of macro ‘list_entry’ 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ activate/activate.c:709:17: note: in expansion of macro ‘list_for_each_entry_safe’ 709 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ activate/activate.c:709:17: note: in expansion of macro ‘list_for_each_entry_safe’ 709 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ activate/activate.c:709:17: note: in expansion of macro ‘list_for_each_entry_safe’ 709 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:757:9: note: in expansion of macro ‘list_for_each_entry’ 757 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:757:9: note: in expansion of macro ‘list_for_each_entry’ 757 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:771:9: note: in expansion of macro ‘list_for_each_entry’ 771 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:771:9: note: in expansion of macro ‘list_for_each_entry’ 771 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘reload_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:953:9: note: in expansion of macro ‘list_for_each_entry’ 953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:953:9: note: in expansion of macro ‘list_for_each_entry’ 953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘activate_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1014:39: note: in expansion of macro ‘list_entry’ 1014 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1030:39: note: in expansion of macro ‘list_entry’ 1030 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:1044:9: note: in expansion of macro ‘list_for_each_entry’ 1044 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:1044:9: note: in expansion of macro ‘list_for_each_entry’ 1044 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function ‘deactivate_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ activate/activate.c:1095:9: note: in expansion of macro ‘list_for_each_entry’ 1095 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ activate/activate.c:1095:9: note: in expansion of macro ‘list_for_each_entry’ 1095 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o device/ata.c: In function ‘get_ata_serial’: device/ata.c:30:37: warning: cast increases required alignment of target type [-Wcast-align] 30 | ata_ident = (struct ata_identify *) &buf[cmd_offset]; | ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from device/partition.c:11: device/partition.c: In function ‘_remove_subset_partitions’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ device/partition.c:24:9: note: in expansion of macro ‘list_for_each_entry’ 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ device/partition.c:24:9: note: in expansion of macro ‘list_for_each_entry’ 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ device/partition.c: In function ‘remove_device_partitions’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ device/partition.c:52:9: note: in expansion of macro ‘list_for_each_entry’ 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ device/partition.c:52:9: note: in expansion of macro ‘list_for_each_entry’ 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o device/scsi.c: In function ‘old_inquiry’: device/scsi.c:69:27: warning: cast increases required alignment of target type [-Wcast-align] 69 | unsigned int *i = (unsigned int *) response; | ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE display/display.c -o display/display.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from display/display.c:8: display/display.c: In function ‘log_disk’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:94:31: note: in expansion of macro ‘list_entry’ 94 | struct dev_info *di = list_entry(pos, typeof(*di), list); | ^~~~~~~~~~ display/display.c: In function ‘log_rd_native’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:132:31: note: in expansion of macro ‘list_entry’ 132 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function ‘log_rd’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:147:31: note: in expansion of macro ‘list_entry’ 147 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function ‘log_rs’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ display/display.c:314:17: note: in expansion of macro ‘list_for_each_entry’ 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ display/display.c:314:17: note: in expansion of macro ‘list_for_each_entry’ 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘group_active’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ display/display.c:324:9: note: in expansion of macro ‘list_for_each_entry’ 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ display/display.c:324:9: note: in expansion of macro ‘list_for_each_entry’ 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘display_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ display/display.c:362:17: note: in expansion of macro ‘list_for_each_entry’ 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ display/display.c:362:17: note: in expansion of macro ‘list_for_each_entry’ 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function ‘_list_formats’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ display/display.c:376:9: note: in expansion of macro ‘list_for_each_entry’ 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ display/display.c:376:9: note: in expansion of macro ‘list_for_each_entry’ 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/format.c -o format/format.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/format.c:12: format/format.c: In function ‘unregister_format_handlers’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:141:26: note: in expansion of macro ‘list_entry’ 141 | dbg_free(list_entry(elem, struct format_list, list)); | ^~~~~~~~~~ format/format.c: In function ‘_check_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/format.c:291:9: note: in expansion of macro ‘list_for_each_entry’ 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/format.c:291:9: note: in expansion of macro ‘list_for_each_entry’ 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘set_rs_status’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/format.c:416:9: note: in expansion of macro ‘list_for_each_entry’ 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/format.c:416:9: note: in expansion of macro ‘list_for_each_entry’ 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/format.c:429:9: note: in expansion of macro ‘list_for_each_entry’ 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/format.c:429:9: note: in expansion of macro ‘list_for_each_entry’ 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function ‘check_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/format.c:463:9: note: in expansion of macro ‘list_for_each_entry’ 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/format.c:463:9: note: in expansion of macro ‘list_for_each_entry’ 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:469:22: note: in expansion of macro ‘list_entry’ 469 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/format.c: In function ‘check_valid_format’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/format.c:587:9: note: in expansion of macro ‘list_for_each_entry’ 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/format.c:587:9: note: in expansion of macro ‘list_for_each_entry’ 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/log_ops.c:10: metadata/log_ops.c: In function ‘end_log’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/log_ops.c:19:26: note: in expansion of macro ‘list_entry’ 19 | dbg_free(list_entry(pos, struct change, changes)); | ^~~~~~~~~~ metadata/log_ops.c: In function ‘revert_log’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/log_ops.c:30:9: note: in expansion of macro ‘list_for_each_entry’ 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/log_ops.c:30:9: note: in expansion of macro ‘list_for_each_entry’ 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function ‘smallest_disk’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:183:9: note: in expansion of macro ‘list_for_each_entry’ 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:183:9: note: in expansion of macro ‘list_for_each_entry’ 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_subsets’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:196:9: note: in expansion of macro ‘list_for_each_entry’ 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:196:9: note: in expansion of macro ‘list_for_each_entry’ 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘total_sectors’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:212:17: note: in expansion of macro ‘list_for_each_entry’ 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:212:17: note: in expansion of macro ‘list_for_each_entry’ 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:221:17: note: in expansion of macro ‘list_for_each_entry’ 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:221:17: note: in expansion of macro ‘list_for_each_entry’ 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:231:17: note: in expansion of macro ‘list_for_each_entry’ 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:231:17: note: in expansion of macro ‘list_for_each_entry’ 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘count_devs’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:267:9: note: in expansion of macro ‘list_for_each_entry’ 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:267:9: note: in expansion of macro ‘list_for_each_entry’ 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:272:9: note: in expansion of macro ‘list_for_each_entry’ 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:272:9: note: in expansion of macro ‘list_for_each_entry’ 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_free_dev_infos’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:365:36: note: in expansion of macro ‘list_entry’ 365 | _free_dev_info(lc, list_entry(elem, struct dev_info, list)); | ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_devs’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:424:22: note: in expansion of macro ‘list_entry’ 424 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function ‘_free_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:464:22: note: in expansion of macro ‘RD’ 464 | rd = RD(elem); | ^~ metadata/metadata.c: In function ‘free_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:499:35: note: in expansion of macro ‘RS’ 499 | free_raid_set(lc, RS(elem)); | ^~ metadata/metadata.c: In function ‘_find_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:541:9: note: in expansion of macro ‘list_for_each_entry’ 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:541:9: note: in expansion of macro ‘list_for_each_entry’ 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:549:17: note: in expansion of macro ‘list_for_each_entry’ 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:549:17: note: in expansion of macro ‘list_for_each_entry’ 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:574:35: note: in expansion of macro ‘list_entry’ 574 | struct raid_set *new_rs = list_entry(new, struct raid_set, list); | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:575:35: note: in expansion of macro ‘list_entry’ 575 | struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function ‘dmraid_read’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:697:9: note: in expansion of macro ‘list_for_each_entry’ 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:697:9: note: in expansion of macro ‘list_for_each_entry’ 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices_spares’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:770:9: note: in expansion of macro ‘list_for_each_entry’ 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:770:9: note: in expansion of macro ‘list_for_each_entry’ 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘discover_raid_devices’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:799:9: note: in expansion of macro ‘list_for_each_entry’ 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:799:9: note: in expansion of macro ‘list_for_each_entry’ 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘_discover_partitions’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:833:9: note: in expansion of macro ‘list_for_each_entry’ 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:833:9: note: in expansion of macro ‘list_for_each_entry’ 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘want_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:20: note: in expansion of macro ‘list_entry’ 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/metadata.c:910:17: note: in expansion of macro ‘list_for_each_entry_safe’ 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/metadata.c:910:17: note: in expansion of macro ‘list_for_each_entry_safe’ 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/metadata.c:910:17: note: in expansion of macro ‘list_for_each_entry_safe’ 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘get_format’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:946:28: note: in expansion of macro ‘RD_RS’ 946 | return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; | ^~~~~ metadata/metadata.c: In function ‘get_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:956:9: note: in expansion of macro ‘list_for_each_entry’ 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:956:9: note: in expansion of macro ‘list_for_each_entry’ 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:957:17: note: in expansion of macro ‘list_for_each_entry’ 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:957:17: note: in expansion of macro ‘list_for_each_entry’ 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:960:25: note: in expansion of macro ‘list_for_each_entry’ 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:960:25: note: in expansion of macro ‘list_for_each_entry’ 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:961:33: note: in expansion of macro ‘list_for_each_entry’ 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:961:33: note: in expansion of macro ‘list_for_each_entry’ 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘check_raid_sets’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:981:46: note: in expansion of macro ‘RS’ 981 | if (!(fmt = get_format((rs = RS(elem))))) | ^~ metadata/metadata.c: In function ‘build_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1015:22: note: in expansion of macro ‘list_entry’ 1015 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function ‘find_disk’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1226:9: note: in expansion of macro ‘list_for_each_entry’ 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1226:9: note: in expansion of macro ‘list_for_each_entry’ 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_format’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1243:9: note: in expansion of macro ‘list_for_each_entry’ 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1243:9: note: in expansion of macro ‘list_for_each_entry’ 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘free_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1333:23: note: in expansion of macro ‘list_entry’ 1333 | rs1 = list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function ‘find_raiddev’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1348:9: note: in expansion of macro ‘list_for_each_entry’ 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1348:9: note: in expansion of macro ‘list_for_each_entry’ 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘rebuild_config_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1472:22: note: in expansion of macro ‘RD_RS’ 1472 | if (!(fmt = (RD_RS(rs)->fmt))) | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1485:30: note: in expansion of macro ‘RD’ 1485 | rd = RD(elem); | ^~ metadata/metadata.c: In function ‘config_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1507:21: note: in expansion of macro ‘RD_RS’ 1507 | if (!(fmt = RD_RS(rs)->fmt)) | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1520:30: note: in expansion of macro ‘RD’ 1520 | rd = RD(elem); | ^~ metadata/metadata.c: In function ‘process_sets’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1628:9: note: in expansion of macro ‘list_for_each_entry’ 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1628:9: note: in expansion of macro ‘list_for_each_entry’ 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘write_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1640:9: note: in expansion of macro ‘list_for_each_entry’ 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1640:9: note: in expansion of macro ‘list_for_each_entry’ 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1652:9: note: in expansion of macro ‘list_for_each_entry’ 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1652:9: note: in expansion of macro ‘list_for_each_entry’ 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘erase_metadata’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1675:9: note: in expansion of macro ‘list_for_each_entry’ 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1675:9: note: in expansion of macro ‘list_for_each_entry’ 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘delete_raidsets’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1890:9: note: in expansion of macro ‘list_for_each_entry’ 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1890:9: note: in expansion of macro ‘list_for_each_entry’ 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1891:28: note: in expansion of macro ‘list_entry’ 1891 | if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1895:25: note: in expansion of macro ‘list_for_each_entry’ 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1895:25: note: in expansion of macro ‘list_for_each_entry’ 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1908:33: note: in expansion of macro ‘list_for_each_entry’ 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1908:33: note: in expansion of macro ‘list_for_each_entry’ 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1912:39: note: in expansion of macro ‘list_entry’ 1912 | rs1 = list_entry(rs->sets.next, | ^~~~~~~~~~ metadata/metadata.c: In function ‘find_set_inconsistent’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1953:9: note: in expansion of macro ‘list_for_each_entry’ 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1953:9: note: in expansion of macro ‘list_for_each_entry’ 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘find_spare’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1985:20: note: in expansion of macro ‘RD_RS’ 1985 | !(rd = RD_RS(rs_failed))) | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1997:17: note: in expansion of macro ‘list_for_each_entry’ 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1997:17: note: in expansion of macro ‘list_for_each_entry’ 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1999:33: note: in expansion of macro ‘list_for_each_entry’ 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1999:33: note: in expansion of macro ‘list_for_each_entry’ 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:2023:17: note: in expansion of macro ‘list_for_each_entry’ 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:2023:17: note: in expansion of macro ‘list_for_each_entry’ 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:2026:33: note: in expansion of macro ‘list_for_each_entry’ 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:2026:33: note: in expansion of macro ‘list_for_each_entry’ 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:2030:49: note: in expansion of macro ‘list_for_each_entry’ 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:2030:49: note: in expansion of macro ‘list_for_each_entry’ 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function ‘dso_get_members’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:2174:17: note: in expansion of macro ‘list_for_each_entry’ 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:2174:17: note: in expansion of macro ‘list_for_each_entry’ 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function ‘dso_end_rebuild’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:53:53: note: in expansion of macro ‘RD_RS’ 53 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function ‘show_raid_stack’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:95:9: note: in expansion of macro ‘list_for_each_entry’ 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:95:9: note: in expansion of macro ‘list_for_each_entry’ 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:101:17: note: in expansion of macro ‘list_for_each_entry’ 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:101:17: note: in expansion of macro ‘list_for_each_entry’ 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:106:17: note: in expansion of macro ‘list_for_each_entry’ 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:106:17: note: in expansion of macro ‘list_for_each_entry’ 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:112:25: note: in expansion of macro ‘list_for_each_entry’ 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:112:25: note: in expansion of macro ‘list_for_each_entry’ 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:118:25: note: in expansion of macro ‘list_for_each_entry’ 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:118:25: note: in expansion of macro ‘list_for_each_entry’ 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:122:33: note: in expansion of macro ‘list_for_each_entry’ 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:122:33: note: in expansion of macro ‘list_for_each_entry’ 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘add_dev_to_raid’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:145:20: note: in expansion of macro ‘list_entry’ 145 | check_rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:154:33: note: in expansion of macro ‘list_for_each_entry’ 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:154:33: note: in expansion of macro ‘list_for_each_entry’ 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:20: note: in expansion of macro ‘list_entry’ 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/reconfig.c:182:25: note: in expansion of macro ‘list_for_each_entry_safe’ 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro ‘list_entry’ 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/reconfig.c:182:25: note: in expansion of macro ‘list_for_each_entry_safe’ 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro ‘list_entry’ 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/reconfig.c:182:25: note: in expansion of macro ‘list_for_each_entry_safe’ 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:207:17: note: in expansion of macro ‘list_for_each_entry’ 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:207:17: note: in expansion of macro ‘list_for_each_entry’ 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:216:17: note: in expansion of macro ‘list_for_each_entry’ 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:216:17: note: in expansion of macro ‘list_for_each_entry’ 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:235:17: note: in expansion of macro ‘list_for_each_entry’ 235 | list_for_each_entry(_rd, &sub_rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:235:17: note: in expansion of macro ‘list_for_each_entry’ 235 | list_for_each_entry(_rd, &sub_rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘check_busy_disk’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:285:9: note: in expansion of macro ‘list_for_each_entry’ 285 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:285:9: note: in expansion of macro ‘list_for_each_entry’ 285 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘del_dev_in_raid1’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:398:9: note: in expansion of macro ‘list_for_each_entry’ 398 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:398:9: note: in expansion of macro ‘list_for_each_entry’ 398 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:417:9: note: in expansion of macro ‘list_for_each_entry’ 417 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:417:9: note: in expansion of macro ‘list_for_each_entry’ 417 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘handle_dev’: metadata/reconfig.c:462:29: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] 462 | if (h->type == rs->type) | ^~ metadata/reconfig.c:464:30: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare] 464 | } while ((++h)->type != t_undef); | ^~ metadata/reconfig.c: In function ‘find_group’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:523:9: note: in expansion of macro ‘list_for_each_entry’ 523 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:523:9: note: in expansion of macro ‘list_for_each_entry’ 523 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:525:25: note: in expansion of macro ‘list_for_each_entry’ 525 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:525:25: note: in expansion of macro ‘list_for_each_entry’ 525 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:529:41: note: in expansion of macro ‘list_for_each_entry’ 529 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:529:41: note: in expansion of macro ‘list_for_each_entry’ 529 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘_rebuild_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:577:45: note: in expansion of macro ‘RD_RS’ 577 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function ‘check_allow_rebuild’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:643:31: note: in expansion of macro ‘list_entry’ 643 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ metadata/reconfig.c: In function ‘rebuild_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:689:25: note: in expansion of macro ‘list_for_each_entry’ 689 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:689:25: note: in expansion of macro ‘list_for_each_entry’ 689 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function ‘write_set_spare’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:715:9: note: in expansion of macro ‘list_for_each_entry’ 715 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:715:9: note: in expansion of macro ‘list_for_each_entry’ 715 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/reconfig.c:727:17: note: in expansion of macro ‘list_for_each_entry’ 727 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/reconfig.c:727:17: note: in expansion of macro ‘list_for_each_entry’ 727 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o misc/misc.c: In function ‘led’: misc/misc.c:276:17: warning: ‘fclose’ called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] 276 | fclose(fd); | ^~~~~~~~~~ misc/misc.c:274:19: note: returned from ‘popen’ 274 | if ((fd = popen("which sgpio", "r"))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o In file included from ./internal.h:36, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:490:42: note: in expansion of macro ‘RD’ 490 | return compose_id(this_disk(META(RD(new), asr))) < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:491:42: note: in expansion of macro ‘RD’ 491 | compose_id(this_disk(META(RD(pos), asr))); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26: format/ataraid/asr.c: In function ‘find_newest_drive’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/asr.c:746:9: note: in expansion of macro ‘list_for_each_entry’ 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/asr.c:746:9: note: in expansion of macro ‘list_for_each_entry’ 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘in_raid_set’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/asr.c:818:9: note: in expansion of macro ‘list_for_each_entry’ 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/asr.c:818:9: note: in expansion of macro ‘list_for_each_entry’ 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘cleanup_configlines’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/asr.c:836:9: note: in expansion of macro ‘list_for_each_entry’ 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/asr.c:836:9: note: in expansion of macro ‘list_for_each_entry’ 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/asr.c:955:9: note: in expansion of macro ‘list_for_each_entry’ 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/asr.c:955:9: note: in expansion of macro ‘list_for_each_entry’ 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function ‘check_rd’: format/ataraid/asr.c:1034:25: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] 1034 | return rd->type != s_broken; | ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o In file included from ./internal.h:36, from format/ataraid/hpt37x.c:16: format/ataraid/hpt37x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:98:21: note: in expansion of macro ‘RD’ 98 | return META(RD(new), hpt37x)->disk_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:99:21: note: in expansion of macro ‘RD’ 99 | META(RD(pos), hpt37x)->disk_number; | ^~ format/ataraid/hpt37x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:21: note: in expansion of macro ‘RD_RS’ 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:106:27: note: in expansion of macro ‘RS’ 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:21: note: in expansion of macro ‘RD_RS’ 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:21: note: in expansion of macro ‘RD_RS’ 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:107:27: note: in expansion of macro ‘RS’ 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:21: note: in expansion of macro ‘RD_RS’ 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ format/ataraid/hpt37x.c: In function ‘group_rd’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:231:29: note: in expansion of macro ‘RD_RS’ 231 | h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; | ^~~~~ format/ataraid/hpt37x.c: In function ‘hpt37x_log’: format/ataraid/hpt37x.c:356:19: warning: taking address of packed member of ‘struct hpt37x’ may result in an unaligned pointer value [-Waddress-of-packed-member] 356 | for (el = hpt->errorlog; el < hpt->errorlog + 32; el++) { | ^~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o In file included from ./internal.h:36, from format/ataraid/hpt45x.c:16: format/ataraid/hpt45x.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:90:21: note: in expansion of macro ‘RD’ 90 | return META(RD(new), hpt45x)->disk_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:91:21: note: in expansion of macro ‘RD’ 91 | META(RD(pos), hpt45x)->disk_number; | ^~ format/ataraid/hpt45x.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:21: note: in expansion of macro ‘RD_RS’ 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:98:27: note: in expansion of macro ‘RS’ 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:21: note: in expansion of macro ‘RD_RS’ 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:21: note: in expansion of macro ‘RD_RS’ 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:99:27: note: in expansion of macro ‘RS’ 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:21: note: in expansion of macro ‘RD_RS’ 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function ‘_get_disk’: format/ataraid/isw.c:141:41: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function ‘name’: format/ataraid/isw.c:203:33: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 203 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function ‘_checksum’: format/ataraid/isw.c:303:22: warning: cast increases required alignment of target type [-Wcast-align] 303 | *p = (uint32_t *) isw, ret = 0; | ^ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function ‘is_first_volume’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:437:9: note: in expansion of macro ‘list_for_each_entry’ 437 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:437:9: note: in expansion of macro ‘list_for_each_entry’ 437 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:438:17: note: in expansion of macro ‘list_for_each_entry’ 438 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:438:17: note: in expansion of macro ‘list_for_each_entry’ 438 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:743:27: note: in expansion of macro ‘RD’ 743 | struct isw *isw = RD(new)->private.ptr; | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:745:31: note: in expansion of macro ‘RD’ 745 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:745:61: note: in expansion of macro ‘RD’ 745 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ format/ataraid/isw.c: In function ‘rd_by_serial’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:915:9: note: in expansion of macro ‘list_for_each_entry’ 915 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:915:9: note: in expansion of macro ‘list_for_each_entry’ 915 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata_after_rebuild’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:928:31: note: in expansion of macro ‘list_entry’ 928 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function ‘number_disks_status’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1036:9: note: in expansion of macro ‘list_for_each_entry’ 1036 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1036:9: note: in expansion of macro ‘list_for_each_entry’ 1036 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘get_rs_status’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1117:9: note: in expansion of macro ‘list_for_each_entry’ 1117 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1117:9: note: in expansion of macro ‘list_for_each_entry’ 1117 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1127:24: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 1127 | disk = isw->disk; | ^~~ format/ataraid/isw.c:1107:26: warning: variable ‘disk’ set but not used [-Wunused-but-set-variable] 1107 | struct isw_disk *disk; | ^~~~ format/ataraid/isw.c: In function ‘get_rebuild_state’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1167:9: note: in expansion of macro ‘list_for_each_entry’ 1167 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1167:9: note: in expansion of macro ‘list_for_each_entry’ 1167 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1178:32: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 1178 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function ‘get_number_of_devices’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1217:17: note: in expansion of macro ‘list_entry’ 1217 | list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_metadata_handler’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1255:31: note: in expansion of macro ‘list_entry’ 1255 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1267:17: note: in expansion of macro ‘list_for_each_entry’ 1267 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1267:17: note: in expansion of macro ‘list_for_each_entry’ 1267 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1303:22: note: in expansion of macro ‘list_entry’ 1303 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ format/ataraid/isw.c:1308:24: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 1308 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function ‘_isw_check’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1378:9: note: in expansion of macro ‘list_for_each_entry’ 1378 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1378:9: note: in expansion of macro ‘list_for_each_entry’ 1378 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_name_unique’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1414:9: note: in expansion of macro ‘list_for_each_entry’ 1414 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1414:9: note: in expansion of macro ‘list_for_each_entry’ 1414 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1416:25: note: in expansion of macro ‘list_for_each_entry’ 1416 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1416:25: note: in expansion of macro ‘list_for_each_entry’ 1416 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘check_capability’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1444:25: note: in expansion of macro ‘list_entry’ 1444 | list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ format/ataraid/isw.c: In function ‘match_hd_array’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1469:9: note: in expansion of macro ‘list_for_each_entry’ 1469 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1469:9: note: in expansion of macro ‘list_for_each_entry’ 1469 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘is_hd_array_available’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1482:9: note: in expansion of macro ‘list_for_each_entry’ 1482 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1482:9: note: in expansion of macro ‘list_for_each_entry’ 1482 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1483:17: note: in expansion of macro ‘list_for_each_entry’ 1483 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1483:17: note: in expansion of macro ‘list_for_each_entry’ 1483 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_config_disks’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1521:9: note: in expansion of macro ‘list_for_each_entry’ 1521 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1521:9: note: in expansion of macro ‘list_for_each_entry’ 1521 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_cal_array_size’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1657:9: note: in expansion of macro ‘list_for_each_entry’ 1657 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1657:9: note: in expansion of macro ‘list_for_each_entry’ 1657 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘display_new_volume’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1788:9: note: in expansion of macro ‘list_for_each_entry’ 1788 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1788:9: note: in expansion of macro ‘list_for_each_entry’ 1788 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_create_first_volume’: format/ataraid/isw.c:1819:16: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 1819 | disk = isw->disk; | ^~~ format/ataraid/isw.c: In function ‘_find_group’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1863:9: note: in expansion of macro ‘list_for_each_entry’ 1863 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1863:9: note: in expansion of macro ‘list_for_each_entry’ 1863 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1867:17: note: in expansion of macro ‘list_for_each_entry’ 1867 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1867:17: note: in expansion of macro ‘list_for_each_entry’ 1867 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1868:25: note: in expansion of macro ‘list_for_each_entry’ 1868 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1868:25: note: in expansion of macro ‘list_for_each_entry’ 1868 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_create_second_volume’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1903:14: note: in expansion of macro ‘list_entry’ 1903 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:1916:44: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 1916 | total_size = _cal_array_size(isw_v1->disk, rs, dev1); | ~~~~~~^~~~~~ format/ataraid/isw.c: In function ‘update_raidset’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1986:9: note: in expansion of macro ‘list_for_each_entry’ 1986 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1986:9: note: in expansion of macro ‘list_for_each_entry’ 1986 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2018:22: note: in expansion of macro ‘list_entry’ 2018 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_log’: format/ataraid/isw.c:2183:28: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 2183 | for (d = 0, disk = isw->disk; d < isw->num_disks; d++, disk++) { | ^~~ format/ataraid/isw.c: In function ‘isw_erase_metadata’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2330:9: note: in expansion of macro ‘list_for_each_entry’ 2330 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2330:9: note: in expansion of macro ‘list_for_each_entry’ 2330 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_write_all’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2353:9: note: in expansion of macro ‘list_for_each_entry’ 2353 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2353:9: note: in expansion of macro ‘list_for_each_entry’ 2353 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘_isw_delete_all’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2413:20: note: in expansion of macro ‘list_entry’ 2413 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2417:20: note: in expansion of macro ‘list_entry’ 2417 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2433:9: note: in expansion of macro ‘list_for_each_entry’ 2433 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2433:9: note: in expansion of macro ‘list_for_each_entry’ 2433 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_delete’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2469:9: note: in expansion of macro ‘list_for_each_entry’ 2469 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2469:9: note: in expansion of macro ‘list_for_each_entry’ 2469 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2475:20: note: in expansion of macro ‘list_entry’ 2475 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2484:20: note: in expansion of macro ‘list_entry’ 2484 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ format/ataraid/isw.c: In function ‘update_metadata’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2649:31: note: in expansion of macro ‘list_entry’ 2649 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:2653:33: warning: taking address of packed member of ‘struct isw’ may result in an unaligned pointer value [-Waddress-of-packed-member] 2653 | struct isw_disk *disk = isw->disk, *new_disk = NULL; | ^~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2664:17: note: in expansion of macro ‘list_for_each_entry’ 2664 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2664:17: note: in expansion of macro ‘list_for_each_entry’ 2664 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2698:9: note: in expansion of macro ‘list_for_each_entry’ 2698 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2698:9: note: in expansion of macro ‘list_for_each_entry’ 2698 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2711:17: note: in expansion of macro ‘list_for_each_entry’ 2711 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2711:17: note: in expansion of macro ‘list_for_each_entry’ 2711 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2815:9: note: in expansion of macro ‘list_for_each_entry’ 2815 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2815:9: note: in expansion of macro ‘list_for_each_entry’ 2815 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro ‘list_entry’ 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2861:9: note: in expansion of macro ‘list_for_each_entry’ 2861 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro ‘list_entry’ 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2861:9: note: in expansion of macro ‘list_for_each_entry’ 2861 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function ‘isw_remove_dev’: format/ataraid/isw.c:2388:17: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2388 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^ format/ataraid/isw.c:2393:17: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2393 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^ format/ataraid/isw.c: In function ‘isw_config_dev’: format/ataraid/isw.c:1706:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 1706 | strncpy((char *) dev2->volume, rs->name, MAX_RAID_SERIAL_LEN); | ^ format/ataraid/isw.c: In function ‘isw_create’: format/ataraid/isw.c:1841:9: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 1841 | strncpy((char *) isw->sig, MPB_SIGNATURE, MPB_SIGNATURE_SIZE); | ^ format/ataraid/isw.c:2768:9: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 2768 | strncpy((char *) new_disk->serial, dev_info_serial_to_isw(di->serial), | ^ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function ‘checksum’: format/ataraid/jm.c:86:23: warning: cast increases required alignment of target type [-Wcast-align] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^ In file included from ./internal.h:36, from format/ataraid/jm.c:12: format/ataraid/jm.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:28: note: in expansion of macro ‘RD’ 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:56: note: in expansion of macro ‘RD’ 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ format/ataraid/jm.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:28: note: in expansion of macro ‘RD_RS’ 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/jm.c:131:34: note: in expansion of macro ‘RS’ 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:28: note: in expansion of macro ‘RD_RS’ 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o In file included from ./internal.h:36, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:30: note: in expansion of macro ‘RD’ 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:55: note: in expansion of macro ‘RD’ 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ format/ataraid/lsi.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:30: note: in expansion of macro ‘RD_RS’ 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:58: note: in expansion of macro ‘RD_RS’ 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o In file included from ./internal.h:36, from format/ataraid/nv.c:14: format/ataraid/nv.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:133:21: note: in expansion of macro ‘RD’ 133 | return META(RD(new), nv)->unitNumber < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:134:21: note: in expansion of macro ‘RD’ 134 | META(RD(pos), nv)->unitNumber; | ^~ format/ataraid/nv.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:30: note: in expansion of macro ‘RD_RS’ 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:141:36: note: in expansion of macro ‘RS’ 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:30: note: in expansion of macro ‘RD_RS’ 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:30: note: in expansion of macro ‘RD_RS’ 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:142:36: note: in expansion of macro ‘RS’ 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:30: note: in expansion of macro ‘RD_RS’ 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ format/ataraid/nv.c: In function ‘checksum’: format/ataraid/nv.c:194:25: warning: cast increases required alignment of target type [-Wcast-align] 194 | sum += ((uint32_t *) nv)[s]; | ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function ‘checksum’: format/ataraid/pdc.c:108:23: warning: cast increases required alignment of target type [-Wcast-align] 108 | uint32_t *p = (uint32_t *) pdc; | ^ In file included from ./internal.h:36, from format/ataraid/pdc.c:16: format/ataraid/pdc.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:279:21: note: in expansion of macro ‘RD’ 279 | return META(RD(new), pdc)->raid.disk_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:280:21: note: in expansion of macro ‘RD’ 280 | META(RD(pos), pdc)->raid.disk_number; | ^~ format/ataraid/pdc.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:33: note: in expansion of macro ‘RD_RS’ 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/pdc.c:287:39: note: in expansion of macro ‘RS’ 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:33: note: in expansion of macro ‘RD_RS’ 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ format/ataraid/pdc.c: In function ‘_pdc_log’: format/ataraid/pdc.c:590:21: warning: taking address of packed member of ‘struct pdc’ may result in an unaligned pointer value [-Waddress-of-packed-member] 590 | for (disk = pdc->raid.disk, i = 0; | ^~~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function ‘checksum’: format/ataraid/sil.c:97:23: warning: cast increases required alignment of target type [-Wcast-align] 97 | uint16_t *p = (uint16_t *) sil; | ^ In file included from ./internal.h:36, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:306:22: note: in expansion of macro ‘RD’ 306 | return (META(RD(new), sil))->disk_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:307:23: note: in expansion of macro ‘RD’ 307 | (META(RD(pos), sil))->disk_number; | ^~ format/ataraid/sil.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:314:22: note: in expansion of macro ‘RD_RS’ 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:314:28: note: in expansion of macro ‘RS’ 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:314:22: note: in expansion of macro ‘RD_RS’ 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:315:23: note: in expansion of macro ‘RD_RS’ 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:315:29: note: in expansion of macro ‘RS’ 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:315:23: note: in expansion of macro ‘RD_RS’ 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o In file included from ./internal.h:36, from format/ataraid/via.c:12: format/ataraid/via.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:188:30: note: in expansion of macro ‘RD’ 188 | struct via *p = META(RD(pos), via); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:189:30: note: in expansion of macro ‘RD’ 189 | struct via *n = META(RD(new), via); | ^~ format/ataraid/via.c: In function ‘set_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:29: note: in expansion of macro ‘RD_RS’ 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:204:35: note: in expansion of macro ‘RS’ 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:29: note: in expansion of macro ‘RD_RS’ 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:30: note: in expansion of macro ‘RD_RS’ 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ ../include/dmraid/format.h:286:26: note: in expansion of macro ‘list_entry’ 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:205:36: note: in expansion of macro ‘RS’ 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:62: note: in definition of macro ‘META’ 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:26: note: in expansion of macro ‘RD’ 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:30: note: in expansion of macro ‘RD_RS’ 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o In file included from format/ddf/ddf1.c:16: format/ddf/ddf1.c: In function ‘get_config_byoffset’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:107:41: note: in expansion of macro ‘CR_IDS’ 107 | cfg_drive_ids = CR_IDS(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:108:45: note: in expansion of macro ‘CR_OFF’ 108 | cfg_drive_offsets = CR_OFF(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.c: In function ‘get_config_index’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:131:31: note: in expansion of macro ‘CR_IDS’ 131 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset_entry’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:173:23: note: in expansion of macro ‘CR_IDS’ 173 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function ‘get_offset’: format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:190:35: note: in expansion of macro ‘CR_OFF’ 190 | return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; | ^~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function ‘dev_sort’: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:35: note: in expansion of macro ‘RD’ 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:26: note: in expansion of macro ‘list_entry’ 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:54: note: in expansion of macro ‘RD’ 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ format/ddf/ddf1.c: In function ‘check_rd’: format/ddf/ddf1.c:886:25: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare] 886 | return rd->type != s_broken; | ^~ format/ddf/ddf1.c: In function ‘ddf1_group’: format/ddf/ddf1.c:708:25: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 708 | strncpy(buf + prefix + 32, "47114711", 8); | ^ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o format/ddf/ddf1_lib.c: In function ‘ddf1_process_records’: format/ddf/ddf1_lib.c:79:23: warning: cast increases required alignment of target type [-Wcast-align] 79 | x = *((uint32_t *) CR(ddf1, i)); | ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o format/ddf/ddf1_crc.c: In function ‘crc32_vd’: format/ddf/ddf1_crc.c:100:24: warning: taking address of packed member of ‘struct ddf1_config_record’ may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:108:1: note: in expansion of macro ‘CRC32’ 108 | CRC32(vd, ddf1_config_record, CR); | ^~~~~ format/ddf/ddf1_crc.c: In function ‘crc32_spare’: format/ddf/ddf1_crc.c:100:24: warning: taking address of packed member of ‘struct ddf1_spare_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:109:1: note: in expansion of macro ‘CRC32’ 109 | CRC32(spare, ddf1_spare_header, SR); | ^~~~~ format/ddf/ddf1_crc.c: In function ‘vd_check_crc’: format/ddf/ddf1_crc.c:149:24: warning: taking address of packed member of ‘struct ddf1_config_record’ may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:156:1: note: in expansion of macro ‘CHECK_CRC’ 156 | CHECK_CRC(vd, ddf1_config_record, CR, "VD CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function ‘spare_check_crc’: format/ddf/ddf1_crc.c:149:24: warning: taking address of packed member of ‘struct ddf1_spare_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:157:1: note: in expansion of macro ‘CHECK_CRC’ 157 | CHECK_CRC(spare, ddf1_spare_header, SR, "Spare CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function ‘all_crcs’: format/ddf/ddf1_crc.c:182:33: warning: taking address of packed member of ‘struct ddf1_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | {ddf1->primary, &ddf1->primary->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:185:35: warning: taking address of packed member of ‘struct ddf1_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | {ddf1->secondary, &ddf1->secondary->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:188:33: warning: taking address of packed member of ‘struct ddf1_adapter’ may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | {ddf1->adapter, &ddf1->adapter->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:191:35: warning: taking address of packed member of ‘struct ddf1_disk_data’ may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | {ddf1->disk_data, &ddf1->disk_data->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:194:35: warning: taking address of packed member of ‘struct ddf1_phys_drives’ may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | {ddf1->pd_header, &ddf1->pd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:198:35: warning: taking address of packed member of ‘struct ddf1_virt_drives’ may result in an unaligned pointer value [-Waddress-of-packed-member] 198 | {ddf1->vd_header, &ddf1->vd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o In file included from format/ddf/ddf1_cvt.c:15: format/ddf/ddf1_cvt.c: In function ‘ddf1_cvt_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_cvt.c:152:15: note: in expansion of macro ‘CR_IDS’ 152 | ids = CR_IDS(ddf1, hdr); | ^~~~~~ format/ddf/ddf1_cvt.c:159:16: warning: cast increases required alignment of target type [-Wcast-align] 159 | off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + | ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o In file included from format/ddf/ddf1_dump.c:17: format/ddf/ddf1_dump.c: In function ‘dump_config_record’: format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:221:25: note: in expansion of macro ‘CR_IDS’ 221 | cfg_drive_ids = CR_IDS(ddf, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:222:29: note: in expansion of macro ‘CR_OFF’ 222 | cfg_drive_offsets = CR_OFF(ddf, cfg); | ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE register/dmreg.c; \ gcc -c -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libdmraid-events-isw.so.1 -o ../lib/libdmraid-events-isw.so -ldevmapper -ldevmapper-event ../lib/libdmraid.so events/libdmraid-events-isw.c: In function ‘_snprintf_either’: events/libdmraid-events-isw.c:807:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 807 | dev->name ? dev->name : "", | ^ events/libdmraid-events-isw.c:131:14: note: ‘name’ declared here 131 | char name[DEV_NAME]; /* sda, sdb, etc... */ | ^~~~ events/libdmraid-events-isw.c: In function ‘_set_raid_dev_properties’: events/libdmraid-events-isw.c:631:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 631 | sprintf(path + len, "%s%s%c%s", d_name, | ^~ In file included from /usr/include/stdio.h:970, from events/libdmraid-events-isw.c:72: In function ‘sprintf’, inlined from ‘_set_raid_dev_properties’ at events/libdmraid-events-isw.c:631:4: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 270) into a destination of size 233 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function ‘_set_raid_dev_properties’: events/libdmraid-events-isw.c:631:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 631 | sprintf(path + len, "%s%s%c%s", d_name, | ^~ In function ‘sprintf’, inlined from ‘_set_raid_dev_properties’ at events/libdmraid-events-isw.c:631:4: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 270) into a destination of size 233 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function ‘_create_raid_set.constprop’: events/libdmraid-events-isw.c:905:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 905 | sprintf(path, "%s%s%s", sys_block_path, dev_name, sys_slaves_dir); | ^~ In function ‘sprintf’, inlined from ‘_get_slave_devices’ at events/libdmraid-events-isw.c:905:2, inlined from ‘_create_raid_set.constprop’ at events/libdmraid-events-isw.c:1005:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 274 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function ‘_create_raid_set.constprop’: events/libdmraid-events-isw.c:914:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 914 | sprintf(path + len, "/%s", d_name); | ^ In function ‘sprintf’, inlined from ‘_get_slave_devices’ at events/libdmraid-events-isw.c:914:3, inlined from ‘_create_raid_set.constprop’ at events/libdmraid-events-isw.c:1005:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 257 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function ‘_create_raid_set.constprop’: events/libdmraid-events-isw.c:422:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 422 | sprintf(path, "%s%s", sys_block_path, dev_name); | ^~ In function ‘sprintf’, inlined from ‘_check_raid_dev_active’ at events/libdmraid-events-isw.c:422:2, inlined from ‘_get_slave_devices’ at events/libdmraid-events-isw.c:918:3, inlined from ‘_create_raid_set.constprop’ at events/libdmraid-events-isw.c:1005:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function ‘_process_mirror_event’: events/libdmraid-events-isw.c:1244:13: warning: ‘log_status_str’ may be used uninitialized [-Wmaybe-uninitialized] 1244 | *log_status_str == 'D') { | ^~~~~~~~~~~~~~~ events/libdmraid-events-isw.c:1144:15: note: ‘log_status_str’ was declared here 1144 | *log_status_str, *p, *sync_str; | ^~~~~~~~~~~~~~ In function ‘_check_sgpio’, inlined from ‘register_device’ at events/libdmraid-events-isw.c:1534:2: events/libdmraid-events-isw.c:178:17: warning: ‘fclose’ called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc] 178 | fclose(fd); | ^~~~~~~~~~ events/libdmraid-events-isw.c:170:20: note: returned from ‘popen’ 170 | FILE *fd = popen("which sgpio", "r"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../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-build/dmraid/1.0.0.rc16/lib' make -C man make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/man' make -C tools make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -g -fno-omit-frame-pointer -DDEBUG -D_LARGEFILE64_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic -L../lib \ -ldmraid -ldevmapper -lselinux -lsepol -ldevmapper-event -ldmraid -ldevmapper -lselinux -lsepol -ldl dmevent_tool.c: In function ‘main’: dmevent_tool.c:228:25: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 228 | else if (optc[OPT_r] && !optc[OPT_u]) | ^ dmevent_tool.c:217:13: warning: unused variable ‘opt’ [-Wunused-variable] 217 | int opt, ret = 0; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/tools' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wuUOT0 + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + '[' /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT ++ dirname /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT + mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build + mkdir /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dmraid/1.0.0.rc16 + install -m 755 -d /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64 /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/sbin /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/bin /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64 /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/include/dmraid/ /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/cron.d/ /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/logwatch/conf/services/ /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/logwatch/scripts/services/ /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/var/cache/logwatch/dmeventd + make DESTDIR=/builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT install make -C include make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/include' make -C lib make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/lib' make -C man make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/man' make -C tools make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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-build/dmraid/1.0.0.rc16/tools' make -C include install make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/include' Installing dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h in /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/include/dmraid mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/include/dmraid make[1]: Leaving directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/include' make -C lib install make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-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/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64 make[1]: Leaving directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/lib' make -C man install make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/man' Installing dmraid.8 dmevent_tool.8 in /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/man/man8 make[1]: Leaving directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/man' make -C tools install make[1]: Entering directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/tools' Installing dmraid dmevent_tool in /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/sbin make[1]: Leaving directory '/builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/tools' + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/sbin + ln -f dmevent_tool dm_dso_reg_tool + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/man/man8 + ln -f dmevent_tool.8 dm_dso_reg_tool.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/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/include/dmraid/ + install -p -m 755 lib/libdmraid.so /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64/libdmraid.so.1.0.0.rc16 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/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/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64/libdmraid-events-isw.so.1.0.0.rc16 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/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/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/logwatch/conf/services/dmeventd.conf + install -p -m 755 logwatch/dmeventd /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/logwatch/scripts/services/dmeventd + install -p -m 644 logwatch/dmeventd_cronjob.txt /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/etc/cron.d/dmeventd-logwatch + install -p -m 0700 /dev/null /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/var/cache/logwatch/dmeventd/syslogpattern.txt + install -d /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/lib/systemd + install -d /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/lib/systemd/system + install -p -m 755 /builddir/build/SOURCES/fedora-dmraid-activation /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/lib/systemd/fedora-dmraid-activation + install -p -m 444 /builddir/build/SOURCES/dmraid-activation.service /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/lib/systemd/system/dmraid-activation.service + rm -f /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/lib64/libdmraid.a + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.0.rc16-60.fc41 --unique-debug-suffix -1.0.0.rc16-60.fc41.riscv64 --unique-debug-src-base dmraid-1.0.0.rc16-60.fc41.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-build/dmraid/1.0.0.rc16 find-debuginfo: starting Extracting debug info from 4 files DWARF-compressing 5 files sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/dmraid-1.0.0.rc16-60.fc41.riscv64 1178 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/logwatch/scripts/services/dmeventd is executable but has no shebang, removing executable bit mangling shebang in /usr/lib/systemd/fedora-dmraid-activation from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT Scanned 51 directories and 111 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/dmraid-1.0.0.rc16-build/SPECPARTS/rpm-debuginfo.specpart Processing files: dmraid-1.0.0.rc16-60.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ArCzka + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + cd dmraid/1.0.0.rc16 + DOCDIR=/builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/CREDITS /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/README /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kgfqXY + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + cd dmraid/1.0.0.rc16 + LICENSEDIR=/builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE_GPL /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE_LGPL /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmraid = 1.0.0.rc16-60.fc41 dmraid(riscv-64) = 1.0.0.rc16-60.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libc.so.6(GLIBC_2.34)(64bit) libdevmapper.so.1.02()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) rtld(GNU_HASH) Conflicts: dmraid < 1.0.0.rc16-48 Obsoletes: dmraid < 1.0.0.rc16-48 Recommends: dmraid-events = 1.0.0.rc16-60.fc41 Processing files: dmraid-libs-1.0.0.rc16-60.fc41.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gZmpRw + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + cd dmraid/1.0.0.rc16 + LICENSEDIR=/builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid-libs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid-libs + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid-libs + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE_GPL /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid-libs + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/LICENSE_LGPL /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/licenses/dmraid-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmraid-libs = 1.0.0.rc16-60.fc41 dmraid-libs(riscv-64) = 1.0.0.rc16-60.fc41 libdmraid-events-isw.so.1()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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_197)(64bit) libdevmapper.so.1.02(DM_1_02_97)(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) rtld(GNU_HASH) Conflicts: dmraid < 1.0.0.rc16-48 Obsoletes: dmraid < 1.0.0.rc16-48 Processing files: dmraid-devel-1.0.0.rc16-60.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tyNVMG + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + cd dmraid/1.0.0.rc16 + DOCDIR=/builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid-devel + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/KNOWN_BUGS /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid-devel + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/TODO /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid-devel + cp -pr /builddir/build/BUILD/dmraid-1.0.0.rc16-build/dmraid/1.0.0.rc16/doc/dmraid_design.txt /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT/usr/share/doc/dmraid-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmraid-devel = 1.0.0.rc16-60.fc41 dmraid-devel(riscv-64) = 1.0.0.rc16-60.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libdmraid-events-isw.so.1()(64bit) libdmraid.so.1()(64bit) Processing files: dmraid-events-1.0.0.rc16-60.fc41.riscv64 Provides: dmraid-events = 1.0.0.rc16-60.fc41 dmraid-events(riscv-64) = 1.0.0.rc16-60.fc41 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) libc.so.6(GLIBC_2.34)(64bit) libdevmapper.so.1.02()(64bit) libdmraid.so.1()(64bit) libdmraid.so.1(Base)(64bit) rtld(GNU_HASH) Processing files: dmraid-events-logwatch-1.0.0.rc16-60.fc41.riscv64 Provides: config(dmraid-events-logwatch) = 1.0.0.rc16-60.fc41 dmraid-events-logwatch = 1.0.0.rc16-60.fc41 dmraid-events-logwatch(riscv-64) = 1.0.0.rc16-60.fc41 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-60.fc41.riscv64 Provides: dmraid-debugsource = 1.0.0.rc16-60.fc41 dmraid-debugsource(riscv-64) = 1.0.0.rc16-60.fc41 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-60.fc41.riscv64 Provides: debuginfo(build-id) = 59ee124a18f819cbbe75026c24b4d4e99a73984d dmraid-debuginfo = 1.0.0.rc16-60.fc41 dmraid-debuginfo(riscv-64) = 1.0.0.rc16-60.fc41 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-60.fc41 Processing files: dmraid-libs-debuginfo-1.0.0.rc16-60.fc41.riscv64 Provides: debuginfo(build-id) = 5ce7762889068c91c9a8f8563034d8c7d5d38ef5 debuginfo(build-id) = e99876e2b1c6db04b850967874155815393c1da6 dmraid-libs-debuginfo = 1.0.0.rc16-60.fc41 dmraid-libs-debuginfo(riscv-64) = 1.0.0.rc16-60.fc41 libdmraid-events-isw.so.1.0.0.rc16-1.0.0.rc16-60.fc41.riscv64.debug()(64bit) libdmraid.so.1.0.0.rc16-1.0.0.rc16-60.fc41.riscv64.debug()(64bit) 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-60.fc41 Processing files: dmraid-events-debuginfo-1.0.0.rc16-60.fc41.riscv64 Provides: debuginfo(build-id) = 98ebd1dae4f0cf02c448c9f2f88c2479653381ec debuginfo(build-id) = nilnil dmraid-events-debuginfo = 1.0.0.rc16-60.fc41 dmraid-events-debuginfo(riscv-64) = 1.0.0.rc16-60.fc41 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-60.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/dmraid-1.0.0.rc16-build/BUILDROOT Wrote: /builddir/build/RPMS/dmraid-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-libs-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-debuginfo-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-devel-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-debuginfo-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-events-logwatch-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-libs-debuginfo-1.0.0.rc16-60.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/dmraid-debugsource-1.0.0.rc16-60.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.w4s4Mp + umask 022 + cd /builddir/build/BUILD/dmraid-1.0.0.rc16-build + test -d /builddir/build/BUILD/dmraid-1.0.0.rc16-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/dmraid-1.0.0.rc16-build + rm -rf /builddir/build/BUILD/dmraid-1.0.0.rc16-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0