Created attachment 215730 [details] patch Revert https://github.com/FFmpeg/FFmpeg/commit/3a557c5d88b7b15b5954ba2743febb055549b536 due to breakage on big-endian POWER systems. Issue reported to the mailing list but awaits moderation approval.
Comment on attachment 215730 [details] patch What was the error? http://pylon.nyi.freebsd.org/data/latest-per-pkg/ffmpeg/ doesn't have a log for 4.3 yet. Looks OK given the limited impact: no build glue, ppc-only. Reverts can often be short-circuited to rubberstamp. (In reply to Piotr Kubaj from comment #0) > Revert https://github.com/FFmpeg/FFmpeg/commit/3a557c5d88b7b15b5954ba2743febb055549b536 > due to breakage on big-endian POWER systems. Put this message into patch header. Even better together with the error excerpt copy-pasta to have the full picture at hand.
Did you try to partially revert? Instead of removing the new code put it under #ifdef __LITLE_ENDIAN__ or similar.
(In reply to Piotr Kubaj from comment #0) > Issue reported to the mailing list but awaits moderation approval. Also reported in https://trac.ffmpeg.org/ticket/7124#comment:10
(In reply to Jan Beich from comment #2) No, but we don't run on powerpc64le yet anyway. I suspect we will in the future, but this bug will have been long fixed by then.
(In reply to Piotr Kubaj from comment #4) Also, even on powerpc64le, gcc8 and newer can apparently build correct binaries, and when we have powerpc64le port, gcc7 and older will not be in ports tree anyway.
A commit references this bug: Author: pkubaj Date: Thu Jun 18 13:08:58 UTC 2020 New revision: 539539 URL: https://svnweb.freebsd.org/changeset/ports/539539 Log: multimedia/ffmpeg: fix build on powerpc and powerpc64 Revert 3a557c5d88b7b15b5954ba2743febb055549b536 to fix build error on POWER systems. PR: 247375 Approved by: jbeich (maintainer) Changes: head/multimedia/ffmpeg/files/patch-libswscale_ppc_yuv2rgb__altivec.c