[Xapian-tickets] [Xapian] #487: ordecay1 fails on i386 architecture

Xapian nobody at xapian.org
Mon Jun 7 20:37:16 BST 2010


#487: ordecay1 fails on i386 architecture
---------------------+------------------------------------------------------
 Reporter:  richard  |       Owner:  olly     
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  1.2.1    
Component:  Other    |     Version:  SVN trunk
 Severity:  normal   |   Blockedby:           
 Platform:  All      |    Blocking:           
---------------------+------------------------------------------------------
 Currently, test ordecay1 fails on an i386 box as follows:

 {{{
 Running test: ordecay1... FAILED
 docids differ at item 22 in range: 44 != 31
 }}}

 If I recompile with {{{CXXFLAGS="-mfpmath=sse -msse"}}}, the test passes,
 so I'm pretty sure this is triggered (or at least exacerbated) by i386
 excess precision.  It also seems that the matcher is a bit faster with
 this option (I measured 6% faster, but that was in a situation which is
 probably close to optimal for showing the difference).

 Configure should probably enable the appropriate option to CXXFLAGS on
 i386 architectures by default.  The debian packages will then need to
 build a separate library for actual 486 processors, so there may need to
 be a configure flag to override this.

 This is certainly a problem with trunk, and will also be a problem with
 the 1.0 branch if ordecay1 has been backported there.

-- 
Ticket URL: <http://trac.xapian.org/ticket/487>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list