[Pixman] Test suite failures on 32-bit x86?

Siarhei Siamashka siarhei.siamashka at gmail.com
Thu Nov 14 23:22:33 PST 2013

On Wed, 13 Nov 2013 01:28:53 +0100
sandmann at cs.au.dk (Søren Sandmann) wrote:

> Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:
> > git bisect blames the commit "utils.c: On x86-32 unalign the stack
> > before calling test_function":
> >
> >     http://cgit.freedesktop.org/pixman/commit/?id=3dce229772354877ef29
> >
> > (with gcc 4.7.2 and using export CFLAGS="-O2 -m32" before configure)
> Interesting. I can't reproduce this with the standard compiler on Fedora
> 17 (which is also a gcc 4.7.2). Back when the PRNG was added, there was
> some crash that only happened with a Fedora GCC, but not the Gentoo
> one. I forget what the difference was though.

This indeed seems to be GCC configuration dependent. Rebuilding GCC
(now 4.7.3) without Gentoo patches resolves everything but the
matrix-test, which fails in:

0x080dfe2c in __floatditf ()
   0x080dfe28 <+360>:	mov    0x50(%esp),%eax
=> 0x080dfe2c <+364>:	movdqa 0x20(%esp),%xmm0
   0x080dfe32 <+370>:	movdqa %xmm0,(%eax)
   0x080dfe36 <+374>:	add    $0x40,%esp

But this might be because GCC was still built in a configuration targeting
SSE2 processors by default. A bit more tests are necessary, but I did
not have time to run them yet.

Best regards,
Siarhei Siamashka

More information about the Pixman mailing list