<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvm symbols leak through, cause trouble with software rendering in llvm-linked software"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93103#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - llvm symbols leak through, cause trouble with software rendering in llvm-linked software"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93103">bug 93103</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to Jose Fonseca from <a href="show_bug.cgi?id=93103#c9">comment #9</a>)
<span class="quote">> $ nm -CD --defined-only /usr/lib/x86_64-linux-gnu/libLLVM-3.6.so.1
>
> shows lot of them.
> </span >
I have the very vague memory that older versions of LLVM exported internal
symbols as well. Perhaps this bug is related to that defect ?
<span class="quote">> So when
> distro decided to use a shared LLVM for the opengl drivers to save a few
> bytes, they basically gave the finger to everybody who needs to use bleeding
> edge LLVM and OpenGL...
> </span >
Not much we can do there I'm afraid. Distros have their policies and we have
the config switch for people to go the route they like.
<span class="quote">>
> (In reply to Emil Velikov from <a href="show_bug.cgi?id=93103#c3">comment #3</a>)
> > > In addition to that, we probably also need to use a LD version script to
> > > ensure that LLVM symbols don't pop in the dynamic symbol table.
> > We have those for a while.
>
> I'm not sure it helps if the problem is is
> /usr/lib/x86_64-linux-gnu/libLLVM-3.4.so.1 . The only solution is if the
> system libLLVM-X.X.so an unique symbol version/namespace, or maybe the
> RTLD_LOCAL as you mentioned.</span >
>
Michel mentioned that llvm 3.6 has versioned symbols, although I cannot see any
tag in my Archlinux cmake llvm 3.7 build. I do see a very nasty looking RPATH
though - $ORIGIN/../lib ... ouch.
<span class="quote">> > Atm only the autotools build uses them (hint hint
> > scons).
>
> Sure. I'll look into it.</span >
Thank you !</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>