* Package: sys-cluster/sanlock-3.4.0-r1  * Repository: gentoo  * Maintainer: mschiff@gentoo.org cluster@gentoo.org  * USE: elibc_glibc hppa kernel_linux python python_targets_python2_7 python_targets_python3_4 userland_GNU  * FEATURES: compressdebug preserve-libs splitdebug test userpriv * * You need to have CONFIG_SOFT_WATCHDOG enabled in your kernel for wdmd * >>> Unpacking source... >>> Unpacking sanlock-3.4.0.tar.xz to /var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work >>> Source unpacked in /var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work >>> Preparing source in /var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work/sanlock-3.4.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work/sanlock-3.4.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work/sanlock-3.4.0 ... make -j2 cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -g -O2 -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.4.0\" -Wl,-z,relro -pie -shared -fPIC -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -g -O2 -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.4.0\" -Wl,-z,now -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -g -O2 -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIE -DPIE -DVERSION=\"3.4.0\" -lwdmd wdmd_client.c -lwdmd -lrt -o wdmd_client -L. :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make -j2 cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.4.0\" -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd -Wl,-z,relro -pie -shared -fPIC -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c delta_lease.c paxos_lease.c direct.c task.c timeouts.c direct_lib.c monotime.c cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.4.0\" -Wl,-z,relro -pie -shared -fPIC -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 sed -e "s/@VERSION@/3.4.0/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.4.0/" libsanlock_client.pc.in > libsanlock_client.pc In file included from sanlock_internal.h:31:0, from diskio.c:29: diskio.c: In function ‘find_callback_slot’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:348:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ diskio.c: In function ‘do_linux_aio’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:439:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ diskio.c: In function ‘read_iobuf_reap’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:833:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition paxos_lease.c: In function ‘run_ballot’: paxos_lease.c:524:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size));  ^ paxos_lease.c:678:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size));  ^ paxos_lease.c: In function ‘_lease_read_one’: paxos_lease.c:1162:12: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size));  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition direct.c: In function ‘direct_dump’: direct.c:467:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data;  ^ direct.c:474:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sd.sector_size));  ^ direct.c:518:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sd.sector_size);  ^ direct.c:527:33: warning: cast increases required alignment of target type [-Wcast-align] struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET);  ^ direct.c:530:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock);  ^ direct.c: In function ‘direct_next_free’: direct.c:617:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data;  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from task.c:25: task.c: In function ‘close_task_aio’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ task.c:123:27: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 cc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -D_GNU_SOURCE -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.4.0\" -fPIE -DPIE -Wl,-z,now -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition direct.c: In function ‘direct_dump’: direct.c:467:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data;  ^ direct.c:474:14: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)(data + (i * sd.sector_size));  ^ direct.c:518:37: warning: cast increases required alignment of target type [-Wcast-align] struct request_record *rr_end = (struct request_record *)(data + sd.sector_size);  ^ direct.c:527:33: warning: cast increases required alignment of target type [-Wcast-align] struct mode_block *mb_end = (struct mode_block *)(pd_end + MBLOCK_OFFSET);  ^ direct.c:530:22: warning: cast increases required alignment of target type [-Wcast-align] paxos_dblock_in((struct paxos_dblock *)pd_end, &dblock);  ^ direct.c: In function ‘direct_next_free’: direct.c:617:12: warning: cast increases required alignment of target type [-Wcast-align] lr_end = (struct leader_record *)data;  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from diskio.c:29: diskio.c: In function ‘find_callback_slot’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:348:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ diskio.c: In function ‘do_linux_aio’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:439:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ diskio.c: In function ‘read_iobuf_reap’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ diskio.c:833:26: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from lockspace.c:27: lockspace.c: In function ‘_search_space’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:60:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, heads[i], list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:60:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, heads[i], list) {  ^ lockspace.c: In function ‘find_lockspace_id’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:87:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:87:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ lockspace.c: In function ‘_lockspace_info’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:98:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:98:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ lockspace.c: In function ‘lockspace_disk’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:133:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:133:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ lockspace.c: In function ‘host_status_set_bit’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:192:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:192:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ lockspace.c: In function ‘host_info’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:218:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:218:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list) {  ^ lockspace.c: In function ‘check_other_leases’: lockspace.c:309:16: warning: cast increases required alignment of target type [-Wcast-align] leader_end = (struct leader_record *)(buf + (i * disk->sector_size));  ^ lockspace.c: In function ‘get_lockspaces’: lockspace.c:1155:7: warning: cast increases required alignment of target type [-Wcast-align] ls = (struct sanlk_lockspace *)buf;  ^ In file included from sanlock_internal.h:31:0, from lockspace.c:27: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ lockspace.c:1159:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, heads[i], list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ lockspace.c:1159:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, heads[i], list) {  ^ lockspace.c: In function ‘get_hosts’: lockspace.c:1313:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)buf;  ^ In file included from sanlock_internal.h:31:0, from lockspace.c:27: lockspace.c: In function ‘free_lockspaces’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:495:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member), \  ^ lockspace.c:1692:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces_rem, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:496:7: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \  ^ lockspace.c:1692:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces_rem, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:498:20: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(n->member.next, typeof(*n), member))  ^ lockspace.c:1692:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces_rem, list) {  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from main.c:41: main.c: In function ‘main_loop’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:495:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member), \  ^ main.c:800:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:496:7: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \  ^ main.c:800:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:498:20: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(n->member.next, typeof(*n), member))  ^ main.c:800:3: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(sp, safe, &spaces, list) {  ^ main.c: In function ‘thread_pool_worker’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:362:2: note: in expansion of macro ‘list_entry’ list_entry((ptr)->next, type, member)  ^ main.c:905:9: note: in expansion of macro ‘list_first_entry’ ca = list_first_entry(&pool.work_data, struct cmd_args, list);  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition paxos_lease.c: In function ‘run_ballot’: paxos_lease.c:524:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size));  ^ paxos_lease.c:678:13: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf[d] + ((2 + q)*sector_size));  ^ paxos_lease.c: In function ‘_lease_read_one’: paxos_lease.c:1162:12: warning: cast increases required alignment of target type [-Wcast-align] bk_end = (struct paxos_dblock *)(iobuf + ((2 + q) * sector_size));  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from task.c:25: task.c: In function ‘close_task_aio’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ task.c:123:27: note: in expansion of macro ‘container_of’ struct aicb *ev_aicb = container_of(ev_iocb, struct aicb, iocb);  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from resource.c:26: resource.c: In function ‘send_state_resources’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:73:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:73:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:74:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(token, &r->tokens, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:74:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(token, &r->tokens, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:78:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_add, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:78:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_add, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:79:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(token, &r->tokens, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:79:3: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(token, &r->tokens, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:83:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_rem, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:83:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_rem, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:86:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:86:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list)  ^ resource.c: In function ‘read_resource_owners’: resource.c:139:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET);  ^ resource.c:173:9: warning: cast increases required alignment of target type [-Wcast-align] host = (struct sanlk_host *)hosts_buf;  ^ resource.c:191:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(lease_buf_dblock + MBLOCK_OFFSET);  ^ resource.c: In function ‘check_mode_block’: resource.c:287:11: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(dblock_buf + MBLOCK_OFFSET);  ^ resource.c: In function ‘read_mode_block’: resource.c:389:12: warning: cast increases required alignment of target type [-Wcast-align] mb_end = (struct mode_block *)(iobuf + MBLOCK_OFFSET);  ^ In file included from sanlock_internal.h:31:0, from resource.c:26: resource.c: In function ‘res_set_lvb’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:503:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:503:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ resource.c: In function ‘res_get_lvb’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:537:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:537:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ resource.c: In function ‘find_resource’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:978:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, head, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:978:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, head, list) {  ^ resource.c: In function ‘lockspace_is_used’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:998:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:998:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1002:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_add, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1002:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_add, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1006:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_rem, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1006:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_rem, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1010:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1010:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list) {  ^ resource.c: In function ‘resource_orphan_count’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1027:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1027:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_orphan, list) {  ^ resource.c: In function ‘convert_token’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1321:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tk, &r->tokens, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1321:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(tk, &r->tokens, list) {  ^ resource.c: In function ‘set_resource_examine’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1899:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1899:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, &resources_held, list) {  ^ resource.c: In function ‘find_resource_thread’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ resource.c:1928:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, head, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ resource.c:1928:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(r, head, list) {  ^ resource.c: In function ‘find_host_event’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:362:2: note: in expansion of macro ‘list_entry’ list_entry((ptr)->next, type, member)  ^ resource.c:2155:9: note: in expansion of macro ‘list_first_entry’ return list_first_entry(&host_events, struct recv_he, list);  ^ resource.c: In function ‘release_orphan’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:495:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member), \  ^ resource.c:2278:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:496:7: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \  ^ resource.c:2278:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:498:20: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(n->member.next, typeof(*n), member))  ^ resource.c:2278:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ resource.c: In function ‘purge_resource_orphans’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:495:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member), \  ^ resource.c:2304:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:496:7: note: in expansion of macro ‘list_entry’ n = list_entry(pos->member.next, typeof(*pos), member); \  ^ resource.c:2304:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:498:20: note: in expansion of macro ‘list_entry’ pos = n, n = list_entry(n->member.next, typeof(*n), member))  ^ resource.c:2304:2: note: in expansion of macro ‘list_for_each_entry_safe’ list_for_each_entry_safe(r, safe, &resources_orphan, list) {  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from sanlock_internal.h:31:0, from cmd.c:37: cmd.c: In function ‘cmd_status’: list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ cmd.c:2443:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ cmd.c:2443:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ cmd.c:2445:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces_add, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ cmd.c:2445:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces_add, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:421:13: note: in expansion of macro ‘list_entry’ for (pos = list_entry((head)->next, typeof(*pos), member); \  ^ cmd.c:2447:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces_rem, list)  ^ list.h:26:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );})  ^ list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member)  ^ list.h:423:13: note: in expansion of macro ‘list_entry’ pos = list_entry(pos->member.next, typeof(*pos), member))  ^ cmd.c:2447:2: note: in expansion of macro ‘list_for_each_entry’ list_for_each_entry(sp, &spaces_rem, list)  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client_cmd.c: In function ‘status_lockspace’: client_cmd.c:97:31: warning: cast increases required alignment of target type [-Wcast-align] struct sanlk_lockspace *ls = (struct sanlk_lockspace *)bin;  ^ client_cmd.c: In function ‘status_resource’: client_cmd.c:122:31: warning: cast increases required alignment of target type [-Wcast-align] struct sanlk_resource *res = (struct sanlk_resource *)bin;  ^ client_cmd.c:131:10: warning: cast increases required alignment of target type [-Wcast-align] disk = (struct sanlk_disk *)(bin + sizeof(struct sanlk_resource) + i * sizeof(struct sanlk_disk));  ^ client_cmd.c: In function ‘print_type’: client_cmd.c:196:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘print_p’: client_cmd.c:219:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘find_type’: client_cmd.c:245:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘print_r’: client_cmd.c:266:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c:273:9: warning: cast increases required alignment of target type [-Wcast-align] res = (struct sanlk_resource *)bin;  ^ client_cmd.c: In function ‘print_r_by_p’: client_cmd.c:297:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘print_r_by_s’: client_cmd.c:323:8: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘recv_bin’: client_cmd.c:347:9: warning: cast increases required alignment of target type [-Wcast-align] res = (struct sanlk_resource *)bin;  ^ client_cmd.c: In function ‘sanlock_status’: client_cmd.c:396:9: warning: cast increases required alignment of target type [-Wcast-align] st = (struct sanlk_state *)buf;  ^ client_cmd.c: In function ‘sanlock_host_status’: client_cmd.c:572:8: warning: cast increases required alignment of target type [-Wcast-align] ls = (struct sanlk_lockspace *)bin;  ^ :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition /usr/lib/gcc/hppa2.0-unknown-linux-gnu/5.4.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: sanlock: hidden symbol `$$dyncall' in /usr/lib/gcc/hppa2.0-unknown-linux-gnu/5.4.0/libgcc.a(_dyncall.o) is referenced by DSO /usr/lib/gcc/hppa2.0-unknown-linux-gnu/5.4.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make: *** [Makefile:119: sanlock] Error 1 * ERROR: sys-cluster/sanlock-3.4.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-cluster/sanlock-3.4.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/sanlock-3.4.0-r1::gentoo'`. * The complete build log is located at '/aches/gentoo/emergelogs/karsten/sys-cluster:sanlock-3.4.0-r1:20170422-100426.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work/sanlock-3.4.0/src' * S: '/var/tmp/portage/sys-cluster/sanlock-3.4.0-r1/work/sanlock-3.4.0'