[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651595: marked as done (gcc-4.6: miscompiles p11-kit 0.9 testsuite on i386)



Your message dated Fri, 6 Jan 2012 09:03:31 +0100
with message-id <20120106080331.GB1982@downhill.g.la>
and subject line Re: Bug#651595: gcc-4.6: miscompiles p11-kit 0.9 testsuite on i386
has caused the Debian Bug report #651595,
regarding gcc-4.6: miscompiles p11-kit 0.9 testsuite on i386
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
651595: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651595
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.6
Version: 4.6.2-6
Severity: normal

Hello,

on all i386 archs (linux, kfreebsd and GNU/hurd) p11-kit 0.9 showed a
testsuite error:

| 1) test__p11_hash_set_get_clear: hash-test.c:183: should be null

All other archs are fine. git bisect found this
http://cgit.freedesktop.org/p11-glue/p11-kit/commit/?id=969bcab592878322e410f4342a61fccc06b9addd
as triggering change. - The change only removes some unused code.

Rebuilding tests/hash-test.o with -O0 fixes the issue. The minimal
change is to set __attribute__((optimize("O0"))) on
CuFailInternal().

Both gcc-4.5 and gcc-snapshot 20111203-1 show the same behavior.

cu andreas



--- End Message ---
--- Begin Message ---
On 2011-12-10 Andreas Metzler <ametzler@downhill.at.eu.org> wrote:
[...]
> Hello,

> on all i386 archs (linux, kfreebsd and GNU/hurd) p11-kit 0.9 showed a
> testsuite error:

> | 1) test__p11_hash_set_get_clear: hash-test.c:183: should be null

> All other archs are fine. git bisect found this
> http://cgit.freedesktop.org/p11-glue/p11-kit/commit/?id=969bcab592878322e410f4342a61fccc06b9addd
> as triggering change. - The change only removes some unused code.

> Rebuilding tests/hash-test.o with -O0 fixes the issue. The minimal
> change is to set __attribute__((optimize("O0"))) on
> CuFailInternal().

Hello,

I am closing the bug report. p11-kit 0.10 does not trigger the issue
anymore. I am also not sure whether this was a gcc bug at all, p11-kit
was #including .c files, allowing gcc to do some unexpected
optimizations.

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--- End Message ---

Reply to: