-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] ffmpeg/4.4.4: Build failed #25267
Labels
bug
Something isn't working
Comments
Arch Linux has similar case patched:
https://bbs.archlinux.org/viewtopic.php?id=289424
Let's investigate it better in case the upstream has an official hotfix.
Thank you for reporting. Regards
…On Sun, Sep 15, 2024 at 4:26 AM youmetme ***@***.***> wrote:
Description
I need to build OpenCv4.10,We need to build ffmpeg/4.4.4, but encountered
an error
Error: operand type mismatch for 'shr'
This is very similar to #24034
<#24034>, but I
can't find a solution
Package and Environment Details
- ubuntu24.04
- gcc13
- conan2.7.1
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
Steps to reproduce
conan install . --build=missing
[requires]#opencv/4.10.0
[generators]
PkgConfigDeps
MesonToolchain
Logs Click to expand log
CC libavformat/asfdec_o.o
src/libavcodec/x86/mathops.h: Assembler messages:
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
CC libavformat/asfenc.o
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
src/libavcodec/x86/mathops.h:125: 错误: operand type mismatch for `shr'
CC libavformat/assdec.o
CC libavformat/assenc.o
make: *** [/home/wangko/.conan2/p/b/ffmpecf5b7255c0c51/b/src/ffbuild/common.mak:67:libavformat/adtsenc.o] 错误 1
make: *** 正在等待未完成的任务....
src/libavformat/asfcrypt.c: In function ‘multiswap_enc’:
src/libavformat/asfcrypt.c:118:11: warning: ‘multiswap_step’ reading 48 bytes from a region of size 24 [-Wstringop-overread]
118 | tmp = multiswap_step(keys + 6, b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavformat/asfcrypt.c:118:11: note: referencing argument 1 of type ‘const uint32_t[12]’ {aka ‘const unsigned int[12]’}
src/libavformat/asfcrypt.c:75:17: note: in a call to function ‘multiswap_step’
75 | static uint32_t multiswap_step(const uint32_t keys[12], uint32_t v)
| ^~~~~~~~~~~~~~
src/libavformat/asfcrypt.c: In function ‘multiswap_dec’:
src/libavformat/asfcrypt.c:139:11: warning: ‘multiswap_inv_step’ reading 48 bytes from a region of size 24 [-Wstringop-overread]
139 | b = multiswap_inv_step(keys + 6, tmp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavformat/asfcrypt.c:139:11: note: referencing argument 1 of type ‘const uint32_t[12]’ {aka ‘const unsigned int[12]’}
src/libavformat/asfcrypt.c:87:17: note: in a call to function ‘multiswap_inv_step’
87 | static uint32_t multiswap_inv_step(const uint32_t keys[12], uint32_t v)
| ^~~~~~~~~~~~~~~~~~
src/libavformat/argo_asf.c: In function ‘argo_asf_write_header’:
src/libavformat/argo_asf.c:368:9: warning: ‘__builtin_strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
368 | strncpy(fhdr.name, ctx->name, sizeof(fhdr.name));
| ^
ffmpeg/4.4.4: ERROR:
Package 'b7db6fbed1afdb9038e7ab784d303c6fa53a998b' build failed
ffmpeg/4.4.4: WARN: Build folder /home/wangko/.conan2/p/b/ffmpecf5b7255c0c51/b/build-release
ERROR: ffmpeg/4.4.4: Error in build() method, line 716
autotools.make()
ConanException: Error 2 while executing
—
Reply to this email directly, view it on GitHub
<#25267>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFFAHPTN2U2UIVTIMFJ7QTZWTV53AVCNFSM6AAAAABOHL3BYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDMNZQGE3DKNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Cordialmente,
Uilian Ries
***@***.***>
|
@uilianries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I need to build OpenCv4.10,We need to build ffmpeg/4.4.4, but encountered an error
This is very similar to #24034, but I can't find a solution
Package and Environment Details
Conan profile
Steps to reproduce
conan install . --build=missing
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: