deployment issue in CoreGraphics
With a python framework with DEPLOYMENT_TARGET 10.5, if I build pyobjc on a 10.8 machine and then deploy an application to a 10.5 machine the application fails to load properly because Quartz.CoreGraphics._coregraphics cannot be loaded due to a link error for CGBitmapContextCreateWithData.
That symbol is available starting OSX 10.8, and hence not on 10.5. However, the symbol should have been weak-linked but isn't.
Current workaround: just patch _coregraphics to exclude the symbol. That is suboptimal and a better fix needs to be found.
Comments (4)
-
-
changeset 59ad033b5924 (pyobjc-2.5.x) and 429f9e1aa333 (default) contain a workaround for this problem.
A future release will contain a generic mechanism that will be used to reference all C functions (although that future version may well be 3.0)
-
- changed status to resolved
I've started work on migrating 3.0 to another mechanism, I'll track progress for that in a different way
-
- removed version
Removing version: 2.5 (automated comment)
- Log in to comment
This could be a clang bug: http://llvm.org/bugs/show_bug.cgi?id=3679