../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/pdc.c:283:14: note: in expansion of macro 'RD' META(RD(pos), pdc)->raid.disk_number; ^~ format/ataraid/pdc.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:290:26: note: in expansion of macro 'RD_RS' return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/pdc.c:290:32: note: in expansion of macro 'RS' return !set_number(META(RD_RS(RS(new)), pdc)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/pdc.c:290:26: note: in expansion of macro 'RD_RS' return !set_number(META(RD_RS(RS(new)), pdc)); ^~~~~ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/sil.c format/ataraid/sil.c: In function 'checksum': format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p = (uint16_t *) sil; ^ In file included from ./internal.h:36:0, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:306:15: note: in expansion of macro 'RD' return (META(RD(new), sil))->disk_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/sil.c:307:9: note: in expansion of macro 'RD' (META(RD(pos), sil))->disk_number; ^~ format/ataraid/sil.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:314:21: note: in expansion of macro 'RS' return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:314:15: note: in expansion of macro 'RD_RS' return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/sil.c:315:15: note: in expansion of macro 'RS' (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/sil.c:315:9: note: in expansion of macro 'RD_RS' (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ^~~~~ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ataraid/via.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/via.c In file included from ./internal.h:36:0, from format/ataraid/via.c:12: format/ataraid/via.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:188:23: note: in expansion of macro 'RD' struct via *p = META(RD(pos), via); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ataraid/via.c:189:23: note: in expansion of macro 'RD' struct via *n = META(RD(new), via); ^~ format/ataraid/via.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:204:28: note: in expansion of macro 'RS' return _subset(META(RD_RS(RS(new)), via)) < ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' return _subset(META(RD_RS(RS(new)), via)) < ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' _subset(META(RD_RS(RS(pos)), via)); ^~~~~ ../include/dmraid/format.h:268:19: note: in expansion of macro 'list_entry' #define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~ format/ataraid/via.c:205:22: note: in expansion of macro 'RS' _subset(META(RD_RS(RS(pos)), via)); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:266:61: note: in definition of macro 'META' #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ ../include/dmraid/format.h:269:20: note: in expansion of macro 'RD' #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' _subset(META(RD_RS(RS(pos)), via)); ^~~~~ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ddf/ddf1.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1.c In file included from format/ddf/ddf1.c:16:0: format/ddf/ddf1.c: In function 'get_config_byoffset': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:107:20: note: in expansion of macro 'CR_IDS' cfg_drive_ids = CR_IDS(ddf1, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:108:24: note: in expansion of macro 'CR_OFF' cfg_drive_offsets = CR_OFF(ddf1, cfg); ^~~~~~ format/ddf/ddf1.c: In function 'get_config_index': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:131:10: note: in expansion of macro 'CR_IDS' ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function 'get_offset_entry': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:173:9: note: in expansion of macro 'CR_IDS' ids = CR_IDS(ddf1, cr); ^~~~~~ format/ddf/ddf1.c: In function 'get_offset': format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1.c:190:28: note: in expansion of macro 'CR_OFF' return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; ^~~~~~ In file included from ../include/dmraid/lib_context.h:14:0, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:28: note: in expansion of macro 'RD' struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^ ../include/dmraid/format.h:267:19: note: in expansion of macro 'list_entry' #define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~ format/ddf/ddf1.c:620:47: note: in expansion of macro 'RD' struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~ format/ddf/ddf1.c: In function 'check_rd': format/ddf/ddf1.c:891:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] return rd->type != s_broken; ^~ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_lib.c format/ddf/ddf1_lib.c: In function 'ddf1_process_records': format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] x = *((uint32_t *) CR(ddf1, i)); ^ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_crc.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ddf/ddf1_cvt.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_cvt.c In file included from format/ddf/ddf1_cvt.c:15:0: format/ddf/ddf1_cvt.c: In function 'ddf1_cvt_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro 'CR_IDS' ids = CR_IDS(ddf1, hdr); ^~~~~~ format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + ^ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/ddf/ddf1_dump.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_dump.c In file included from format/ddf/ddf1_dump.c:17:0: format/ddf/ddf1_dump.c: In function 'dump_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:222:18: note: in expansion of macro 'CR_IDS' cfg_drive_ids = CR_IDS(ddf, cfg); ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^ format/ddf/ddf1_dump.c:223:22: note: in expansion of macro 'CR_OFF' cfg_drive_offsets = CR_OFF(ddf, cfg); ^~~~~~ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/partition/dos.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o register/dmreg.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 register/dmreg.c rm -f libdmraid.a ar r libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o register/dmreg.o ar: creating libdmraid.a /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-ranlib libdmraid.a /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o libdmraid.so -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 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 \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,--version-script,../lib/.export.sym \ -Wl,-soname,libdmraid.so.1 \ -ldevmapper-event -ldevmapper -ldl /home/buildroot/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/nios2-linux-gnu/6.3.0/../../../../nios2-linux-gnu/bin/ld: FDE encoding in /home/buildroot/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/nios2-linux-gnu/6.3.0/libgcc.a(_udivdi3.o)(.eh_frame) prevents .eh_frame_hdr table being created. /home/buildroot/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/nios2-linux-gnu/6.3.0/../../../../nios2-linux-gnu/bin/ld: FDE encoding in /home/buildroot/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/nios2-linux-gnu/6.3.0/libgcc.a(_umoddi3.o)(.eh_frame) prevents .eh_frame_hdr table being created. /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o events/libdmraid-events-isw.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o libdmraid-events-isw.so -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.o \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,-soname,libdmraid-events-isw.so \ libdmraid.so -ldevmapper-event -ldevmapper -lpthread /usr/bin/make -C tools /bin/mkdir -p ./; \ set -e; \ FILE=`echo dmevent_tool.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmevent_tool.d dmevent_tool.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmevent_tool.d; \ [ -s dmevent_tool.d ] || rm -f dmevent_tool.d /bin/mkdir -p ./; \ set -e; \ FILE=`echo toollib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o toollib.d toollib.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" toollib.d; \ [ -s toollib.d ] || rm -f toollib.d /bin/mkdir -p ./; \ set -e; \ FILE=`echo commands.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o commands.d commands.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" commands.d; \ [ -s commands.d ] || rm -f commands.d /bin/mkdir -p ./; \ set -e; \ FILE=`echo dmraid.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \ /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmraid.d dmraid.c; \ /bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmraid.d; \ [ -s dmraid.d ] || rm -f dmraid.d /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o dmraid.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmraid.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o commands.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 commands.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o toollib.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 toollib.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o dmraid dmraid.o commands.o toollib.o -rdynamic -L../lib -ldmraid /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o dmevent_tool.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmevent_tool.c /home/buildroot/buildroot-test/instance-1/output/host/bin/nios2-linux-gnu-gcc -o dmevent_tool dmevent_tool.o -I -I. -I../include -I../lib -include ../include/config.h -rdynamic -L../lib \ -ldmraid /usr/bin/make -C include make[3]: Nothing to be done for `all'. /usr/bin/make -C man make[3]: Nothing to be done for `all'. >>> dmraid 1.0.0.rc16-3 Installing to staging directory PATH="/home/buildroot/buildroot-test/instance-1/output/host/bin:/home/buildroot/buildroot-test/instance-1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /usr/bin/make -j1 DESTDIR=/home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot install -C /home/buildroot/buildroot-test/instance-1/output/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid /usr/bin/make -C lib make[3]: Nothing to be done for `all'. /usr/bin/make -C tools make[3]: Nothing to be done for `all'. /usr/bin/make -C include make[3]: Nothing to be done for `all'. /usr/bin/make -C man make[3]: Nothing to be done for `all'. /usr/bin/make -C include install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/dmraid /usr/bin/install -c -m 644 -p ../include/dmraid/display.h ../include/dmraid/dmraid.h ../include/dmraid/dmreg.h ../include/dmraid/format.h ../include/dmraid/lib_context.h ../include/dmraid/list.h ../include/dmraid/locking.h ../include/dmraid/metadata.h ../include/dmraid/misc.h ../include/dmraid/reconfig.h /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/dmraid/ /usr/bin/make -C lib install /usr/bin/install -c -m 644 -p -D libdmraid.a /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libdmraid.a /usr/bin/install -c -D libdmraid.so /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libdmraid.so.1.0.0 /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib ln -s -f libdmraid.so.1.0.0 /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libdmraid.so.1 ln -s -f libdmraid.so.1.0.0 /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libdmraid.so /usr/bin/install -c -D libdmraid-events-isw.so /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/device-mapper/libdmraid-events-isw.so ln -s -f device-mapper/libdmraid-events-isw.so /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libdmraid-events-isw.so /usr/bin/make -C man install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/share/man/man8 /usr/bin/install -c -m 644 -p dmraid.8 dmevent_tool.8 /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/share/man/man8 /usr/bin/make -C tools install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/sbin /usr/bin/install -c dmraid dmevent_tool /home/buildroot/buildroot-test/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot/usr/sbin >>> dmraid 1.0.0.rc16-3 Fixing libtool files >>> dmraid 1.0.0.rc16-3 Installing to target PATH="/home/buildroot/buildroot-test/instance-1/output/host/bin:/home/buildroot/buildroot-test/instance-1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /usr/bin/make -j1 DESTDIR=/home/buildroot/buildroot-test/instance-1/output/target install -C /home/buildroot/buildroot-test/instance-1/output/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid /usr/bin/make -C lib make[3]: Nothing to be done for `all'. /usr/bin/make -C tools make[3]: Nothing to be done for `all'. /usr/bin/make -C include make[3]: Nothing to be done for `all'. /usr/bin/make -C man make[3]: Nothing to be done for `all'. /usr/bin/make -C include install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/target/usr/include/dmraid /usr/bin/install -c -m 644 -p ../include/dmraid/display.h ../include/dmraid/dmraid.h ../include/dmraid/dmreg.h ../include/dmraid/format.h ../include/dmraid/lib_context.h ../include/dmraid/list.h ../include/dmraid/locking.h ../include/dmraid/metadata.h ../include/dmraid/misc.h ../include/dmraid/reconfig.h /home/buildroot/buildroot-test/instance-1/output/target/usr/include/dmraid/ /usr/bin/make -C lib install /usr/bin/install -c -m 644 -p -D libdmraid.a /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/libdmraid.a /usr/bin/install -c -D libdmraid.so /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/libdmraid.so.1.0.0 /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/target/usr/lib ln -s -f libdmraid.so.1.0.0 /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/libdmraid.so.1 ln -s -f libdmraid.so.1.0.0 /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/libdmraid.so /usr/bin/install -c -D libdmraid-events-isw.so /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/device-mapper/libdmraid-events-isw.so ln -s -f device-mapper/libdmraid-events-isw.so /home/buildroot/buildroot-test/instance-1/output/target/usr/lib/libdmraid-events-isw.so /usr/bin/make -C man install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/target/usr/share/man/man8 /usr/bin/install -c -m 644 -p dmraid.8 dmevent_tool.8 /home/buildroot/buildroot-test/instance-1/output/target/usr/share/man/man8 /usr/bin/make -C tools install /usr/bin/install -c -d /home/buildroot/buildroot-test/instance-1/output/target/usr/sbin /usr/bin/install -c dmraid dmevent_tool /home/buildroot/buildroot-test/instance-1/output/target/usr/sbin >>> dtv-scan-tables 07b18ecef17493ac0908a2e112eae3fe269da7fa Downloading Fetching all references warning: refname '07b18ecef17493ac0908a2e112eae3fe269da7fa' is ambiguous. Git normally never creates a ref that ends with 40 hex characters because it will be ignored when you just specify 40-hex. These refs may be created by mistake. For example, git checkout -b $br $(git rev-parse ...) where "$br" is somehow empty and a 40-hex ref is created. Please examine these refs and maybe delete them. Turn this message off by running "git config advice.objectNameWarning false" Could not fetch special ref '07b18ecef17493ac0908a2e112eae3fe269da7fa'; assuming it is not special. warning: refname '07b18ecef17493ac0908a2e112eae3fe269da7fa' is ambiguous. Git normally never creates a ref that ends with 40 hex characters because it will be ignored when you just specify 40-hex. These refs may be created by mistake. For example, git checkout -b $br $(git rev-parse ...) where "$br" is somehow empty and a 40-hex ref is created. Please examine these refs and maybe delete them. Turn this message off by running "git config advice.objectNameWarning false" ERROR: dtv-scan-tables-07b18ecef17493ac0908a2e112eae3fe269da7fa.tar.gz has wrong sha256 hash: ERROR: expected: 7ded9b437fc3345bbd13a6c1c446c54d0e24d2d337e5abda223adb6362916d8c ERROR: got : 22994c8fc6e84e1780d5cbffac74b889b85c7146b3285f236086de846aea055c ERROR: Incomplete download, or man-in-the-middle (MITM) attack --2018-04-15 12:32:05-- http://sources.buildroot.net/dtv-scan-tables/dtv-scan-tables-07b18ecef17493ac0908a2e112eae3fe269da7fa.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.27.167.48, 104.27.166.48, 2400:cb00:2048:1::681b:a730, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.27.167.48|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-04-15 12:32:07 ERROR 404: Not Found. --2018-04-15 12:32:07-- http://sources.buildroot.net/dtv-scan-tables-07b18ecef17493ac0908a2e112eae3fe269da7fa.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.27.166.48, 104.27.167.48, 2400:cb00:2048:1::681b:a630, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.27.166.48|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-04-15 12:32:08 ERROR 404: Not Found. make[1]: *** [/home/buildroot/buildroot-test/instance-1/output/build/dtv-scan-tables-07b18ecef17493ac0908a2e112eae3fe269da7fa/.stamp_downloaded] Error 1 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/buildroot-test/instance-1/buildroot'