Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2021 14:07:04 GMT
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ce777b825e3c - 2021Q3 - multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.
Message-ID:  <202108291407.17TE74Pw013911@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by riggs:

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

commit ce777b825e3c72834daf274b53bfde010f24e460
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2021-08-29 14:00:36 +0000
Commit:     Thomas Zander <riggs@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108291407.17TE74Pw013911>