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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Jul 2021 17:01:37 +0000

--- Comment #10 from Mikhail Teterin <mi_at_FreeBSD.org> ---
> The problem is that once you start inlining

It is my understanding, that "inline" is a hint (as is/was "register")... If
compiler knows, the target architecture cannot handle it, it will/should skip

> Perhaps, although I suspect there will not be a lot of interest

Ok, so we agree, that it is a clang/llvm bug and what's left is to figure out,
what to do about it.

> investigating i386-specific optimization issues

Sad... i386 is still listed as Tier-1 in 11. and 12., becoming Tier-2 in 13.


I wonder, what LLVM's stance on this is.

> I believe it is disabled by default on all archs right now?

Yes, it is, you're right. I'd say, it can be enabled by default, where known to
work, and marked with warning elsewhere. But not REMOVED altogether.

> I'm sure nobody will use an ancient i386 only machine

There are valid reasons to use i386 even on modern processors -- such as, for
example, as a small-memory (under 4Gb) VM in a large (64-bit) host.

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

Original text of this message