Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an8.9-gcc-toolset-13-build-344804-70067/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/gcc-toolset-13-binutils-2.40-8.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an8.9-gcc-toolset-13-build-344804-70067/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nb8QQF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf binutils-2.40 + /usr/bin/xz -dc /builddir/build/SOURCES/binutils-2.40.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd binutils-2.40 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/binutils-libtool-lib64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-export-demangle.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-no-config-h-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-filename-in-readelf-messages.patch + /usr/bin/cat /builddir/build/SOURCES/binutils-revert-PLT-elision.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-readelf-other-sym-info.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-2.27-aarch64-ifunc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-do-not-link-with-static-libstdc++.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-special-sections-in-groups.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-fix-testsuite-failures.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-mismatched-section-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-warn-unsupported.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-i386-gnu-property-notes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-autoconf-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-libtool-no-rpath.patch + /usr/bin/cat /builddir/build/SOURCES/binutils-update-linker-manual.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-objcopy-note-merge-speedup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-testsuite-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-reloc-symtab.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-CVE-2023-1972.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf32-ppc.c bfd/elf64-ppc.c + sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elfnn-aarch64.c bfd/elfxx-aarch64.c + sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc + sed -i -e /pagesize/s/0x1000,/0x10000,/ gold/aarch64.cc + perl -pi -e 's/i\[3-7\]86/i[34567]86/g' bfd/config.bfd bfd/config.in bfd/configure bfd/configure.ac bfd/configure.com bfd/configure.host binutils/config.in binutils/configure binutils/configure.ac binutils/configure.com binutils/configure.tgt etc/configure gas/config gas/config.in gas/configure gas/configure.ac gas/configure.com gas/configure.tgt gold/config.in gold/configure gold/configure.ac gold/configure.tgt gprof/config.texi gprof/configure gprof/configure.ac gprofng/config gprofng/configure gprofng/configure.ac intl/config.h.in intl/config.intl.in intl/configure intl/configure.ac ld/config.in ld/configdoc.texi ld/configure ld/configure.ac ld/configure.host ld/configure.tgt libctf/config.h.in libctf/configure libctf/configure.ac libiberty/config libiberty/config.h-vms libiberty/config.in libiberty/configure libiberty/configure.ac libiberty/configure.com libsframe/config.h.in libsframe/configure libsframe/configure.ac opcodes/config.in opcodes/configure opcodes/configure.ac opcodes/configure.com zlib/configure zlib/configure.ac Can't do inplace edit: gas/config is not a regular file, <> line 43244. Can't do inplace edit: gprofng/config is not a regular file, <> line 90760. Can't do inplace edit: libiberty/config is not a regular file, <> line 159911. + sed -i -e 's/%{release}/8.an8/g' bfd/Makefile.am bfd/Makefile.in + sed -i -e '/^libopcodes_la_\(DEPENDENCIES\|LIBADD\)/s,$, ../bfd/libbfd.la,' opcodes/Makefile.am opcodes/Makefile.in + gcc -O2 -g -v --help + grep -q -- -Bsymbolic-functions + sed -i -e 's/^libbfd_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' bfd/Makefile.am bfd/Makefile.in + sed -i -e 's/^libopcodes_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' opcodes/Makefile.am opcodes/Makefile.in + sed -i -e 's/^ PACKAGE=/ PACKAGE=/' bfd/configure binutils/configure etc/configure gas/configure gold/configure gprof/configure gprofng/configure intl/configure ld/configure libctf/configure libiberty/configure libsframe/configure opcodes/configure zlib/configure + for tool in binutils gas ld + sed -i -e '2aDEJATOOL = binutils' binutils/Makefile.am + sed -i -e 's/^DEJATOOL = .*/DEJATOOL = binutils/' binutils/Makefile.in + for tool in binutils gas ld + sed -i -e '2aDEJATOOL = gas' gas/Makefile.am + sed -i -e 's/^DEJATOOL = .*/DEJATOOL = gas/' gas/Makefile.in + for tool in binutils gas ld + sed -i -e '2aDEJATOOL = ld' ld/Makefile.am + sed -i -e 's/^DEJATOOL = .*/DEJATOOL = ld/' ld/Makefile.in + find . -name '*.texi' -print -exec touch '{}' ';' ./ld/configdoc.texi ./ld/fdl.texi ./ld/ld.texi ./ld/ldint.texi ./ld/gen-doc.texi ./ld/h8-doc.texi ./libsframe/doc/sframe-spec.texi ./gas/doc/c-rx.texi ./gas/doc/c-h8300.texi ./gas/doc/c-pdp11.texi ./gas/doc/c-pj.texi ./gas/doc/c-m68hc11.texi ./gas/doc/c-i386.texi ./gas/doc/c-pru.texi ./gas/doc/c-z8k.texi ./gas/doc/c-nds32.texi ./gas/doc/c-cr16.texi ./gas/doc/internals.texi ./gas/doc/c-ia64.texi ./gas/doc/c-sh.texi ./gas/doc/c-arm.texi ./gas/doc/c-s390.texi ./gas/doc/c-score.texi ./gas/doc/c-alpha.texi ./gas/doc/c-loongarch.texi ./gas/doc/c-avr.texi ./gas/doc/c-mmix.texi ./gas/doc/c-lm32.texi ./gas/doc/c-cris.texi ./gas/doc/c-s12z.texi ./gas/doc/c-d30v.texi ./gas/doc/c-rl78.texi ./gas/doc/c-m32r.texi ./gas/doc/c-sparc.texi ./gas/doc/c-bfin.texi ./gas/doc/c-ip2k.texi ./gas/doc/c-csky.texi ./gas/doc/fdl.texi ./gas/doc/c-aarch64.texi ./gas/doc/as.texi ./gas/doc/c-v850.texi ./gas/doc/h8.texi ./gas/doc/c-xtensa.texi ./gas/doc/c-mt.texi ./gas/doc/all.texi ./gas/doc/c-ppc.texi ./gas/doc/c-wasm32.texi ./gas/doc/c-visium.texi ./gas/doc/c-epiphany.texi ./gas/doc/c-tic6x.texi ./gas/doc/c-z80.texi ./gas/doc/c-d10v.texi ./gas/doc/c-nios2.texi ./gas/doc/c-msp430.texi ./gas/doc/c-metag.texi ./gas/doc/c-tilegx.texi ./gas/doc/c-riscv.texi ./gas/doc/c-xgate.texi ./gas/doc/c-bpf.texi ./gas/doc/c-xstormy16.texi ./gas/doc/c-vax.texi ./gas/doc/c-tilepro.texi ./gas/doc/c-arc.texi ./gas/doc/c-hppa.texi ./gas/doc/c-microblaze.texi ./gas/doc/c-or1k.texi ./gas/doc/c-tic54x.texi ./gas/doc/c-m68k.texi ./gas/doc/c-m32c.texi ./gas/doc/asconfig.texi ./gas/doc/c-mips.texi ./gas/doc/c-ns32k.texi ./libctf/doc/ctf-spec.texi ./libiberty/libiberty.texi ./libiberty/functions.texi ./libiberty/copying-lib.texi ./libiberty/at-file.texi ./libiberty/obstacks.texi ./binutils/doc/binutils.texi ./binutils/doc/sframe.options.texi ./binutils/doc/debug.options.texi ./binutils/doc/fdl.texi ./binutils/doc/ctf.options.texi ./gprofng/doc/version.texi ./gprofng/doc/gprofng.texi ./gprofng/doc/fdl.texi ./gprof/fdl.texi ./gprof/gprof.texi ./gprof/config.texi ./bfd/doc/bfdwin.texi ./bfd/doc/libbfd.texi ./bfd/doc/webassembly.texi ./bfd/doc/reloc.texi ./bfd/doc/archures.texi ./bfd/doc/coffcode.texi ./bfd/doc/section.texi ./bfd/doc/bfdver.texi ./bfd/doc/corefile.texi ./bfd/doc/bfdio.texi ./bfd/doc/elfcode.texi ./bfd/doc/targets.texi ./bfd/doc/format.texi ./bfd/doc/hash.texi ./bfd/doc/elf.texi ./bfd/doc/fdl.texi ./bfd/doc/init.texi ./bfd/doc/mmo.texi ./bfd/doc/opncls.texi ./bfd/doc/linker.texi ./bfd/doc/bfdint.texi ./bfd/doc/bfdt.texi ./bfd/doc/bfd.texi ./bfd/doc/archive.texi ./bfd/doc/cache.texi ./bfd/doc/bfdsumm.texi ./bfd/doc/syms.texi ./bfd/doc/aoutx.texi + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fx9CtK + umask 022 + cd /builddir/build/BUILD + cd binutils-2.40 + compute_global_configuration + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no --enable-lto' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes' + CARGS='--quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-threads=yes' + run_target_configuration loongarch64-redhat-linux 1 1 + local target=loongarch64-redhat-linux + local native=1 + local shared=1 + local builddir=build-loongarch64-redhat-linux + rm -rf build-loongarch64-redhat-linux + mkdir build-loongarch64-redhat-linux + pushd build-loongarch64-redhat-linux ~/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux ~/build/BUILD/binutils-2.40 BUILDING the Binutils for TARGET loongarch64-redhat-linux (native ? 1) (shared ? 1) + echo 'BUILDING the Binutils for TARGET loongarch64-redhat-linux (native ? 1) (shared ? 1)' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/opt/rh/gcc-toolset-13/root/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/opt/rh/gcc-toolset-13/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + export 'CFLAGS=-O2 -g' + CFLAGS='-O2 -g' + export 'CXXFLAGS=-O2 -g -O2 -g' + CXXFLAGS='-O2 -g -O2 -g' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--enable-new-dtags' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--enable-new-dtags' + test x1 == x1 + case $target in + TARGS=--enable-targets=x86_64-pep,bpf-unknown-none + SARGS='--with-sysroot=/ --prefix=/opt/rh/gcc-toolset-13/root/usr --libdir=/opt/rh/gcc-toolset-13/root/usr/lib64' + SARGS='--with-sysroot=/ --prefix=/opt/rh/gcc-toolset-13/root/usr --libdir=/opt/rh/gcc-toolset-13/root/usr/lib64 --enable-gold=default' + test x1 == x1 + RARGS=--enable-shared + CC=gcc + CXX=g++ + ../configure --target=loongarch64-redhat-linux --quiet --build=loongarch64-redhat-linux --host=loongarch64-redhat-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-relro=yes --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-threads=yes --with-sysroot=/ --prefix=/opt/rh/gcc-toolset-13/root/usr --libdir=/opt/rh/gcc-toolset-13/root/usr/lib64 --enable-gold=default --enable-shared --enable-targets=x86_64-pep,bpf-unknown-none *** This configuration is not supported in the following subdirectories: zlib (Any other directories should still work fine.) ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc + popd ~/build/BUILD/binutils-2.40 ~/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux ~/build/BUILD/binutils-2.40 + build_target loongarch64-redhat-linux + local target=loongarch64-redhat-linux + local builddir=build-loongarch64-redhat-linux + pushd build-loongarch64-redhat-linux + /usr/bin/make -O -j4 -j4 tooldir=/opt/rh/gcc-toolset-13/root/usr all make[1]: Nothing to be done for 'all-target'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./etc Configuring in ./etc make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' make[2]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./libsframe Configuring in ./libsframe make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc /usr/bin/make all-am make[3]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' restore=: && backupdir=".am$$" && \ rm -rf $backupdir && mkdir $backupdir && \ if (makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 2>&1; then \ for f in doc/sframe-spec.info doc/sframe-spec.info-[0-9] doc/sframe-spec.info-[0-9][0-9] doc/sframe-spec.i[0-9] doc/sframe-spec.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ if makeinfo --split-size=5000000 --split-size=5000000 --no-split -I doc -I ../../libsframe/doc \ -o doc/sframe-spec.info `test -f 'doc/sframe-spec.texi' || echo '../../libsframe/'`doc/sframe-spec.texi; \ then \ rc=0; \ else \ rc=$?; \ $restore $backupdir/* `echo "./doc/sframe-spec.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc make[3]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' make[3]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-dump.lo -MD -MP -MF .deps/libsframe_la-sframe-dump.Tpo -c -o libsframe_la-sframe-dump.lo `test -f 'sframe-dump.c' || echo '../../libsframe/'`sframe-dump.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-dump.lo -MD -MP -MF .deps/libsframe_la-sframe-dump.Tpo -c ../../libsframe/sframe-dump.c -fPIC -DPIC -o .libs/libsframe_la-sframe-dump.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-dump.lo -MD -MP -MF .deps/libsframe_la-sframe-dump.Tpo -c ../../libsframe/sframe-dump.c -o libsframe_la-sframe-dump.o >/dev/null 2>&1 mv -f .deps/libsframe_la-sframe-dump.Tpo .deps/libsframe_la-sframe-dump.Plo make[3]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' In function 'dump_sframe_func_with_fres', inlined from 'dump_sframe_functions' at ../../libsframe/sframe-dump.c:197:7, inlined from 'dump_sframe' at ../../libsframe/sframe-dump.c:206:3: ../../libsframe/sframe-dump.c:180:7: warning: 'strncat' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncat (temp, ra_mangled_p_str, ra_mangled_p_str_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-error.lo -MD -MP -MF .deps/libsframe_la-sframe-error.Tpo -c -o libsframe_la-sframe-error.lo `test -f 'sframe-error.c' || echo '../../libsframe/'`sframe-error.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-error.lo -MD -MP -MF .deps/libsframe_la-sframe-error.Tpo -c ../../libsframe/sframe-error.c -fPIC -DPIC -o .libs/libsframe_la-sframe-error.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe-error.lo -MD -MP -MF .deps/libsframe_la-sframe-error.Tpo -c ../../libsframe/sframe-error.c -o libsframe_la-sframe-error.o >/dev/null 2>&1 mv -f .deps/libsframe_la-sframe-error.Tpo .deps/libsframe_la-sframe-error.Plo make[3]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' make[3]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe.lo -MD -MP -MF .deps/libsframe_la-sframe.Tpo -c -o libsframe_la-sframe.lo `test -f 'sframe.c' || echo '../../libsframe/'`sframe.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe.lo -MD -MP -MF .deps/libsframe_la-sframe.Tpo -c ../../libsframe/sframe.c -fPIC -DPIC -o .libs/libsframe_la-sframe.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsframe -I../../libsframe -I../../libsframe/../include -I../../libsframe/../libctf -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -MT libsframe_la-sframe.lo -MD -MP -MF .deps/libsframe_la-sframe.Tpo -c ../../libsframe/sframe.c -o libsframe_la-sframe.o >/dev/null 2>&1 mv -f .deps/libsframe_la-sframe.Tpo .deps/libsframe_la-sframe.Plo make[3]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux/libsframe' /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--enable-new-dtags -o libsframe.la -rpath /opt/rh/gcc-toolset-13/root/usr/lib64 libsframe_la-sframe.lo libsframe_la-sframe-dump.lo libsframe_la-sframe-error.lo make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./intl Configuring in ./intl make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' libtool: link: gcc -shared -fPIC -DPIC .libs/libsframe_la-sframe.o .libs/libsframe_la-sframe-dump.o .libs/libsframe_la-sframe-error.o -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--enable-new-dtags -Wl,-soname -Wl,libsframe.so.0 -o .libs/libsframe.so.0.0.0 make[2]: Nothing to be done for 'all'. libtool: link: (cd ".libs" && rm -f "libsframe.so.0" && ln -s "libsframe.so.0.0.0" "libsframe.so.0") libtool: link: (cd ".libs" && rm -f "libsframe.so" && ln -s "libsframe.so.0.0.0" "libsframe.so") libtool: link: ar rc .libs/libsframe.a libsframe_la-sframe.o libsframe_la-sframe-dump.o libsframe_la-sframe-error.o libtool: link: ranlib --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so .libs/libsframe.a libtool: link: ( cd ".libs" && rm -f "libsframe.la" && ln -s "../libsframe.la" "libsframe.la" ) make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./libiberty Configuring in ./libiberty make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./gas Configuring in ./gas config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./binutils Configuring in ./binutils config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./gold Configuring in ./gold make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' configure: WARNING: "unsupported target loongarch64-redhat-linux-gnu" configure: WARNING: "unsupported target bpf-unknown-none" configure: error: conditional "DEFAULT_TARGET_AARCH64" was never defined. Usually this means the macro was only invoked conditionally. make[1]: *** [Makefile:6826: configure-gold] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./gprof Configuring in ./gprof config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./bfd Configuring in ./bfd make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make[1]: Entering directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' mkdir -p -- ./ld Configuring in ./ld make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.40/build-loongarch64-redhat-linux' ar: no operation specified configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/loongarch64-redhat-linux/8/liblto_plugin.so rc make: *** [Makefile:1005: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Fx9CtK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Fx9CtK (%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 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status 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 loongarch64 --nodeps /builddir/build/SPECS/binutils.spec