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
We're sharing the object files between the .a and .so. To keep the build simple, do you think we could tolerate the slight overhead of relocations in the static library?
@yurivict Unfortunately my make skills are reaching their limits here. We conditionally extend the list of object files depending on the target macros, and I think it would be undesirable to have two sets of them so that the SO can depend on the fPIC objs and others on the non-fPIC.
Again, is the overhead of relocations costly enough to justify the more complex build?
The static library doesn't need relocatable code because it would marginally hurt performance in static executables.
The text was updated successfully, but these errors were encountered: