[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 13:13:47 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257124

Ed Maste <emaste_at_freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|multimedia/ffmpeg: Fails to |multimedia/ffmpeg: Fails to
                   |link: ld: error: inline     |link: ld: error: inline
                   |assembly requires more      |assembly requires more
                   |registers than available at |registers than available at
                   |line                        |line [on i386 with LTO
                   |                            |option]

--- Comment #5 from Ed Maste <emaste_at_freebsd.org> ---
> I'd suggest that we remove the LTO option for i386

Yes, the benefit of fixing LTO for i386 is not worth the effort it will
require.

I am not sure how this is generally handled in ports, but perhaps

# i386 is too register-starved for LTO (PR257124)
.if ${ARCH} != i386
OPTIONS_EXCLUDE+= LTO
.endif

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

Original text of this message