GnuTLS regression test failing on OpenBSD/sparc64

Landry Breuil gaston at gcu.info
Thu Oct 23 21:04:35 CEST 2008


On Thu, Oct 23, 2008 at 08:27:29PM +0200, Simon Josefsson wrote:
> Landry Breuil <gaston at gcu.info> writes:
> 
> > On Wed, Oct 22, 2008 at 05:04:48PM +0200, Simon Josefsson wrote:
> >> Landry Breuil <gaston at gcu.info> writes:
> >> 
> >> > Hi,
> >> >
> >> > after working on an update to latest libgcrypt, i'm in the process of
> >> > updating GnuTLS in OpenBSD's ports-tree. It's currently building fine on
> >> > sparc64, but i got an error in regression suite.
> >> 
> >> Hi.  Thanks for working on this.
> >> 
> >> > Bus error (core dumped)
> >> > FAIL: rsa-md5-collision
> >> > ===================================
> >> > 1 of 1 tests failed
> >> > Please report to bug-gnutls at gnu.org
> >> > ===================================
> >> >
> >> > certtool is crashing badly due to symbol conflicts:
> >> > WARNING: symbol(dig) size mismatch, relink your program
> >> > /usr/obj/ports/gnutls-2.6.0/gnutls-2.6.0/src/.libs/certtool : WARNING:
> >> > symbol(dig) size mismatch, relink your program
> >> >
> >> > The attached patch fixes the issue by avoiding name conflicts between
> >> > two different variables of the same name and different types.
> >> 
> >> This has been fixed on the trunk in a better way, see:
> >> 
> >> http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=8080538ff60efe605727401bf37f270112703f46
> >
> > Hm, sorry but it seems not fixed for me.. i cherry picked you patch and
> > still get the failing test here on amd64:
> >
> > /usr/obj/ports/gnutls-2.6.0/gnutls-2.6.0/src/.libs/certtool : WARNING:
> > symbol(dig) size mismatch, relink your program
> > Segmentation fault (core dumped) 
> > FAIL: rsa-md5-collision
> 
> Did you recompile fipsmd5.c and re-link libgnutls-extra?

Indeeed.. my bad, i ran make clean, but forgot that there was an
installed version of it. With a clean system it's okay now with your
patch.

Thanks,
Landry





More information about the Gnutls-devel mailing list