Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 13:13:47 +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 [on i386 with LTO option]
Message-ID:  <bug-257124-12827-dX6yV0XP9v@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257124-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257124-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257124

Ed Maste <emaste@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@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} !=3D i386
OPTIONS_EXCLUDE+=3D LTO
.endif

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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