| ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' 1243 | list_for_each_entry(fl, LC_FMT(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:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1243:2: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1333:9: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' 1348 | 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)) | ^~~~~~~~~~ metadata/metadata.c:1348:2: 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:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1436 | } while (end++ != '\0'); | ^~ metadata/metadata.c:1436:11: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../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))) | ^~ metadata/metadata.c:1472:15: note: in expansion of macro 'RD_RS' 1472 | if (!(fmt = (RD_RS(rs)->fmt))) | ^~~~~ ../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:267:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1485:9: note: in expansion of macro 'RD' 1485 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'config_raidset': ../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: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))) | ^~ metadata/metadata.c:1507:14: note: in expansion of macro 'RD_RS' 1507 | if (!(fmt = RD_RS(rs)->fmt)) | ^~~~~ ../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:267:19: note: in expansion of macro 'list_entry' 267 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1520:9: note: in expansion of macro 'RD' 1520 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'process_sets': ../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); \ | ^~~~~~~~~~ metadata/metadata.c:1628:2: 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: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)) | ^~~~~~~~~~ metadata/metadata.c:1628:2: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &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)) | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &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:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' 1652 | 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)) | ^~~~~~~~~~ metadata/metadata.c:1652:2: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' 1675 | list_for_each_entry(rd, LC_RD(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:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1675:2: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(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:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(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))) | ^ metadata/metadata.c:1891:14: note: in expansion of macro 'list_entry' 1891 | if (!(rd = list_entry(rs->devs.next, struct raid_dev, 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); \ | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &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)) | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &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:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ metadata/metadata.c:1909:5: note: in expansion of macro 'list_for_each_entry' 1909 | list_for_each_entry(rs1, &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)) | ^~~~~~~~~~ metadata/metadata.c:1909:5: note: in expansion of macro 'list_for_each_entry' 1909 | list_for_each_entry(rs1, &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))) | ^ metadata/metadata.c:1912:11: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1950:2: note: in expansion of macro 'list_for_each_entry' 1950 | list_for_each_entry(r, &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)) | ^~~~~~~~~~ metadata/metadata.c:1950:2: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../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))) | ^~ metadata/metadata.c:1982:13: note: in expansion of macro 'RD_RS' 1982 | !(rd = RD_RS(rs_failed))) | ^~~~~ ../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); \ | ^~~~~~~~~~ metadata/metadata.c:1994:3: 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: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)) | ^~~~~~~~~~ metadata/metadata.c:1994:3: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:1996:5: note: in expansion of macro 'list_for_each_entry' 1996 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../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)) | ^~~~~~~~~~ metadata/metadata.c:1996:5: note: in expansion of macro 'list_for_each_entry' 1996 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../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); \ | ^~~~~~~~~~ metadata/metadata.c:2020:3: 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: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)) | ^~~~~~~~~~ metadata/metadata.c:2020:3: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:2023:5: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../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)) | ^~~~~~~~~~ metadata/metadata.c:2023:5: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../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); \ | ^~~~~~~~~~ metadata/metadata.c:2027:7: 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: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)) | ^~~~~~~~~~ metadata/metadata.c:2027:7: 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: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); \ | ^~~~~~~~~~ metadata/metadata.c:2167:3: note: in expansion of macro 'list_for_each_entry' 2167 | 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)) | ^~~~~~~~~~ metadata/metadata.c:2167:3: 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-18/output-1/host/bin/sparc-linux-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-18/output-1/host/bin/sparc-linux-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)); | ^ /tmp/instance-18/output-1/host/bin/sparc-linux-gcc -o display/display.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 display/display.c 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:94:24: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:132:24: 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:147:24: 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: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); \ | ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' 314 | 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)) | ^~~~~~~~~~ display/display.c:314:3: 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: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); \ | ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' 324 | list_for_each_entry(r, &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)) | ^~~~~~~~~~ display/display.c:324:2: 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: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); \ | ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' 362 | list_for_each_entry(r, &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)) | ^~~~~~~~~~ display/display.c:362:3: 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: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); \ | ^~~~~~~~~~ display/display.c:376:2: 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: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)) | ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ /tmp/instance-18/output-1/host/bin/sparc-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 sparc-linux-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-18/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-18/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid' make: *** [package/pkg-generic.mk:293: /tmp/instance-18/output-1/build/dmraid-1.0.0.rc16-3/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/tmp/instance-18/buildroot'