git: ce777b825e3c - 2021Q3 - multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.

Thomas Zander riggs at FreeBSD.org
Sun Aug 29 14:07:05 UTC 2021


The branch 2021Q3 has been updated by riggs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce777b825e3c72834daf274b53bfde010f24e460

commit ce777b825e3c72834daf274b53bfde010f24e460
Author:     Thomas Zander <riggs at FreeBSD.org>
AuthorDate: 2021-08-29 14:00:36 +0000
Commit:     Thomas Zander <riggs at FreeBSD.org>
CommitDate: 2021-08-29 14:06:31 +0000

    multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.
    
    Details:
    - The low number of i386 leads to register exhaustion when compiling
      with LTO. Due to the decreasing popularity of 32 bit i386 machines
      which require hyper-optimised ffmpeg builds, the option is excluded
      from the builds for now.
    
    PR:             257124
    MFH:            2021Q3
    (cherry picked from commit 0561f3e6355206d3ff81b2d9a69f62e10fc7f16e)
---
 multimedia/ffmpeg/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 38316cf5dbdc..2ebfe5e204bc 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -50,6 +50,9 @@ OPTIONS_DEFAULT=	AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \
 			GNUTLS ICONV LAME LIBXML2 OPTIMIZED_CFLAGS OPUS RTCPU \
 			THEORA V4L VAAPI VDPAU VORBIS VPX X264 X265 XCB XVID
 
+# i386 is too register-starved for LTO (PR257124)
+OPTIONS_EXCLUDE_i386=	LTO
+
 .if !exists(${.CURDIR:H:H}/multimedia/aribb24)
 # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/100bfac6d6ec
 OPTIONS_EXCLUDE+=	ARIBB24


More information about the dev-commits-ports-branches mailing list