This necessitated https://github.com/PDLPorters/perl5-PGPLOT/commit/6b6721e25410aa97ed283f09ee159402a21f6c05. I highly doubt this is unique to Apple Silicon, and some `valgrind` will probably reveal the problem.