Hi, I'm getting an error while building kicad, I tried versions 8.0.4, 8.0.5 with same result, but I was able to build 8.0.6. This is new a new Gentoo installation and the whole system is build with gcc:14. I tried to build kicad-8.0.4 with gcc:13 and it also failed, but with a different error.
Created attachment 910277 [details] build.log from kicad-8.0.3-r1 build with gcc:14
Created attachment 910278 [details] build.log from kicad-8.0.3-r1 build with gcc:13
Created attachment 910279 [details] emerge --info
Looks like it is related to version of libgit2 and it was fixed in kicad-8.0.6. https://gitlab.com/kicad/code/kicad/-/issues/19157
Hello. Can't build too. Failed sub-commands: 20241122.KICAD.8.0.3.GCC13.00.txt 20241122.KICAD.8.0.6.GCC14.00.txt
Created attachment 911603 [details] Failed sub-commands.
Created attachment 911604 [details] Failed sub-commands.
(In reply to zhaleks from comment #7) > Created attachment 911604 [details] > Failed sub-commands. That looks like your memory is failing.
(In reply to Sam James from comment #8) > (In reply to zhaleks from comment #7) > > Created attachment 911604 [details] > > Failed sub-commands. > > That looks like your memory is failing. May be you're right, but this computer already re-compiled the world with GCC14 and now compiles Chromium. If it's failed, then I'll definitely will check the memory. At this moment it can't build KiCAD only. Thanks for your attention.
The ICE in that output is in GCC's garbage collection. Unfortunately, that generally means hardware issues rather than a GCC bug. No problem, fingers crossed you can get it sorted.
Hello. 8.0.6 has been successfully compiled with GCC14. Might be a temporary issue before, sorry, 8.0.3 still fails. >>> Completed installing sci-electronics/kicad-8.0.6 into /var/tmp/portage/sci-electronics/kicad-8.0 .6/image * Final size of build directory: 1062504 KiB ( 1.0 GiB) * Final size of installed tree: 197272 KiB (192.6 MiB) * Verifying compiled files for python3.12 * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * /var/tmp/portage/sci-electronics/kicad-8.0.6/work/kicad-8.0.6/eeschema/sim/kibis/kibis.cpp:66:76: warning: ‘*this.KIBIS::m_reporter’ is used uninitialized [-Wuninitialized] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: https://www.kicad.org strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.co mmand.line -R .note.gnu.gold-version /usr/lib64/libkicad_3dsg.so.2.0.0 /usr/bin/_kipython.kiface /usr/lib64/libkigal.so.8.0.6 /usr/lib64/libkicommon.so.8.0.6 /usr/bin/eeschema /usr/bin/_eeschema.kiface /usr/bin/gerbview /usr/bin/_gerbview.kiface /usr/bin/pcbnew /usr/bin/_pcbnew.kiface /usr/bin/pl_editor /usr/bin/_pl_editor.kiface /usr/bin/bitmap2component /usr/bin/pcb_calculator /usr/bin/_pcb_calculator.kiface /usr/lib64/kicad/plugins/3d/libs3d_plugin_idf.so /usr/lib64/kicad/plugins/3d/libs3d_plugin_vrml.so /usr/lib64/kicad/plugins/3d/libs3d_plugin_oce.so /usr/bin/_cvpcb.kiface /usr/bin/kicad /usr/bin/kicad-cli /usr/bin/idfcyl /usr/bin/idfrect /usr/bin/idf2vrml /usr/bin/dxf2idf >>> Done.
Thanks. Yeah, that's expected, 8.0.6 fixes that problem (see bug 944504).