try 1: make[3]: Entering directory '/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libgcc' /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/./gcc/ -B/usr/loongarch64-unknown-linux-gnu/bin/ -B/usr/loongarch64-unknown-linux-gnu/lib/ -isystem /usr/loongarch64-unknown-linux-gnu/include -isystem /usr/loongarch64-unknown-linux-gnu/sys-include -fmultiflags -fchecking=1 -g -pipe -O2 -O2 -g -pipe -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fno-stack-clash-protection -fpic -I. -I. -I../.././gcc -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libgcc -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libgcc/. -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libgcc/../gcc -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libgcc/../include -DHAVE_CC_ TLS -o _clzsi2.o -MT _clzsi2.o -MD -MP -MF _clzsi2.dep -DL_clzsi2 -c /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS qemu-loongarch64: /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/gcc/cc1: Error mapping file: Cannot allocate memory make[3]: *** [Makefile:508: _clzsi2.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libgcc' make[3]: *** Waiting for unfinished jobs.... try 2: libtool: compile: /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/loongarch64-unknown-linux-gnu/bin/ -B/usr/loongarch64-unknown-linux-gnu/lib/ -isystem /usr/loongarch64-unknown-linux-gnu/include -isystem /usr/loongarch64-unknown-linux-gnu/sys-include -fmultiflags -fchecking=1 -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libstdc++-v3/../libgcc -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/include/loongarch64-unknown-linux-gnu -I/var/tmp/portage/ sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libstdc++-v3/libsupc++ -std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cow-shim_facets.lo -g -pipe -O2 -D_GNU_SOURCE -c /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/gcc-14-20240518/libstdc++-v3/src/c++11/cow-shim_facets.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o cow-shim_facets.o qemu-loongarch64: /var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/gcc/cc1plus: Error mapping file: Cannot allocate memory make[6]: *** [Makefile:680: cow-shim_facets.lo] Error 1 make[6]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build/loongarch64-unknown-linux-gnu/libstdc++-v3/src/c++11' make[6]: *** Waiting for unfinished jobs....
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a8daea3068c6edb5f7d2cbb475bc369e190f9f commit 22a8daea3068c6edb5f7d2cbb475bc369e190f9f Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-05-25 14:29:09 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-05-25 14:29:45 +0000 sys-devel/gcc: keyword 14.1.1_p20240518 for ~loong Bug: https://bugs.gentoo.org/932732 Closes: https://bugs.gentoo.org/932731 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-devel/gcc/gcc-14.1.1_p20240518.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This disappears with qemu-9.