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) { | ^~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-gcc -o metadata/log_ops.o -c -I. -I../include -I../lib -include ../include/config.h -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: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) { | ^~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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: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/list.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/list.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); | ^~~~~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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: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; | ^~~~~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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-15/output-1/host/bin/or1k-linux-gcc -o device/scsi.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scsi.c 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; | ^ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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 /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-gcc -o format/ddf/ddf1_cvt.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_cvt.c 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) + | ^ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-gcc -o device/ata.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/ata.c 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]; | ^ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-gcc -o format/ataraid/asr.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/asr.c 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; | ^~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-gcc -o format/ataraid/via.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/via.c 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)); | ^~~~~ /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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 /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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 '_set_raid_dev_properties': events/libdmraid-events-isw.c:617:48: warning: '%s' directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 94 | static const char *sys_scsi_dev_blk = "/device/block"; | ~~~~~~~~~~~~~~~ ...... 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 256 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:48: warning: '%s' directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 94 | static const char *sys_scsi_dev_blk = "/device/block"; | ~~~~~~~~~~~~~~~ ...... 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 256 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); | ^~ 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:900:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 900 | sprintf(path + len, "/%s", d_name); | ^ 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: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); | ^~ 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-15/output-1/host/bin/or1k-linux-gcc -o misc/init.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/init.c /home/autobuild/autobuild/instance-15/output-1/host/bin/or1k-linux-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-15/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-musl/11.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-15/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-15/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-15/output-1/build/dmraid-1.0.0.rc16-3/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/home/autobuild/autobuild/instance-15/buildroot'