#10945: Compiling ffmpeg for Raspberry Pi5 fails
-------------------------------------+-------------------------------------
Reporter: f1faq | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: compilation | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
I try to compile ffmpeg (master) for a Raspberry Pi5
Compiling is done on the Pi5 which is running "Linux rasp5 6.6.20+rpt-
rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
GNU/Linux"
I strictly follow the "Compile FFmpeg for Ubuntu, Debian, or Mint" chapter
Configure step runs well.
Make fails while treating libavfilter giving an error : " invalid operand
for code 'w'
Hereafter an extract of the screen when make fails :
CC libavfilter/vf_datascope.o
CC libavfilter/vf_dblur.o
CC libavfilter/vf_dctdnoiz.o
In file included from ./libavutil/bswap.h:38,
from ./libavutil/intreadwrite.h:25,
from libavfilter/vf_curves.c:27:
In function ‘av_bswap16’,
inlined from ‘parse_psfile’ at libavfilter/vf_curves.c:610:5:
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
33 | __asm__("rev16 %w0, %w1" : "=r"(y) : "r"(x));
| ^~~~~~~
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
In function ‘av_bswap16’,
inlined from ‘parse_psfile’ at libavfilter/vf_curves.c:614:9:
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
33 | __asm__("rev16 %w0, %w1" : "=r"(y) : "r"(x));
| ^~~~~~~
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
In function ‘av_bswap16’,
inlined from ‘parse_psfile’ at libavfilter/vf_curves.c:617:13:
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
33 | __asm__("rev16 %w0, %w1" : "=r"(y) : "r"(x));
| ^~~~~~~
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
In function ‘av_bswap16’,
inlined from ‘parse_psfile’ at libavfilter/vf_curves.c:618:13:
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
33 | __asm__("rev16 %w0, %w1" : "=r"(y) : "r"(x));
| ^~~~~~~
./libavutil/aarch64/bswap.h:33:5: error: invalid 'asm': invalid operand
for code 'w'
CC libavfilter/vf_deband.o
CC libavfilter/vf_deblock.o
CC libavfilter/vf_decimate.o
make: *** [ffbuild/common.mak:81: libavfilter/vf_curves.o] Error 1
make: *** Waiting for unfinished jobs....
cma@rasp5:~/ffmpeg_sources/ffmpeg
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10945>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".