Closed kthielen closed 4 years ago
I have a use-case where I want to dynamically load an .so module in "hi" to add a couple of special constraint types and unqualifier implementations (which recursively compile expressions). This won't work correctly unless -rdynamic
is used to link "hi" (exporting its symbols to modules it loads).
yes, it's nice to have this. Let's merge it
I tested this manually (defining a symbol in "hi" and leaving it extern in a .so that is loaded by "hi" to observe the late binding back into "hi").
This is important for complex .so modules where we want to dynamically compile functions out of the "hi" host compiler.