We should try pass -DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF in cmake.eclass to avoid more use of PCH. Our policy in Gentoo is to avoid pch given how buggy it is in compilers.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=6717d6e786e7db9121eece74dfb3cfebfaed592d commit 6717d6e786e7db9121eece74dfb3cfebfaed592d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-01-03 22:17:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-01-03 22:18:31 +0000 cmake.eclass: Set CMAKE_DISABLE_PRECOMPILE_HEADERS=ON Bug: https://bugs.gentoo.org/920845 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 1 + 1 file changed, 1 insertion(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3867345f8c2d9f24157508bc6372f479a82cf33f commit 3867345f8c2d9f24157508bc6372f479a82cf33f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-01-03 22:17:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-01-10 11:00:52 +0000 cmake.eclass: Set CMAKE_DISABLE_PRECOMPILE_HEADERS=ON Closes: https://bugs.gentoo.org/920845 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 1 + 1 file changed, 1 insertion(+)