You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current method for producing static builds is to patch distutils in order to capture object files (.o or .obj) before they are linked. This allows us to easily supplement the final set of linked objects with ones providing symbols for extensions.
This approach is currently broken on Cython because we don't have a mechanism to peer into Cython and obtain the list of object files it produces. This can result in build/link time or possibly even run-time failures due to missing symbols.
#107, #169, #171, #215, #339, and possibly other issues have exposure to this shortcoming.
The text was updated successfully, but these errors were encountered:
Hey @indygreg
I believe that a more generic solution like wrapping CC to hijack built object files will work better instead of relying on distutils hacks, and will also catch cython objs.
Our current method for producing static builds is to patch
distutils
in order to capture object files (.o
or.obj
) before they are linked. This allows us to easily supplement the final set of linked objects with ones providing symbols for extensions.This approach is currently broken on Cython because we don't have a mechanism to peer into Cython and obtain the list of object files it produces. This can result in build/link time or possibly even run-time failures due to missing symbols.
#107, #169, #171, #215, #339, and possibly other issues have exposure to this shortcoming.
The text was updated successfully, but these errors were encountered: