../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:2692:3: note: in expansion of macro 'list_for_each_entry' 2692 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 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:2796:2: note: in expansion of macro 'list_for_each_entry' 2796 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 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:2796:2: note: in expansion of macro 'list_for_each_entry' 2796 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 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:2842:2: note: in expansion of macro 'list_for_each_entry' 2842 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2842:2: note: in expansion of macro 'list_for_each_entry' 2842 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1850:2: warning: 'strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 1850 | strncpy((char *) isw->sig, MPB_SIGNATURE, MPB_SIGNATURE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_remove_dev': format/ataraid/isw.c:2370:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2370 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2371 | MPB_VERSION_RAID1, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:2375:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2375 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2376 | MPB_VERSION_RAID0, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_dev': format/ataraid/isw.c:1715:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1715 | strncpy((char *) dev2->volume, rs->name, MAX_RAID_SERIAL_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'update_metadata', inlined from 'isw_create' at format/ataraid/isw.c:2122:9: format/ataraid/isw.c:2749:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2749 | strncpy((char *) new_disk->serial, dev_info_serial_to_isw(di->serial), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2750 | MAX_RAID_SERIAL_LEN); | ~~~~~~~~~~~~~~~~~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/sil.c format/ataraid/sil.c: In function 'checksum': format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] 97 | uint16_t *p = (uint16_t *) sil; | ^ format/ataraid/sil.c:97:2: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:306:15: note: in expansion of macro 'RD' 306 | return (META(RD(new), sil))->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:307:9: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:314:21: note: in expansion of macro 'RS' 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' 314 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:315:15: note: in expansion of macro 'RS' 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' 315 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o activate/devmapper.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 activate/devmapper.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o misc/workaround.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/workaround.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o register/dmreg.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 register/dmreg.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o device/partition.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/partition.c 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:3: 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:2: note: in expansion of macro 'list_for_each_entry' 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2: 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:3: 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:2: note: in expansion of macro 'list_for_each_entry' 59 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2: note: in expansion of macro 'list_for_each_entry' 59 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_crc.c format/ddf/ddf1_crc.c: In function 'crc32_vd': format/ddf/ddf1_crc.c:100:10: 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:10: 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:10: 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:10: 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:19: 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:21: 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:19: 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:21: 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:21: 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:21: 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, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o mm/dbg_malloc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 mm/dbg_malloc.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o format/ataraid/hpt45x.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/hpt45x.c 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:90:14: note: in expansion of macro 'RD' 90 | return META(RD(new), hpt45x)->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:91:14: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:98:20: note: in expansion of macro 'RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' 268 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:99:20: note: in expansion of macro 'RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o misc/misc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/misc.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o format/ataraid/lsi.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/lsi.c 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:23: note: in expansion of macro 'RD' 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:48: 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:25: 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:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: 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:25: 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:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:266:61: 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:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' 269 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o log/log.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 log/log.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o locking/locking.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 locking/locking.c /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_lib.c format/ddf/ddf1_lib.c: In function 'ddf1_process_records': format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] 79 | x = *((uint32_t *) CR(ddf1, i)); | ^ 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 /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ranlib libdmraid.a /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o events/libdmraid-events-isw.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.c events/libdmraid-events-isw.c: In function '_create_raid_set.constprop': events/libdmraid-events-isw.c:891:19: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 891 | sprintf(path, "%s%s%s", sys_block_path, dev_name, sys_slaves_dir); | ^~ events/libdmraid-events-isw.c:891:2: note: 'sprintf' output between 19 and 274 bytes into a destination of size 256 891 | sprintf(path, "%s%s%s", sys_block_path, dev_name, sys_slaves_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c:408:19: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 408 | sprintf(path, "%s%s", sys_block_path, dev_name); | ^~ events/libdmraid-events-isw.c:408:2: note: 'sprintf' output between 12 and 267 bytes into a destination of size 256 408 | sprintf(path, "%s%s", sys_block_path, dev_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-6/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -o libdmraid-events-isw.so -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 sparc-buildroot-linux-uclibc-gcc.br_real: error: libdmraid.so: No such file or directory make[2]: *** [Makefile:83: libdmraid-events-isw.so] Error 1 shuffle=0 make[2]: Leaving directory '/tmp/instance-6/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid/lib' make[1]: *** [make.tmpl:120: lib] Error 2 shuffle=0 make[1]: Leaving directory '/tmp/instance-6/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid' make: *** [package/pkg-generic.mk:293: /tmp/instance-6/output-1/build/dmraid-1.0.0.rc16-3/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/tmp/instance-6/buildroot'