public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gdl/
Date: Thu, 11 Jul 2024 16:29:59 +0000 (UTC)	[thread overview]
Message-ID: <1720715309.4200dd6f56df960800718dae10d37ef5c04e972c.eschwartz@gentoo> (raw)

commit:     4200dd6f56df960800718dae10d37ef5c04e972c
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 11 03:57:12 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 16:28:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4200dd6f

dev-lang/gdl: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/930966
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-lang/gdl/gdl-1.0.4-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-lang/gdl/gdl-1.0.4-r1.ebuild b/dev-lang/gdl/gdl-1.0.4-r1.ebuild
index 37797d0e9d71..e0d6af34f1d0 100644
--- a/dev-lang/gdl/gdl-1.0.4-r1.ebuild
+++ b/dev-lang/gdl/gdl-1.0.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 WX_GTK_VER="3.2-gtk3"
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit cmake python-single-r1 toolchain-funcs virtualx wxwidgets
+inherit cmake flag-o-matic python-single-r1 toolchain-funcs virtualx wxwidgets
 
 DESCRIPTION="GNU Data Language"
 HOMEPAGE="https://github.com/gnudatalanguage/gdl"
@@ -96,6 +96,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/930966
+	# https://github.com/gnudatalanguage/gdl/issues/1852
+	#
+	# Do not trust with LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	# MPI is still very buggy
 	# x11=off does not compile
 	local mycmakeargs=(


             reply	other threads:[~2024-07-11 16:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11 16:29 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-18 17:03 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gdl/ Pacho Ramos
2023-05-06 11:34 Sam James
2023-05-06 11:34 Sam James
2022-10-07  9:44 Andrew Ammerlaan
2021-12-28 22:00 Sam James
2021-11-04 19:54 Sam James
2020-01-22 21:50 Michał Górny
2020-01-16  5:17 Michał Górny
2018-08-20  9:45 Patrice Clement
2018-08-20  9:45 Patrice Clement
2017-02-11 19:47 David Seifert
2016-05-24 19:15 Pacho Ramos
2016-04-04 18:45 Sebastien Fabbro
2015-10-25 14:12 Pacho Ramos
2015-10-14 15:22 James Le Cuirot

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=1720715309.4200dd6f56df960800718dae10d37ef5c04e972c.eschwartz@gentoo \
    --to=eschwartz@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