4.0.2 linking failure
Opened this issue · 1 comments
mnhauke commented
version 4.0.2 fails to build on openSUSE Tumbleweed (gcc10 with LTO disabled) with the following linking failure:
[ 134s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o: in function `EvalString[abi:cxx11](StringDesc const*)':
[ 134s] /home/abuild/rpmbuild/BUILD/Wyrmgus-4.0.2/src/stratagus/script.cpp:1520: undefined reference to `wyrmgus::number::to_formatted_string[abi:cxx11](int)'
[ 136s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/stratagus.dir/src/util/date_util.cpp.o: in function `wyrmgus::date::year_to_string[abi:cxx11](int)':
[ 136s] /home/abuild/rpmbuild/BUILD/Wyrmgus-4.0.2/src/util/date_util.cpp:40: undefined reference to `wyrmgus::number::to_formatted_string[abi:cxx11](int)'
[ 136s] collect2: error: ld returned 1 exit status