dmraid-1.0.0.rc16
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1303:8: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1303 | rd = list_entry(rs->devs.next, typeof(*rd), devs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1380:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1380 | list_for_each_entry(r, &rs->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1380:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1380 | list_for_each_entry(r, &rs->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1416:2: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1416 | list_for_each_entry(rs1, LC_RS(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1416:2: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1416 | list_for_each_entry(rs1, LC_RS(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1418:4: warning: cast from 'char *' to 'typeof (*rs2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1418 | list_for_each_entry(rs2, &rs1->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1418:4: warning: cast from 'char *' to 'typeof (*rs2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1418 | list_for_each_entry(rs2, &rs1->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1446:4: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
1446 | list_entry(rs->sets.next, struct raid_set, list);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1471:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1471 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1471:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1471 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1484:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1484 | list_for_each_entry(rd1, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1484:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1484 | list_for_each_entry(rd1, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1485:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1485 | list_for_each_entry(rd2, LC_RD(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1485:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1485 | list_for_each_entry(rd2, LC_RD(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1523:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1523 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1523:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1523 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1659:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1659 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1659:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1659 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1790:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1790 | list_for_each_entry(r, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1790:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1790 | list_for_each_entry(r, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1865:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1865 | list_for_each_entry(r, LC_RS(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1865:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
1865 | list_for_each_entry(r, LC_RS(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1869:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1869 | list_for_each_entry(rd2, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1869:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1869 | list_for_each_entry(rd2, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1870:4: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1870 | list_for_each_entry(rd1, &r->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1870:4: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1870 | list_for_each_entry(rd1, &r->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1905:7: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
1905 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1988:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1988 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:1988:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
1988 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2020:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
2020 | rd = list_entry(rs->devs.next, struct raid_dev, devs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2332:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2332 | list_for_each_entry(rd, &rs->devs, devs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2332:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2332 | list_for_each_entry(rd, &rs->devs, devs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2355:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2355 | list_for_each_entry(r, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2355:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2355 | list_for_each_entry(r, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2415:13: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
2415 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2419:13: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
2419 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2435:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
2435 | list_for_each_entry(rs, &rs_group->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2435:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
2435 | list_for_each_entry(rs, &rs_group->sets, list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2471:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
2471 | list_for_each_entry(rs, &rs_group->sets, list)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2471:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align]
2471 | list_for_each_entry(rs, &rs_group->sets, list)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2477:13: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
2477 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2486:13: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
2486 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2651:24: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
2651 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2666:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align]
2666 | list_for_each_entry(di, LC_DI(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2666:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align]
2666 | list_for_each_entry(di, LC_DI(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2700:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2700 | list_for_each_entry(rd, &sub_rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2700:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2700 | list_for_each_entry(rd, &sub_rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2713:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align]
2713 | list_for_each_entry(di, LC_DI(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2713:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align]
2713 | list_for_each_entry(di, LC_DI(lc), list) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2817:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2817 | list_for_each_entry(rd, &sub_rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2817:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2817 | list_for_each_entry(rd, &sub_rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2863:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2863 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry'
67 | for (entry = list_entry((head)->next, typeof(*entry), member); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ataraid/isw.c:2863:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align]
2863 | list_for_each_entry(rd, &rs->devs, devs) {| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry'
69 | entry = list_entry(entry->member.next, typeof(*entry), member))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75 warnings generated.
clang -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o
format/ataraid/jm.c:35:9: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
35 | while (i && isspace(buf[i])) {| ^
format/ataraid/jm.c:28:10: note: initialize the variable 'i' to silence this warning
28 | size_t i, len;
| ^
| = 0
format/ataraid/jm.c:86:16: warning: cast from 'struct jm *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
86 | uint16_t *p = (uint16_t *) jm, sum = 0;
| ^~~~~~~~~~~~~~~
format/ataraid/jm.c:124:21: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm));
| ~~~~~^~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/jm.c:124:49: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm));
| ~~~~~^~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/jm.c:131:27: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
131 | return member(META(RD_RS(RS(pos)), jm)) > 1;
| ~~~~~~~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/jm.c:131:21: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
131 | return member(META(RD_RS(RS(pos)), jm)) > 1;
| ~~~~~^~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/jm.c:96:1: warning: unused function 'segment' [-Wunused-function]
96 | segment(uint32_t m)
| ^~~~~~~
7 warnings generated.
clang -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o
format/ataraid/lsi.c:95:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi);
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/lsi.c:95:48: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi);
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/lsi.c:111:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi);
| ~~~~~^~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/lsi.c:111:51: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi);
| ~~~~~^~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
4 warnings generated.
clang -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o
format/ataraid/nv.c:133:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
133 | return META(RD(new), nv)->unitNumber <
| ~~~~~^~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:134:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
134 | META(RD(pos), nv)->unitNumber;
| ~~~~~^~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:141:29: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
141 | return _subset((META(RD_RS(RS(new)), nv))) <
| ~~~~~~~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:141:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
141 | return _subset((META(RD_RS(RS(new)), nv))) <
| ~~~~~^~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:142:29: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
142 | _subset((META(RD_RS(RS(pos)), nv)));
| ~~~~~~~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:142:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
142 | _subset((META(RD_RS(RS(pos)), nv)));
| ~~~~~^~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/nv.c:194:11: warning: cast from 'struct nv *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
194 | sum += ((uint32_t *) nv)[s];
| ^~~~~~~~~~~~~~~
7 warnings generated.
clang -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o
format/ataraid/pdc.c:108:16: warning: cast from 'struct pdc *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
108 | uint32_t *p = (uint32_t *) pdc;
| ^~~~~~~~~~~~~~~~
format/ataraid/pdc.c:279:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
279 | return META(RD(new), pdc)->raid.disk_number <
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/pdc.c:280:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
280 | META(RD(pos), pdc)->raid.disk_number;
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/pdc.c:287:32: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
287 | return !set_number(META(RD_RS(RS(new)), pdc));
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/pdc.c:287:26: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
287 | return !set_number(META(RD_RS(RS(new)), pdc));
| ~~~~~^~~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
5 warnings generated.
clang -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o
format/ataraid/sil.c:97:16: warning: cast from 'struct sil *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
97 | uint16_t *p = (uint16_t *) sil;
| ^~~~~~~~~~~~~~~~
format/ataraid/sil.c:296:15: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
296 | return (META(RD(new), sil))->disk_number <
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:297:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
297 | (META(RD(pos), sil))->disk_number;
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:304:21: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number <
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:304:15: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number <
| ~~~~~^~~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:305:15: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number;
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:305:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number;
| ~~~~~^~~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/sil.c:579:25: warning: if statement has empty body [-Wempty-body]
579 | if (ident > areas / 2);
| ^
format/ataraid/sil.c:579:25: note: put the semicolon on a separate line to silence this warning
8 warnings generated.
clang -MM -MF format/ataraid/via.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o
format/ataraid/via.c:188:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
188 | struct via *p = META(RD(pos), via);
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/via.c:189:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
189 | struct via *n = META(RD(new), via);
| ~~~~~^~~~~~~~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/via.c:204:28: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
204 | return _subset(META(RD_RS(RS(new)), via)) <
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/via.c:204:22: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
204 | return _subset(META(RD_RS(RS(new)), via)) <
| ~~~~~^~~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/via.c:205:22: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align]
205 | _subset(META(RD_RS(RS(pos)), via));
| ~~~~~~~~~~~^~~~~~~~~~~~~~
../include/dmraid/format.h:286:19: note: expanded from macro 'RS'
286 | #define RS(pos) (list_entry(pos, struct raid_set, list))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:287:45: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:30: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
format/ataraid/via.c:205:16: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
205 | _subset(META(RD_RS(RS(pos)), via));
| ~~~~~^~~~~~~~~~~~~~~~~~~~
../include/dmraid/format.h:287:20: note: expanded from macro 'RD_RS'
287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next)))
| ^
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^
../include/dmraid/format.h:284:61: note: expanded from macro 'META'
284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area)
| ^~
6 warnings generated.
clang -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o
format/ddf/ddf1.c:107:20: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
107 | cfg_drive_ids = CR_IDS(ddf1, cfg);
| ^~~~~~~~~~~~~~~~~
format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'
33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | sizeof(struct ddf1_config_record)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:108:24: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]
108 | cfg_drive_offsets = CR_OFF(ddf1, cfg);
| ^~~~~~~~~~~~~~~~~
format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'
36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | sizeof(struct ddf1_config_record) + \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | (ddf1_cr_off_maxpds_helper(ddf) * sizeof(uint32_t))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:131:10: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
131 | ids = CR_IDS(ddf1, cr);
| ^~~~~~~~~~~~~~~~
format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'
33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | sizeof(struct ddf1_config_record)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:173:9: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
173 | ids = CR_IDS(ddf1, cr);
| ^~~~~~~~~~~~~~~~
format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'
33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | sizeof(struct ddf1_config_record)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:190:28: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]
190 | return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i];
| ^~~~~~~~~~~~~~~~
format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'
36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | sizeof(struct ddf1_config_record) + \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | (ddf1_cr_off_maxpds_helper(ddf) * sizeof(uint32_t))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:620:28: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new);
| ^~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:620:47: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align]
620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new);
| ^~~~~~~
../include/dmraid/format.h:285:19: note: expanded from macro 'RD'
285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry'
59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1.c:876:18: warning: comparison of different enumeration types ('enum type' and 'enum status') [-Wenum-compare]876 | return rd->type != s_broken;
| ~~~~~~~~ ^ ~~~~~~~~
8 warnings generated.
clang -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o
format/ddf/ddf1_lib.c:79:9: warning: cast from 'struct ddf1_config_record *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
79 | x = *((uint32_t *) CR(ddf1, i));
| ^~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
clang -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o
format/ddf/ddf1_crc.c:108:1: warning: taking address of packed member 'crc' of class or structure 'ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member]
108 | CRC32(vd, ddf1_config_record, CR);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_crc.c:100:11: note: expanded from macro 'CRC32'
100 | .crc = &r->crc, \
| ^~~~~~
format/ddf/ddf1_crc.c:109:1: warning: taking address of packed member 'crc' of class or structure 'ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
109 | CRC32(spare, ddf1_spare_header, SR);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_crc.c:100:11: note: expanded from macro 'CRC32'
100 | .crc = &r->crc, \
| ^~~~~~
format/ddf/ddf1_crc.c:156:1: warning: taking address of packed member 'crc' of class or structure 'ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member]
156 | CHECK_CRC(vd, ddf1_config_record, CR, "VD CFG");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_crc.c:149:11: note: expanded from macro 'CHECK_CRC'
149 | .crc = &r->crc, \
| ^~~~~~
format/ddf/ddf1_crc.c:157:1: warning: taking address of packed member 'crc' of class or structure 'ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
157 | CHECK_CRC(spare, ddf1_spare_header, SR, "Spare CFG");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_crc.c:149:11: note: expanded from macro 'CHECK_CRC'
149 | .crc = &r->crc, \
| ^~~~~~
4 warnings generated.
clang -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o
format/ddf/ddf1_cvt.c:152:8: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
152 | ids = CR_IDS(ddf1, hdr);
| ^~~~~~~~~~~~~~~~~
format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'
33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | sizeof(struct ddf1_config_record)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_cvt.c:159:9: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]
159 | off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | (x * sizeof(x))));
| ~~~~~~~~~~~~~~~~
2 warnings generated.
clang -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o
format/ddf/ddf1_dump.c:221:18: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
221 | cfg_drive_ids = CR_IDS(ddf, cfg);
| ^~~~~~~~~~~~~~~~
format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'
33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34 | sizeof(struct ddf1_config_record)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
format/ddf/ddf1_dump.c:222:22: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]
222 | cfg_drive_offsets = CR_OFF(ddf, cfg);
| ^~~~~~~~~~~~~~~~
format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'
36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | sizeof(struct ddf1_config_record) + \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | (ddf1_cr_off_maxpds_helper(ddf) * sizeof(uint32_t))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
clang -MM -MF format/partition/dos.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o
clang -MM -MF register/dmreg.d -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE register/dmreg.c; \
clang -c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE register/dmreg.c -o register/dmreg.o
rm -f ../lib/libdmraid.a
ar r ../lib/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 ../lib/libdmraid.a
ranlib ../lib/libdmraid.a
clang -shared -Wl,-soname,libdmraid.so.1.0.0.rc16 \
-Wl,--version-script,.export.sym 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 -o ../lib/libdmraid.so -ldevmapper-event
clang events/libdmraid-events-isw.c -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -shared -Wl,-soname,libdmraid-events-isw.so.1.0.0.rc16 -o ../lib/libdmraid-events-isw.so -ldevmapper -ldevmapper-event ../lib/libdmraid.so
events/libdmraid-events-isw.c:807:9: warning: address of array 'dev->name' will always evaluate to 'true' [-Wpointer-bool-conversion]
807 | dev->name ? dev->name : "",
| ~~~~~^~~~ ~
events/libdmraid-events-isw.c:1088:6: warning: variable 'args' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
1088 | if (!num_devs)
| ^~~~~~~~~
events/libdmraid-events-isw.c:1126:25: note: uninitialized use occurs here
1126 | _event_cleanup_and_log(args, "stripe");
| ^~~~
events/libdmraid-events-isw.c:1088:2: note: remove the 'if' if its condition is always false
1088 | if (!num_devs)
| ^~~~~~~~~~~~~~
1089 | goto err;
| ~~~~~~~~
events/libdmraid-events-isw.c:1071:13: note: initialize the variable 'args' to silence this warning
1071 | char **args, *dev_status_str, *p;
| ^
| = NULL
events/libdmraid-events-isw.c:1527:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1527 | rs_name = basename(rs_name);
| ^~~~~~~
/nix/store/31nshp12zm4rnbiwinw8w787jj0jb5k4-filc-glibc-2.44/include/libgen.h:34:36: note: passing argument to parameter '__path' here
34 | extern char *__xpg_basename (char *__path) __THROW;
| ^
events/libdmraid-events-isw.c:1588:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1588 | rs_name = basename(rs_name);
| ^~~~~~~
/nix/store/31nshp12zm4rnbiwinw8w787jj0jb5k4-filc-glibc-2.44/include/libgen.h:34:36: note: passing argument to parameter '__path' here
34 | extern char *__xpg_basename (char *__path) __THROW;
| ^
events/libdmraid-events-isw.c:104:20: warning: unused variable 'sys_dm_path' [-Wunused-variable]
104 | static const char *sys_dm_path = "/sys/block/dm-";
| ^~~~~~~~~~~
events/libdmraid-events-isw.c:110:20: warning: unused variable 'syslog_ident' [-Wunused-variable]
110 | static const char *syslog_ident = "libdmraid-events";
| ^~~~~~~~~~~~
6 warnings generated.
../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/lib'
make -C man
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/man'
make -C tools
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/tools'
clang -MM -MF dmraid.d -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \
clang -c -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o
clang -MM -MF commands.d -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \
clang -c -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o
clang -MM -MF toollib.d -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \
clang -c -I -I. -I../include -I../lib -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o
clang -o dmraid dmraid.o commands.o toollib.o -rdynamic -L../lib \
-L/nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib -ldmraid -ldevmapper -ldevmapper-event -ldmraid -ldevmapper -ldl
clang -o dmevent_tool dmevent_tool.c -I -I. -I../include -I../lib -rdynamic -L../lib \
-L/nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib -ldmraid -ldevmapper -ldevmapper-event -ldmraid -ldevmapper -ldl
dmevent_tool.c:231:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
231 | else if (optc[OPT_m])
| ^
1 warning generated.
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/tools'
→ installPhase
install flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash install
make -C include
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/include'
make -C lib
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/lib'
../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/lib'
make -C man
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/man'
make -C tools
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/tools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/tools'
make -C include install
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/include'
Installing dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/include/dmraid
mkdir -p /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/include/dmraid
/nix/store/rry6qingvsrqmc7ll7jgaqpybcbdgf5v-coreutils-9.7/bin/install -c dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/include/dmraid
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/include'
make -C lib install
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/lib'
../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so
Installing ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid-events-isw.so in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/lib'
make -C man install
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/man'
Installing dmraid.8 dmevent_tool.8 in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/share/man/man8
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/man'
make -C tools install
make[1]: Entering directory '/build/dmraid/1.0.0.rc16/tools'
Installing dmraid dmevent_tool in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/sbin
make[1]: Leaving directory '/build/dmraid/1.0.0.rc16/tools'
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16
shrinking /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib/libdmraid.so.1.0.0.rc16
shrinking /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib/libdmraid-events-isw.so.1.0.0.rc16
shrinking /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/sbin/dmraid
shrinking /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/sbin/dmevent_tool
checking for references to /build/ in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16...
gzipping man pages under /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/share/man/
moving /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/sbin/* to /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/bin
patching script interpreter paths in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16
stripping (with command strip and flags -S -p) in /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/lib /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/bin /nix/store/n8fwf7f2nrjgnkgf2f4nrcij3kfa91x4-dmraid-x86_64-unknown-linux-gnufilc0-1.0.0.rc16/sbin
dmitry-1.3a-unstable-2020-06-22
error: Cannot build '/nix/store/mc87z5vj0jd37npyj6fp2wv7b1rbvqky-dmitry-x86_64-unknown-linux-gnufilc0-1.3a-unstable-2020-06-22.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/3n4fvfg3yaiww75f3fhs9b1vvgj8l632-dmitry-x86_64-unknown-linux-gnufilc0-1.3a-unstable-2020-06-22
Last 25 log lines:
> 26 clang-20 0x00000000029f0b0d clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const + 173
> 27 clang-20 0x00000000029f1137 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const + 135
> 28 clang-20 0x0000000002a02d74 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) + 436
> 29 clang-20 0x0000000000c79149 clang_main(int, char**, llvm::ToolContext const&) + 7241
> 30 clang-20 0x0000000000b840b4 main + 100
> 31 libc.so.6 0x00007ffff7c2a47e
> 32 libc.so.6 0x00007ffff7c2a539 __libc_start_main + 137
> 33 clang-20 0x0000000000c74e95 _start + 37
> clang-20: error: clang frontend command failed with exit code 134 (use -v to see invocation)
> clang version 20.1.8 (Fil-C 0.685)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /nix/store/hmjzrg1ppdzlcqry73nyyb8p9wzgryjq-filc0-git/bin
> Build config: +assertions
> clang-20: note: diagnostic msg:
> ********************
>
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> clang-20: note: diagnostic msg: /build/output-4fbb9c.c
> clang-20: note: diagnostic msg: /build/output-4fbb9c.sh
> clang-20: note: diagnostic msg:
>
> ********************
> make: *** [Makefile:476: output.o] Error 1
For full logs, run:
nix log /nix/store/mc87z5vj0jd37npyj6fp2wv7b1rbvqky-dmitry-x86_64-unknown-linux-gnufilc0-1.3a-unstable-2020-06-22.drvdmtcp-unstable-2022-02-28
error: Cannot build '/nix/store/y86jkkkbkrdirr88jaxka4d5j6qwjh4k-dmtcp-x86_64-unknown-linux-gnufilc0-unstable-2022-02-28.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/h0i8d9fsjxwz484a95wlzsbfp3ilzc7p-dmtcp-x86_64-unknown-linux-gnufilc0-unstable-2022-02-28
Last 25 log lines:
> checking whether ln -s works... yes
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... yes
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether clang++ accepts -g... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of clang++... none
> checking for x86_64-unknown-linux-gnufilc0-gcc... clang
> checking whether we are using the GNU C compiler... yes
> checking whether clang accepts -g... yes
> checking for clang option to accept ISO C89... none needed
> checking whether clang understands -c and -o together... yes
> checking dependency style of clang... none
> checking for clang option to accept ISO C99... none needed
> checking for clang option to accept ISO Standard C... (cached) none needed
> checking how to run the C preprocessor... clang -E
> checking whether clang++ supports C++11 features with -std=c++11... yes
> checking for clang option to support OpenMP... unsupported
> checking for clang++ -std=c++11 option to support OpenMP... unsupported
> checking whether posix mq_open works... configure: error: in `/build/source':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details
For full logs, run:
nix log /nix/store/y86jkkkbkrdirr88jaxka4d5j6qwjh4k-dmtcp-x86_64-unknown-linux-gnufilc0-unstable-2022-02-28.drvdnadd-1.0.0
error: Cannot build '/nix/store/qhnf7v20rxjj24gh2clnhk9sh0ijy8b4-dnadd-x86_64-unknown-linux-gnufilc0-1.0.0.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/g4n6pf939ibq7gw0hqz34jhn3k8njwwc-dnadd-x86_64-unknown-linux-gnufilc0-1.0.0
Last 13 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/slchwdp44jrq5rg3i417gb8f45xm3djg-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> build flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash PREFIX=\$\(out\)
> gcc -O3 -Werror -Wall -Wextra -Wpedantic main.c strutil.c dynamic_read.c rename.c -o dnadd
> /nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash: line 1: gcc: command not found
> make: *** [Makefile:7: default] Error 127
For full logs, run:
nix log /nix/store/qhnf7v20rxjj24gh2clnhk9sh0ijy8b4-dnadd-x86_64-unknown-linux-gnufilc0-1.0.0.drvdnsdbq-2.6.8
error: Cannot build '/nix/store/4v7qmfr75vb76xw38166fmpclvbvpr06-dnsdbq-x86_64-unknown-linux-gnufilc0-2.6.8.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/vwcda86rk604c4v454b8ql2l7r7g173i-dnsdbq-x86_64-unknown-linux-gnufilc0-2.6.8
Last 25 log lines:
> netio.o:netio.c:function pizlonatedFI9_curl_multi_init:(.text+0xd417): error: undefined reference to 'pizlonated_curl_multi_init'
> netio.o:netio.c:function pizlonatedFI1066_curl_multi_cleanup:(.text+0xd9d1): error: undefined reference to 'pizlonated_curl_multi_cleanup'
> netio.o:netio.c:function pizlonatedFI1_curl_global_cleanup:(.text+0xda87): error: undefined reference to 'pizlonated_curl_global_cleanup'
> netio.o:netio.c:function pizlonatedFI9_curl_easy_init:(.text+0xdc57): error: undefined reference to 'pizlonated_curl_easy_init'
> netio.o:netio.c:function pizlonatedFI131273_curl_easy_setopt:(.text+0xdcff): error: undefined reference to 'pizlonated_curl_easy_setopt'
> netio.o:netio.c:function pizlonatedFI18622_curl_easy_setopt:(.text+0xddfb): error: undefined reference to 'pizlonated_curl_easy_setopt'
> netio.o:netio.c:function pizlonatedFI12777_curl_slist_append:(.text+0xdf0b): error: undefined reference to 'pizlonated_curl_slist_append'
> netio.o:netio.c:function pizlonatedFI12770_curl_multi_add_handle:(.text+0xdffb): error: undefined reference to 'pizlonated_curl_multi_add_handle'
> netio.o:netio.c:function pizlonatedFI142_curl_multi_strerror:(.text+0xe0cd): error: undefined reference to 'pizlonated_curl_multi_strerror'
> netio.o:netio.c:function pizlonatedFI131273_curl_easy_getinfo:(.text+0xe66f): error: undefined reference to 'pizlonated_curl_easy_getinfo'
> netio.o:netio.c:function pizlonatedFI12770_curl_multi_remove_handle:(.text+0xf42b): error: undefined reference to 'pizlonated_curl_multi_remove_handle'
> netio.o:netio.c:function pizlonatedFI1065_curl_easy_cleanup:(.text+0xf501): error: undefined reference to 'pizlonated_curl_easy_cleanup'
> netio.o:netio.c:function pizlonatedFI1065_curl_slist_free_all:(.text+0xf5a1): error: undefined reference to 'pizlonated_curl_slist_free_all'
> netio.o:netio.c:function pizlonatedFI12770_curl_multi_perform:(.text+0x1006b): error: undefined reference to 'pizlonated_curl_multi_perform'
> netio.o:netio.c:function pizlonatedFI15783910_curl_multi_wait:(.text+0x1014d): error: undefined reference to 'pizlonated_curl_multi_wait'
> netio.o:netio.c:function pizlonatedFI12777_curl_multi_info_read:(.text+0x1035b): error: undefined reference to 'pizlonated_curl_multi_info_read'
> netio.o:netio.c:function pizlonatedFI142_curl_easy_strerror:(.text+0x104ed): error: undefined reference to 'pizlonated_curl_easy_strerror'
> netio.o:netio.c:function pizlonatedFI2529_curl_easy_pause:(.text+0x10827): error: undefined reference to 'pizlonated_curl_easy_pause'
> netio.o:netio.c:function pizlonatedFI2536_curl_escape:(.text+0x109d7): error: undefined reference to 'pizlonated_curl_escape'
> netio.o:netio.c:function pizlonatedFI1065_curl_free:(.text+0x10ac1): error: undefined reference to 'pizlonated_curl_free'
> pdns_circl.o:pdns_circl.c:function pizlonatedFI131273_curl_easy_setopt:(.text+0x225f): error: undefined reference to 'pizlonated_curl_easy_setopt'
> pdns_circl.o:pdns_circl.c:function pizlonatedFI18622_curl_easy_setopt:(.text+0x235b): error: undefined reference to 'pizlonated_curl_easy_setopt'
> pdns_dnsdb.o:pdns_dnsdb.c:function pizlonatedFI12777_curl_slist_append:(.text+0x9c3b): error: undefined reference to 'pizlonated_curl_slist_append'
> clang-20: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:73: dnsdbq] Error 1
For full logs, run:
nix log /nix/store/4v7qmfr75vb76xw38166fmpclvbvpr06-dnsdbq-x86_64-unknown-linux-gnufilc0-2.6.8.drvdnstop-2014-09-15
error: Cannot build '/nix/store/kcy4q3hiw80bfhrra9acfb6d8dhrafp0-dnstop-x86_64-unknown-linux-gnufilc0-2014-09-15.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/27fazar5ppj199gzm4sjnwvbcvwsinhk-dnstop-x86_64-unknown-linux-gnufilc0-2014-09-15
Last 25 log lines:
> checking for sys/select.h... yes
> checking for sys/socket.h... (cached) yes
> checking types of arguments for select... int,fd_set *,struct timeval *
> checking return type of signal handlers... void
> checking whether lstat dereferences a symlink specified with a trailing slash... no
> checking whether stat accepts an empty string... yes
> checking for memset... yes
> checking for select... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strrchr... yes
> checking for strstr... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> Running phase: buildPhase
> build flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash
> clang -g -O2 -DUSE_IPV6=1 -c -o dnstop.o dnstop.c
> clang -g -O2 -DUSE_IPV6=1 -c -o hashtbl.o hashtbl.c
> clang -g -O2 -DUSE_IPV6=1 -c -o inX_addr.o inX_addr.c
> clang -g -O2 -DUSE_IPV6=1 -c -o lookup3.o lookup3.c
> clang -g -O2 -DUSE_IPV6=1 -o dnstop dnstop.o hashtbl.o inX_addr.o lookup3.o -lresolv -lpcap -lncurses
> dnstop.o:dnstop.c:function pizlonatedFI142_rpl_malloc:(.text+0x37a5d): error: undefined reference to 'pizlonated_rpl_malloc'
> clang-20: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [Makefile:31: dnstop] Error 1
For full logs, run:
nix log /nix/store/kcy4q3hiw80bfhrra9acfb6d8dhrafp0-dnstop-x86_64-unknown-linux-gnufilc0-2014-09-15.drvdoctest-2.4.11
error: Cannot build '/nix/store/snczkdry02npmj6w74m309xlhf6knrqk-doctest-x86_64-unknown-linux-gnufilc0-2.4.11.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/4jjfxsdaq67mj2r794vb2qaj1s1a20k7-doctest-x86_64-unknown-linux-gnufilc0-2.4.11
Last 25 log lines:
>
>
> 153/155 Test #153: playground ................................. Passed 0.02 sec
> 154/155 Test #154: playground_xml ............................. Passed 0.02 sec
> 155/155 Test #155: playground_junit ........................... Passed 0.02 sec
>
> 92% tests passed, 12 tests failed out of 155
>
> Total Test time (real) = 0.61 sec
>
> The following tests FAILED:
> 140 - no_multithreading (Failed)
> 141 - no_multi_lane_atomics (Failed)
> 143 - std_headers (Failed)
> 144 - exe_with_static_libs (Failed)
> 145 - exe_with_static_libs_xml (Failed)
> 146 - exe_with_static_libs_junit (Failed)
> 147 - executable_dll_and_plugin (Failed)
> 148 - executable_dll_and_plugin_xml (Failed)
> 149 - executable_dll_and_plugin_junit (Failed)
> 150 - same_tests_multiple_configurations (Failed)
> 151 - same_tests_multiple_configurations_xml (Failed)
> 152 - same_tests_multiple_configurations_junit (Failed)
> Errors while running CTest
> make: *** [Makefile:71: test] Error 8
For full logs, run:
nix log /nix/store/snczkdry02npmj6w74m309xlhf6knrqk-doctest-x86_64-unknown-linux-gnufilc0-2.4.11.drvpython3.12-doit-0.36.0
error: Cannot build '/nix/store/b8w6dhjx476jdh618z2jrs75g3fg1pin-python3.12-doit-0.36.0-x86_64-unknown-linux-gnufilc0.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/ra4gj0cp9iibajl0f0avymy60gnzk7ax-python3.12-doit-0.36.0-x86_64-unknown-linux-gnufilc0
/nix/store/w9rpmi6y02k2ar95dlnf8afgycj1k5m2-python3.12-doit-0.36.0-x86_64-unknown-linux-gnufilc0-distdnsdbq-2.6.8
error: build of '/nix/store/4v7qmfr75vb76xw38166fmpclvbvpr06-dnsdbq-x86_64-unknown-linux-gnufilc0-2.6.8.drv^*', '/nix/store/b8w6dhjx476jdh618z2jrs75g3fg1pin-python3.12-doit-0.36.0-x86_64-unknown-linux-gnufilc0.drv^*', '/nix/store/kcy4q3hiw80bfhrra9acfb6d8dhrafp0-dnstop-x86_64-unknown-linux-gnufilc0-2014-09-15.drv^*', '/nix/store/mc87z5vj0jd37npyj6fp2wv7b1rbvqky-dmitry-x86_64-unknown-linux-gnufilc0-1.3a-unstable-2020-06-22.drv^*', '/nix/store/qhnf7v20rxjj24gh2clnhk9sh0ijy8b4-dnadd-x86_64-unknown-linux-gnufilc0-1.0.0.drv^*', '/nix/store/snczkdry02npmj6w74m309xlhf6knrqk-doctest-x86_64-unknown-linux-gnufilc0-2.4.11.drv^*', '/nix/store/y86jkkkbkrdirr88jaxka4d5j6qwjh4k-dmtcp-x86_64-unknown-linux-gnufilc0-unstable-2022-02-28.drv^*' failed
End of log