[Xapian-tickets] [Xapian] #403: Could not find a match for std::vector<unsigned>::assign since 1.0.12
Xapian
nobody at xapian.org
Fri Sep 18 12:39:28 BST 2009
#403: Could not find a match for std::vector<unsigned>::assign since 1.0.12
------------------------+---------------------------------------------------
Reporter: dmichelsen | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.3
Component: Other | Version: 1.0.12
Severity: blocker | Keywords:
Blockedby: | Platform: Solaris
Blocking: |
------------------------+---------------------------------------------------
Comment(by dmichelsen):
Regarding your questions:
* Compilation with GCC4 results in this error:
{{{
gmake[4]: Entering directory `/home/dam/mgar/pkg/xapian/trunk/work/build-
isa-sparcv8/xapian-core-1.0.12'
/bin/bash ./libtool --tag=CXX --mode=link /opt/csw/gcc4/bin/g++ -Wall
-W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-
long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Winit-self
-Wstrict-overflow=1 -fvisibility=hidden -O2 -pipe -mcpu=v8
-I/opt/csw/include -L/opt/csw/gcc4/lib/. -mcpu=v8 -lm -L/opt/csw/lib -o
bin/quartzcheck bin/bin_quartzcheck-quartzcheck.o libquartzcheck.la
libxapian.la
/opt/csw/gcc4/bin/g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-
qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords
-Wundef -Wshadow -Winit-self -Wstrict-overflow=1 -fvisibility=hidden -O2
-pipe -mcpu=v8 -I/opt/csw/include -mcpu=v8 -o bin/.libs/quartzcheck bin
/bin_quartzcheck-quartzcheck.o -L/opt/csw/gcc4/lib/. -L/opt/csw/lib
./.libs/libquartzcheck.a -lm ./.libs/libxapian.so -lrt -lz -lnsl -lsocket
/opt/csw/gcc4/lib/libstdc++.so -Wl,-R -Wl,/opt/csw/lib -Wl,-R
-Wl,/opt/csw/gcc4/lib
ld: warning: file /opt/csw/gcc4/lib/./libstdc++.so: linked to
/opt/csw/gcc4/lib/libstdc++.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
__sync_fetch_and_add_4 bin/bin_quartzcheck-quartzcheck.o
ld: fatal: Symbol referencing errors. No output written to
bin/.libs/quartzcheck
}}}
The compilation is done with
{{{
CSWgcc4g++ gcc4g++ - GNU C++ Compiler
(sparc) 4.3.3,REV=2009.05.07
}}}
* Yes, 1.0.12 is the earliest failed. 1.0.11 compiles fine with Sun
Studio 11. And 1.0.16 has the same behaviour as 1.0.12.
--
Ticket URL: <http://trac.xapian.org/ticket/403#comment:2>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list