This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU gsasl".
http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=ae7f9a51b1e18653cf3fd47cf6a4a3c4c617fc5c The branch, master has been updated via ae7f9a51b1e18653cf3fd47cf6a4a3c4c617fc5c (commit) via 0ecc32289759798c80cdb1e5da441624764ffbe4 (commit) via 50f2ddc9bc5ca32d3824e101048e7829f24948c8 (commit) via 0ce5e0d68daa0b952fb6d42ca987e31c696fd7a0 (commit) from 3b564ec1463867b465c0fd7acfb94738cef3fc54 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ae7f9a51b1e18653cf3fd47cf6a4a3c4c617fc5c Author: Simon Josefsson <[email protected]> Date: Tue Jan 12 17:11:13 2010 +0100 Fix dup2 patch. commit 0ecc32289759798c80cdb1e5da441624764ffbe4 Author: Simon Josefsson <[email protected]> Date: Tue Jan 12 17:10:21 2010 +0100 Add workaround for visibility bug. commit 50f2ddc9bc5ca32d3824e101048e7829f24948c8 Author: Simon Josefsson <[email protected]> Date: Tue Jan 12 17:04:26 2010 +0100 Add. commit 0ce5e0d68daa0b952fb6d42ca987e31c696fd7a0 Author: Simon Josefsson <[email protected]> Date: Tue Jan 12 16:54:57 2010 +0100 Add libgsasl valgrind suppressions file. ----------------------------------------------------------------------- Summary of changes: gl/m4/visibility.m4 | 6 +- gl/override/{tests => lib}/dup2.c.diff | 0 gl/override/m4/visibility.m4.diff | 15 +++ lib/gl/m4/visibility.m4 | 6 +- lib/gl/override/m4/visibility.m4.diff | 15 +++ tests/Makefile.am | 4 +- tests/libgsasl.supp | 191 ++++++++++++++++++++++++++++++++ 7 files changed, 234 insertions(+), 3 deletions(-) rename gl/override/{tests => lib}/dup2.c.diff (100%) create mode 100644 gl/override/m4/visibility.m4.diff create mode 100644 lib/gl/override/m4/visibility.m4.diff create mode 100644 tests/libgsasl.supp diff --git a/gl/m4/visibility.m4 b/gl/m4/visibility.m4 index 35a6dc0..06537d6 100644 --- a/gl/m4/visibility.m4 +++ b/gl/m4/visibility.m4 @@ -29,7 +29,11 @@ AC_DEFUN([gl_VISIBILITY], AC_MSG_CHECKING([for simple visibility declarations]) AC_CACHE_VAL([gl_cv_cc_visibility], [ gl_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fvisibility=hidden" + # We use -Werror here because Cygwin/MinGW gives a warning + # 'visibility attribute not supported in this configuration' + # instead of doing what we want. Using -Werror makes gcc fail + # instead, so we detect the problem. + CFLAGS="$CFLAGS -fvisibility=hidden -Werror" AC_TRY_COMPILE( [extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; diff --git a/gl/override/tests/dup2.c.diff b/gl/override/lib/dup2.c.diff similarity index 100% rename from gl/override/tests/dup2.c.diff rename to gl/override/lib/dup2.c.diff diff --git a/gl/override/m4/visibility.m4.diff b/gl/override/m4/visibility.m4.diff new file mode 100644 index 0000000..3e8767b --- /dev/null +++ b/gl/override/m4/visibility.m4.diff @@ -0,0 +1,15 @@ +--- gl/m4/visibility.m4.orig 2010-01-12 17:09:05.000000000 +0100 ++++ gl/m4/visibility.m4 2010-01-12 17:09:24.000000000 +0100 +@@ -29,7 +29,11 @@ + AC_MSG_CHECKING([for simple visibility declarations]) + AC_CACHE_VAL([gl_cv_cc_visibility], [ + gl_save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -fvisibility=hidden" ++ # We use -Werror here because Cygwin/MinGW gives a warning ++ # 'visibility attribute not supported in this configuration' ++ # instead of doing what we want. Using -Werror makes gcc fail ++ # instead, so we detect the problem. ++ CFLAGS="$CFLAGS -fvisibility=hidden -Werror" + AC_TRY_COMPILE( + [extern __attribute__((__visibility__("hidden"))) int hiddenvar; + extern __attribute__((__visibility__("default"))) int exportedvar; diff --git a/lib/gl/m4/visibility.m4 b/lib/gl/m4/visibility.m4 index 35a6dc0..06537d6 100644 --- a/lib/gl/m4/visibility.m4 +++ b/lib/gl/m4/visibility.m4 @@ -29,7 +29,11 @@ AC_DEFUN([gl_VISIBILITY], AC_MSG_CHECKING([for simple visibility declarations]) AC_CACHE_VAL([gl_cv_cc_visibility], [ gl_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -fvisibility=hidden" + # We use -Werror here because Cygwin/MinGW gives a warning + # 'visibility attribute not supported in this configuration' + # instead of doing what we want. Using -Werror makes gcc fail + # instead, so we detect the problem. + CFLAGS="$CFLAGS -fvisibility=hidden -Werror" AC_TRY_COMPILE( [extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; diff --git a/lib/gl/override/m4/visibility.m4.diff b/lib/gl/override/m4/visibility.m4.diff new file mode 100644 index 0000000..f62c003 --- /dev/null +++ b/lib/gl/override/m4/visibility.m4.diff @@ -0,0 +1,15 @@ +--- gl/m4/visibility.m4.orig 2010-01-12 17:10:03.000000000 +0100 ++++ gl/m4/visibility.m4 2010-01-12 17:10:00.000000000 +0100 +@@ -29,7 +29,11 @@ + AC_MSG_CHECKING([for simple visibility declarations]) + AC_CACHE_VAL([gl_cv_cc_visibility], [ + gl_save_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -fvisibility=hidden" ++ # We use -Werror here because Cygwin/MinGW gives a warning ++ # 'visibility attribute not supported in this configuration' ++ # instead of doing what we want. Using -Werror makes gcc fail ++ # instead, so we detect the problem. ++ CFLAGS="$CFLAGS -fvisibility=hidden -Werror" + AC_TRY_COMPILE( + [extern __attribute__((__visibility__("hidden"))) int hiddenvar; + extern __attribute__((__visibility__("default"))) int exportedvar; diff --git a/tests/Makefile.am b/tests/Makefile.am index 9231aee..d48b2b4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon Josefsson # # This file is part of GNU SASL. # @@ -24,6 +24,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \ AM_LDFLAGS = -no-install LDADD = ../lib/src/libgsasl.la ../gl/libgl.la libutils.la +EXTRA_DIST = libgsasl.supp + noinst_LTLIBRARIES = libutils.la libutils_la_SOURCES = utils.h utils.c diff --git a/tests/libgsasl.supp b/tests/libgsasl.supp new file mode 100644 index 0000000..b6af188 --- /dev/null +++ b/tests/libgsasl.supp @@ -0,0 +1,191 @@ +# libgsasl.supp -- Valgrind suppresion file for Libgsasl -*- text -*- +# +# Copyright (C) 2010 Simon Josefsson +# +# This file is part of GNU SASL. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# The simplest way to use this file is to put the following in ~/.valgrindrc: +# --suppressions=/path/to/gsasl/tests/libgsasl.supp +# +# The memory leaks that are hidden here are those from libgcrypt, +# nothing we can do about. + +{ + libgsasl-gcrypt1 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_module_add + fun:pk_register_default + fun:_gcry_pk_init + fun:global_init + fun:_gcry_vcontrol + fun:gcry_control + fun:gc_init + fun:gsasl_init +} + +{ + libgsasl-gcrypt2 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_module_add + fun:md_register_default + fun:_gcry_md_init + fun:global_init + fun:_gcry_vcontrol + fun:gcry_control + fun:gc_init + fun:gsasl_init +} + +{ + libgsasl-gcrypt3 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_module_add + fun:cipher_register_default + fun:_gcry_cipher_init + fun:global_init + fun:_gcry_vcontrol + fun:gcry_control + fun:gc_init + fun:gsasl_init +} + +{ + libgsasl-gcrypt4 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:cram_md5_challenge + fun:_gsasl_cram_md5_server_start + fun:start + fun:gsasl_server_start +} + +{ + libgsasl-gcrypt5 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:cram_md5_challenge + fun:_gsasl_cram_md5_server_start + fun:start + fun:gsasl_server_start +} + +{ + libgsasl-gcrypt6 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:gsasl_nonce + fun:_gsasl_digest_md5_client_start + fun:start + fun:gsasl_client_start + fun:_gsasl_listmech + fun:gsasl_client_mechlist +} + +{ + libgsasl-gcrypt7 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:gsasl_nonce + fun:_gsasl_digest_md5_server_start + fun:start + fun:gsasl_server_start +} + +{ + libgsasl-gcrypt8 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:gsasl_nonce +} + +{ + gsasl-libgcrypt9 + Memcheck:Leak + fun:malloc + fun:_gcry_private_malloc + fun:do_malloc + fun:_gcry_malloc + fun:_gcry_xmalloc + fun:_gcry_xcalloc + fun:initialize + fun:_gcry_rngcsprng_create_nonce + fun:_gcry_create_nonce + fun:gcry_create_nonce + fun:gc_nonce + fun:gsasl_nonce +} hooks/post-receive -- GNU gsasl _______________________________________________ Gsasl-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gsasl-commit
