-
Notifications
You must be signed in to change notification settings - Fork 126
Allow opting out of RTLD_GLOBAL #954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Set IECORE_FORCE_GLOBAL_SYMBOLS to force it on. Note we're adding this for backwards compatibility during a limited testing phase at IE. We anticipate removing it entirely once proven safe.
Looks like Travis doesn't run for draft PRs - could you un-draft it? |
I might have to force push something to kick Travis into gear |
We still need to use RTLD_GLOBAL when importing imath to avoid the following error: `TypeError: No to_python (by-value) converter found for C++ type: Imath_2_2::Vec2<float>`
It looks like Travis is fine, so I guess its down to some difference between the IE build of pyilmbase and the GafferHQ/dependencies build of the same? Adding c0f860e is enough to get |
Although, just launching gaffer at IE now gives me this complaint:
which comes from an IE node which uses
Maybe we've just unmasked a problem with our symbol exports in IECoreVDB |
That seems the most likely at this point, although I looked at the GafferHQ build script and it all seems pretty vanilla. |
|
Could it be as simple as needing to link |
Good call, I bet thats missing from the SConstruct |
|
It looks like the houdini failure might be accurate....
Of the 3 enums declared in IndexedIO.h, it seems 2 of them ( |
Hmm, this comment implies maybe we do need c0f860e and we don't know why Travis isn't complaining about it? |
Closing in favor of #1127 |
Following up on #810, I've added an environment variable to enable/disable
RTLD_GLOBAL
while importing the IECore python module and loading the IECoreMaya/IECoreHoudini c++ plugins.Note I'm putting this up as a draft, in case anyone else wants to test it. Its not currently working at IE, the tests fail immediately as mentioned in #810, and interactive use is similar (though a slightly different error in each app).