Your message dated Tue, 27 Sep 2011 01:20:47 +0200
with message-id <[email protected]>
and subject line Re: Bug#555583: FTBFS with binutils-gold
has caused the Debian Bug report #555583,
regarding FTBFS with binutils-gold
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
555583: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555583
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: maildir-utils
Version: 0.4-3
Severity: minor
User: [email protected]
Usertags: no-add-needed
Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.
Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking to a program.
If you have C++ you must link with g++ to resolve those symbols (maybe
-lstdc++ also works, but you must check the standard for that).
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -Wall -O2 -o
test-index test-index.o -lglib-2.0 ../../index/libmuindex.la
libtool: link: gcc -g -Wall -O2 -o test-index test-index.o
../../index/.libs/libmuindex.a /usr/lib/libsqlite3.so -lpthread -ldl
/usr/lib/libxapian.so /usr/lib/libgmime-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libgthread-2.0.so -lrt -lz -lnsl /usr/lib/libgobject-2.0.so
/usr/lib/libglib-2.0.so
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_begin(_MuStorageXapian*):mu-storage-xapian.cc:136: error: undefined
reference to '__cxa_begin_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_begin(_MuStorageXapian*):mu-storage-xapian.cc:136: error: undefined
reference to '__cxa_end_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_begin(_MuStorageXapian*):mu-storage-xapian.cc:132: error: undefined
reference to '__cxa_begin_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_begin(_MuStorageXapian*):mu-storage-xapian.cc:136: error: undefined
reference to '__cxa_end_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_commit(_MuStorageXapian*):mu-storage-xapian.cc:164: error:
undefined reference to '__cxa_begin_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_commit(_MuStorageXapian*):mu-storage-xapian.cc:164: error:
undefined reference to '__cxa_end_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_commit(_MuStorageXapian*):mu-storage-xapian.cc:160: error:
undefined reference to '__cxa_begin_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
transaction_commit(_MuStorageXapian*):mu-storage-xapian.cc:164: error:
undefined reference to '__cxa_end_catch'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:mu-storage-xapian.cc:294: error: undefined reference
to 'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:mu-storage-xapian.cc:294: error: undefined reference
to 'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:/usr/include/c++/4.3/bits/basic_string.h:184: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:/usr/include/c++/4.3/bits/basic_string.h:236: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:/usr/include/c++/4.3/bits/basic_string.h:236: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:mu-storage-xapian.cc:294: error: undefined reference
to 'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_cleanup:mu-storage-xapian.cc:294: error: undefined reference
to 'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:mu-storage-xapian.cc:52: error: undefined reference to
'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:mu-storage-xapian.cc:52: error: undefined reference to
'operator new(unsigned long)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:/usr/include/c++/4.3/bits/basic_string.h:232: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:/usr/include/c++/4.3/bits/basic_string.h:236: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:mu-storage-xapian.cc:52: error: undefined reference to
'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_new:mu-storage-xapian.cc:52: error: undefined reference to
'operator delete(void*)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
index_if_not_null(Xapian::TermGenerator&, char
const*):mu-storage-xapian.cc:205: error: undefined reference to
'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
index_if_not_null(Xapian::TermGenerator&, char
const*):/usr/include/c++/4.3/bits/basic_string.h:184: error: undefined
reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
index_if_not_null(Xapian::TermGenerator&, char
const*):/usr/include/c++/4.3/bits/basic_string.h:236: error: undefined
reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
index_if_not_null(Xapian::TermGenerator&, char
const*):mu-storage-xapian.cc:205: error: undefined reference to
'std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
mu_storage_xapian_store:/usr/include/c++/4.3/bits/basic_string.h:232: error:
undefined reference to 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
typeinfo for
Xapian::Error:mu-storage-xapian.cc(.data.rel.ro._ZTIN6Xapian5ErrorE+0x0):
error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld: ../../index/.libs/libmuindex.a(mu-storage-xapian.o): in function
DW.ref.__gxx_personality_v0:mu-storage-xapian.cc(.data.DW.ref.__gxx_personality_v0+0x0):
error: undefined reference to '__gxx_personality_v0'
collect2: ld returned 1 exit status
make[5]: *** [test-index] Error 1
--- End Message ---
--- Begin Message ---
Version: 0.9.7-1
* Peter Fritzsche <[email protected]>, 2009-11-10, 10:58:
Tried to build your package and it fails to build with GNU
binutils-gold. The important difference is that --no-add-needed is the
default behavior of of GNU binutils-gold.
The version in unstable can be built successfully with binutils-gold.
--
Jakub Wilk
--- End Message ---