aboutsummaryrefslogtreecommitdiffstats
path: root/diameter
diff options
context:
space:
mode:
authorDhiru Kholia <kholia@kth.se>2015-11-04 11:00:21 +0100
committerPeter Wu <peter@lekensteyn.nl>2015-11-04 12:16:17 +0000
commit58528f6d911c7dfec3c8c550abc5d717861c60ee (patch)
tree146f98b0043f67dfff6e9bf848525ecd99bdbfe6 /diameter
parentcde99ec5354d95960a52e1fd49bc68e108e918d7 (diff)
Fix AddressSanitizer (./configure --enable-asan) builds
"./configure --enable-asan" currently fails to detect installed libraries because aclocal-fallback/* built programs have memory leaks in them. configure:34516: checking for GTK+ - version >= 3.0.0 configure:34626: gcc -o conftest ... ... configure:34626: $? = 0 configure:34626: ./conftest ================================================================= ==29007==ERROR: LeakSanitizer: detected memory leaks Direct leak of 6 byte(s) in 1 object(s) allocated from: #0 0x7fa5c95dd9aa in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa) #1 0x7fa5c8995578 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4f578) SUMMARY: AddressSanitizer: 6 byte(s) leaked in 1 allocation(s). configure:34626: $? = 23 configure: program exited with status 23 ... configure:34649: result: no configure:34699: error: GTK+ 3 is not available ... This system is running 64-bit Ubuntu Linux 15.10 with GCC 5.2.1 compiler. The glib-2-0.m4 leak, and the gtk-3.0.m4 leak are fixed by updating "glib-2.0.m4" to the latest upstream version. Whitespace errors are fixed locally to keep the BuildBot happy. Change-Id: I01a5f4c494a59ae6d0ee19cd2611fab163ebf9b4 Reviewed-on: https://code.wireshark.org/review/11283 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'diameter')
0 files changed, 0 insertions, 0 deletions