LO 24.2 C++20 baseline

Andreas Mantke maand at gmx.de
Fri Sep 22 20:09:17 UTC 2023


Hi Christian,

Am 22.09.23 um 21:25 schrieb Christian Lohmaier:
> Hi Andreas,
>
> On Fri, Sep 22, 2023 at 9:31 PM Andreas Mantke<maand at gmx.de>  wrote:
>> You can upgrade to Leap 15.5 and compiling should work again:
>> https://build.opensuse.org/package/show/openSUSE:Leap:15.5:Update/gcc12
>>
>> unfortunately the upgrade didn't fix the issue. I got this lines at the end of the autogen.sh run:
>>
>> checking what the C++ library is... GNU libstdc++
>> checking for gperf... /usr/bin/gperf
>> checking whether gperf is new enough... yes (3.1)
>> checking which libcmis to use... internal
>> checking whether ccache g++ supports C++20... configure: error: no
>> Error running configure at ./autogen.sh line 321.
> Did you make sure g++ without any setup is pointing to the new gcc
> version? maybe you need to add its path in front of your existing PATH
> env-var or you have to use update-alternatives or similar.
>
> You can also look in config.log for more details as to why it fails

I tried with:
export CC=/usr/bin/gcc-12

and again in a new virtual terminal with:
export CC=/usr/bin/gcc-11

and it uses the compiler from the export, but the error stays the same:

checking for sys/sdt.h... no
checking whether ccache gcc-11 supports -fstack-clash-protection... yes
checking whether ccache gcc-11 supports -mno-avx... yes
checking whether ccache gcc-11 supports atomic functions... yes
checking whether ccache g++ defines __base_class_type_info in
cxxabi.h... yes
checking whether ccache g++ defines __class_type_info in cxxabi.h... yes
checking whether ccache g++ declares __cxa_allocate_exception in
cxxabi.h... yes
checking whether ccache g++ defines __cxa_eh_globals in cxxabi.h... no
checking whether ccache g++ defines __cxa_exception in cxxabi.h... no
checking whether ccache g++ declares __cxa_get_globals in cxxabi.h... yes
checking whether ccache g++ declares __cxa_current_exception_type in
cxxabi.h... yes
checking whether ccache g++ declares __cxa_throw in cxxabi.h... yes
checking whether ccache g++ defines __si_class_type_info in cxxabi.h... yes
checking whether ccache g++ defines __vmi_class_type_info in cxxabi.h...
yes
checking what the C++ library is... GNU libstdc++
checking for gperf... /usr/bin/gperf
checking whether gperf is new enough... yes (3.1)
checking which libcmis to use... internal
checking whether ccache g++ supports C++20... configure: error: no
Error running configure at ./autogen.sh line 32

Regards,
Andreas

--
## Free Software Advocate
## Plone add-on developer
## My blog:http://www.amantke.de/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230922/d8fa9e76/attachment.htm>


More information about the LibreOffice mailing list