Summary: | media-video/ffmpeg[soc]: build failure (libswscale/aarch64/rgb2rgb_neon.S:341:26: error: expected '[su]xt[bhw]' with optional integer in range [0, 4]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fnkl.kernel |
Component: | Current packages | Assignee: | James Le Cuirot <chewi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chewi, fnkl.kernel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
See Also: | https://github.com/jc-kynesim/rpi-ffmpeg/issues/81 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build environment
Build log |
Created attachment 884966 [details]
Build log
Reproduced when cross-compiling. I'll see what I can do. Upstream have fixed this issue, but now I've found there's another similar one. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf0a62268c4b27ffd37234cc8ed9e6054e0053c commit ebf0a62268c4b27ffd37234cc8ed9e6054e0053c Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-02-17 14:51:49 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-02-17 14:52:56 +0000 media-video/ffmpeg: Fix Clang and GCC 14 issues with new RPi patch Closes: https://bugs.gentoo.org/924558 Closes: https://bugs.gentoo.org/924743 Signed-off-by: James Le Cuirot <chewi@gentoo.org> media-video/ffmpeg/Manifest | 2 +- media-video/ffmpeg/ffmpeg-6.1.1-r3.ebuild | 3 ++- media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +- media-video/ffmpeg/files/ffmpeg-6.1-gcc-14.patch | 13 +++++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) |
Created attachment 884965 [details] Build environment Having USE=soc and building with clang causes ffmpeg to fail to build on arm macs and probably other non-rpi machines. The compilation error is the following src/libswscale/aarch64/rgb2rgb_neon.S:341:26: error: expected '[su]xt[bhw]' with optional integer in range [0, 4] add x0, x0, w14, SXTX