Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 12:20:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 257124] multimedia/ffmpeg: Fails to link: ld: error: inline assembly requires more registers than available at line
Message-ID:  <bug-257124-12827-nzDh9Y6JgZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257124-12827@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257124

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #4 from Dimitry Andric <dim@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257124-12827-nzDh9Y6JgZ>