Compilation fails due to using __attribute__((malloc(free))), which is a new feature introduced with GCC 11. It's not implemented in GCC 10 (which is still stable in Gentoo), resulting in: "error: wrong number of arguments specified for ‘malloc’ attribute" (The same caused an error with 5.5.19 and Clang, see Bug 915603.) Reproducible: Always
GCC 10 is EOL and the only reason it hasn't been masked yet was because people weren't happy when I immediately masked 9.x when 9.5.0 was released (at which point it became EOL). I'll just go ahead and do that now, as it's overdue.
(Actually, I'll do it later on, as I suspect there may be a complication with Ada. But yes, stop using it.)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0efe50bef19688c248e91e0eba870e052d65416 commit b0efe50bef19688c248e91e0eba870e052d65416 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-11-17 15:12:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-19 11:56:35 +0000 profiles: mask <sys-devel/gcc-11 (GCC 10 is EOL) GCC 10 is EOL - it has been since GCC 10.5 was released in July. It's hard to get the balance right here - if we mask immediately on the release of .5 of a series, some people aren't happy, and it's indeed kind of a nuisance for stabling the last version of a series too. (I did it the day-of for 9.5.x and had some feedback on it from users.) In any case, by now, it's certainly overdue. Move to GCC 11 or newer, please. Bug: https://bugs.gentoo.org/917507 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/33872 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)