[krbdev.mit.edu #8478] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Tue Aug 16 21:46:15 EDT 2016


Make bttest build with restricted lib exports

On platforms that use strict library export lists, the libdb2 btree
debugging program bttest won't build with -DDEBUG or -DSTATISTICS
because some needed functions aren't in the export list.

Add the missing bt_debug.c and mpool.c functions to libdb.exports.
Stub out these functions when built without -DDEBUG or -DSTATISTICS to
avoid unreferenced symbols, because conditionalizing library export
lists isn't easy.

https://github.com/krb5/krb5/commit/8c59d4cc3cfec84d6e4a694f87c319d2564984a3
Author: Tom Yu <tlyu at mit.edu>
Commit: 8c59d4cc3cfec84d6e4a694f87c319d2564984a3
Branch: master
 src/plugins/kdb/db2/libdb2/btree/bt_debug.c |   27 +++++++++++++++++++++++++++
 src/plugins/kdb/db2/libdb2/libdb.exports    |    6 ++++++
 src/plugins/kdb/db2/libdb2/mpool/mpool.c    |    6 ++++++
 src/plugins/kdb/db2/libdb2/mpool/mpool.h    |    4 ++--
 4 files changed, 41 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list