AbyssEngineOld icon indicating copy to clipboard operation
AbyssEngineOld copied to clipboard

abyss_test linking: undefined symbol

Open M0Rf30 opened this issue 2 years ago • 1 comments

Describe the bug Reaching the end of build process this message pop out

[100%] Linking CXX executable abyss_test
mold: error: undefined symbol: absl::lts_20220623::container_internal::ConvertDeletedToEmptyAndFullToDeleted(absl::lts_20220623::container_internal::ctrl_t*, unsigned long)
>>> referenced by inifile.cpp

Would be great to skip the tests with an appropriate flag using cmake, for example launching:

cmake ../abyss-sources \
    -DBUILD_TESTING=off \

Thanks for your amazing efforts, I follow this project since the early days.

Additional note: mold (referenced in the log) is a drop-in replacement for gold (the GNU linker). same issue also with gold anyway

Workaround For now I'm using this workaround

# temporary workaround to disable tests
  pacman -S gtest
  rm -rf tests/*
  touch tests/CMakeLists.txt

M0Rf30 avatar Aug 24 '22 15:08 M0Rf30

Thanks for the report! We will look into this issue and get back as soon as we can.

essial avatar Aug 25 '22 20:08 essial