Closed awvwgk closed 2 years ago
Anyone around with a MacOS/Arm64 machine to test whether this is fixed with GCC 12?
cc @certik @Nicholaswogan
Ya it is fixed with gfortran 11.3 (current homebrew version). Gfortran 12.1 also works.
Thanks, than we can close this issue as resolved.
The C bindings pass a nested function as callback to allow the C API to carry along user data via an opaque pointer (
void*
). This mechanism is also used in the Python API to propagate exceptions storing the small object in a handle and pass it asvoid*
to the Minpack C API.This issue has been fixed for GCC 12, see https://github.com/iains/gcc-darwin-arm64/issues/26.
Potential workaround available in #30