Bug 621439 - xapian-core includes SSE instructions
Summary: xapian-core includes SSE instructions
Alias: None
Product: Fedora
Classification: Fedora
Component: xapian-core   
(Show other bugs)
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-05 04:06 UTC by Daniel Drake
Modified: 2010-08-05 17:45 UTC (History)
2 users (show)

Fixed In Version: xapian-core-1.2.2-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-05 06:29:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Daniel Drake 2010-08-05 04:06:28 UTC
xapian-core-1.2.2 includes SSE + SSE2 instructions by default, if being built on x86 by gcc. (very questionable, IMO)

Some processors supported by Fedora do not support SSE instructions, such as the Geode LX in the OLPC XO-1.

Any program that uses libxapian on this system will crash with SIGILL. Makes sugar unusable.

Solution: change spec file to add --disable-sse configure argument, bringing this package in line with the rest of the world.

%configure --disable-static --disable-sse

Comment 1 Peter Robinson 2010-08-05 06:33:10 UTC
built for rawhide and F-14 which are the only releases that ship 1.2

Comment 2 Adel Gadllah 2010-08-05 17:41:25 UTC
(In reply to comment #1)
> built for rawhide and F-14 which are the only releases that ship 1.2    

This is a wrong solution, there is *no* reason not to enable it on x86_64 as it is part of the x86_64 abi .. IOW SSE2/SSE is *always* present on x86_64.

So I have reenabled it for x86_64, as it makes no sense to disable it there.

Comment 3 Daniel Drake 2010-08-05 17:45:28 UTC
I don't think thats correct. As badly as it is named, --disable-sse should also be used on x86_64.

SSE and SSE2 *will* be used in this case, due to the global -march= settings used for all packages in Fedora.

Note You need to log in before you can comment on or make changes to this bug.