Closed drew-parsons closed 10 months ago
The issue is not specific to dolfinx_mpc. It's also reported against dolfinx now, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037649 Likely there's some simple action or gcc flag that needs to be applied to many packages.
Some gcc-13 issues are discussed at https://gcc.gnu.org/gcc-13/porting_to.html, though not clear that that addresses the issue here.
For reference, scipy is also affected, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037854. So it's a general problem that all packages need to deal with, not such a big drama really.
Incidentally, after patching basix and dolfinx for gcc-13, dolfinx-mpc builds and runs fine against them. So I don't think this issue is substantive for dolfinx-mpc. Just need to keep the toolchain built consistently. The gcc-13 patches (in basix,dolfinx), appear to introduce ABI changes (e.g. due to int32_t→int) that cause dolfinx_mpc to fail if built against dolfinx without the patches. Rebuilding dolfinx-mpc against the patched libdolfinx.so seems to sort out the issue, so dolfinx-mpc itself doesn't need patching.
dolfinx-mpc 0.6 built with gcc 13, so let's close this issue now.
Hi Jorgen, Debian reports that mpc 0.5.0 fails to build with gcc 13,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037623
The reported error shows up in build-time tests,
Full log at http://qa-logs.debian.net/2023/05/22/logs/dolfinx-mpc_0.5.0.post0-2_unstable_gccexp.log
mpc version 0.5.0 and 0.6.0 are both building fine with gcc 12, see https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dolfinx-mpc.html
The error report is for mpc 0.5.0, I haven't tested git head. I haven't tested mpc 0.6.0 with gcc 13 either.