http://llvm.org/bugs/show_bug.cgi?id=10249

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from [email protected] 2011-07-02 16:25:20 CDT ---
Well, it seems that I compiled libc++ with an older version of clang, r133996
to be precise. That resulted in the following symbol in libc++.1.dylib (for
string::append(ForwardIterator, ForwardIterator)):

__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsrNS_21__is_forward_iteratorIT_EE5valueERS5_E4typeESA_SA_


Now, clang r134322 mangles this as (note the missing "NS" after "ifXsr" and the
differing suffix):

__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_


This, of course, resulted in a linker error. And I misread the explicit
instanciation of methods in string.cpp for declarations.

The reason for the change in name mangling seems to be revision 134227:
http://llvm.org/viewvc/llvm-project?view=rev&revision=134227

So, all-clear for libc++. I'm sorry for the noise, and I hope I did not cause
too much work for all involved!

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to