[Bug 257124] multimedia/ffmpeg: Fails to link: ld: error: inline assembly requires more registers than available at line

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Jul 2021 12:20:39 +0000

Dimitry Andric <dim_at_FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |emaste_at_freebsd.org

--- Comment #4 from Dimitry Andric <dim_at_FreeBSD.org> ---
Yes, it's likely that the low number of registers, combined with more
aggressive whole program optimization (in particular inlining) will lead to
this type of error.

Unfortunately it is not possible to figure out from lld's error messages
*which* particular inline asm fragments are responsible for this. If we could
somehow find that out, you could possibly mark the functions that contain those
fragments as __noinline, to prevent the register allocation from blowing up.

You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 12 2021 - 12:20:39 UTC

Original text of this message