<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Christian,<br>
</p>
<div class="moz-cite-prefix">Am 22.09.23 um 21:25 schrieb Christian
Lohmaier:<br>
</div>
<blockquote type="cite"
cite="mid:CAOPHaVSWBpGPzSjRjQKna3gZ2-5xmK+FPjddgY2iQ-_5M6k5UQ@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hi Andreas,
On Fri, Sep 22, 2023 at 9:31 PM Andreas Mantke <a class="moz-txt-link-rfc2396E" href="mailto:maand@gmx.de"><maand@gmx.de></a> wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">You can upgrade to Leap 15.5 and compiling should work again:
<a class="moz-txt-link-freetext" href="https://build.opensuse.org/package/show/openSUSE:Leap:15.5:Update/gcc12">https://build.opensuse.org/package/show/openSUSE:Leap:15.5:Update/gcc12</a>
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.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
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
</pre>
</blockquote>
<p>I tried with:<br>
export CC=/usr/bin/gcc-12</p>
<p>and again in a new virtual terminal with:<br>
export CC=/usr/bin/gcc-11</p>
<p>and it uses the compiler from the export, but the error stays the
same:</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">checking for
sys/sdt.h... no
</span><br>
checking whether ccache gcc-11 supports
-fstack-clash-protection... yes
<br>
checking whether ccache gcc-11 supports -mno-avx... yes
<br>
checking whether ccache gcc-11 supports atomic functions... yes
<br>
checking whether ccache g++ defines __base_class_type_info in
cxxabi.h... yes
<br>
checking whether ccache g++ defines __class_type_info in
cxxabi.h... yes
<br>
checking whether ccache g++ declares __cxa_allocate_exception in
cxxabi.h... yes
<br>
checking whether ccache g++ defines __cxa_eh_globals in
cxxabi.h... no
<br>
checking whether ccache g++ defines __cxa_exception in
cxxabi.h... no
<br>
checking whether ccache g++ declares __cxa_get_globals in
cxxabi.h... yes
<br>
checking whether ccache g++ declares
__cxa_current_exception_type in cxxabi.h... yes
<br>
checking whether ccache g++ declares __cxa_throw in cxxabi.h...
yes
<br>
checking whether ccache g++ defines __si_class_type_info in
cxxabi.h... yes
<br>
checking whether ccache g++ defines __vmi_class_type_info in
cxxabi.h... yes
<br>
checking what the C++ library is... GNU libstdc++
<br>
checking for gperf... /usr/bin/gperf
<br>
checking whether gperf is new enough... yes (3.1)
<br>
checking which libcmis to use... internal
<br>
checking whether ccache g++ supports C++20... configure: error:
no
<br>
Error running configure at ./autogen.sh line 32</span></p>
<p><span style="font-family:monospace">Regards,<br>
Andreas<br>
</span></p>
<pre class="moz-signature" cols="72">--
## Free Software Advocate
## Plone add-on developer
## My blog: <a class="moz-txt-link-freetext" href="http://www.amantke.de/blog">http://www.amantke.de/blog</a>
</pre>
</body>
</html>