ily/c-attribs.o c-family/c-warn.o i386-c.o winnt-c.o msformat-c.o cc1obj-checksum.o \ libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -lz BUILDSTDERR: collect2: fatal error: ld terminated with signal 9 [Killed] BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [../../gcc/cp/Make-lang.in:113: cc1plus] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped BUILDSTDERR: compilation terminated. BUILDSTDERR: /usr/bin/ld: can not read symbols: Memory exhausted BUILDSTDERR: /usr/bin/ld: .eh_frame/.stab edit: Memory exhausted BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.interp' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.note.ABI-tag' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.note.gnu.build-id' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.gnu.hash' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.dynsym' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.dynstr' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.gnu.version' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.gnu.version_r' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.rela.dyn' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.rela.plt' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.plt' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.text' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.rodata' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.sdata2' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.eh_frame' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.preinit_array' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.init_array' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.fini_array' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.data.rel.ro' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.dynamic' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.data' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.got' not in segment BUILDSTDERR: /usr/bin/ld: cc1obj: warning: allocated section `.sdata' not in segment BUILDSTDERR: make[2]: *** [../../gcc/objc/Make-lang.in:66: cc1obj] Error 1 rm gfortran.pod gcc.pod make[2]: Leaving directory '/builddir/build/BUILD/gcc-7.2.0/build_win32/gcc' make[1]: Leaving directory '/builddir/build/BUILD/gcc-7.2.0/build_win32' BUILDSTDERR: make[1]: *** [Makefile:4226: all-gcc] Error 2 BUILDSTDERR: make: *** [Makefile:893: all] Error 2 make: Leaving directory '/builddir/build/BUILD/gcc-7.2.0/build_win32' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.VZCpKU (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VZCpKU (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mingw-gcc.spec