Ádám Bakai has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21282
Change subject: [CMakeLists] Make kudu_test_main static ...................................................................... [CMakeLists] Make kudu_test_main static This change makes sure that kudu_util.so is loaded at the beginning of the loading chain. This is needed because in unwind_safeness.cc there is a dlsym execution in the constructor function, and it looks for the next declaration of the functions called "dlopen" and "dlclose" in shared object files. If kudu_util is loaded too late, then it won't find these functions and throws an error. This happens in ubuntu 22.04 test runs. To solve this issue, the kudu_test_main was changed to a static library and kudu_util was moved to the front of the library list. Change-Id: I0dfeb1fa04ed91e95fd1f8d789f020dd44289fea --- M src/kudu/util/CMakeLists.txt 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/21282/1 -- To view, visit http://gerrit.cloudera.org:8080/21282 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0dfeb1fa04ed91e95fd1f8d789f020dd44289fea Gerrit-Change-Number: 21282 Gerrit-PatchSet: 1 Gerrit-Owner: Ádám Bakai <aba...@cloudera.com>