gcc12 and libreoffice

Robert Swindells <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
I'm running amd64 built with HAVE_GCC=12.

Trying to build pkgsrc misc/libreoffice with the new native compiler
gives this:

...
[CXX] xmloff/source/xforms/xformsapi.cxx
[CXX] xmloff/source/xforms/xformsexport.cxx
[CXX] xmloff/source/xforms/xformsimport.cxx
[DEP] LNK:Executable/svidl.d
[LNK] Executable/svidl
[DEP] LNK:Library/libdocmodello.so.d
[LNK] Library/libdocmodello.so
[DEP] LNK:Library/libutllo.so.d
[LNK] Library/libutllo.so
ld: /u23/pkgobj/misc/libreoffice/work/libreoffice-24.2.0.3/instdir/program/libcomphelper.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const &'
gmake[1]: *** [/u23/pkgobj/misc/libreoffice/work/libreoffice-24.2.0.3/solenv/gbuild/LinkTarget.mk:853: /u23/pkgobj/misc/libreoffice/work/libreoffice-24.2.0.3/workdir/LinkTarget/Executable/svidl] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.