[Xapian-tickets] [Xapian] #88: Python tests fails with a core dump when xapian available as a module and compile with Sun cc

Xapian nobody at xapian.org
Fri Jun 27 08:56:29 BST 2008


#88: Python tests fails with a core dump when xapian available as a module and
compile with Sun cc
-----------------------------+----------------------------------------------
 Reporter:  aug04acc         |        Owner:  olly      
     Type:  defect           |       Status:  closed    
 Priority:  high             |    Milestone:            
Component:  Xapian-bindings  |      Version:  0.9.6     
 Severity:  normal           |   Resolution:  incomplete
 Keywords:                   |    Blockedby:            
 Platform:  Solaris          |     Blocking:            
-----------------------------+----------------------------------------------

Comment(by afloe08):

 This was the feedback given in April 2008 to the status of the reported
 problem.

 The problem is fixed indeed with version 1.0.6. Still '-lm' has to be
 added,
 as you mention. This is easily added, but to a rushing user it is an extra
 burdon.

 I compiled the sources on Solaris 9 with Sun Studio 12. This might has
 helped
 too, since Sun claims that Sun Studio 12 is more gcc compliant. Since I do
 not have the knowledge I really can't tell. Basically the compilation is
 now

 PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin; export PATH
 CC=cc; export CC
 CXX=CC; export CXX
 LDFLAGS="%_ldflags -lm"; export LDFLAGS

 ./configure --prefix=%{_prefix}                 \
             --bindir=%{_bindir}                 \
             --libdir=%{_libdir}                 \
             --sysconfdir=%{_sysconfdir}         \
             --includedir=%{_includedir}         \
             --mandir=%{_mandir}                 \
             --infodir=%{_infodir}               \
             --disable-static                    \
             --docdir=%{_docdir}/%{name}/        \
             --without-gcc                       \
             --enable-shared
 make

 Details you can find in the attach two .spec files which I have used on
 Solaris to build the Solaris packages for xapian-core and xapian-bindings.
 I
 used pkgbuild, which is a tool developed and used for the JDK on
 OpenSolaris.
 Pkgbuild takes an RPM spec file and produces a Solaris Sys V package,
 which
 is quite handy.

-- 
Ticket URL: <http://trac.xapian.org/ticket/88#comment:12>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list