Bug 5465 - SIGILL in _cairo_pixman_have_mmx ()
Summary: SIGILL in _cairo_pixman_have_mmx ()
Status: RESOLVED DUPLICATE of bug 4414
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 06:11 UTC by Stanislav Brabec
Modified: 2005-12-30 14:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.