Skip to content
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

ffmpeg: build fails with mold linker #25223

Open
M95D opened this issue Oct 29, 2024 · 2 comments
Open

ffmpeg: build fails with mold linker #25223

M95D opened this issue Oct 29, 2024 · 2 comments

Comments

@M95D
Copy link
Contributor

M95D commented Oct 29, 2024

Maintainer: @thess, last updated by @krant
Environment: armv7, mvebu, Armada 385, Turris Omnia, OpenWrt git master/main
Description:
When CONFIG_USE_MOLD is selected, ffmpeg build fails with this error:

libavcodec/arm/mlpdsp_armv5te.S: Assembler messages:
libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
libavcodec/arm/mlpdsp_armv5te.S:367:  Info: macro invoked from here
libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here
libavcodec/arm/mlpdsp_armv5te.S:244: Error: garbage following instruction -- `bne 01b'
libavcodec/arm/mlpdsp_armv5te.S:367:  Info: macro invoked from here
libavcodec/arm/mlpdsp_armv5te.S:393:   Info: macro invoked from here
libavcodec/arm/mlpdsp_armv5te.S:414:    Info: macro invoked from here

Error repeats.

Is it possible to disable mold for selected packages, such as this one?
Thanks.

@krant
Copy link
Contributor

krant commented Oct 30, 2024

I've hit the same when tried to build it with newer binutils, it must be fixed in the next release - https://trac.ffmpeg.org/ticket/11074

@M95D
Copy link
Contributor Author

M95D commented Oct 30, 2024

OK. I'll leave this open until the package is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants