[libcxx] [PATCH] Fix static no-rtti build

Alexey Samsonov samsonov at google.com
Mon Feb 25 07:34:07 PST 2013


Hi Howard!

Re-sending a patch, that #ifdefs out undefined function in static build of
libc++ w/o RTTI.
This helps with errors of the form:
(libc++.a.memory.cpp.o):/tmp/tmp.boBpS5zFqt/libcxx/src/memory.cpp:function
vtable for std::__1::__shared_weak_count: error: undefined reference to
'std::__1::__shared_weak_count::__get_deleter(std::type_info const&) const'

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130225/87c1d3ed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zdiff.patch_static
Type: application/octet-stream
Size: 1472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130225/87c1d3ed/attachment.obj>


More information about the cfe-commits mailing list