>>> dmraid: Building main/dmraid 1.0.0_rc16-r1 (using abuild 3.9.0-r0) started Sat, 14 May 2022 10:26:54 +0000 >>> dmraid: Checking sanity of /home/buildozer/aports/main/dmraid/APKBUILD... >>> dmraid: Analyzing dependencies... >>> dmraid: Installing for build: build-base lvm2-dev (1/13) Installing linux-headers (5.16.7-r1) (2/13) Installing device-mapper-libs (2.02.187-r2) (3/13) Installing device-mapper-event-libs (2.02.187-r2) (4/13) Installing libaio (0.3.112-r2) (5/13) Installing libblkid (2.38-r1) (6/13) Installing lvm2-libs (2.02.187-r2) (7/13) Installing libuuid (2.38-r1) (8/13) Installing libfdisk (2.38-r1) (9/13) Installing libmount (2.38-r1) (10/13) Installing libsmartcols (2.38-r1) (11/13) Installing util-linux-dev (2.38-r1) (12/13) Installing lvm2-dev (2.02.187-r2) (13/13) Installing .makedepends-dmraid (20220514.102655) OK: 311 MiB in 101 packages >>> dmraid: Cleaning up srcdir >>> dmraid: Cleaning up pkgdir >>> dmraid: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/dmraid-1.0.0.rc16-3.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 227k 100 227k 0 0 254k 0 --:--:-- --:--:-- --:--:-- 254k >>> dmraid: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/dmraid-1.0.0.rc16-3.tar.bz2 >>> dmraid: Checking sha512sums... dmraid-1.0.0.rc16-3.tar.bz2: OK 001-do_not_use_p_for_partition.patch: OK 002-support_virtio_devices.patch: OK 003-isw-probe-hpa.patch: OK 004-activate_multiple_raid_sets.patch: OK 005-fix_isw_sectors_calculation.patch: OK 006-musl-libc.patch: OK 007-fix-loff_t-musl.patch: OK >>> dmraid: Unpacking /var/cache/distfiles/v3.16/dmraid-1.0.0.rc16-3.tar.bz2... >>> dmraid: 001-do_not_use_p_for_partition.patch patching file lib/format/partition/dos.c >>> dmraid: 002-support_virtio_devices.patch patching file lib/device/scan.c >>> dmraid: 003-isw-probe-hpa.patch patching file lib/format/ataraid/isw.c Hunk #1 succeeded at 360 (offset 7 lines). Hunk #2 succeeded at 555 (offset 7 lines). Hunk #3 succeeded at 574 (offset 7 lines). Hunk #4 succeeded at 593 (offset 7 lines). Hunk #5 succeeded at 606 (offset 7 lines). patching file lib/format/ataraid/isw.h >>> dmraid: 004-activate_multiple_raid_sets.patch patching file lib/metadata/metadata.c >>> dmraid: 005-fix_isw_sectors_calculation.patch patching file lib/format/ataraid/isw.c Hunk #1 succeeded at 783 (offset 7 lines). >>> dmraid: 006-musl-libc.patch patching file include/dmraid/misc.h patching file lib/device/scan.c >>> dmraid: 007-fix-loff_t-musl.patch patching file include/dmraid/misc.h >>> dmraid: Updating ./autoconf/config.sub checking build system type... armv6-alpine-linux-musleabihf checking host system type... armv6-alpine-linux-musleabihf checking target system type... armv6-alpine-linux-musleabihf checking for a sed that does not truncate output... /bin/sed checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for a thread-safe mkdir -p... autoconf/install-sh -c -d checking for armv6-alpine-linux-musleabihf-ranlib... no checking for ranlib... ranlib checking for armv6-alpine-linux-musleabihf-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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for struct stat.st_rdev... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for library containing getmntent... none required checking whether lstat dereferences a symlink specified with a trailing slash... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for getmntent... (cached) yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking for strchr... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlopen in -ldl... yes checking for pthread_mutex_lock in -lpthread... yes checking for dm_event_handler_create in -ldevmapper-event... yes checking for dm_task_set_name in -ldevmapper... yes checking libdevmapper.h usability... yes checking libdevmapper.h presence... yes checking for libdevmapper.h... yes checking libdevmapper-event.h usability... yes checking libdevmapper-event.h presence... yes checking for libdevmapper-event.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating lib/version.h 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: creating include/config.h make -C lib make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' autoconf/install-sh -c -d events/; \ set -e; \ FILE=`echo events/libdmraid-events-isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o events/libdmraid-events-isw.d events/libdmraid-events-isw.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" events/libdmraid-events-isw.d; \ [ -s events/libdmraid-events-isw.d ] || rm -f events/libdmraid-events-isw.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d register/; \ set -e; \ FILE=`echo register/dmreg.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o register/dmreg.d register/dmreg.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" register/dmreg.d; \ [ -s register/dmreg.d ] || rm -f register/dmreg.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/partition/; \ set -e; \ FILE=`echo format/partition/dos.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/partition/dos.d format/partition/dos.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/partition/dos.d; \ [ -s format/partition/dos.d ] || rm -f format/partition/dos.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ddf/; \ set -e; \ FILE=`echo format/ddf/ddf1_dump.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_dump.d format/ddf/ddf1_dump.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_dump.d; \ [ -s format/ddf/ddf1_dump.d ] || rm -f format/ddf/ddf1_dump.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ddf/; \ set -e; \ FILE=`echo format/ddf/ddf1_cvt.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_cvt.d format/ddf/ddf1_cvt.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_cvt.d; \ [ -s format/ddf/ddf1_cvt.d ] || rm -f format/ddf/ddf1_cvt.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ddf/; \ set -e; \ FILE=`echo format/ddf/ddf1_crc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_crc.d format/ddf/ddf1_crc.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_crc.d; \ [ -s format/ddf/ddf1_crc.d ] || rm -f format/ddf/ddf1_crc.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ddf/; \ set -e; \ FILE=`echo format/ddf/ddf1_lib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_lib.d format/ddf/ddf1_lib.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_lib.d; \ [ -s format/ddf/ddf1_lib.d ] || rm -f format/ddf/ddf1_lib.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ddf/; \ set -e; \ FILE=`echo format/ddf/ddf1.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1.d format/ddf/ddf1.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1.d; \ [ -s format/ddf/ddf1.d ] || rm -f format/ddf/ddf1.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/via.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/via.d format/ataraid/via.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/via.d; \ [ -s format/ataraid/via.d ] || rm -f format/ataraid/via.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/sil.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/sil.d format/ataraid/sil.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/sil.d; \ [ -s format/ataraid/sil.d ] || rm -f format/ataraid/sil.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/pdc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/pdc.d format/ataraid/pdc.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/pdc.d; \ [ -s format/ataraid/pdc.d ] || rm -f format/ataraid/pdc.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/nv.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/nv.d format/ataraid/nv.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/nv.d; \ [ -s format/ataraid/nv.d ] || rm -f format/ataraid/nv.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/lsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/lsi.d format/ataraid/lsi.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/lsi.d; \ [ -s format/ataraid/lsi.d ] || rm -f format/ataraid/lsi.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/jm.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/jm.d format/ataraid/jm.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/jm.d; \ [ -s format/ataraid/jm.d ] || rm -f format/ataraid/jm.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/isw.d format/ataraid/isw.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/isw.d; \ [ -s format/ataraid/isw.d ] || rm -f format/ataraid/isw.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/hpt45x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/hpt45x.d format/ataraid/hpt45x.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt45x.d; \ [ -s format/ataraid/hpt45x.d ] || rm -f format/ataraid/hpt45x.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/hpt37x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/hpt37x.d format/ataraid/hpt37x.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt37x.d; \ [ -s format/ataraid/hpt37x.d ] || rm -f format/ataraid/hpt37x.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/ataraid/; \ set -e; \ FILE=`echo format/ataraid/asr.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/asr.d format/ataraid/asr.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/asr.d; \ [ -s format/ataraid/asr.d ] || rm -f format/ataraid/asr.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d mm/; \ set -e; \ FILE=`echo mm/dbg_malloc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o mm/dbg_malloc.d mm/dbg_malloc.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" mm/dbg_malloc.d; \ [ -s mm/dbg_malloc.d ] || rm -f mm/dbg_malloc.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d misc/; \ set -e; \ FILE=`echo misc/workaround.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/workaround.d misc/workaround.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/workaround.d; \ [ -s misc/workaround.d ] || rm -f misc/workaround.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d misc/; \ set -e; \ FILE=`echo misc/misc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/misc.d misc/misc.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/misc.d; \ [ -s misc/misc.d ] || rm -f misc/misc.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d misc/; \ set -e; \ FILE=`echo misc/lib_context.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/lib_context.d misc/lib_context.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/lib_context.d; \ [ -s misc/lib_context.d ] || rm -f misc/lib_context.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d misc/; \ set -e; \ FILE=`echo misc/init.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/init.d misc/init.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/init.d; \ [ -s misc/init.d ] || rm -f misc/init.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d misc/; \ set -e; \ FILE=`echo misc/file.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/file.d misc/file.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/file.d; \ [ -s misc/file.d ] || rm -f misc/file.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d metadata/; \ set -e; \ FILE=`echo metadata/reconfig.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/reconfig.d metadata/reconfig.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/reconfig.d; \ [ -s metadata/reconfig.d ] || rm -f metadata/reconfig.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d metadata/; \ set -e; \ FILE=`echo metadata/metadata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/metadata.d metadata/metadata.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/metadata.d; \ [ -s metadata/metadata.d ] || rm -f metadata/metadata.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d metadata/; \ set -e; \ FILE=`echo metadata/log_ops.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/log_ops.d metadata/log_ops.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/log_ops.d; \ [ -s metadata/log_ops.d ] || rm -f metadata/log_ops.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d log/; \ set -e; \ FILE=`echo log/log.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o log/log.d log/log.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" log/log.d; \ [ -s log/log.d ] || rm -f log/log.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d locking/; \ set -e; \ FILE=`echo locking/locking.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o locking/locking.d locking/locking.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" locking/locking.d; \ [ -s locking/locking.d ] || rm -f locking/locking.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d format/; \ set -e; \ FILE=`echo format/format.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/format.d format/format.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/format.d; \ [ -s format/format.d ] || rm -f format/format.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d display/; \ set -e; \ FILE=`echo display/display.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o display/display.d display/display.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" display/display.d; \ [ -s display/display.d ] || rm -f display/display.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d device/; \ set -e; \ FILE=`echo device/scsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/scsi.d device/scsi.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scsi.d; \ [ -s device/scsi.d ] || rm -f device/scsi.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d device/; \ set -e; \ FILE=`echo device/scan.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/scan.d device/scan.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scan.d; \ [ -s device/scan.d ] || rm -f device/scan.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d device/; \ set -e; \ FILE=`echo device/partition.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/partition.d device/partition.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/partition.d; \ [ -s device/partition.d ] || rm -f device/partition.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d device/; \ set -e; \ FILE=`echo device/ata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/ata.d device/ata.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/ata.d; \ [ -s device/ata.d ] || rm -f device/ata.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d activate/; \ set -e; \ FILE=`echo activate/devmapper.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o activate/devmapper.d activate/devmapper.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/devmapper.d; \ [ -s activate/devmapper.d ] || rm -f activate/devmapper.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d activate/; \ set -e; \ FILE=`echo activate/activate.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o activate/activate.d activate/activate.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/activate.d; \ [ -s activate/activate.d ] || rm -f activate/activate.d /bin/sh: autoconf/install-sh: not found gcc -o activate/activate.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 activate/activate.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from activate/activate.c:21: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:53:9: note: in expansion of macro 'list_for_each_entry' 53 | 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:53:9: note: in expansion of macro 'list_for_each_entry' 53 | 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:69:9: note: in expansion of macro 'list_for_each_entry' 69 | 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:69:9: note: in expansion of macro 'list_for_each_entry' 69 | 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:72:9: note: in expansion of macro 'list_for_each_entry' 72 | 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:72:9: note: in expansion of macro 'list_for_each_entry' 72 | 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:143:9: note: in expansion of macro 'list_for_each_entry' 143 | 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:143:9: note: in expansion of macro 'list_for_each_entry' 143 | 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:166:9: note: in expansion of macro 'list_for_each_entry' 166 | 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:166:9: note: in expansion of macro 'list_for_each_entry' 166 | 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:237:9: note: in expansion of macro 'list_for_each_entry' 237 | 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:237:9: note: in expansion of macro 'list_for_each_entry' 237 | 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:256:9: note: in expansion of macro 'list_for_each_entry' 256 | 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:256:9: note: in expansion of macro 'list_for_each_entry' 256 | 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:281:9: note: in expansion of macro 'list_for_each_entry' 281 | 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:281:9: note: in expansion of macro 'list_for_each_entry' 281 | 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:286:9: note: in expansion of macro 'list_for_each_entry' 286 | 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:286:9: note: in expansion of macro 'list_for_each_entry' 286 | 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:345:9: note: in expansion of macro 'list_for_each_entry' 345 | 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:345:9: note: in expansion of macro 'list_for_each_entry' 345 | 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:363:9: note: in expansion of macro 'list_for_each_entry' 363 | 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:363:9: note: in expansion of macro 'list_for_each_entry' 363 | 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:388:22: note: in expansion of macro 'list_entry' 388 | 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:938:9: note: in expansion of macro 'list_for_each_entry' 938 | 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:938:9: note: in expansion of macro 'list_for_each_entry' 938 | 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:1003:39: note: in expansion of macro 'list_entry' 1003 | 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:1019:39: note: in expansion of macro 'list_entry' 1019 | 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:1033:9: note: in expansion of macro 'list_for_each_entry' 1033 | 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:1033:9: note: in expansion of macro 'list_for_each_entry' 1033 | 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:1089:9: note: in expansion of macro 'list_for_each_entry' 1089 | 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:1089:9: note: in expansion of macro 'list_for_each_entry' 1089 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -o activate/devmapper.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 activate/devmapper.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from activate/devmapper.c:24: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o device/ata.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/ata.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from device/dev-io.h:13, from device/ata.c:15: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o device/partition.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/partition.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from device/partition.c:11: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:59:9: note: in expansion of macro 'list_for_each_entry' 59 | 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:59:9: note: in expansion of macro 'list_for_each_entry' 59 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -o device/scan.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scan.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from device/scan.c:21: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o device/scsi.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scsi.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from device/dev-io.h:13, from device/scsi.c:21: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o display/display.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 display/display.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from display/display.c:8: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o format/format.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/format.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/format.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o locking/locking.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 locking/locking.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from locking/locking.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o log/log.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 log/log.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from log/log.c:9: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o metadata/log_ops.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/log_ops.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from metadata/log_ops.c:10: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o metadata/metadata.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/metadata.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_stacked_type': ../include/dmraid/format.h:270:26: warning: cast increases required alignment of target type [-Wcast-align] 270 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:123:57: note: in expansion of macro 'RS_RS' 123 | unsigned int t = (T_RAID0(rs) ? get_type_index((RS_RS(rs))->type) : | ^~~~~ 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:267:26: note: in expansion of macro 'list_entry' 267 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_format': ../include/dmraid/format.h:270:26: warning: cast increases required alignment of target type [-Wcast-align] 270 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:944:22: note: in expansion of macro 'RS_RS' 944 | rs = RS_RS(rs); | ^~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/list.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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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 'create_raidset': metadata/metadata.c:1436:24: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1436 | } while (end++ != '\0'); | ^~ metadata/metadata.c:1436:18: note: did you mean to dereference the pointer? 1436 | } while (end++ != '\0'); | ^ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:267:26: note: in expansion of macro 'list_entry' 267 | #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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:267:26: note: in expansion of macro 'list_entry' 267 | #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:1909:33: note: in expansion of macro 'list_for_each_entry' 1909 | 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:1909:33: note: in expansion of macro 'list_for_each_entry' 1909 | 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:1950:9: note: in expansion of macro 'list_for_each_entry' 1950 | 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:1950:9: note: in expansion of macro 'list_for_each_entry' 1950 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1982:20: note: in expansion of macro 'RD_RS' 1982 | !(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:1994:17: note: in expansion of macro 'list_for_each_entry' 1994 | 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:1994:17: note: in expansion of macro 'list_for_each_entry' 1994 | 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:1996:33: note: in expansion of macro 'list_for_each_entry' 1996 | 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:1996:33: note: in expansion of macro 'list_for_each_entry' 1996 | 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:2020:17: note: in expansion of macro 'list_for_each_entry' 2020 | 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:2020:17: note: in expansion of macro 'list_for_each_entry' 2020 | 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:2023:33: note: in expansion of macro 'list_for_each_entry' 2023 | 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:2023:33: note: in expansion of macro 'list_for_each_entry' 2023 | 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:2027:49: note: in expansion of macro 'list_for_each_entry' 2027 | 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:2027:49: note: in expansion of macro 'list_for_each_entry' 2027 | 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:2167:17: note: in expansion of macro 'list_for_each_entry' 2167 | 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:2167:17: note: in expansion of macro 'list_for_each_entry' 2167 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ At top level: metadata/metadata.c:1463:1: warning: 'rebuild_config_raidset' defined but not used [-Wunused-function] 1463 | rebuild_config_raidset(struct lib_context *lc, struct raid_set *rs) | ^~~~~~~~~~~~~~~~~~~~~~ metadata/metadata.c:765:1: warning: 'discover_raid_devices_spares' defined but not used [-Wunused-function] 765 | discover_raid_devices_spares(struct lib_context *lc, const char *format) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o metadata/reconfig.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/reconfig.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from metadata/reconfig.c:19: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:283:9: note: in expansion of macro 'list_for_each_entry' 283 | 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:283:9: note: in expansion of macro 'list_for_each_entry' 283 | 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:396:9: note: in expansion of macro 'list_for_each_entry' 396 | 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:396:9: note: in expansion of macro 'list_for_each_entry' 396 | 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:415:9: note: in expansion of macro 'list_for_each_entry' 415 | 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:415:9: note: in expansion of macro 'list_for_each_entry' 415 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'handle_dev': metadata/reconfig.c:460:29: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 460 | if (h->type == rs->type) | ^~ metadata/reconfig.c:462:30: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 462 | } while ((++h)->type != t_undef); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: 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:521:9: note: in expansion of macro 'list_for_each_entry' 521 | 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:521:9: note: in expansion of macro 'list_for_each_entry' 521 | 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:523:25: note: in expansion of macro 'list_for_each_entry' 523 | 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:523:25: note: in expansion of macro 'list_for_each_entry' 523 | 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:527:41: note: in expansion of macro 'list_for_each_entry' 527 | 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:527:41: note: in expansion of macro 'list_for_each_entry' 527 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:575:45: note: in expansion of macro 'RD_RS' 575 | 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:641:31: note: in expansion of macro 'list_entry' 641 | 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:687:25: note: in expansion of macro 'list_for_each_entry' 687 | 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:687:25: note: in expansion of macro 'list_for_each_entry' 687 | 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:713:9: note: in expansion of macro 'list_for_each_entry' 713 | 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:713:9: note: in expansion of macro 'list_for_each_entry' 713 | 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:725:17: note: in expansion of macro 'list_for_each_entry' 725 | 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:725:17: note: in expansion of macro 'list_for_each_entry' 725 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -o misc/file.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/file.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from misc/file.c:8: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o misc/init.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/init.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from misc/init.c:8: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o misc/lib_context.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/lib_context.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from misc/lib_context.c:9: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o misc/misc.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/misc.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from misc/misc.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o misc/workaround.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/workaround.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from misc/workaround.c:9: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o mm/dbg_malloc.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 mm/dbg_malloc.c gcc -o format/ataraid/asr.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/asr.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/asr.c:20: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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, from format/ataraid/asr.c:20: 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:748:9: note: in expansion of macro 'list_for_each_entry' 748 | 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:748:9: note: in expansion of macro 'list_for_each_entry' 748 | 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:820:9: note: in expansion of macro 'list_for_each_entry' 820 | 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:820:9: note: in expansion of macro 'list_for_each_entry' 820 | 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:838:9: note: in expansion of macro 'list_for_each_entry' 838 | 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:838:9: note: in expansion of macro 'list_for_each_entry' 838 | 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:957:9: note: in expansion of macro 'list_for_each_entry' 957 | 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:957:9: note: in expansion of macro 'list_for_each_entry' 957 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'check_rd': format/ataraid/asr.c:1036:25: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 1036 | return rd->type != s_broken; | ^~ gcc -o format/ataraid/hpt37x.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/hpt37x.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/hpt37x.c:16: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:353:19: warning: taking address of packed member of 'struct hpt37x' may result in an unaligned pointer value [-Waddress-of-packed-member] 353 | for (el = hpt->errorlog; el < hpt->errorlog + 32; el++) { | ^~~ gcc -o format/ataraid/hpt45x.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/hpt45x.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/hpt45x.c:16: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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 -o format/ataraid/isw.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/isw.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/isw.c:28: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:210:33: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 210 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_checksum': format/ataraid/isw.c:310:22: warning: cast increases required alignment of target type [-Wcast-align] 310 | *p = (uint32_t *) isw, ret = 0; | ^ format/ataraid/isw.c:310:17: warning: converting a packed 'struct isw' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | *p = (uint32_t *) isw, ret = 0; | ^ In file included from format/ataraid/isw.c:31: format/ataraid/isw.h:203:8: note: defined here 203 | struct isw { | ^~~ 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:445:9: note: in expansion of macro 'list_for_each_entry' 445 | 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:445:9: note: in expansion of macro 'list_for_each_entry' 445 | 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:446:17: note: in expansion of macro 'list_for_each_entry' 446 | 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:446:17: note: in expansion of macro 'list_for_each_entry' 446 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:810:27: note: in expansion of macro 'RD' 810 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:812:31: note: in expansion of macro 'RD' 812 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:812:61: note: in expansion of macro 'RD' 812 | 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:982:9: note: in expansion of macro 'list_for_each_entry' 982 | 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:982:9: note: in expansion of macro 'list_for_each_entry' 982 | 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:995:31: note: in expansion of macro 'list_entry' 995 | 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:1103:9: note: in expansion of macro 'list_for_each_entry' 1103 | 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:1103:9: note: in expansion of macro 'list_for_each_entry' 1103 | 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:1184:9: note: in expansion of macro 'list_for_each_entry' 1184 | 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:1184:9: note: in expansion of macro 'list_for_each_entry' 1184 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1194:24: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1194 | disk = isw->disk; | ^~~ format/ataraid/isw.c:1174:26: warning: variable 'disk' set but not used [-Wunused-but-set-variable] 1174 | struct isw_disk *disk; | ^~~~ 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 '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:1234:9: note: in expansion of macro 'list_for_each_entry' 1234 | 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:1234:9: note: in expansion of macro 'list_for_each_entry' 1234 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1245:32: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1245 | disk = isw->disk; | ^~~ 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 '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:1284:17: note: in expansion of macro 'list_entry' 1284 | 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:1322:31: note: in expansion of macro 'list_entry' 1322 | 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:1334:17: note: in expansion of macro 'list_for_each_entry' 1334 | 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:1334:17: note: in expansion of macro 'list_for_each_entry' 1334 | 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:1370:22: note: in expansion of macro 'list_entry' 1370 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ format/ataraid/isw.c:1377:24: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1377 | disk = isw->disk; | ^~~ 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 '_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:1447:9: note: in expansion of macro 'list_for_each_entry' 1447 | 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:1447:9: note: in expansion of macro 'list_for_each_entry' 1447 | 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:1483:9: note: in expansion of macro 'list_for_each_entry' 1483 | 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:1483:9: note: in expansion of macro 'list_for_each_entry' 1483 | 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:1485:25: note: in expansion of macro 'list_for_each_entry' 1485 | 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:1485:25: note: in expansion of macro 'list_for_each_entry' 1485 | 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:1513:25: note: in expansion of macro 'list_entry' 1513 | 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:1538:9: note: in expansion of macro 'list_for_each_entry' 1538 | 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:1538:9: note: in expansion of macro 'list_for_each_entry' 1538 | 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:1551:9: note: in expansion of macro 'list_for_each_entry' 1551 | 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:1551:9: note: in expansion of macro 'list_for_each_entry' 1551 | 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:1552:17: note: in expansion of macro 'list_for_each_entry' 1552 | 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:1552:17: note: in expansion of macro 'list_for_each_entry' 1552 | 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:1590:9: note: in expansion of macro 'list_for_each_entry' 1590 | 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:1590:9: note: in expansion of macro 'list_for_each_entry' 1590 | 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:1726:9: note: in expansion of macro 'list_for_each_entry' 1726 | 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:1726:9: note: in expansion of macro 'list_for_each_entry' 1726 | 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:1857:9: note: in expansion of macro 'list_for_each_entry' 1857 | 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:1857:9: note: in expansion of macro 'list_for_each_entry' 1857 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1888:16: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1888 | disk = isw->disk; | ^~~ 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 '_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:1932:9: note: in expansion of macro 'list_for_each_entry' 1932 | 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:1932:9: note: in expansion of macro 'list_for_each_entry' 1932 | 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:1936:17: note: in expansion of macro 'list_for_each_entry' 1936 | 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:1936:17: note: in expansion of macro 'list_for_each_entry' 1936 | 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:1937:25: note: in expansion of macro 'list_for_each_entry' 1937 | 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:1937:25: note: in expansion of macro 'list_for_each_entry' 1937 | 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:1972:14: note: in expansion of macro 'list_entry' 1972 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:1985:44: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1985 | total_size = _cal_array_size(isw_v1->disk, rs, dev1); | ~~~~~~^~~~~~ 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 '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:2055:9: note: in expansion of macro 'list_for_each_entry' 2055 | 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:2055:9: note: in expansion of macro 'list_for_each_entry' 2055 | 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:2087:22: note: in expansion of macro 'list_entry' 2087 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function '_isw_log': format/ataraid/isw.c:2225:28: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2225 | for (d = 0, disk = isw->disk; d < isw->num_disks; d++, disk++) { | ^~~ 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 '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:2372:9: note: in expansion of macro 'list_for_each_entry' 2372 | 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:2372:9: note: in expansion of macro 'list_for_each_entry' 2372 | 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:2395:9: note: in expansion of macro 'list_for_each_entry' 2395 | 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:2395:9: note: in expansion of macro 'list_for_each_entry' 2395 | 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:2455:20: note: in expansion of macro 'list_entry' 2455 | 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:2459:20: note: in expansion of macro 'list_entry' 2459 | 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:2475:9: note: in expansion of macro 'list_for_each_entry' 2475 | 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:2475:9: note: in expansion of macro 'list_for_each_entry' 2475 | 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:2511:9: note: in expansion of macro 'list_for_each_entry' 2511 | 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:2511:9: note: in expansion of macro 'list_for_each_entry' 2511 | 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:2517:20: note: in expansion of macro 'list_entry' 2517 | 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:2526:20: note: in expansion of macro 'list_entry' 2526 | 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:2690:31: note: in expansion of macro 'list_entry' 2690 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:2694:33: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2694 | struct isw_disk *disk = isw->disk, *new_disk = NULL; | ^~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: ../include/dmraid/list.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:2705:17: note: in expansion of macro 'list_for_each_entry' 2705 | 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:2705:17: note: in expansion of macro 'list_for_each_entry' 2705 | 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:2739:9: note: in expansion of macro 'list_for_each_entry' 2739 | 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:2739:9: note: in expansion of macro 'list_for_each_entry' 2739 | 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:2752:17: note: in expansion of macro 'list_for_each_entry' 2752 | 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:2752:17: note: in expansion of macro 'list_for_each_entry' 2752 | 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:2856:9: note: in expansion of macro 'list_for_each_entry' 2856 | 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:2856:9: note: in expansion of macro 'list_for_each_entry' 2856 | 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:2902:9: note: in expansion of macro 'list_for_each_entry' 2902 | 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:2902:9: note: in expansion of macro 'list_for_each_entry' 2902 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -o format/ataraid/jm.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/jm.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/jm.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | format/ataraid/jm.c: In function 'checksum': format/ataraid/jm.c:87:23: warning: cast increases required alignment of target type [-Wcast-align] 87 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^ format/ataraid/jm.c:87:9: warning: converting a packed 'struct jm' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 87 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^~~~~~~~ In file included from format/ataraid/jm.c:14: format/ataraid/jm.h:22:8: note: defined here 22 | struct jm { | ^~ 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:125:28: note: in expansion of macro 'RD' 125 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:125:56: note: in expansion of macro 'RD' 125 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:132:28: note: in expansion of macro 'RD_RS' 132 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ ../include/dmraid/format.h:268:26: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/jm.c:132:34: note: in expansion of macro 'RS' 132 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:132:28: note: in expansion of macro 'RD_RS' 132 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ gcc -o format/ataraid/lsi.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/lsi.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/lsi.c:16: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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/format.h:269:31: warning: cast increases required alignment of target type [-Wcast-align] 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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/format.h:269:31: warning: cast increases required alignment of target type [-Wcast-align] 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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); | ^~~~~ ../include/dmraid/list.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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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 -o format/ataraid/nv.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/nv.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/nv.c:14: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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 -o format/ataraid/pdc.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/pdc.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/pdc.c:16: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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; | ^ format/ataraid/pdc.c:108:9: warning: converting a packed 'struct pdc' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | uint32_t *p = (uint32_t *) pdc; | ^~~~~~~~ In file included from format/ataraid/pdc.c:18: format/ataraid/pdc.h:27:8: note: defined here 27 | struct 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:282:21: note: in expansion of macro 'RD' 282 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:283:21: note: in expansion of macro 'RD' 283 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:290:33: note: in expansion of macro 'RD_RS' 290 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ ../include/dmraid/format.h:268:26: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/pdc.c:290:39: note: in expansion of macro 'RS' 290 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:290:33: note: in expansion of macro 'RD_RS' 290 | 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 -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/sil.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/sil.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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; | ^ format/ataraid/sil.c:97:9: warning: converting a packed 'struct sil' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 97 | uint16_t *p = (uint16_t *) sil; | ^~~~~~~~ In file included from format/ataraid/sil.c:14: format/ataraid/sil.h:19:8: note: defined here 19 | struct 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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 -o format/ataraid/via.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/via.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ataraid/via.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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:268:26: note: in expansion of macro 'list_entry' 268 | #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:266:62: note: in definition of macro 'META' 266 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:267:26: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:26: note: in expansion of macro 'RD' 269 | #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 -o format/ddf/ddf1.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ddf/ddf1.c:13: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:267:26: note: in expansion of macro 'list_entry' 267 | #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:267:26: note: in expansion of macro 'list_entry' 267 | #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:891:25: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 891 | return rd->type != s_broken; | ^~ gcc -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_lib.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ddf/ddf1_lib.c:13: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_crc.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ddf/ddf1_crc.c:13: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o format/ddf/ddf1_cvt.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_cvt.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ddf/ddf1_cvt.c:13: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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 -o format/ddf/ddf1_dump.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_dump.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/ddf/ddf1_dump.c:15: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | 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:222:25: note: in expansion of macro 'CR_IDS' 222 | 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:223:29: note: in expansion of macro 'CR_OFF' 223 | cfg_drive_offsets = CR_OFF(ddf, cfg); | ^~~~~~ gcc -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/partition/dos.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from format/partition/dos.c:15: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o register/dmreg.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 register/dmreg.c In file included from ../include/dmraid/lib_context.h:16, from ./internal.h:26, from register/dmreg.c:28: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | rm -f libdmraid.a ar r 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 libdmraid.a ranlib libdmraid.a gcc -o libdmraid.so -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 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 \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,--version-script,../lib/.export.sym \ -Wl,-soname,libdmraid.so.1 \ -ldevmapper-event -ldevmapper -ldl gcc -o events/libdmraid-events-isw.o -c -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.c In file included from ../include/dmraid/lib_context.h:16, from ../include/dmraid/dmraid.h:20, from events/libdmraid-events-isw.c:69: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o libdmraid-events-isw.so -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.o \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,-soname,libdmraid-events-isw.so \ libdmraid.so -ldevmapper-event -ldevmapper -lpthread make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' make -C tools make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' autoconf/install-sh -c -d ./; \ set -e; \ FILE=`echo dmevent_tool.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmevent_tool.d dmevent_tool.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmevent_tool.d; \ [ -s dmevent_tool.d ] || rm -f dmevent_tool.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d ./; \ set -e; \ FILE=`echo toollib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o toollib.d toollib.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" toollib.d; \ [ -s toollib.d ] || rm -f toollib.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d ./; \ set -e; \ FILE=`echo commands.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o commands.d commands.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" commands.d; \ [ -s commands.d ] || rm -f commands.d /bin/sh: autoconf/install-sh: not found autoconf/install-sh -c -d ./; \ set -e; \ FILE=`echo dmraid.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmraid.d dmraid.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmraid.d; \ [ -s dmraid.d ] || rm -f dmraid.d /bin/sh: autoconf/install-sh: not found gcc -o dmraid.o -c -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmraid.c In file included from ../include/dmraid/lib_context.h:16, from ../include/dmraid/dmraid.h:20, from dmraid.c:12: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o commands.o -c -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 commands.c In file included from ../include/dmraid/lib_context.h:16, from ../include/dmraid/dmraid.h:20, from commands.c:20: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o toollib.o -c -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 toollib.c In file included from ../include/dmraid/lib_context.h:16, from ../include/dmraid/dmraid.h:20, from toollib.c:15: ../include/dmraid/misc.h:13: warning: "_GNU_SOURCE" redefined 13 | #define _GNU_SOURCE | In file included from : ./../include/config.h:194: note: this is the location of the previous definition 194 | # define _GNU_SOURCE 1 | gcc -o dmraid dmraid.o commands.o toollib.o -rdynamic -L../lib -ldmraid gcc -o dmevent_tool.o -c -I -I. -I../include -I../lib -include ../include/config.h -Os -fomit-frame-pointer -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmevent_tool.c gcc -o dmevent_tool dmevent_tool.o -I -I. -I../include -I../lib -include ../include/config.h -rdynamic -L../lib \ -ldmraid make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' make -C include make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' make -C man make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' >>> dmraid: Entering fakeroot... make -C lib make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' make -C tools make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' make -C include make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' make -C man make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' make -C include install make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' /usr/bin/install -c -d /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/include/dmraid /usr/bin/install -c -m 644 -p ../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 /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/include/dmraid/ make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include' make -C lib install make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' /usr/bin/install -c -m 644 -p -D libdmraid.a /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/libdmraid.a /usr/bin/install -c -D libdmraid.so /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/libdmraid.so.1.0.0 /usr/bin/install -c -d /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib ln -s -f libdmraid.so.1.0.0 /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/libdmraid.so.1 ln -s -f libdmraid.so.1.0.0 /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/libdmraid.so /usr/bin/install -c -D libdmraid-events-isw.so /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/device-mapper/libdmraid-events-isw.so ln -s -f device-mapper/libdmraid-events-isw.so /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/lib/libdmraid-events-isw.so make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib' make -C man install make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' /usr/bin/install -c -d /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/share/man/man8 /usr/bin/install -c -m 644 -p dmraid.8 dmevent_tool.8 /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/share/man/man8 make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man' make -C tools install make[1]: Entering directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' /usr/bin/install -c -d /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/sbin /usr/bin/install -c dmraid dmevent_tool /home/buildozer/aports/main/dmraid/pkg/dmraid/usr/sbin make[1]: Leaving directory '/home/buildozer/aports/main/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools' >>> dmraid-static*: Running split function static... >>> dmraid-static*: Preparing subpackage dmraid-static... >>> dmraid-static*: Stripping binaries >>> dmraid-static*: Running postcheck for dmraid-static >>> dmraid-dev*: Running split function dev... >>> dmraid-dev*: Preparing subpackage dmraid-dev... >>> dmraid-dev*: Stripping binaries >>> dmraid-dev*: Running postcheck for dmraid-dev >>> dmraid-doc*: Running split function doc... >>> dmraid-doc*: Preparing subpackage dmraid-doc... >>> dmraid-doc*: Running postcheck for dmraid-doc >>> dmraid*: Running postcheck for dmraid >>> dmraid*: Preparing package dmraid... >>> dmraid*: Stripping binaries >>> dmraid-dev*: Scanning shared objects >>> dmraid-doc*: Scanning shared objects >>> dmraid-static*: Scanning shared objects >>> dmraid*: Scanning shared objects >>> dmraid-dev*: Tracing dependencies... dmraid=1.0.0_rc16-r1 >>> dmraid-dev*: Package size: 76.0 KB >>> dmraid-dev*: Compressing data... >>> dmraid-dev*: Create checksum... >>> dmraid-dev*: Create dmraid-dev-1.0.0_rc16-r1.apk >>> dmraid-doc*: Tracing dependencies... >>> dmraid-doc*: Package size: 32.0 KB >>> dmraid-doc*: Compressing data... >>> dmraid-doc*: Create checksum... >>> dmraid-doc*: Create dmraid-doc-1.0.0_rc16-r1.apk >>> dmraid-static*: Tracing dependencies... >>> dmraid-static*: Package size: 344.0 KB >>> dmraid-static*: Compressing data... >>> dmraid-static*: Create checksum... >>> dmraid-static*: Create dmraid-static-1.0.0_rc16-r1.apk >>> dmraid*: Tracing dependencies... so:libc.musl-armhf.so.1 so:libdevmapper-event.so.1.02 so:libdevmapper.so.1.02 >>> dmraid*: Package size: 280.0 KB >>> dmraid*: Compressing data... >>> dmraid*: Create checksum... >>> dmraid*: Create dmraid-1.0.0_rc16-r1.apk >>> dmraid: Build complete at Sat, 14 May 2022 10:28:11 +0000 elapsed time 0h 1m 17s >>> dmraid: Cleaning up srcdir >>> dmraid: Cleaning up pkgdir >>> dmraid: Uninstalling dependencies... (1/13) Purging .makedepends-dmraid (20220514.102655) (2/13) Purging lvm2-dev (2.02.187-r2) (3/13) Purging linux-headers (5.16.7-r1) (4/13) Purging lvm2-libs (2.02.187-r2) (5/13) Purging device-mapper-event-libs (2.02.187-r2) (6/13) Purging device-mapper-libs (2.02.187-r2) (7/13) Purging libaio (0.3.112-r2) (8/13) Purging util-linux-dev (2.38-r1) (9/13) Purging libfdisk (2.38-r1) (10/13) Purging libmount (2.38-r1) (11/13) Purging libsmartcols (2.38-r1) (12/13) Purging libuuid (2.38-r1) (13/13) Purging libblkid (2.38-r1) OK: 297 MiB in 88 packages >>> dmraid: Updating the main/armhf repository index... >>> dmraid: Signing the index...