Comment 2 for bug 1603114

Revision history for this message
Kevin DuBois (kdub) wrote :

so, what's happening is that the mir-test-assist library uses StubInputPlatform, and then probes the stub-input.so platform. On the affected platforms (i386, arm64, ppc64el), the linker will run the init hooks on the static variables once, and free twice (maybe not smart enough to figure out static linked vs dlopened on these platforms?). At any rate, seems like we're violating ODR with the current linking. Will rework things so that the tests that need stub_input_platform sources will link them in as objects.