mpv, ffmpeg seg fault in macOS catalina

Gill Bates smogus at shaw.ca
Thu Oct 17 20:58:45 UTC 2019


I recently updated to catalina (10.15) and Xcode (11.1), installed MacPorts from source (2.6.1) and had it build mpv and its dependencies. However, mpv (and ffmpeg for example) do not run apparently related to some new default compiler option enforcing 16 byte stack alignment? See: 
[ https://trac.ffmpeg.org/ticket/8073 | https://trac.ffmpeg.org/ticket/8073 ] 
[ https://github.com/mpv-player/mpv/issues/7053 | https://github.com/mpv-player/mpv/issues/7053 ] 
[ https://forums.developer.apple.com/thread/121887 | https://forums.developer.apple.com/thread/121887 ] 

The advice seems to be to revert Xcode but will rebuilding everything with Xcode 10.3 on macos 10.15 really be a workaround? Or is a better choice to modify portfiles to include the CFLAG option to disable stack checks as mentioned in the linked posts and use Xcode 11.1? 

"Part B" is a question for my understanding, is this a really an Xcode/compiler issue or a problem with the source software packages? 

Thanks in advance for any advice. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191017/d16db7e0/attachment.html>


More information about the macports-users mailing list