From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/balance/
Date: Tue, 26 Mar 2024 12:31:31 +0000 (UTC) [thread overview]
Message-ID: <1711456047.26fb9efcd488243df5865d10492fec95958622c7.sam@gentoo> (raw)
commit: 26fb9efcd488243df5865d10492fec95958622c7
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 26 00:44:12 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 12:27:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26fb9efc
net-misc/balance: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/861599
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/balance/balance-3.57-r1.ebuild | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/net-misc/balance/balance-3.57-r1.ebuild b/net-misc/balance/balance-3.57-r1.ebuild
index 1dbfe6c842cd..b432ff4b7e02 100644
--- a/net-misc/balance/balance-3.57-r1.ebuild
+++ b/net-misc/balance/balance-3.57-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit fcaps toolchain-funcs
+inherit fcaps flag-o-matic toolchain-funcs
DESCRIPTION="TCP Load Balancing Port Forwarder"
HOMEPAGE="https://balance.inlab.net"
@@ -25,6 +25,18 @@ src_prepare() {
tc-export CC
}
+src_compile() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/861599
+ # https://sourceforge.net/p/balance/bugs/13/
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
+ default
+}
+
src_install() {
default
next reply other threads:[~2024-03-26 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 12:31 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-26 12:31 [gentoo-commits] repo/gentoo:master commit in: net-misc/balance/ Sam James
2023-03-02 16:40 Joonas Niilola
2022-02-26 2:43 Sam James
2022-02-26 2:43 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711456047.26fb9efcd488243df5865d10492fec95958622c7.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox