[Xapian-tickets] [Xapian] #492: -mtune=generic is not valid with g++ 3.4.3

Xapian nobody at xapian.org
Thu Jul 1 23:39:42 BST 2010


#492: -mtune=generic is not valid with g++ 3.4.3
--------------------------+-------------------------------------------------
 Reporter:  paulp         |       Owner:  olly   
     Type:  defect        |      Status:  new    
 Priority:  normal        |   Milestone:         
Component:  Build system  |     Version:  1.2.2  
 Severity:  trivial       |    Keywords:         
Blockedby:                |    Platform:  Solaris
 Blocking:                |  
--------------------------+-------------------------------------------------
 With #487

 AM_CXXFLAGS="$AM_CXXFLAGS -mfpmath=sse -msse2 -mtune=generic"

 is set for i386 with SSE in the configure script. But at least for

 g++ (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

 on my

 SunOS sun 5.10 Generic_142901-13 i86pc i386 i86pc

 this is not valid:

 error: bad value (generic) for -mtune= switch

 The man page provided with the OS supplied g++ lists many specific cpus
 but no "generic".

 Everything seems to work when I edit the Makefile to use a specific cpu-
 type or without the -mtune option.

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



More information about the Xapian-tickets mailing list