=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for db-2.7.7nb3 --- bt_compare.o --- --- bt_conv.o --- --- bt_curadj.o --- --- bt_cursor.o --- --- bt_conv.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_conv.c --- bt_compare.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_compare.c --- bt_cursor.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_cursor.c --- bt_curadj.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_curadj.c --- bt_cursor.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_cursor.c -fPIC -DPIC -o .libs/bt_cursor.o --- bt_compare.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_compare.c -fPIC -DPIC -o .libs/bt_compare.o --- bt_curadj.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_curadj.c -fPIC -DPIC -o .libs/bt_curadj.o --- bt_conv.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_conv.c -fPIC -DPIC -o .libs/bt_conv.o libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_conv.c -o bt_conv.o >/dev/null 2>&1 --- bt_compare.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_compare.c -o bt_compare.o >/dev/null 2>&1 --- bt_curadj.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_curadj.c -o bt_curadj.o >/dev/null 2>&1 --- bt_delete.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_delete.c --- bt_open.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_open.c --- bt_delete.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_delete.c -fPIC -DPIC -o .libs/bt_delete.o --- bt_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_open.c -fPIC -DPIC -o .libs/bt_open.o --- bt_page.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_page.c --- bt_delete.o --- In file included from ../dist/../btree/bt_delete.c:59:0: ../dist/../btree/bt_delete.c: In function '__bam_ditem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_delete.c:161:13: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_delete.c:165:13: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_delete.c:224:13: note: in expansion of macro 'BKEYDATA_SIZE' nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ../dist/../btree/bt_delete.c: In function '__bam_dpages': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_delete.c:532:13: note: in expansion of macro 'BINTERNAL_SIZE' b.size = BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); ^~~~~~~~~~~~~~ --- bt_open.o --- In file included from ../dist/../btree/bt_open.c:61:0: ../dist/../btree/bt_open.c: In function '__bam_setovflsize': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../btree/bt_open.c:196:34: note: in expansion of macro 'P_OVERHEAD' t->bt_ovflsize = (dbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX) ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_open.c:197:9: note: in expansion of macro 'BKEYDATA_PSIZE' - (BKEYDATA_PSIZE(0) + ALIGN(1, 4)); ^~~~~~~~~~~~~~ --- bt_page.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_page.c -fPIC -DPIC -o .libs/bt_page.o In file included from ../dist/../btree/bt_page.c:60:0: ../dist/../btree/bt_page.c: In function '__bam_free': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../btree/bt_page.c:185:15: note: in expansion of macro 'P_OVERHEAD' ldbt.size = P_OVERHEAD; ^~~~~~~~~~ --- bt_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_open.c -o bt_open.o >/dev/null 2>&1 --- bt_delete.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_delete.c -o bt_delete.o >/dev/null 2>&1 --- bt_page.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_page.c -o bt_page.o >/dev/null 2>&1 --- bt_put.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_put.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_put.c -fPIC -DPIC -o .libs/bt_put.o --- bt_cursor.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_cursor.c -o bt_cursor.o >/dev/null 2>&1 --- bt_put.o --- In file included from ../dist/../btree/bt_put.c:60:0: ../dist/../btree/bt_put.c: In function '__bam_iitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:121:14: note: in expansion of macro 'BKEYDATA_SIZE' nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:164:14: note: in expansion of macro 'BKEYDATA_PSIZE' needed += BKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:168:14: note: in expansion of macro 'BKEYDATA_PSIZE' needed += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:178:18: note: in expansion of macro 'BKEYDATA_PSIZE' have_bytes = BKEYDATA_PSIZE(bk->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:189:18: note: in expansion of macro 'BKEYDATA_PSIZE' need_bytes += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_put.c:203:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(h) < needed || ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:244:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(key->size), NULL, key)) != 0) ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_put.c:321:17: note: in expansion of macro 'SSZA' __hdr.size = SSZA(BKEYDATA, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:323:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(data->size), &__hdr, data); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:328:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(data->size), NULL, data); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_put.c:341:19: note: in expansion of macro 'P_FREESPACE' if (dupadjust && P_FREESPACE(h) <= dbp->pgsize / 2) { ^~~~~~~~~~~ --- bt_rec.o --- --- bt_put.o --- ../dist/../btree/bt_put.c: In function '__bam_ritem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:531:7: note: in expansion of macro 'BKEYDATA_SIZE' lo = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:532:7: note: in expansion of macro 'BKEYDATA_SIZE' ln = BKEYDATA_SIZE(data->size); ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c: In function '__bam_ndup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:589:7: note: in expansion of macro 'BKEYDATA_PSIZE' BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../btree/bt_put.c:592:7: note: in expansion of macro 'BKEYDATA_PSIZE' BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_put.c:618:7: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE; ^~~~~~~~~~~~~ --- bt_rec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rec.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rec.c -fPIC -DPIC -o .libs/bt_rec.o --- bt_recno.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_recno.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_recno.c -fPIC -DPIC -o .libs/bt_recno.o In file included from ../dist/../btree/bt_recno.c:22:0: ../dist/../btree/bt_recno.c: In function '__ram_i_delete': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_recno.c:328:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BKEYDATA, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_recno.c:333:16: note: in expansion of macro 'BKEYDATA_SIZE' h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) ^~~~~~~~~~~~~ --- bt_put.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_put.c -o bt_put.o >/dev/null 2>&1 --- bt_recno.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_recno.c -o bt_recno.o >/dev/null 2>&1 --- bt_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rec.c -o bt_rec.o >/dev/null 2>&1 --- bt_rsearch.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rsearch.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rsearch.c -fPIC -DPIC -o .libs/bt_rsearch.o --- bt_search.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_search.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_search.c -fPIC -DPIC -o .libs/bt_search.o --- bt_rsearch.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_rsearch.c -o bt_rsearch.o >/dev/null 2>&1 --- bt_split.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_split.c --- bt_search.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_search.c -o bt_search.o >/dev/null 2>&1 --- bt_split.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_split.c -fPIC -DPIC -o .libs/bt_split.o --- bt_stat.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_stat.c --- bt_split.o --- In file included from ../dist/../btree/bt_split.c:58:0: ../dist/../btree/bt_split.c: In function '__bam_split': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_split.c:134:18: note: in expansion of macro 'P_FREESPACE' (db_indx_t)P_FREESPACE(cp->csp[0].page)) { ^~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../btree/bt_split.c:55: ../dist/../btree/bt_split.c: In function '__bam_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../btree/bt_split.c:346:23: note: in expansion of macro 'LOFFSET' memcpy(cp->page, lp, LOFFSET(lp)); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../btree/bt_split.c:346:23: note: in expansion of macro 'LOFFSET' memcpy(cp->page, lp, LOFFSET(lp)); ^~~~~~~ In file included from ../dist/../btree/bt_split.c:58:0: ../dist/../btree/bt_split.c: In function '__bam_broot': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:436:13: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:438:32: note: in expansion of macro 'BINTERNAL_SIZE' __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:454:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:458:7: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:480:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:484:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bk->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:497:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:501:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ../dist/../btree/bt_split.c: In function '__bam_pinsert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../dist/../btree/bt_split.c:619:12: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(child_bi->len); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_split.c:621:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:632:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:637:7: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../dist/../btree/bt_split.c:650:13: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(child_bk->len); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../dist/../btree/bt_split.c:666:13: note: in expansion of macro 'BINTERNAL_PSIZE' if ((n = BINTERNAL_PSIZE(nksize)) < nbytes) ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_split.c:671:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:681:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:686:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(nksize), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../dist/../btree/bt_split.c:691:13: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_split.c:693:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../btree/bt_split.c:703:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:708:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../btree/bt_split.c:725:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ../dist/../btree/bt_split.c: In function '__bam_psplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:828:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:830:15: note: in expansion of macro 'BINTERNAL_SIZE' nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_split.c:835:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_split.c:842:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_split.c:850:14: note: in expansion of macro 'BKEYDATA_SIZE' nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ../dist/../btree/bt_split.c: In function '__bam_copy': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:946:9: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(GET_BINTERNAL(pp, nxt)->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../dist/../btree/bt_split.c:948:14: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../btree/bt_split.c:964:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, nxt)->len); ^~~~~~~~~~~~~ --- bt_stat.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_stat.c -fPIC -DPIC -o .libs/bt_stat.o --- btree_auto.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/btree_auto.c --- bt_stat.o --- In file included from ../dist/../btree/bt_stat.c:21:0: ../dist/../btree/bt_stat.c: In function '__bam_stat': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../btree/bt_stat.c:153:38: note: in expansion of macro 'LOFFSET' sp->bt_int_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../btree/bt_stat.c:157:39: note: in expansion of macro 'LOFFSET' sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../btree/bt_stat.c:162:39: note: in expansion of macro 'LOFFSET' sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ --- btree_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/btree_auto.c -fPIC -DPIC -o .libs/btree_auto.o --- db.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db.c --- bt_stat.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_stat.c -o bt_stat.o >/dev/null 2>&1 --- db.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db.c -fPIC -DPIC -o .libs/db.o --- db_appinit.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_appinit.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_appinit.c -fPIC -DPIC -o .libs/db_appinit.o --- bt_split.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/bt_split.c -o bt_split.o >/dev/null 2>&1 --- db.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db.c -o db.o >/dev/null 2>&1 --- btree_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../btree/btree_auto.c -o btree_auto.o >/dev/null 2>&1 --- db_appinit.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_appinit.c -o db_appinit.o >/dev/null 2>&1 --- db_am.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_am.c --- db_apprec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_apprec.c --- db_auto.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_auto.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_auto.c -fPIC -DPIC -o .libs/db_auto.o --- db_am.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_am.c -fPIC -DPIC -o .libs/db_am.o --- db_apprec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_apprec.c -fPIC -DPIC -o .libs/db_apprec.o --- db_byteorder.o --- --- db_apprec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_apprec.c -o db_apprec.o >/dev/null 2>&1 --- db_byteorder.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_byteorder.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_byteorder.c -fPIC -DPIC -o .libs/db_byteorder.o --- db_am.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_am.c -o db_am.o >/dev/null 2>&1 --- db_byteorder.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_byteorder.c -o db_byteorder.o >/dev/null 2>&1 --- db_conv.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_conv.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_conv.c -fPIC -DPIC -o .libs/db_conv.o --- db_dispatch.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dispatch.c --- db_conv.o --- In file included from ../dist/../db/db_conv.c:57:0: ../dist/../db/db_conv.c: In function '__db_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../db/db_conv.c:134:11: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, pagesize, i); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../db/db_conv.c:135:9: note: in expansion of macro 'HKEYDATA_DATA' p = HKEYDATA_DATA(P_ENTRY(h, i)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../db/db_conv.c:152:9: note: in expansion of macro 'HOFFPAGE_PGNO' p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../db/db_conv.c:156:9: note: in expansion of macro 'HOFFPAGE_PGNO' p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~ --- db_dispatch.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dispatch.c -fPIC -DPIC -o .libs/db_dispatch.o --- db_dup.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dup.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dup.c -fPIC -DPIC -o .libs/db_dup.o In file included from ../dist/../db/db_dup.c:21:0: ../dist/../db/db_dup.c: In function '__db_dput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../db/db_dup.c:71:10: note: in expansion of macro 'BKEYDATA_PSIZE' size = BKEYDATA_PSIZE(dbt->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../db/db_dup.c:72:11: note: in expansion of macro 'BKEYDATA_SIZE' isize = BKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../db/db_dup.c:78:13: note: in expansion of macro 'P_FREESPACE' if (size > P_FREESPACE(pagep)) { ^~~~~~~~~~~ ../dist/../db/db_dup.c: In function '__db_drem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../db/db_dup.c:131:7: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len)); ^~~~~~~~~~~~~ ../dist/../db/db_dup.c: In function '__db_dsplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../db/db_dup.c:265:11: note: in expansion of macro 'BKEYDATA_SIZE' sum += BKEYDATA_SIZE(GET_BKEYDATA(h, i)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../db/db_dup.c:309:8: note: in expansion of macro 'BKEYDATA_SIZE' s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ --- db_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_auto.c -o db_auto.o >/dev/null 2>&1 --- db_dup.o --- ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../db/db_dup.c:325:8: note: in expansion of macro 'BKEYDATA_SIZE' s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_dup.c:18: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../db/db_dup.c:340:16: note: in expansion of macro 'LOFFSET' memcpy(h, tp, LOFFSET(tp)); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../db/db_dup.c:340:16: note: in expansion of macro 'LOFFSET' memcpy(h, tp, LOFFSET(tp)); ^~~~~~~ In file included from ../dist/../db/db_dup.c:21:0: ../dist/../db/db_dup.c: In function '__db_pitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../db/db_dup.c:501:15: note: in expansion of macro 'SSZA' thdr.size = SSZA(BKEYDATA, data); ^~~~ --- db_conv.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_conv.c -o db_conv.o >/dev/null 2>&1 --- db_dispatch.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dispatch.c -o db_dispatch.o >/dev/null 2>&1 --- db_err.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_err.c --- db_iface.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_iface.c --- db_err.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_err.c -fPIC -DPIC -o .libs/db_err.o --- db_iface.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_iface.c -fPIC -DPIC -o .libs/db_iface.o --- db_err.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_err.c -o db_err.o >/dev/null 2>&1 --- db_dup.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_dup.c -o db_dup.o >/dev/null 2>&1 --- db_iface.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_iface.c -o db_iface.o >/dev/null 2>&1 --- db_join.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_join.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_join.c -fPIC -DPIC -o .libs/db_join.o --- db_log2.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_log2.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_log2.c -fPIC -DPIC -o .libs/db_log2.o --- db_overflow.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_overflow.c --- db_join.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_join.c -o db_join.o >/dev/null 2>&1 --- db_log2.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_log2.c -o db_log2.o >/dev/null 2>&1 --- db_overflow.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_overflow.c -fPIC -DPIC -o .libs/db_overflow.o In file included from ../dist/../db/db_overflow.c:60:0: ../dist/../db/db_overflow.c: In function '__db_goff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:140:26: note: in expansion of macro 'P_OVERHEAD' src = (u_int8_t *)h + P_OVERHEAD; ^~~~~~~~~~ ../dist/../db/db_overflow.c: In function '__db_poff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:247:38: note: in expansion of macro 'P_OVERHEAD' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ../dist/../db/db_overflow.c:188:14: note: in expansion of macro 'P_MAXSPACE' pagespace = P_MAXSPACE(dbp->pgsize); ^~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../db/db_overflow.c:57: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ^~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_overflow.c:57: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ^~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../db/db_overflow.c:57: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ^~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_overflow.c:57: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ^~~~~~~~~~ In file included from ../dist/../db/db_overflow.c:60:0: ../dist/../db/db_overflow.c: In function '__db_doff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:317:39: note: in expansion of macro 'P_OVERHEAD' tmp_dbt.data = (u_int8_t *)pagep + P_OVERHEAD; ^~~~~~~~~~ ../dist/../db/db_overflow.c: In function '__db_moff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_overflow.c:388:27: note: in expansion of macro 'P_OVERHEAD' (u_int8_t *)pagep + P_OVERHEAD; cmp_bytes-- > 0; ++p1, ++p2) ^~~~~~~~~~ --- db_pr.o --- --- db_rec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_rec.c --- db_pr.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_pr.c --- db_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_rec.c -fPIC -DPIC -o .libs/db_rec.o --- db_pr.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_pr.c -fPIC -DPIC -o .libs/db_pr.o --- db_region.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_region.c --- db_rec.o --- In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../db/db_rec.c:17: ../dist/../db/db_rec.c: In function '__db_big_recover': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ^~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_rec.c:17: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ^~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../db/db_rec.c:17: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ^~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_rec.c:17: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ^~~~~~~~~~ --- db_pr.o --- In file included from ../dist/../db/db_pr.c:24:0: ../dist/../db/db_pr.c: In function '__db_prpage': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_pr.c:438:27: note: in expansion of macro 'P_OVERHEAD' __db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_pr.c:449:39: note: in expansion of macro 'P_OVERHEAD' if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../db/db_pr.c:20: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../db/db_pr.c:488:9: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../db/db_pr.c:488:9: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ In file included from ../dist/../db/db_pr.c:24:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../db/db_pr.c:500:12: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, 0, i); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../db/db_pr.c:505:14: note: in expansion of macro 'HKEYDATA_DATA' for (p = HKEYDATA_DATA(hk), ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../db/db_pr.c:516:14: note: in expansion of macro 'HKEYDATA_DATA' __db_pr(HKEYDATA_DATA(hk), ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../db/db_pr.c:517:10: note: in expansion of macro 'LEN_HKEYDATA' LEN_HKEYDATA(h, 0, i)); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../db/db_pr.c:519:26: note: in expansion of macro 'HKEYDATA_DATA' fprintf(fp, "%s\n", HKEYDATA_DATA(hk)); ^~~~~~~~~~~~~ ../dist/../db/db_pr.c: In function '__db_isbad': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../db/db_pr.c:615:39: note: in expansion of macro 'P_OVERHEAD' if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ --- db_overflow.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_overflow.c -o db_overflow.o >/dev/null 2>&1 --- db_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_region.c -fPIC -DPIC -o .libs/db_region.o --- db_ret.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_ret.c --- db_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_region.c -o db_region.o >/dev/null 2>&1 --- db_pr.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_pr.c -o db_pr.o >/dev/null 2>&1 --- db_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_rec.c -o db_rec.o >/dev/null 2>&1 --- db_ret.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_ret.c -fPIC -DPIC -o .libs/db_ret.o In file included from ../dist/../db/db_ret.c:21:0: ../dist/../db/db_ret.c: In function '__db_ret': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../db/db_ret.c:57:9: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, dbp->pgsize, indx); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../db/db_ret.c:58:10: note: in expansion of macro 'HKEYDATA_DATA' data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db/db_ret.c -o db_ret.o >/dev/null 2>&1 --- db_salloc.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_salloc.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_salloc.c -fPIC -DPIC -o .libs/db_salloc.o --- db_shash.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_shash.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_shash.c -fPIC -DPIC -o .libs/db_shash.o --- dbm.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../dbm/dbm.c --- hash.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash.c --- dbm.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../dbm/dbm.c -fPIC -DPIC -o .libs/dbm.o --- hash.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash.c -fPIC -DPIC -o .libs/hash.o --- db_shash.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_shash.c -o db_shash.o >/dev/null 2>&1 --- db_salloc.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../common/db_salloc.c -o db_salloc.o >/dev/null 2>&1 --- hash.o --- In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../hash/hash.c:58: ../dist/../hash/hash.c: In function '__ham_c_del': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ^~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash.c:58: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ^~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../hash/hash.c:58: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ^~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash.c:58: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ^~~~~~~~~~~~ In file included from ../dist/../hash/hash.c:61:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash.c:474:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:483:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ../dist/../hash/hash.c: In function '__ham_c_put': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../hash/hash.c:716:7: note: in expansion of macro 'HKEYDATA_PSIZE' HKEYDATA_PSIZE(key->size)) + ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../hash/hash.c:718:7: note: in expansion of macro 'HKEYDATA_PSIZE' HKEYDATA_PSIZE(data->size)); ^~~~~~~~~~~~~~ ../dist/../hash/hash.c: In function '__ham_dup_return': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash.c:937:20: note: in expansion of macro 'LEN_HDATA' hcp->dup_tlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash.c:58: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:945:10: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:945:10: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:954:9: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk), sizeof(db_indx_t)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:954:9: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk), sizeof(db_indx_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:961:18: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)), ^~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash.c:961:18: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)), ^~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:996:9: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:996:9: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash.c:998:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash.c:998:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash.c:61:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:1007:20: note: in expansion of macro 'HKEYDATA_DATA' tmp_val.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash.c:1008:20: note: in expansion of macro 'LEN_HDATA' tmp_val.size = LEN_HDATA(hcp->pagep, ^~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash.c:58: ../dist/../hash/hash.c: In function '__ham_overwrite': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:1100:8: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:1100:8: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash.c:61:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash.c:1102:19: note: in expansion of macro 'LEN_HDATA' tmp_val.dlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash.c:58: ../dist/../hash/hash.c: In function '__ham_lookup': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:1155:18: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash.c:1155:18: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash.c:1158:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash.c:1158:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash.c:61:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash.c:1169:21: note: in expansion of macro 'LEN_HKEY' if (key->size == LEN_HKEY(hcp->pagep, ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash.c:1172:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk), key->size) == 0) { ^~~~~~~~~~~~~ --- hash_auto.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_auto.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_auto.c -fPIC -DPIC -o .libs/hash_auto.o --- dbm.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../dbm/dbm.c -o dbm.o >/dev/null 2>&1 --- hash_conv.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_conv.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_conv.c -fPIC -DPIC -o .libs/hash_conv.o --- hash_dup.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_dup.c --- hash_conv.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_conv.c -o hash_conv.o >/dev/null 2>&1 --- hash_dup.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_dup.c -fPIC -DPIC -o .libs/hash_dup.o In file included from ../dist/../hash/hash_dup.c:68:0: ../dist/../hash/hash_dup.c: In function '__ham_add_dup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../hash/hash_dup.c:124:46: note: in expansion of macro 'LEN_HKEYDATA' new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_dup.c:134:39: note: in expansion of macro 'P_FREESPACE' DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:147:16: note: in expansion of macro 'HKEYDATA_DATA' pval.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:148:16: note: in expansion of macro 'LEN_HDATA' pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize, ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:171:20: note: in expansion of macro 'LEN_HDATA' tmp_val.doff = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:180:16: note: in expansion of macro 'HKEYDATA_DATA' dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash_dup.c:65: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash_dup.c:206:23: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash_dup.c:206:23: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ In file included from ../dist/../hash/hash_dup.c:68:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../hash/hash_dup.c:245:14: note: in expansion of macro 'BKEYDATA_SIZE' del_len = BKEYDATA_SIZE(GET_BKEYDATA(hcp->dpagep, ^~~~~~~~~~~~~ ../dist/../hash/hash_dup.c: In function '__ham_dup_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:306:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:307:14: note: in expansion of macro 'HKEYDATA_DATA' dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ../dist/../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../dist/../hash/hash_dup.c:309:24: note: in expansion of macro 'BKEYDATA_SIZE' (u_int32_t)dndx, BKEYDATA_SIZE(dbt.size), NULL, &dbt); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:331:7: note: in expansion of macro 'HKEYDATA_DATA' p = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:333:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); ^~~~~~~~~ ../dist/../hash/hash_dup.c: In function '__ham_check_move': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:444:26: note: in expansion of macro 'HKEYDATA_SIZE' new_datalen = old_len - HKEYDATA_SIZE(0) + add_len; ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_dup.c:455:32: note: in expansion of macro 'P_FREESPACE' HOFFDUP_SIZE - old_len <= P_FREESPACE(hcp->pagep))) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_dup.c:459:26: note: in expansion of macro 'P_FREESPACE' add_len <= (int32_t)P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:468:21: note: in expansion of macro 'HKEYDATA_SIZE' HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_dup.c:481:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(next_pagep) >= new_datalen) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_dup.c:491:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(next_pagep) < new_datalen && (ret = ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:507:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRKEY(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:508:13: note: in expansion of macro 'LEN_HKEY' k.size = LEN_HKEY(hcp->pagep, ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:518:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:519:13: note: in expansion of macro 'LEN_HDATA' d.size = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ../dist/../hash/hash_dup.c: In function '__ham_dsearch': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_dup.c:643:9: note: in expansion of macro 'HKEYDATA_DATA' data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + i; ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../dist/../hash/hash_dup.c:644:13: note: in expansion of macro 'LEN_HDATA' while (i < LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) { ^~~~~~~~~ --- hash_func.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_func.c --- hash.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash.c -o hash.o >/dev/null 2>&1 --- hash_func.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_func.c -fPIC -DPIC -o .libs/hash_func.o libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_func.c -o hash_func.o >/dev/null 2>&1 --- hash_dup.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_dup.c -o hash_dup.o >/dev/null 2>&1 --- hash_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_auto.c -o hash_auto.o >/dev/null 2>&1 --- hash_page.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_page.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_page.c -fPIC -DPIC -o .libs/hash_page.o In file included from ../dist/../hash/hash_page.c:76:0: ../dist/../hash/hash_page.c: In function '__ham_item': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_page.c:112:26: note: in expansion of macro 'P_FREESPACE' && hcp->seek_size < P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash_page.c:73: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:123:7: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:123:7: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c: In function '__ham_item_prev': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:352:26: note: in expansion of macro 'HKEYDATA_DATA' memcpy(&h->dup_len, HKEYDATA_DATA( ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:352:26: note: in expansion of macro 'HKEYDATA_DATA' memcpy(&h->dup_len, HKEYDATA_DATA( ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash_page.c:76:0: ../dist/../hash/hash_page.c: In function '__ham_putitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:538:22: note: in expansion of macro 'HKEYDATA_SIZE' off = HOFFSET(p) - HKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash_page.c:73: ../dist/../hash/hash_page.c: In function '__ham_del_pair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash_page.c:634:17: note: in expansion of macro 'HOFFPAGE_PGNO' memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash_page.c:634:17: note: in expansion of macro 'HOFFPAGE_PGNO' memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash_page.c:643:8: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../dist/../hash/hash_page.c:643:8: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash_page.c:649:8: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../dist/../hash/hash_page.c:649:8: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~ ../dist/../hash/hash_page.c: In function '__ham_replpair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash_page.c:894:16: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ../dist/../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../dist/../hash/hash_page.c:894:16: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash_page.c:76:0: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c:896:9: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(hcp->pagep, ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_page.c:903:24: note: in expansion of macro 'P_FREESPACE' if (change > (int32_t)P_FREESPACE(hcp->pagep) || is_big) { ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:975:8: note: in expansion of macro 'HKEYDATA_DATA' beg = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c: In function '__ham_onpage_replace': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c:1034:30: note: in expansion of macro 'LEN_HKEYDATA' else if ((u_int32_t)off >= LEN_HKEYDATA(pagep, pgsize, ndx)) { ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1035:10: note: in expansion of macro 'HKEYDATA_DATA' len = HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c:1036:8: note: in expansion of macro 'LEN_HKEYDATA' LEN_HKEYDATA(pagep, pgsize, ndx) - src; ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1039:11: note: in expansion of macro 'HKEYDATA_DATA' len = (HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off) - src; ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../hash/hash_page.c:73: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash_page.c:73: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ^~~~~~~~~~~~~ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../dist/../hash/hash_page.c:73: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../dist/../hash/hash_page.c:73: ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ^~~~~~~~~~~~~ In file included from ../dist/../hash/hash_page.c:76:0: ../dist/../hash/hash_page.c: In function '__ham_split_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_page.c:1134:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(*pp) < len) { ^~~~~~~~~~~ ../dist/../hash/hash_page.c: In function '__ham_add_el': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c:1262:13: note: in expansion of macro 'HKEYDATA_PSIZE' key_size = HKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../dist/../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../dist/../hash/hash_page.c:1263:14: note: in expansion of macro 'HKEYDATA_PSIZE' data_size = HKEYDATA_PSIZE(val->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_page.c:1281:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(hcp->pagep) >= pairsize) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../dist/../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../dist/../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../dist/../hash/hash_page.c:1292:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(hcp->pagep) < pairsize) { ^~~~~~~~~~~ --- hash_rec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_rec.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_rec.c -fPIC -DPIC -o .libs/hash_rec.o --- hash_stat.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_stat.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_stat.c -fPIC -DPIC -o .libs/hash_stat.o libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_stat.c -o hash_stat.o >/dev/null 2>&1 --- hsearch.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hsearch/hsearch.c --- lock.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock.c --- hsearch.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hsearch/hsearch.c -fPIC -DPIC -o .libs/hsearch.o --- lock.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock.c -fPIC -DPIC -o .libs/lock.o --- hsearch.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hsearch/hsearch.c -o hsearch.o >/dev/null 2>&1 --- hash_page.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_page.c -o hash_page.o >/dev/null 2>&1 --- lock_conflict.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_conflict.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_conflict.c -fPIC -DPIC -o .libs/lock_conflict.o --- hash_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../hash/hash_rec.c -o hash_rec.o >/dev/null 2>&1 --- lock_conflict.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_conflict.c -o lock_conflict.o >/dev/null 2>&1 --- lock_deadlock.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_deadlock.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_deadlock.c -fPIC -DPIC -o .libs/lock_deadlock.o --- lock.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock.c -o lock.o >/dev/null 2>&1 --- lock_deadlock.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_deadlock.c -o lock_deadlock.o >/dev/null 2>&1 --- lock_util.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_util.c --- lock_region.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_region.c --- lock_util.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_util.c -fPIC -DPIC -o .libs/lock_util.o --- lock_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_region.c -fPIC -DPIC -o .libs/lock_region.o --- lock_util.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_util.c -o lock_util.o >/dev/null 2>&1 --- log.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log.c --- log_archive.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_archive.c --- log.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log.c -fPIC -DPIC -o .libs/log.o --- log_archive.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_archive.c -fPIC -DPIC -o .libs/log_archive.o --- log_auto.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_auto.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_auto.c -fPIC -DPIC -o .libs/log_auto.o --- lock_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../lock/lock_region.c -o lock_region.o >/dev/null 2>&1 --- log.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log.c -o log.o >/dev/null 2>&1 --- log_archive.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_archive.c -o log_archive.o >/dev/null 2>&1 --- log_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_auto.c -o log_auto.o >/dev/null 2>&1 --- log_compare.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_compare.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_compare.c -fPIC -DPIC -o .libs/log_compare.o --- log_findckp.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_findckp.c --- log_get.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_get.c --- log_findckp.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_findckp.c -fPIC -DPIC -o .libs/log_findckp.o --- log_compare.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_compare.c -o log_compare.o >/dev/null 2>&1 --- log_put.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_put.c --- log_get.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_get.c -fPIC -DPIC -o .libs/log_get.o --- log_put.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_put.c -fPIC -DPIC -o .libs/log_put.o --- log_findckp.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_findckp.c -o log_findckp.o >/dev/null 2>&1 --- log_rec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_rec.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_rec.c -fPIC -DPIC -o .libs/log_rec.o --- log_get.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_get.c -o log_get.o >/dev/null 2>&1 --- log_register.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_register.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_register.c -fPIC -DPIC -o .libs/log_register.o --- log_put.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_put.c -o log_put.o >/dev/null 2>&1 --- log_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_rec.c -o log_rec.o >/dev/null 2>&1 --- mp_bh.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_bh.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_bh.c -fPIC -DPIC -o .libs/mp_bh.o --- log_register.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../log/log_register.c -o log_register.o >/dev/null 2>&1 --- mp_fget.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fget.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fget.c -fPIC -DPIC -o .libs/mp_fget.o --- mp_fopen.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fopen.c --- mp_fput.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fput.c --- mp_fopen.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fopen.c -fPIC -DPIC -o .libs/mp_fopen.o --- mp_fput.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fput.c -fPIC -DPIC -o .libs/mp_fput.o --- mp_bh.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_bh.c -o mp_bh.o >/dev/null 2>&1 --- mp_fput.o --- In file included from ../dist/../mp/mp_fput.c:19:0: ../dist/../mp/mp_fput.c: In function 'memp_fput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../mp/mp_fput.c:85:36: note: in expansion of macro 'SSZA' bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~ --- mp_fget.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fget.c -o mp_fget.o >/dev/null 2>&1 --- mp_fput.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fput.c -o mp_fput.o >/dev/null 2>&1 --- mp_fopen.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fopen.c -o mp_fopen.o >/dev/null 2>&1 --- mp_fset.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fset.c --- mp_open.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_open.c --- mp_fset.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fset.c -fPIC -DPIC -o .libs/mp_fset.o --- mp_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_open.c -fPIC -DPIC -o .libs/mp_open.o --- mp_pr.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_pr.c --- mp_fset.o --- In file included from ../dist/../mp/mp_fset.c:19:0: ../dist/../mp/mp_fset.c: In function 'memp_fset': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../dist/../mp/mp_fset.c:64:36: note: in expansion of macro 'SSZA' bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~ --- mp_pr.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_pr.c -fPIC -DPIC -o .libs/mp_pr.o --- mp_fset.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_fset.c -o mp_fset.o >/dev/null 2>&1 --- mp_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_open.c -o mp_open.o >/dev/null 2>&1 --- mp_region.o --- --- mp_sync.o --- --- mp_region.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_region.c --- mp_sync.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_sync.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_sync.c -fPIC -DPIC -o .libs/mp_sync.o --- mp_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_region.c -fPIC -DPIC -o .libs/mp_region.o --- mp_pr.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_pr.c -o mp_pr.o >/dev/null 2>&1 --- mutex.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mutex/mutex.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mutex/mutex.c -fPIC -DPIC -o .libs/mutex.o --- mp_region.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_region.c -o mp_region.o >/dev/null 2>&1 --- os_abs.o --- --- mutex.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mutex/mutex.c -o mutex.o >/dev/null 2>&1 --- os_abs.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_abs.c --- mp_sync.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../mp/mp_sync.c -o mp_sync.o >/dev/null 2>&1 --- os_abs.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_abs.c -fPIC -DPIC -o .libs/os_abs.o libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_abs.c -o os_abs.o >/dev/null 2>&1 --- os_alloc.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_alloc.c --- os_config.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_config.c --- os_alloc.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_alloc.c -fPIC -DPIC -o .libs/os_alloc.o --- os_config.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_config.c -fPIC -DPIC -o .libs/os_config.o --- os_dir.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_dir.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_dir.c -fPIC -DPIC -o .libs/os_dir.o --- os_config.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_config.c -o os_config.o >/dev/null 2>&1 --- os_alloc.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_alloc.c -o os_alloc.o >/dev/null 2>&1 --- os_fid.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fid.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fid.c -fPIC -DPIC -o .libs/os_fid.o --- os_dir.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_dir.c -o os_dir.o >/dev/null 2>&1 --- os_fsync.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fsync.c --- os_map.o --- --- os_fsync.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fsync.c -fPIC -DPIC -o .libs/os_fsync.o --- os_map.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_map.c --- os_fid.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fid.c -o os_fid.o >/dev/null 2>&1 --- os_map.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_map.c -fPIC -DPIC -o .libs/os_map.o --- os_oflags.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_oflags.c --- os_fsync.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_fsync.c -o os_fsync.o >/dev/null 2>&1 --- os_open.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_open.c --- os_oflags.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_oflags.c -fPIC -DPIC -o .libs/os_oflags.o --- os_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_open.c -fPIC -DPIC -o .libs/os_open.o --- os_rpath.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rpath.c --- os_map.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_map.c -o os_map.o >/dev/null 2>&1 --- os_oflags.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_oflags.c -o os_oflags.o >/dev/null 2>&1 --- os_rpath.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rpath.c -fPIC -DPIC -o .libs/os_rpath.o --- os_open.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_open.c -o os_open.o >/dev/null 2>&1 --- os_rw.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rw.c --- os_seek.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_seek.c --- os_rpath.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rpath.c -o os_rpath.o >/dev/null 2>&1 --- os_seek.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_seek.c -fPIC -DPIC -o .libs/os_seek.o --- os_rw.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rw.c -fPIC -DPIC -o .libs/os_rw.o --- os_sleep.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_sleep.c --- os_spin.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_spin.c --- os_sleep.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_sleep.c -fPIC -DPIC -o .libs/os_sleep.o --- os_seek.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_seek.c -o os_seek.o >/dev/null 2>&1 --- os_spin.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_spin.c -fPIC -DPIC -o .libs/os_spin.o --- os_rw.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_rw.c -o os_rw.o >/dev/null 2>&1 --- os_sleep.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_sleep.c -o os_sleep.o >/dev/null 2>&1 --- os_stat.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_stat.c --- os_spin.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_spin.c -o os_spin.o >/dev/null 2>&1 --- os_stat.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_stat.c -fPIC -DPIC -o .libs/os_stat.o --- os_tmpdir.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_tmpdir.c --- os_unlink.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_unlink.c --- os_tmpdir.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_tmpdir.c -fPIC -DPIC -o .libs/os_tmpdir.o --- os_unlink.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_unlink.c -fPIC -DPIC -o .libs/os_unlink.o --- txn.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn.c --- os_stat.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_stat.c -o os_stat.o >/dev/null 2>&1 --- txn.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn.c -fPIC -DPIC -o .libs/txn.o --- os_tmpdir.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_tmpdir.c -o os_tmpdir.o >/dev/null 2>&1 --- os_unlink.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../os/os_unlink.c -o os_unlink.o >/dev/null 2>&1 --- txn_auto.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_auto.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_auto.c -fPIC -DPIC -o .libs/txn_auto.o --- txn_rec.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_rec.c --- xa.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa.c --- txn_rec.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_rec.c -fPIC -DPIC -o .libs/txn_rec.o --- xa.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa.c -fPIC -DPIC -o .libs/xa.o --- txn_rec.o --- ../dist/../txn/txn_rec.c: In function '__txn_restore_txn': ../dist/../txn/txn_rec.c:289:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(td->xid, argp->xid.data, argp->xid.size); ^~~~~~ ../dist/../txn/txn_rec.c:289:2: warning: incompatible implicit declaration of built-in function 'memcpy' ../dist/../txn/txn_rec.c:289:2: note: include '' or provide a declaration of 'memcpy' libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_rec.c -o txn_rec.o >/dev/null 2>&1 --- txn_auto.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn_auto.c -o txn_auto.o >/dev/null 2>&1 --- txn.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../txn/txn.c -o txn.o >/dev/null 2>&1 --- xa.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa.c -o xa.o >/dev/null 2>&1 --- xa_db.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_db.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_db.c -fPIC -DPIC -o .libs/xa_db.o libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_db.c -o xa_db.o >/dev/null 2>&1 --- xa_map.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_map.c --- db185.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db185/db185.c --- xa_map.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_map.c -fPIC -DPIC -o .libs/xa_map.o --- db185.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db185/db185.c -fPIC -DPIC -o .libs/db185.o --- db_archive.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_archive/db_archive.c --- err.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/err.c --- db_archive.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_archive/db_archive.c -fPIC -DPIC -o .libs/db_archive.o --- err.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/err.c -fPIC -DPIC -o .libs/err.o --- xa_map.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../xa/xa_map.c -o xa_map.o >/dev/null 2>&1 --- db185.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db185/db185.c -o db185.o >/dev/null 2>&1 --- err.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/err.c -o err.o >/dev/null 2>&1 --- db_archive.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_archive/db_archive.c -o db_archive.o >/dev/null 2>&1 --- getlong.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/getlong.c --- db_checkpoint.o --- --- getlong.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/getlong.c -fPIC -DPIC -o .libs/getlong.o --- db_checkpoint.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_checkpoint/db_checkpoint.c --- db_deadlock.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_deadlock/db_deadlock.c --- db_checkpoint.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_checkpoint/db_checkpoint.c -fPIC -DPIC -o .libs/db_checkpoint.o --- db_dump.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_dump/db_dump.c --- db_deadlock.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_deadlock/db_deadlock.c -fPIC -DPIC -o .libs/db_deadlock.o --- getlong.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../clib/getlong.c -o getlong.o >/dev/null 2>&1 --- db_dump.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_dump/db_dump.c -fPIC -DPIC -o .libs/db_dump.o --- db_load.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_load/db_load.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_load/db_load.c -fPIC -DPIC -o .libs/db_load.o --- db_checkpoint.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_checkpoint/db_checkpoint.c -o db_checkpoint.o >/dev/null 2>&1 --- db_deadlock.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_deadlock/db_deadlock.c -o db_deadlock.o >/dev/null 2>&1 --- db_dump.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_dump/db_dump.c -o db_dump.o >/dev/null 2>&1 --- db_printlog.o --- --- db_recover.o --- --- db_printlog.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_printlog/db_printlog.c --- db_recover.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_recover/db_recover.c --- db_printlog.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_printlog/db_printlog.c -fPIC -DPIC -o .libs/db_printlog.o --- db_recover.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_recover/db_recover.c -fPIC -DPIC -o .libs/db_recover.o --- db_stat.o --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=compile gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_stat/db_stat.c libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_stat/db_stat.c -fPIC -DPIC -o .libs/db_stat.o --- db_load.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_load/db_load.c -o db_load.o >/dev/null 2>&1 --- db_recover.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_recover/db_recover.c -o db_recover.o >/dev/null 2>&1 --- db_printlog.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_printlog/db_printlog.c -o db_printlog.o >/dev/null 2>&1 --- libdb2.la --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -rpath /usr/pkg/lib -version-info 2:7 -o libdb2.la bt_compare.lo bt_conv.lo bt_curadj.lo bt_cursor.lo bt_delete.lo bt_open.lo bt_page.lo bt_put.lo bt_rec.lo bt_recno.lo bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo btree_auto.lo db.lo db_appinit.lo db_am.lo db_apprec.lo db_auto.lo db_byteorder.lo db_conv.lo db_dispatch.lo db_dup.lo db_err.lo db_iface.lo db_join.lo db_log2.lo db_overflow.lo db_pr.lo db_rec.lo db_region.lo db_ret.lo db_salloc.lo db_shash.lo dbm.lo hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_func.lo hash_page.lo hash_rec.lo hash_stat.lo hsearch.lo lock.lo lock_conflict.lo lock_deadlock.lo lock_util.lo lock_region.lo log.lo log_archive.lo log_auto.lo log_compare.lo log_findckp.lo log_get.lo log_put.lo log_rec.lo log_register.lo mp_bh.lo mp_fget.lo mp_fopen.lo mp_fput.lo mp_fset.lo mp_open.lo mp_pr.lo mp_region.lo mp_sync.lo mutex.lo os_abs.lo os_alloc.lo os_config.lo os_dir.lo os_fid.lo os_fsync.lo os_map.lo os_oflags.lo os_open.lo os_rpath.lo os_rw.lo os_seek.lo os_sleep.lo os_spin.lo os_stat.lo os_tmpdir.lo os_unlink.lo txn.lo txn_auto.lo txn_rec.lo xa.lo xa_db.lo xa_map.lo db185.lo --- db_stat.o --- libtool: compile: gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I../dist/../include ../dist/../db_stat/db_stat.c -o db_stat.o >/dev/null 2>&1 --- libdb2.la --- libtool: link: gcc -shared -fPIC -DPIC .libs/bt_compare.o .libs/bt_conv.o .libs/bt_curadj.o .libs/bt_cursor.o .libs/bt_delete.o .libs/bt_open.o .libs/bt_page.o .libs/bt_put.o .libs/bt_rec.o .libs/bt_recno.o .libs/bt_rsearch.o .libs/bt_search.o .libs/bt_split.o .libs/bt_stat.o .libs/btree_auto.o .libs/db.o .libs/db_appinit.o .libs/db_am.o .libs/db_apprec.o .libs/db_auto.o .libs/db_byteorder.o .libs/db_conv.o .libs/db_dispatch.o .libs/db_dup.o .libs/db_err.o .libs/db_iface.o .libs/db_join.o .libs/db_log2.o .libs/db_overflow.o .libs/db_pr.o .libs/db_rec.o .libs/db_region.o .libs/db_ret.o .libs/db_salloc.o .libs/db_shash.o .libs/dbm.o .libs/hash.o .libs/hash_auto.o .libs/hash_conv.o .libs/hash_dup.o .libs/hash_func.o .libs/hash_page.o .libs/hash_rec.o .libs/hash_stat.o .libs/hsearch.o .libs/lock.o .libs/lock_conflict.o .libs/lock_deadlock.o .libs/lock_util.o .libs/lock_region.o .libs/log.o .libs/log_archive.o .libs/log_auto.o .libs/log_compare.o .libs/log_findckp.o .libs/log_get.o .libs/log_put.o .libs/log_rec.o .libs/log_register.o .libs/mp_bh.o .libs/mp_fget.o .libs/mp_fopen.o .libs/mp_fput.o .libs/mp_fset.o .libs/mp_open.o .libs/mp_pr.o .libs/mp_region.o .libs/mp_sync.o .libs/mutex.o .libs/os_abs.o .libs/os_alloc.o .libs/os_config.o .libs/os_dir.o .libs/os_fid.o .libs/os_fsync.o .libs/os_map.o .libs/os_oflags.o .libs/os_open.o .libs/os_rpath.o .libs/os_rw.o .libs/os_seek.o .libs/os_sleep.o .libs/os_spin.o .libs/os_stat.o .libs/os_tmpdir.o .libs/os_unlink.o .libs/txn.o .libs/txn_auto.o .libs/txn_rec.o .libs/xa.o .libs/xa_db.o .libs/xa_map.o .libs/db185.o -O2 -Wl,-soname -Wl,libdb2.so.2 -o .libs/libdb2.so.2.0.7 libtool: link: (cd ".libs" && rm -f "libdb2.so.2" && ln -s "libdb2.so.2.0.7" "libdb2.so.2") libtool: link: (cd ".libs" && rm -f "libdb2.so" && ln -s "libdb2.so.2.0.7" "libdb2.so") libtool: link: ar cru .libs/libdb2.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o db_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o lock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o db185.o libtool: link: ranlib .libs/libdb2.a libtool: link: ( cd ".libs" && rm -f "libdb2.la" && ln -s "../libdb2.la" "libdb2.la" ) --- db_archive --- --- db_checkpoint --- --- db_deadlock --- --- db_dump --- --- db_archive --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_archive -Wl,-zrelro -Wl,-R/usr/pkg/lib db_archive.o err.o getlong.o libdb2.la --- db_deadlock --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_deadlock -Wl,-zrelro -Wl,-R/usr/pkg/lib db_deadlock.o err.o getlong.o libdb2.la --- db_dump --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_dump -Wl,-zrelro -Wl,-R/usr/pkg/lib db_dump.o err.o getlong.o libdb2.la --- db_checkpoint --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_checkpoint -Wl,-zrelro -Wl,-R/usr/pkg/lib db_checkpoint.o err.o getlong.o libdb2.la --- db_dump --- libtool: link: gcc -o .libs/db_dump -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_dump.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_deadlock --- libtool: link: gcc -o .libs/db_deadlock -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_deadlock.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_archive --- libtool: link: gcc -o .libs/db_archive -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_archive.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_checkpoint --- libtool: link: gcc -o .libs/db_checkpoint -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_checkpoint.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_load --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_load -Wl,-zrelro -Wl,-R/usr/pkg/lib db_load.o err.o getlong.o libdb2.la --- db_printlog --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_printlog -Wl,-zrelro -Wl,-R/usr/pkg/lib db_printlog.o err.o getlong.o libdb2.la --- db_recover --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_recover -Wl,-zrelro -Wl,-R/usr/pkg/lib db_recover.o err.o getlong.o libdb2.la --- db_stat --- /tmp/databases/db/work/.cwrapper/bin/libtool --mode=link gcc -o db_stat -Wl,-zrelro -Wl,-R/usr/pkg/lib db_stat.o err.o getlong.o libdb2.la --- db_load --- libtool: link: gcc -o .libs/db_load -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_load.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_printlog --- libtool: link: gcc -o .libs/db_printlog -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_printlog.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_recover --- libtool: link: gcc -o .libs/db_recover -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_recover.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib --- db_stat --- libtool: link: gcc -o .libs/db_stat -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib db_stat.o err.o getlong.o -pie -L./.libs -ldb2 -Wl,-rpath,/usr/pkg/lib