self-check failure
Stef Walter
stefw at gnome.org
Mon Mar 19 10:31:34 PDT 2012
On 2012-03-09 15:06, Simon Josefsson wrote:
> Stef Walter<stefw at gnome.org> writes:
>
>> On 2012-03-09 14:46, Simon Josefsson wrote:
>>> Thanks for 0.12. :-) However I got a self-test failure when running
>>> 'make check':
>>>
>>> make[2]: Entering directory `/home/jas/src/p11-kit-0.12/tests'
>>> 0x402f57 setting
>>> ....F........
>>>
>>> There was 1 failure:
>>> 1) test_set_clear: hash-test.c:182: should be null
>>
>> Which version of GCC are you using?
>
> This is a pretty vanilla Debian Squeeze amd64 system.
I installed Debian Squeeze to reproduce this. I've seen a similar
problem before. It looks like a gcc optimization bug. If you configure
like so:
CFLAGS='-O0' ./configure
then the problem does not occur.
In your opinion what should we do? I have a hard time distilling this
into a test case to send to the gcc development guys. When I make
changes, the issue dissappears.
Previously I think we saw the issue with gcc 4.6.1. I made trivial
changes [1] to suppress the issue with that gcc release. I thought it
was specific to that point release. However it appears that the problem
is more widespread :(
Cheers,
Stef
[1] p11-kit commit 2da833b0ca9539c12745d2f9fef1e7be7c7792dc
More information about the p11-glue
mailing list