http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47952
--- Comment #11 from Patrick Marlier <patrick.marlier at gmail dot com> 2011-03-10 04:31:30 UTC --- This issue has been filled here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48021 There is also a reduced testcase. (If I remember well the namespace std matters). Patrick. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48021> On Thu, Mar 10, 2011 at 12:01 AM, rth at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47952 > > --- Comment #10 from Richard Henderson <rth at gcc dot gnu.org> 2011-03-09 > 23:01:38 UTC --- > The remaining problem in the full glob2 test is > > > src/Unit.o: In function `transaction clone for Unit::~Unit()': > Unit.cpp:(.text._ZGTtN4UnitD2Ev[transaction clone for Unit::~Unit()]+0x2c): > undefined reference to `transaction clone for std::basic_string<char, > std::char_traits<char>, std::allocator<char> >::~basic_string()' > collect2: ld returned 1 exit status > > > which really really doesn't exist. No amount of marking this > function weak is going to work. > > I suspect, but have not yet verified, that this is related to > > > // Inhibit implicit instantiations for required instantiations, > // which are defined via explicit instantiations elsewhere. > // NB: This syntax is a GNU extension. > #if _GLIBCXX_EXTERN_TEMPLATE > 0 > extern template class basic_string<char>; > > > in that we're copying the "is extern" bit, which is not true for > the transactional clone. > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >