From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1584384-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8DC8C158015 for <garchives@archives.gentoo.org>; Thu, 28 Dec 2023 02:19:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A33E2BC028; Thu, 28 Dec 2023 02:19:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AA522BC028 for <gentoo-commits@lists.gentoo.org>; Thu, 28 Dec 2023 02:19:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2554B33FE60 for <gentoo-commits@lists.gentoo.org>; Thu, 28 Dec 2023 02:19:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7072114C4 for <gentoo-commits@lists.gentoo.org>; Thu, 28 Dec 2023 02:19:10 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1703729903.55795d1581fa3a3dff827600e61a0466f2c5913d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/source-highlight/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild X-VCS-Directories: dev-util/source-highlight/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 55795d1581fa3a3dff827600e61a0466f2c5913d X-VCS-Branch: master Date: Thu, 28 Dec 2023 02:19:10 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b8becc6-967c-4ae2-a588-29da0eb5cd7c X-Archives-Hash: 7efafc60f181052b3c83b2709b6102e1 commit: 55795d1581fa3a3dff827600e61a0466f2c5913d Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Dec 28 01:34:49 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 28 02:18:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55795d15 dev-util/source-highlight: disallow building with LTO It miscompiles with ODR violations. After elibtoolize, the build fails with the recommended -Werror= flags for lto. Filter out -flto so that users with global lto enabled don't miscompile source-highlight. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild index fb6cbdde1165..3a9b22fd5680 100644 --- a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild +++ b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild @@ -35,6 +35,8 @@ src_configure() { # required as rev-dep of dev-libs/boost-1.62.0 # https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI append-cxxflags -std=c++14 + # ODR violations: https://savannah.gnu.org/bugs/index.php?65086 + filter-lto econf \ --with-boost="${EPREFIX}/usr" \