From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/bullet/
Date: Mon, 11 Mar 2024 14:24:08 +0000 (UTC) [thread overview]
Message-ID: <1710166962.32cd8f0990a3339ac81408f285578e671c1c6a18.sam@gentoo> (raw)
commit: 32cd8f0990a3339ac81408f285578e671c1c6a18
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 10 20:43:40 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 14:22:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cd8f09
sci-physics/bullet: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/863275
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/bullet/bullet-3.21.ebuild | 10 +++++++++-
sci-physics/bullet/bullet-3.22b.ebuild | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/sci-physics/bullet/bullet-3.21.ebuild b/sci-physics/bullet/bullet-3.21.ebuild
index ba59abb141b6..9a61fccf6b25 100644
--- a/sci-physics/bullet/bullet-3.21.ebuild
+++ b/sci-physics/bullet/bullet-3.21.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Continuous Collision Detection and Physics Library"
HOMEPAGE="https://www.bulletphysics.com/"
@@ -54,6 +54,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror-strict-aliasing
+ # https://bugs.gentoo.org/863275
+ # https://github.com/bulletphysics/bullet3/issues/4590
+ #
+ # Do not trust with LTO either
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DBUILD_CPU_DEMOS=OFF
-DBUILD_OPENGL3_DEMOS=OFF
diff --git a/sci-physics/bullet/bullet-3.22b.ebuild b/sci-physics/bullet/bullet-3.22b.ebuild
index c89db12f8617..dc16ccdb4491 100644
--- a/sci-physics/bullet/bullet-3.22b.ebuild
+++ b/sci-physics/bullet/bullet-3.22b.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Continuous Collision Detection and Physics Library"
HOMEPAGE="https://pybullet.org/wordpress/"
@@ -52,6 +52,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror-strict-aliasing
+ # https://bugs.gentoo.org/863275
+ # https://github.com/bulletphysics/bullet3/issues/4590
+ #
+ # Do not trust with LTO either
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DBUILD_CPU_DEMOS=OFF
-DBUILD_OPENGL3_DEMOS=OFF
next reply other threads:[~2024-03-11 14:24 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-11 14:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-09 15:06 [gentoo-commits] repo/gentoo:master commit in: sci-physics/bullet/ Arthur Zamarin
2022-12-19 14:47 Andreas Sturmlechner
2022-12-05 5:30 WANG Xuerui
2022-08-26 10:46 Sam James
2022-05-17 11:55 Joonas Niilola
2022-04-27 14:00 Joonas Niilola
2022-04-27 14:00 Joonas Niilola
2022-04-27 13:19 Joonas Niilola
2022-03-02 7:19 Joonas Niilola
2022-03-02 7:19 Joonas Niilola
2022-03-02 2:19 Sam James
2021-10-30 17:18 Sam James
2021-10-29 22:23 Sam James
2021-08-02 12:33 Marek Szuba
2021-06-02 12:59 Joonas Niilola
2021-02-12 15:10 Sam James
2021-01-03 1:18 Sam James
2020-12-07 8:56 Joonas Niilola
2020-10-12 12:51 Joonas Niilola
2020-10-10 7:22 Joonas Niilola
2020-10-10 7:22 Joonas Niilola
2020-10-10 7:22 Joonas Niilola
2020-09-27 20:09 Sam James
2020-08-23 13:10 David Seifert
2018-06-12 16:03 Mikle Kolyada
2018-06-12 11:36 Thomas Deutschmann
2018-05-26 22:36 David Seifert
2018-02-12 14:03 Alexis Ballier
2017-08-13 11:16 Sergei Trofimovich
2017-07-16 22:14 Patrice Clement
2016-01-11 20:13 Guilherme Amadio
2016-01-11 19:13 Guilherme Amadio
2016-01-11 19:13 Guilherme Amadio
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=1710166962.32cd8f0990a3339ac81408f285578e671c1c6a18.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