Created attachment 871871 [details] These are the build logs Emerge told me to attach. Hi. The GCC verion I'm on is: gcc (Gentoo 14.0.0 p, commit d0b55776a4e1d2f293db5ba0e4a04aefed055ec4) 14.0.0 20230926 (experimental) 0fb176ef0486d78b1bb473f0de794f6b8cc62ac3 But when updating, I get a compilation error. emerge --info output: https://0x0.st/HVhR.txt environment file: https://0x0.st/HVh7.txt
Thanks. ``` g++ -fPIC -c -march=skylake -pipe -O3 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -fPIC -I. -I. -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/. -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../include -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libcody -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/../libbacktrace -o rtl-tests.o -MT rtl-tests.o -MMD -MP -MF ./.deps/rtl-tests.TPo /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rtl-tests.cc In file included from /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/coretypes.h:480, from /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rtl-tests.cc:22: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/poly-int.h: In instantiation of ‘constexpr poly_int<N, T>::poly_int(poly_int_full, const Cs& ...) [with Cs = {int, int}; unsigned int N = 1; C = long int]’: /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/poly-int.h:439:13: required from here /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/rtl-tests.cc:249:25: in ‘constexpr’ expansion of ‘poly_int<1, long int>(1, 1)’ /var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/gcc/poly-int.h:453:5: error: too many initializers for ‘long int [1]’ 453 | : coeffs { (typename poly_coeff_traits<C>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 454 | template init_cast<Cs>::type (cs))... } {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1190: rtl-tests.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/build-jit/gcc' make[2]: *** Waiting for unfinished jobs.... ``` This is https://gcc.gnu.org/PR111642 upstream.
Given this is definitely an upstream bug and it's already been reported there and being worked on, I'll close this as UPSTREAM. (If it weren't already being worked on/reported upstream, I wouldn't close it though, so the rpeort is valuable.)
Should be fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e465e5e4a969334f64cf0d6611de5273d73ea732.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf0a4e094c6cb18fdb7b4eb3dfb4692d2197ba6 commit ccf0a4e094c6cb18fdb7b4eb3dfb4692d2197ba6 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-03 19:02:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-03 19:03:10 +0000 sys-devel/gcc: backport USE=pgo bootstrap fix for 14.0.0_pre20231001 Closes: https://bugs.gentoo.org/914998 Signed-off-by: Sam James <sam@gentoo.org> .../gcc-14.0.0_pre20231001-pgo-bootstrap.patch | 45 ++++++++++++++++++++++ sys-devel/gcc/gcc-14.0.0_pre20231001.ebuild | 1 + 2 files changed, 46 insertions(+)