[MacPorts] #66912: ncl builds on arm64 but does not run correctly
MacPorts
noreply at macports.org
Mon Feb 13 21:54:53 UTC 2023
#66912: ncl builds on arm64 but does not run correctly
-----------------------+--------------------
Reporter: MicroTed | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: seg fault | Port: ncarg
-----------------------+--------------------
The ncarg port built successfully on my M1 macbook pro (Monterey, 12.6.3).
The ncl application yields a segmentation fault when it tries to run a
built-in example, however. I have done some work already to build from
source on M1, but there is a problem with the C to Fortran interfacing.
For example, see https://github.com/NCAR/ncl/issues/187 and
https://github.com/NCAR/ncl/pull/191
In brief, the seg fault is caused by the fortran subroutine having a bad
length for a passed string, so it writes out of bounds on the string.
I don't know if anybody can help with this, but if anybody know how to fix
calls to Fortran from C, it would be much appreciated!
--
Ticket URL: <https://trac.macports.org/ticket/66912>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list