This is an auto-filled bug because app-laptop/msi-keyboard calls g++ directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CXX implementation (like clang++) by setting the CXX variable. So this issue has been reproduced by setting the CXX variable to x86_64-pc-linux-gnu-g++ and by removing the /usr/bin/g++ - /usr/bin/c++ binaries.
Created attachment 637854 [details] build.log build log and emerge --info
Hello, i have seen your report. I'm not the original builder of this program, but it's possible if i have time i can improve it. Have you already read code ? How do you suggest to improve it ? (if you have an example)
Check the tracker bug and closed bugs there for multiple examples.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbaeaf9218b0bc5665b657155625e677e512161a commit bbaeaf9218b0bc5665b657155625e677e512161a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-10 03:50:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-10 03:50:36 +0000 app-laptop/msi-keyboard: fix build with GCC 12; respect CXX Closes: https://bugs.gentoo.org/840329 Closes: https://bugs.gentoo.org/722324 Signed-off-by: Sam James <sam@gentoo.org> .../files/msi-keyboard-1.0-gcc12.patch | 9 +++++ .../files/msi-keyboard-1.0-r1-makefile.patch | 24 +++++++++++++ app-laptop/msi-keyboard/msi-keyboard-1.0-r1.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 72 insertions(+)