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
The root cause is that while building test/addons/dlopen-ping-pong/ping.c it is not able to find the required reference to dlopen_pong that is available in another library built from test/addons/dlopen-ping-pong/binding.cc
The logic is to perform a negative test: (i) make sure that the ping.so does not resolve dlopen_pong under default conditions, (ii) gets resolved when binding.so is loaded through the feature introduced by the PR: ability to customize process.dlopen with standard RTLD_* flags.
With current test logic in AIX, there is no way to go past the linker to make the negative test, as the ping.so itself is not built due to the missing symbol( I guess other platforms where it works perform some sort of lazy loading of symbols under default configurations).
We need to identify and enable that for AIX too. -brtl seems to be a good choice, but need to study its side effects.
PR #12794 introduced a test (test/addons/dlopen-ping-pong/test.js) case that is failing in AIX:
ld: 0711-317 ERROR: Undefined symbol: .dlopen_pong
The root cause is that while building test/addons/dlopen-ping-pong/ping.c it is not able to find the required reference to dlopen_pong that is available in another library built from test/addons/dlopen-ping-pong/binding.cc
The logic is to perform a negative test: (i) make sure that the ping.so does not resolve dlopen_pong under default conditions, (ii) gets resolved when binding.so is loaded through the feature introduced by the PR: ability to customize process.dlopen with standard RTLD_* flags.
With current test logic in AIX, there is no way to go past the linker to make the negative test, as the ping.so itself is not built due to the missing symbol( I guess other platforms where it works perform some sort of lazy loading of symbols under default configurations).
We need to identify and enable that for AIX too. -brtl seems to be a good choice, but need to study its side effects.
Will work with @ezequielgarcia to fix it.
The text was updated successfully, but these errors were encountered: