Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2004 23:13:36 +0200
From:      "Henno Schooljan" <freebsd@schooljan.nl>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: key_verify failed for server_host_key solution
Message-ID:  <001a01c4849f$0f353bf0$6400a8c0@cartman>
References:  <20040817185537.GA6694@root.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

> The culprit turns out to be a problem in libcrypto that is tickled
> by too aggressive optimization settings.
>
> When building 4.10, my make.conf included:
>
>  CFLAGS= -O -pipe -funroll-loops -ffast-math
>  COPTFLAGS= -O -pipe -funroll-loops -ffast-math
>
> By removing both the unroll-loops and fast-math optimizations,
> and rebuilding libcrypto, the problem disappears.

I had the same issue. I had this in my make.conf when it went wrong:

CFLAGS= -O2 -pipe -funroll-loops

and this solved the problem:

CFLAGS= -O -pipe

So I suspect the unroll loops option to be the cause. I guess I could 
rebuild with -O2 again without -funroll-loops to prove it...

regards,

Henno 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01c4849f$0f353bf0$6400a8c0>