commit: 8dce0931582160b74deff4e2aa407f33fa712f24 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Mar 17 05:39:12 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 17 06:34:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dce0931
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 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() {
