summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-17 01:39:12 -0400
committerSam James <sam@gentoo.org>2024-03-17 06:34:28 +0000
commit8dce0931582160b74deff4e2aa407f33fa712f24 (patch)
treecad7db5d459d3146d44f2f5dc17aa699e31f6d2f /dev-scheme
parentsys-fs/multipath-tools: add bug ref for filter-lto (diff)
downloadgentoo-8dce0931582160b74deff4e2aa407f33fa712f24.tar.gz
gentoo-8dce0931582160b74deff4e2aa407f33fa712f24.tar.bz2
gentoo-8dce0931582160b74deff4e2aa407f33fa712f24.zip
dev-scheme/ypsilon: mark as LTO-unsafe, strict-aliasing unsafe
If someone cares about this ancient 2008 package, there's a new 2.0.8 version from 2022 which may or may not have fixed the issue. It's a non-trivial update and I don't do scheme. Do enough to unblock the LTO tracker. Closes: https://bugs.gentoo.org/858257 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
index 5dea3a7bde37..75550544e519 100644
--- a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
+++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
@@ -31,6 +31,16 @@ src_prepare() {
append-flags -pthread
# fix build with >=sys-devel/gcc-11, bug #787866
sed -i "/^CPPFLAGS/s/=/= -DNO_TLS/" Makefile
+
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/858257
+ #
+ # There is an upstream update to 2.0.8 (lotta new versions!) but it changes
+ # way too much to trivially update. The issue may or may not be fixed.
+ # Before multiple other things bombed out, the erroring source file
+ # *seemed* to compile ok.
+ append-flags -fno-strict-aliasing
+ filter-lto
}
src_compile() {