| ^ ../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) { | ^~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o format/ataraid/pdc.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/pdc.c 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 { | ^~~ format/ataraid/pdc.c: In function 'to_cpu': format/ataraid/pdc.c:139:21: warning: taking address of packed member of 'struct pdc' may result in an unaligned pointer value [-Waddress-of-packed-member] 139 | for (disk = pdc->raid.disk; | ^~~ 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; | ^~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/partition/dos.c /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o misc/lib_context.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/lib_context.c /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-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: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, | ^~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o format/ataraid/hpt37x.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/hpt37x.c 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 'to_cpu': format/ataraid/hpt37x.c:145:26: warning: taking address of packed member of 'struct hpt37x' may result in an unaligned pointer value [-Waddress-of-packed-member] 145 | for (l = hpt->errorlog; | ^~~ 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++) { | ^~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o format/ataraid/jm.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/jm.c 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; | ^~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc -o format/ddf/ddf1_dump.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_dump.c 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); | ^~~~~~ 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 /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-gcc-ranlib libdmraid.a /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-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 '_snprintf_either': events/libdmraid-events-isw.c:793:35: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 793 | dev->name ? dev->name : "", | ^ events/libdmraid-events-isw.c:118:14: note: 'name' declared here 118 | char name[DEV_NAME]; /* sda, sdb, etc... */ | ^~~~ events/libdmraid-events-isw.c: In function '_set_raid_dev_properties': events/libdmraid-events-isw.c:617:46: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 617 | sprintf(path + len, "%s%s%c%s", d_name, | ^~ events/libdmraid-events-isw.c:617:25: note: 'sprintf' output 15 or more bytes (assuming 270) into a destination of size 233 617 | sprintf(path + len, "%s%s%c%s", d_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | sys_scsi_dev_blk, | ~~~~~~~~~~~~~~~~~ 619 | sys_scsi_dev_blk_delims[j], dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c:617:46: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 617 | sprintf(path + len, "%s%s%c%s", d_name, | ^~ events/libdmraid-events-isw.c:617:25: note: 'sprintf' output 15 or more bytes (assuming 270) into a destination of size 233 617 | sprintf(path + len, "%s%s%c%s", d_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | sys_scsi_dev_blk, | ~~~~~~~~~~~~~~~~~ 619 | sys_scsi_dev_blk_delims[j], dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function '_create_raid_set.constprop': events/libdmraid-events-isw.c:891:26: 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); | ^~ In function '_get_slave_devices', inlined from '_create_raid_set.constprop' at events/libdmraid-events-isw.c:992:8: events/libdmraid-events-isw.c:891:9: 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: In function '_create_raid_set.constprop': events/libdmraid-events-isw.c:900:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 900 | sprintf(path + len, "/%s", d_name); | ^ In function '_get_slave_devices', inlined from '_create_raid_set.constprop' at events/libdmraid-events-isw.c:992:8: events/libdmraid-events-isw.c:900:17: note: 'sprintf' output between 2 and 257 bytes into a destination of size 256 900 | sprintf(path + len, "/%s", d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ events/libdmraid-events-isw.c: In function '_create_raid_set.constprop': events/libdmraid-events-isw.c:408:26: 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); | ^~ In function '_check_raid_dev_active', inlined from '_get_slave_devices' at events/libdmraid-events-isw.c:908:3, inlined from '_create_raid_set.constprop' at events/libdmraid-events-isw.c:992:8: events/libdmraid-events-isw.c:408:9: note: 'sprintf' output between 12 and 267 bytes into a destination of size 256 408 | sprintf(path, "%s%s", sys_block_path, dev_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/or1k-buildroot-linux-musl-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 /home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/or1k-buildroot-linux-musl/12.2.0/../../../../or1k-buildroot-linux-musl/bin/ld: cannot find libdmraid.so: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:83: libdmraid-events-isw.so] Error 1 shuffle=0 make[2]: Leaving directory '/home/autobuild/autobuild/instance-7/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 '/home/autobuild/autobuild/instance-7/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-7/output-1/build/dmraid-1.0.0.rc16-3/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/home/autobuild/autobuild/instance-7/buildroot'