Hi mailing list,
when i was bulding on `n9.1-dev-3225-g5d85b7bfb2` with the config
`/configure --cc='ccache clang' --cxx='ccache clang++' --ld=clang
--ar=llvm-ar --nvcc=clang --ranlib=llvm-ranlib --enable-gpl
--enable-libfdk_aac --enable-libfreetype --enable-libharfbuzz
--enable-libmp3lame --enable-libopus --enable-libvpx
--enable-libx264 --enable-libx265 --enable-nonfree
--enable-libvvenc --extra-cflags='-march=native -O3' --enable-lto
--enable-opencl --enable-libaom`
i get the following linker errors:
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r12d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r12d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebp
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r10d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r10d), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %r10d
^
ld.lld: error: too many errors emitted, stopping now (use
--error-limit=0 to see all errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:165: ffplay_g] Error 1
make: *** Waiting for unfinished jobs....
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r12d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r12d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebp
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r10d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r10d), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %r10d
^
ld.lld: error: too many errors emitted, stopping now (use
--error-limit=0 to see all errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:165: ffprobe_g] Error 1
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%ebx, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%ebx), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r12d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r12d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebp
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %r9d, 2), %r9d
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %ebx
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r10d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r10d), %r11d
^
ld.lld: error: ld-temp.o <inline asm>:4:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+512(%r11d, %edx, 2), %edx
^
ld.lld: error: ld-temp.o <inline asm>:17:35: unexpected token in argument list
movzbl ff_h264_cabac_tables(%rip)+1024+128(%r11d), %r10d
^
ld.lld: error: too many errors emitted, stopping now (use
--error-limit=0 to see all errors)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:165: ffmpeg_g] Error 1
i am on fedora 45 using llvm 23
the error does not occur if i move the flto flag into `extra-cflags`
using the `-flto=full` flag for my compiler
can someone help me diagnose this? Thanks!
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]