https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122482
Bug ID: 122482
Summary: sys-devel/gcc-15.2.1_p20251018 fails to compile with
go support on gentoo with the error message "Comparing
stages 2 and 3 Bootstrap comparison failure!
gcc/go/expressions.o differs "
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: schulz.benjamin at googlemail dot com
Target Milestone: ---
All I can say is that emerge gcc-15.2.1_p20251018 with useflag go on fails with
the following message
Comparing stages 2 and 3 Bootstrap comparison failure!
gcc/go/expressions.o differs
I have posted the build log with the various options as a tar.gz file already
under the gentoo bug here
https://bugs.gentoo.org/965179
Without the go support, it compiles with the following warnings (which may be
interesting to the developers)
* Final size of build directory: 4489844 KiB (4.2 GiB)
* Final size of installed tree: 1502192 KiB (1.4 GiB)
* QA Notice: Installing libtool files (.la) without corresponding static
libraries!
* /usr/libexec/gcc/x86_64-pc-linux-gnu/15/liblto_plugin.la
* QA Notice: Found the following implicit function declarations in configure
logs:
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/build/x86_64-pc-linux-gnu/libgfortran/config.log:4547
- fpsetmask
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/build/x86_64-pc-linux-gnu/32/libgfortran/config.log:4639
- fpsetmask
* Check that no features were accidentally disabled.
* See https://wiki.gentoo.org/wiki/Modern_C_porting.
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/gcc/vec.h:347:10:
warning: ‘free’ called on unallocated object ‘<anonymous>’
[-Wfree-nonheap-object]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:210:27:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:224:23:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:239:28:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:217:25:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:203:24:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/libgrust/libproc_macro_internal/literal.cc:196:24:
warning: ‘payload’ is used uninitialized [-Wuninitialized]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/gcc/vec.h:347:10:
warning: ‘free’ called on unallocated object ‘dest_bbs’ [-Wfree-nonheap-object]
*
/var/tmp/portage/sys-devel/gcc-15.2.1_p20251018/work/gcc-15-20251018/gcc/vec.h:347:10:
warning: ‘free’ called on unallocated object ‘lhsc’ [-Wfree-nonheap-object]