commit: 9686580f1317fa20a8090d55bfe1cba102cfb0d1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jul 20 00:07:20 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jul 20 00:07:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9686580f
toolchain.eclass: disable gcov for cross I don't see an immediate way to only disable this for crossdev stage1, so just disable it entirely for cross for now. Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index dabdd3a8f4fa..ed6692ca8dea 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -998,7 +998,13 @@ toolchain_src_configure() { fi fi - confgcc+=( --disable-bootstrap ) + confgcc+=( + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 + # TOOD: Find a way to disable this just for stage1 cross? + --disable-gcov + + --disable-bootstrap + ) else if tc-is-static-only ; then confgcc+=( --disable-shared )