From nobody Sat Jun 03 11:36:51 2023 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QYHrz4tGtz4YR29 for ; Sat, 3 Jun 2023 11:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QYHrz3D0nz3qvd for ; Sat, 3 Jun 2023 11:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685792211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DWUYyZOZAkvDJelZ13MQ9P1j3F4ZapEekvGAvu8EZzs=; b=S6i3NOGINDqpeQBIOASKb1buk3LKtrT8mX468igwrg1DFURccg+SeQA6ZU6Wjxr3PPUX1s XXUP1Z5o5X2370tCdctxkPDeiD5mqF14KmFcWsSjTDtqn55TlSznGVa8KHJ4scn6s/Hxhc PXXTBjI1YN8m35FDhQmLTUp2Q7LliuXvQYpsCEmm7aggCAaJRBRehRC7VaJKpX2xDRWNR5 940eOGnB1ecGUuppC8vK0gsnRaC9rt5L98vZC/bagaflUVbHln1v0VyCMlrNc8sj03RvK2 Wy+Q1TYuKKA5rYsCjTRCnMogfsC9+E2WYfjwY82/qCLiwIT4Y5QCBbUjKDq0aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685792211; a=rsa-sha256; cv=none; b=g/aNwsJ5hitz3W5amm5hjJ6jIqdsrvtlnv6SEzFNAXD42bdnPP3SiVrNgMiHlHKZBO813I hiIRzaF8JRABulbfjFzy9q7TAcEL/XX7uCBe4I4DXNd2t5q5zPxhoEohYPNVPIb1CRbDll Ai6/FwzRmHqV73TqcoR0969qqG5QrfOcTk/k56r5KoTAD0gmhjW6DpGFkPIdKpRJ9idX9H qlqHXlenrHWRhjey6b+0HRtiTu1MIz7qJkFi2bKBKGQkhLmiafKZzPtozayYMQlAE0qPIZ 9707BIUl617JqXWO9pYm/MgIgUnml+l6Jmi7BPWI4YxygY5uuiI/xCQdFPMTDQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QYHrz2HjvzPH7 for ; Sat, 3 Jun 2023 11:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 353Bap4d048873 for ; Sat, 3 Jun 2023 11:36:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 353Baptl048872 for multimedia@FreeBSD.org; Sat, 3 Jun 2023 11:36:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 271798] multimedia/ffmpeg: Enable LTO by default on aarch64 and amd64 Date: Sat, 03 Jun 2023 11:36:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271798 --- Comment #2 from Jan Beich --- If LTO has placebo benefit then the port option should be removed in favor = of WITH_LTO via Mk/Features/lto.mk e.g., to reduce maintenance. LTO isn't safe with mixed alignment (e.g., in dav1d) or mixed toolchain (LLVM bitcode vs. = GCC GIMPLE when using static libraries) but I didn't notice issues when dogfood= ing LTO in ffmpeg. Examples documenting statistical difference: - ports d4e1f93dbb3a (svt-av1) - ports 32c2b95c682e (libjxl) - ports 501e1ed88f97 (foot) However, ports 55006395d27c (mesa-devel) and ports 6ec985b72d58 (firefox) relied on upstream benchmarks. --=20 You are receiving this mail because: You are the assignee for the bug.=