commit: acd8fdb9c2b373a613ad72eaf8dcc21136b5035d Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Mar 20 05:03:48 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 20 06:17:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd8fdb9
sci-mathematics/petsc: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863260 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-mathematics/petsc/petsc-3.19.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sci-mathematics/petsc/petsc-3.19.4.ebuild b/sci-mathematics/petsc/petsc-3.19.4.ebuild index 30f4763b16a3..fcd1c43750f1 100644 --- a/sci-mathematics/petsc/petsc-3.19.4.ebuild +++ b/sci-mathematics/petsc/petsc-3.19.4.ebuild @@ -92,6 +92,11 @@ petsc_select() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863260 + # https://gitlab.com/petsc/petsc/-/issues/1560 + filter-lto + # bug 548498 # PETSc runs mpi processes during configure that result in a sandbox # violation by trying to open /proc/mtrr rw. This is not easy to
