Hi *,

since this otherwise unrelated commit

https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/53116823/job/b22jfjbb75f64hh5

the cpp tests fail on Appveyor with messages like below. After some research I found that there meay be sth wrong with the order in which files are specified, but what is funny here is that this seems to appear out of the blue and it also seems only related to the CMake setup. Not sure wjhether or not it may have sth to do with MinGW? In short, I'm a bit clueless here.

Anyone who knows or has an idea how to fix this?
JensG


C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\UnitTests.dir/objects.a(UnitTestMain.cpp.obj): in function `main':

C:/msys64/mingw64/include/boost/test/unit_test.hpp:65:(.text.startup+0x25): undefined reference to `__imp__ZN5boost9unit_test14unit_test_mainEPFbvEiPPc' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\UnitTests.dir/objects.a(UnitTestMain.cpp.obj): in function `__static_initialization_and_destruction_0': C:/msys64/mingw64/include/boost/test/unit_test_log.hpp:227:(.text.startup+0x53): undefined reference to `__imp__ZN5boost9unit_test15unit_test_log_t8instanceEv' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\UnitTests.dir/objects.a(UnitTestMain.cpp.obj): in function `__static_initialization_and_destruction_0': C:/msys64/mingw64/include/boost/test/unit_test_suite.hpp:383:(.text.startup+0x6a): undefined reference to `__imp__ZN5boost9unit_test9framework4impl29master_test_suite_name_setterC1ENS0_13basic_cstringIKcEE' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\UnitTests.dir/objects.a(OneWayHTTPTest.cpp.obj): in function `boost::detail::thread_data_base::thread_data_base()':


(plus a ton more of these)


Reply via email to