-
Notifications
You must be signed in to change notification settings - Fork 202
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
[EMSUSD-958] CXX ABI detection is broken #3560
Comments
Ah sorry about that. We are missing the nm flag |
I haven't tested but I am not sure it will. findVariableReplacement is not a dynamic symbol. |
I ran the |
|
Perfect that is expected. So for Maya 2024 it will detect that it was built with the new cxx ABI and build MayaUsd with the appropriate flag. Sean |
Sure, but won't 2022 (and 2023) be indecisive? I.e. the check could just as well be But if it is expected that maya < 2024 is never built with the new ABI it is fine :) |
I guess what I am saying is that if a hypothetical, future Maya 2022.6 is built with the new abi, the nm output would still be empty and the detection would wrongfully assume that it should use the old abi. If the new abi is never used for versions < 2024 then this is not a problem. |
Yes that is true, because the function Sean |
@abbec is it ok to close this issue now? |
Yep, thanks :) |
Describe the bug
When detecting the CXX abi in
FindMaya.cmake
, the code uses libFoundation, which in the shipped version of Maya, has symbols stripped.This causes maya-usd against Maya2024 to be incorrectly built using the old cxx abi (since it falls back to the old abi by default).
The error in the code is here since the expectation that
libFoundation.so
contains symbols is not true.Steps to reproduce
Expected behavior
Maya 2024 is detected to be using the new ABI and 2022 is detected to use the old ABI.
The text was updated successfully, but these errors were encountered: