Created attachment 782348 [details] emerge --info This looks like a missing include: In file included from /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/../gcc/hash-table.h:248, from /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/../gcc/coretypes.h:459, from /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/../gcc/gcc-plugin.h:29, from /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/libcp1plugin.cc:35: /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/../gcc/vec.h: In member function ‘void vec<T>::reverse()’: /tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/libcc1/../gcc/vec.h:2086:10: error: ‘swap’ is not a member of ‘std’ 2086 | std::swap (ptr[i], ptr[l - i - 1]); | ^~~~ make[2]: *** [Makefile:600: libcp1plugin.lo] Error 1 make[2]: Leaving directory '/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/libcc1' make[2]: Entering directory '/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/libcc1'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=349099563cad4211b788e57bc640942bf37e7da3 commit 349099563cad4211b788e57bc640942bf37e7da3 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-26 02:28:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-26 03:43:11 +0000 toolchain.eclass: workaround build failure for GCC 10 with GCC 12 Closes: https://bugs.gentoo.org/849359 Signed-off-by: Sam James <sam@gentoo.org> eclass/toolchain.eclass | 6 ++++++ 1 file changed, 6 insertions(+)