[Xapian-tickets] [Xapian] #283: Automated coverage testing

Xapian nobody at xapian.org
Thu Oct 16 00:23:40 BST 2008


#283: Automated coverage testing
------------------------+---------------------------------------------------
 Reporter:  olly        |        Owner:  richard
     Type:  task        |       Status:  new    
 Priority:  normal      |    Milestone:         
Component:  Test Suite  |      Version:         
 Severity:  normal      |   Resolution:         
 Keywords:              |    Blockedby:         
 Platform:  other       |     Blocking:         
------------------------+---------------------------------------------------

Comment(by olly):

 OK, I gave this a go on atreus, and it failed:

 {{{
 mkdir xapian-coverage
 cd xapian-coverage
 svn co file:///home/xapian-svn/xapian/trunk xapian
 cd xapian
 ./bootstrap
 cd xapian-core
 ./configure CXXFLAGS='-O0 -fprofile-arcs -ftest-coverage' --enable-quiet
 --enable-maintainer-mode --disable-visibility
 make
 }}}

 I used {{{--disable-visibility}}} hoping it would fix the error I got, but
 it doesn't help.
 The relevant part of the output is:

 {{{
 /bin/sh ./libtool --quiet --tag=CXX   --mode=link g++ -Wall -W
 -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
 -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Werror -O0
 -fprofile-arcs -ftest-coverage   -o bin/xapian-check bin/bin_xapian_check-
 xapian-check.o bin/bin_xapian_check-xapian-check-flint.o  libchertcheck.la
 libflintcheck.la libxapian.la
 /usr/bin/ld: bin/.libs/xapian-check: hidden symbol `atexit' in
 /usr/lib/libc_nonshared.a(atexit.oS) is referenced by DSO
 /usr/bin/ld: final link failed: Nonrepresentable section on output
 collect2: ld returned 1 exit status
 make[2]: *** [bin/xapian-check] Error 1
 }}}

 Google finds a thread with this error in, but it seems unrelated to what
 we're doing here...

 I also tried with {{{-O1}}} and that doesn't seem to help.

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



More information about the Xapian-tickets mailing list