<div dir="ltr"><div dir="ltr">On Sat, Oct 2, 2021 at 12:14 PM Antonio T. sagitter <<a href="mailto:sagitter@fedoraproject.org">sagitter@fedoraproject.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, i noted. Previous PETSc's versions worked with that flag, but the <br>
3.16.0 no longer.<br></blockquote><div><br></div><div>Antonio, you are correct. I added support for C++ demangling in viewer output, but my configure check was</div><div>inadequate. I did not manage to fix this by release time. I will have it fixed in the next point release.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 10/2/21 17:48, Stefano Zampini wrote:<br>
> The issue is that you have --with-cxxlib-autodetect=0 in your configure <br>
> log, so PETSc skip appending lstdc++ to the list of libraries used to <br>
> link the shared library.<br>
> If you don't care, just remove the configure flag<br>
> <br>
<br>
I'm removing '-std=[c/gnu]++17'<br>
<br>
On 10/2/21 17:38, Jacob Faibussowitsch wrote:<br>
 > Can you try the following?<br>
 ><br>
 > In $PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/petscvariables there are two<br>
 > variables, PETSC_EXTERNAL_LIB_BASIC and PETSC_WITH_EXTERNAL_LIB. Append<br>
 > -lstdc++ to both of them and re-run your make command with verbose <br>
output:<br>
 ><br>
 > $ make all V=1<br>
 > $ make check<br>
 ><br>
 > P.S. There is no longer a need to set -std=[c/gnu]++17 in your own<br>
 > flags; configure will detect up to c++17. For gnu-ish compilers<br>
 > (gcc/clang) it will try to use gnu extensions — in fact if you search<br>
 > for ‘checkCxxDialect' in you configure.log, you’ll see it appropriately<br>
 > selects gnu++17.<br>
 ><br>
<br>
Thank you all.<br>
-- <br>
---<br>
Antonio Trande<br>
Fedora Project<br>
mailto: <a href="mailto:sagitter@fedoraproject.org" target="_blank">sagitter@fedoraproject.org</a><br>
GPG key: 0x29FBC85D7A51CC2F<br>
GPG key server: <a href="https://keyserver1.pgp.com/" rel="noreferrer" target="_blank">https://keyserver1.pgp.com/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>