From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 CF63A1581E7 for ; Sat, 27 Apr 2024 01:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EE70E29ED; Sat, 27 Apr 2024 01:11:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19152E29B4 for ; Sat, 27 Apr 2024 01:11:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08ABB342FFB for ; Sat, 27 Apr 2024 01:11:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 476A71752 for ; Sat, 27 Apr 2024 01:11:30 +0000 (UTC) From: "Sam James" 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" Message-ID: <1714180199.87c7b4704b5a0e5dd7f02b0d21f59fdf3ef1999b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/firebird/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild X-VCS-Directories: dev-db/firebird/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 87c7b4704b5a0e5dd7f02b0d21f59fdf3ef1999b X-VCS-Branch: master Date: Sat, 27 Apr 2024 01:11:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 141e5d66-f2cc-44cd-8e4f-0e63df9a58c4 X-Archives-Hash: 26577a37f5e01f35cdeb7371d9d3eb93 commit: 87c7b4704b5a0e5dd7f02b0d21f59fdf3ef1999b Author: Sam James gentoo org> AuthorDate: Sat Apr 27 01:09:59 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 27 01:09:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c7b470 dev-db/firebird: filter LTO, no SA, no lifetime DSE Bug: https://gcc.gnu.org/PR107078 Bug: https://github.com/FirebirdSQL/firebird/issues/5384 Bug: https://github.com/FirebirdSQL/firebird/issues/7308 Closes: https://bugs.gentoo.org/917662 Closes: https://bugs.gentoo.org/924659 Signed-off-by: Sam James gentoo.org> dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild | 8 ++++++-- dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild b/dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild index cf1793d314a8..5fd90979b8e5 100644 --- a/dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild +++ b/dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_P=${PN/f/F}-$(ver_rs 4 '-') -inherit autotools flag-o-matic +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="Relational database offering many ANSI SQL:2003 and some SQL:2008 features" HOMEPAGE="https://www.firebirdsql.org/" @@ -91,6 +91,10 @@ src_prepare() { -e 's:ISQL :FBSQL :w /dev/stdout' \ src/msgs/messages2.sql | wc -l)" "6" "src/msgs/messages2.sql" # 6 lines + # bug #917662, bug #924659 + filter-lto + append-flags -fno-strict-aliasing $(test-flags-CXX -fno-lifetime-dse) + # use gentoo's CXXFLAGS instead of whatever firebird decided on # doesn't replace all firebird's CXXFLAGS, but at least this is last, # so it can do some overrides diff --git a/dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild b/dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild index 171554c2aebe..6f2ba7ca3b89 100644 --- a/dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild +++ b/dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -93,6 +93,10 @@ src_configure() { filter-flags -fprefetch-loop-arrays filter-mfpmath sse + # bug #917662, bug #924659 + filter-lto + append-flags -fno-strict-aliasing $(test-flags-CXX -fno-lifetime-dse) + # otherwise this doesnt build with gcc-6 # http://tracker.firebirdsql.org/browse/CORE-5099 append-cflags -fno-sized-deallocation -fno-delete-null-pointer-checks