On 2024/04/16 22:16, Quanah Gibson-Mount wrote:
This is the first testing call for OpenLDAP 2.6.8. Depending on the results, this may be the only testing call.
On the Debian system I am using, the following stood out:
/bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c ./../../../libraries/liblmdb/mdb.c libtool: compile: cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c ./../../../libraries/liblmdb/mdb.c -o mdb.o ./../../../libraries/liblmdb/mdb.c: In function ‘mdb_env_cwalk’: ./../../../libraries/liblmdb/mdb.c:9344:7: warning: writing 8 bytes into a region of size 1 [-Wstringop-overflow=] 9344 | memcpy(NODEDATA(ni), &my->mc_next_pgno, sizeof(pgno_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../../../libraries/liblmdb/mdb.c:955:8: note: at offset 0 to object ‘mn_data’ with size 1 declared here 955 | char mn_data[1]; /**< key and data are appended here */ | ^~~~~~~ ./../../../libraries/liblmdb/mdb.c: In function ‘mdb_node_add’: ./../../../libraries/liblmdb/mdb.c:7472:4: warning: writing 8 bytes into a region of size 1 [-Wstringop-overflow=] 7472 | memcpy(ndata, &ofp->mp_pgno, sizeof(pgno_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../../../libraries/liblmdb/mdb.c:7466:5: warning: writing 8 bytes into a region of size 1 [-Wstringop-overflow=] 7466 | memcpy(ndata, data->mv_data, sizeof(pgno_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -c ./../../../libraries/liblmdb/midl.c
I'm not sure what to suggest.
Lucio.