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-libs/pdal/
Date: Sun, 17 Mar 2024 07:50:20 +0000 (UTC)	[thread overview]
Message-ID: <1710661786.ffbde6e64183dd733002c25aaa649564c37ff813.sam@gentoo> (raw)

commit:     ffbde6e64183dd733002c25aaa649564c37ff813
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 07:09:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 07:49:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbde6e6

sci-libs/pdal: mark as LTO-unsafe, strict-aliasing unsafe

... but only for USE=debug, since the bug is inside the obscure
libunwind support which most people don't use anyway.

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

 sci-libs/pdal/pdal-2.6.2.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/sci-libs/pdal/pdal-2.6.2.ebuild b/sci-libs/pdal/pdal-2.6.2.ebuild
index 5a1dd8a8193e..a5c701ad7ee0 100644
--- a/sci-libs/pdal/pdal-2.6.2.ebuild
+++ b/sci-libs/pdal/pdal-2.6.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="A C++ library for translating and manipulating point cloud data"
 HOMEPAGE="https://pdal.io/"
@@ -39,6 +39,16 @@ DEPEND="
 S="${WORKDIR}/PDAL-${PV}-src"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/862915
+	# https://github.com/PDAL/PDAL/issues/3836
+	#
+	# only occurs inside unwind support
+	if use debug; then
+		append-flags -fno-strict-aliasing
+		filter-lto
+	fi
+
 	local mycmakeargs=(
 		-DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)"
 		-DWITH_COMPLETION=ON


             reply	other threads:[~2024-03-17  7:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17  7:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 22:43 [gentoo-commits] repo/gentoo:master commit in: sci-libs/pdal/ Sam James
2024-12-22 18:55 Sam James
2024-12-17 17:34 Sam James
2024-12-14  7:28 Joonas Niilola
2024-12-01 11:45 Sam James
2024-12-01 11:45 Sam James
2024-11-23 20:15 Arthur Zamarin
2024-11-11 22:39 Sam James
2024-09-23 15:17 Andrew Ammerlaan
2024-08-15 20:30 Sam James
2024-02-07  8:19 Joonas Niilola
2024-01-30 19:29 Sam James
2024-01-27  6:35 Joonas Niilola
2023-12-05  6:38 Joonas Niilola
2023-11-29 14:13 Andrew Ammerlaan
2023-05-06  3:55 Sam James
2022-11-24  8:10 Joonas Niilola
2022-11-22 20:55 Sam James
2022-11-22  7:56 Arthur Zamarin
2022-11-10 19:48 Arthur Zamarin
2022-10-31 17:43 Sam James
2022-10-31 11:50 Joonas Niilola
2022-10-31 11:50 Joonas Niilola
2022-10-12 23:32 Sam James
2022-06-03  5:50 Jakov Smolić
2022-04-17 17:31 Sam James
2022-04-17 11:11 Jakov Smolić
2022-04-17  9:49 Joonas Niilola
2022-02-20 23:33 Sam James
2022-02-20 23:12 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=1710661786.ffbde6e64183dd733002c25aaa649564c37ff813.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