<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I don't know the answer but you might try adding<br>
<blockquote>-fPIC -ftls-model=global-dynamic<br>
</blockquote>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS vars when build PV and your
plugin.<br>
<br>
<div class="moz-cite-prefix">On 03/27/2015 09:36 AM, Kit Chambers
wrote:<br>
</div>
<blockquote
cite="mid:CA+sJ3g5OfZEzXm5=Cii-u_Y3K55iQ8H7mfhVjFQ_2sdyg-kG5w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi All,<br>
</div>
<div><br>
</div>
<div>I have a ParaView plugin which in turn links against a
couple of other shared libraries, these in turn use OpenMP for
threading. After a recent re-build I get the following error
when the plugin is loaded.</div>
<div><br>
</div>
<div>
<div>dlopen: cannot load anymore object with static TLS</div>
</div>
<div><br>
</div>
<div>However, if I compile the supporting libraries without
OpenMP it works fine. </div>
<div><br>
</div>
<div>Has anyone else come across this? </div>
<div><br>
</div>
<div>My system is:</div>
<div>Ubuntu 14.04 - (64bit)</div>
<div>kernel = 3.13.0-46-generic<br>
</div>
<div>ParaView Version = 4.2</div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Kit</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>