<div dir="auto">I knew this was coming....<div dir="auto"><a href="https://gitlab.com/petsc/petsc/-/issues/997">https://gitlab.com/petsc/petsc/-/issues/997</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Sab 2 Ott 2021, 15:48 Antonio T. sagitter <<a href="mailto:sagitter@fedoraproject.org">sagitter@fedoraproject.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
In PETSc-3.16.0, the linker is not working because of these undefined <br>
references (see <a href="https://pastebin.com/izGTfmMp" rel="noreferrer noreferrer" target="_blank">https://pastebin.com/izGTfmMp</a>):<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to `operator <br>
delete(void*, unsigned long)'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to `__cxa_rethrow'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`__gxx_personality_v0'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to `operator <br>
new(unsigned long)'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`std::__throw_bad_alloc()'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`std::terminate()'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`std::__throw_bad_array_new_length()'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to `typeinfo <br>
for std::exception'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`__cxa_begin_catch'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`__cxa_end_catch'<br>
<br>
/usr/bin/ld: x86_64/lib/libpetsc.so: undefined reference to <br>
`std::__throw_length_error(char const*)'<br>
<br>
collect2: error: ld returned 1 exit status<br>
<br>
There are also<br>
<br>
$ ldd -r build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so'<br>
Start: shell<br>
<br>
        linux-vdso.so.1 (0x00007fffbf347000)<br>
<br>
        libsuperlu.so.5.2 => /lib64/libsuperlu.so.5.2 (0x00007f00dad0c000)<br>
<br>
        libflexiblas.so.3 => /lib64/libflexiblas.so.3 (0x00007f00da95a000)<br>
<br>
        libcgns.so.4.2 => /lib64/libcgns.so.4.2 (0x00007f00da873000)<br>
<br>
        libhdf5.so.103 => /lib64/libhdf5.so.103 (0x00007f00da4d8000)<br>
<br>
        libm.so.6 => /lib64/libm.so.6 (0x00007f00da3f8000)<br>
<br>
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f00da2ae000)<br>
<br>
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f00da294000)<br>
<br>
        libc.so.6 => /lib64/libc.so.6 (0x00007f00da08b000)<br>
<br>
        libgfortran.so.5 => /lib64/libgfortran.so.5 (0x00007f00d9dde000)<br>
<br>
        libquadmath.so.0 => /lib64/libquadmath.so.0 (0x00007f00d9d94000)<br>
<br>
        /lib64/ld-linux-x86-64.so.2 (0x00007f00dc18b000)<br>
<br>
        libsz.so.2 => /lib64/libsz.so.2 (0x00007f00d9d8a000)<br>
<br>
        libz.so.1 => /lib64/libz.so.1 (0x00007f00d9d6e000)<br>
<br>
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f00d9d43000)<br>
<br>
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f00d9d3d000)<br>
<br>
undefined symbol: _ZTISt9exception <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: __gxx_personality_v0 <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _ZdlPvm <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: __cxa_rethrow <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _Znwm <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _ZSt17__throw_bad_allocv <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _ZSt9terminatev <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _ZSt28__throw_bad_array_new_lengthv <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: __cxa_begin_catch <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: __cxa_end_catch <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
undefined symbol: _ZSt20__throw_length_errorPKc <br>
(build/BUILD/petsc-3.16.0/petsc-3.16.0/x86_64/lib/libpetsc.so)<br>
<br>
<br>
<br>
I'm attaching configure.log and make.log<br>
<br>
--<br>
---<br>
Antonio Trande<br>
Fedora Project<br>
mailto: <a href="mailto:sagitter@fedoraproject.org" target="_blank" rel="noreferrer">sagitter@fedoraproject.org</a><br>
GPG key: 0x29FBC85D7A51CC2F<br>
GPG key server: <a href="https://keyserver1.pgp.com/" rel="noreferrer noreferrer" target="_blank">https://keyserver1.pgp.com/</a><br>
</blockquote></div>