git: 0561f3e63552 - main - multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.

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


The branch main has been updated by riggs:

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

commit 0561f3e6355206d3ff81b2d9a69f62e10fc7f16e
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:05:37 +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
---
 multimedia/ffmpeg/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 0f8b03cde1be..382374c09fee 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-main mailing list