Bug 5465

Summary: SIGILL in _cairo_pixman_have_mmx ()
Product: cairo Reporter: Stanislav Brabec <utx>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: billy.biggs, sbrabec
Version: 1.0.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stanislav Brabec 2005-12-31 06:11:00 UTC
How to reproduce:
1. Have a K6-3 machine.
2. Invoke GTK+ color selector:
2.1 Run gnome-background-properties
2.2 click to bacground color button

Actual result:
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 1090460000 (LWP 8699)]
0x4074f36e in _cairo_pixman_have_mmx () from /usr/lib/libcairo.so.2

Distribution: SuSE Linux 10.0

Probable reason:
Code is compiled with gcc-4.0 and compiled C code of the check probably contains
unsupported instruction.

Additional note:
Starting with gcc-4.1, it is not possible to compile MMX assembly instructions
without -mmmx. It is recommended to compile C and assembly parts in separate
source file.

See also automake.info:"Per-Object Flags Emulation"

Related bug in SuSE gcc4 patch for GIMP:
https://bugzilla.novell.com/show_bug.cgi?id=133813
Comment 1 Billy Biggs 2005-12-31 09:52:32 UTC
This was fixed for cairo 1.0.2.  Please re-open bug 4414 if there are problems
with 1.0.2 or newer.

*** This bug has been marked as a duplicate of 4414 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.