<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 14, 2014 at 6:15 AM Joerg Sonnenberger <<a href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jun 13, 2014 at 08:34:03PM +0200, Akim Demaille wrote:<br>
><br>
> Le 5 juin 2014 à 00:32, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>> a écrit :<br>
><br>
> > I think the difference is actually in the c++ library. It looks like<br>
> > libstdc++ changed to always use strcmp of the typeinfo names:<br>
> ><br>
> > <a href="https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=149964" rel="noreferrer" target="_blank">https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=149964</a><br>
> ><br>
> > Should we do the same with libc++?<br>
><br>
> What do people think about this issue?<br>
<br>
As I wrote earlier, the GCC change is plainly wrong and libc++ works<br>
exactly as intended.<br>
<br></blockquote><div><br></div><div>I ran into this problem when trying to move a big proprietary code base to use libc++ on ubuntu linux. It took me a few days until I found this mail thread.  I have not yet found a proper way to work-around this difference in behavior between libstdc++ and libc++. </div><div><br></div><div>My code base depends on a lot of third party libraries and patching those with visibility-attributes is beyond the scope of what I can do.</div><div><br></div><div>Are there any other options for making libc++ work on linux when using -fvisibility=hidden?</div><div><br></div><div>I'm building llvm/clang/libc++ from head-of-tree.</div><div><br></div><div>/J</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Joerg<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div></div>