strtod_nolocale() missing during link phase. Quite obviously this version of libreoffice was committed to the ports repo without testing it on 12.3-stable.
Created attachment 232875 [details] typescript of a failed build attempt The typescript was missing. I hope this helps.
Right, it seems this is yet another symptom of faulty support for LTO. During traditional dynamic linking it is OK for module A to refer to module B such that B further requires module C, but the loader doesn't really know what and where C is. If B has been linked before, the loader doesn't actually need to see the contents of C. When doing LTO the loader needs to find all the dependent libraries and also their 2nd level dependencies and so on, and thus it complains loudly when A refers B and B refers C while C can't be found when linking A. Dropping LTO from the compilation options allowed the build to complete.