public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/glpk/
Date: Tue,  5 Mar 2024 04:48:48 +0000 (UTC)	[thread overview]
Message-ID: <1709614070.dbda7d259111a90728d62fc56e6d664d5a745f0e.sam@gentoo> (raw)

commit:     dbda7d259111a90728d62fc56e6d664d5a745f0e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 01:37:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 04:47:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbda7d25

sci-mathematics/glpk: mark as LTO-unsafe, strict-aliasing unsafe

It has been reported upstream but no response.

Closes: https://bugs.gentoo.org/863047
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/glpk/glpk-5.0-r1.ebuild | 11 ++++++++++-
 sci-mathematics/glpk/glpk-5.0-r2.ebuild |  9 +++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/glpk/glpk-5.0-r1.ebuild b/sci-mathematics/glpk/glpk-5.0-r1.ebuild
index 4035b2d2c2a9..cdfbef93af93 100644
--- a/sci-mathematics/glpk/glpk-5.0-r1.ebuild
+++ b/sci-mathematics/glpk/glpk-5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -49,6 +49,15 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/863047
+	# https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
+	# No upstream response...
+	#
+	# Do not trust it to LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local myconf
 	if use mysql || use odbc; then
 		myconf="--enable-dl"

diff --git a/sci-mathematics/glpk/glpk-5.0-r2.ebuild b/sci-mathematics/glpk/glpk-5.0-r2.ebuild
index ccc0e863233f..af7007591862 100644
--- a/sci-mathematics/glpk/glpk-5.0-r2.ebuild
+++ b/sci-mathematics/glpk/glpk-5.0-r2.ebuild
@@ -53,6 +53,15 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/863047
+	# https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
+	# No upstream response...
+	#
+	# Do not trust it to LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	local myconf
 	if use mysql || use odbc; then
 		myconf="--enable-dl"


             reply	other threads:[~2024-03-05  4:48 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05  4:48 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-10 18:24 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/glpk/ Michael Orlitzky
2023-06-03 11:15 Arthur Zamarin
2022-12-04  9:23 WANG Xuerui
2022-10-18  2:18 Sam James
2021-11-02 22:21 Sam James
2021-11-02 22:21 Sam James
2021-11-02 15:47 Sam James
2021-11-02 15:47 Sam James
2021-11-02 15:46 Sam James
2021-11-02 15:46 Sam James
2021-11-02 15:46 Sam James
2021-07-14 16:15 Marek Szuba
2021-03-31 13:05 Michael Orlitzky
2021-01-06 15:19 Fabian Groffen
2020-12-17  1:18 Michael Orlitzky
2020-11-07 17:57 Sam James
2020-11-06 15:23 Sam James
2020-08-23 17:01 David Seifert
2020-04-13 16:12 Agostino Sarubbo
2020-04-13 14:48 Agostino Sarubbo
2020-04-13 10:19 Agostino Sarubbo
2020-04-13 10:17 Agostino Sarubbo
2020-04-13  8:05 Sergei Trofimovich
2020-04-11 15:57 Sergei Trofimovich
2020-03-07  2:23 Michael Orlitzky
2018-07-13 10:43 Tony Vroon
2018-04-18 12:18 Tobias Klausmann
2018-04-04 22:32 Sergei Trofimovich
2018-03-03 17:56 Sergei Trofimovich
2017-12-16 13:07 Sergei Trofimovich
2017-12-16  8:20 Tobias Klausmann
2017-12-12 18:39 Thomas Deutschmann
2017-11-08 22:27 Sergei Trofimovich
2017-09-02 16:07 Sergei Trofimovich
2017-07-01  9:52 Sergei Trofimovich
2017-07-01  9:52 Sergei Trofimovich
2017-06-22 11:48 Alexis Ballier
2017-03-07  0:20 Sebastien Fabbro
2017-03-07  0:17 Sebastien Fabbro
2017-03-06 18:15 Robin H. Johnson
2017-03-04  0:10 Sebastien Fabbro
2016-01-23 11:05 Fabian Groffen

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=1709614070.dbda7d259111a90728d62fc56e6d664d5a745f0e.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