Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-389191-71986/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f72d1451f4774438b867eb1c2742d7b6', '-D', '/var/lib/mock/dist-an23-build-python3.11-389191-71986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 62: %{?fedora} != 0 Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/binutils-2.42.50-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 62: %{?fedora} != 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-389191-71986/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ce4644730cec4d84a4e8eb39d831de38', '-D', '/var/lib/mock/dist-an23-build-python3.11-389191-71986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 62: %{?fedora} != 0 Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Fz78IH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf binutils-2.42.50-49cc32b732a + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/binutils-2.42.50-49cc32b732a.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd binutils-2.42.50-49cc32b732a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-libtool-lib64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-export-demangle.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-no-config-h-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-revert-PLT-elision.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-2.27-aarch64-ifunc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-do-not-link-with-static-libstdc++.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-mismatched-section-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-warn-unsupported.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-i386-gnu-property-notes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-autoconf-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-libtool-no-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-update-linker-manual.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-empty-dwp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-testsuite-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-riscv-testsuite-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-pack-relative-relocs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-gold-ignore-execstack-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-fix-ar-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/binutils-suppress-ld-align-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 etc/configure.ac 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 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 47555. Can't do inplace edit: gprofng/config is not a regular file, <> line 102230. Can't do inplace edit: libiberty/config is not a regular file, <> line 167109. + sed -i -e 's/%{release}/1.an23/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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -v --help + grep -q -- -Bsymbolic-functions + sed -i -e 's/^ PACKAGE=/ PACKAGE=/' bfd/configure binutils/configure etc/configure gas/configure gold/configure gprof/configure gprofng/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/ld.texi ./ld/fdl.texi ./ld/gen-doc.texi ./ld/h8-doc.texi ./ld/ldint.texi ./gas/doc/c-vax.texi ./gas/doc/c-ia64.texi ./gas/doc/c-msp430.texi ./gas/doc/as.texi ./gas/doc/c-s390.texi ./gas/doc/c-hppa.texi ./gas/doc/c-arc.texi ./gas/doc/c-tic54x.texi ./gas/doc/c-epiphany.texi ./gas/doc/c-mt.texi ./gas/doc/c-mips.texi ./gas/doc/c-bpf.texi ./gas/doc/c-rl78.texi ./gas/doc/all.texi ./gas/doc/c-avr.texi ./gas/doc/c-score.texi ./gas/doc/c-mmix.texi ./gas/doc/c-pdp11.texi ./gas/doc/fdl.texi ./gas/doc/c-microblaze.texi ./gas/doc/c-bfin.texi ./gas/doc/c-rx.texi ./gas/doc/c-m32r.texi ./gas/doc/c-metag.texi ./gas/doc/c-wasm32.texi ./gas/doc/c-d30v.texi ./gas/doc/c-tilegx.texi ./gas/doc/c-s12z.texi ./gas/doc/c-loongarch.texi ./gas/doc/c-cris.texi ./gas/doc/c-xtensa.texi ./gas/doc/c-m68hc11.texi ./gas/doc/c-z8k.texi ./gas/doc/c-ip2k.texi ./gas/doc/c-h8300.texi ./gas/doc/internals.texi ./gas/doc/c-lm32.texi ./gas/doc/c-visium.texi ./gas/doc/c-kvx.texi ./gas/doc/c-pj.texi ./gas/doc/c-nds32.texi ./gas/doc/c-ns32k.texi ./gas/doc/c-sh.texi ./gas/doc/c-pru.texi ./gas/doc/c-m68k.texi ./gas/doc/asconfig.texi ./gas/doc/c-v850.texi ./gas/doc/c-sparc.texi ./gas/doc/c-alpha.texi ./gas/doc/c-m32c.texi ./gas/doc/c-tic6x.texi ./gas/doc/c-or1k.texi ./gas/doc/c-z80.texi ./gas/doc/c-riscv.texi ./gas/doc/c-i386.texi ./gas/doc/c-tilepro.texi ./gas/doc/c-xgate.texi ./gas/doc/c-arm.texi ./gas/doc/c-aarch64.texi ./gas/doc/c-nios2.texi ./gas/doc/c-ppc.texi ./gas/doc/h8.texi ./gas/doc/c-cr16.texi ./gas/doc/c-d10v.texi ./gas/doc/c-xstormy16.texi ./gas/doc/c-csky.texi ./libsframe/doc/sframe-spec.texi ./libiberty/libiberty.texi ./libiberty/copying-lib.texi ./libiberty/functions.texi ./libiberty/obstacks.texi ./libiberty/at-file.texi ./gprof/config.texi ./gprof/fdl.texi ./gprof/gprof.texi ./gprofng/doc/gp-macros.texi ./gprofng/doc/fdl.texi ./gprofng/doc/version.texi ./gprofng/doc/gp-display-html.texi ./gprofng/doc/gp-archive.texi ./gprofng/doc/gp-display-text.texi ./gprofng/doc/gp-display-src.texi ./gprofng/doc/gprofng_ug.texi ./gprofng/doc/gp-collect-app.texi ./gprofng/doc/gprofng.texi ./bfd/doc/bfdint.texi ./bfd/doc/syms.texi ./bfd/doc/archures.texi ./bfd/doc/bfdt.texi ./bfd/doc/elf.texi ./bfd/doc/bfd.texi ./bfd/doc/format.texi ./bfd/doc/bfdio.texi ./bfd/doc/opncls.texi ./bfd/doc/linker.texi ./bfd/doc/mmo.texi ./bfd/doc/fdl.texi ./bfd/doc/targets.texi ./bfd/doc/corefile.texi ./bfd/doc/reloc.texi ./bfd/doc/webassembly.texi ./bfd/doc/aoutx.texi ./bfd/doc/bfdver.texi ./bfd/doc/hash.texi ./bfd/doc/cache.texi ./bfd/doc/elfcode.texi ./bfd/doc/coffcode.texi ./bfd/doc/archive.texi ./bfd/doc/libbfd.texi ./bfd/doc/section.texi ./bfd/doc/bfdsumm.texi ./binutils/doc/ctf.options.texi ./binutils/doc/sframe.options.texi ./binutils/doc/fdl.texi ./binutils/doc/debug.options.texi ./binutils/doc/binutils.texi ./libctf/doc/ctf-spec.texi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hdYrqv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd binutils-2.42.50-49cc32b732a + compute_global_configuration + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --enable-jansson=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --enable-jansson=yes --with-debuginfod' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --enable-jansson=yes --with-debuginfod --enable-gprofng=no --with-system-zlib --enable-compressed-debug-sections=none' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-rosegment=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-rosegment=yes --enable-threads=yes' + CARGS='--quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-rosegment=yes --enable-threads=yes --enable-werror=no' + run_target_configuration loongarch64-anolis-linux 1 1 + local target=loongarch64-anolis-linux + local native=1 + local shared=1 + local builddir=build-loongarch64-anolis-linux + rm -rf build-loongarch64-anolis-linux + mkdir build-loongarch64-anolis-linux + pushd build-loongarch64-anolis-linux ~/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux ~/build/BUILD/binutils-2.42.50-49cc32b732a BUILDING the Binutils for TARGET loongarch64-anolis-linux (native ? 1) (shared ? 1) + echo 'BUILDING the Binutils for TARGET loongarch64-anolis-linux (native ? 1) (shared ? 1)' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + test x1 == x1 + case $target in + TARGS=--enable-targets=x86_64-pep,bpf-unknown-none + SARGS='--with-sysroot=/ --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc' + SARGS='--with-sysroot=/ --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --enable-gold=default' + test x1 == x1 + RARGS=--enable-shared + ../configure --target=loongarch64-anolis-linux --quiet --build=loongarch64-anolis-linux --host=loongarch64-anolis-linux --enable-ld --enable-plugins --enable-64-bit-bfd --with-bugurl=https://bugzilla.openanolis.cn/ --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-warn-execstack=yes --enable-default-execstack=no --enable-warn-rwx-segments=yes --enable-lto --enable-new-dtags --disable-rpath --enable-separate-code=yes --enable-rosegment=yes --enable-threads=yes --enable-werror=no --with-sysroot=/ --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --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.) + popd ~/build/BUILD/binutils-2.42.50-49cc32b732a ~/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux ~/build/BUILD/binutils-2.42.50-49cc32b732a + build_target loongarch64-anolis-linux + local target=loongarch64-anolis-linux + local builddir=build-loongarch64-anolis-linux + pushd build-loongarch64-anolis-linux + /usr/bin/make -O -j32 V=1 VERBOSE=1 -j32 tooldir=/usr all make[1]: Nothing to be done for 'all-target'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./etc Configuring in ./etc make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' make[2]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./libsframe Configuring in ./libsframe make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' /usr/bin/make all-am make[3]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.42.50-49cc32b732a/build-loongarch64-anolis-linux/libsframe' make[3]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.42.50-49cc32b732a/build-loongarch64-anolis-linux/libsframe' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./gprof Configuring in ./gprof config.status: creating po/POTFILES config.status: creating po/Makefile config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' egrep: warning: egrep is obsolescent; using grep -E make[3]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-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.42.50-49cc32b732a/build-loongarch64-anolis-linux/libsframe' make[3]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.42.50-49cc32b732a/build-loongarch64-anolis-linux/libsframe' /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -version-info `grep -v '^#' ../../libsframe/libtool-version` -Wl,--version-script=../../libsframe/libsframe.ver -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o libsframe.la -rpath /usr/lib64 libsframe_la-sframe.lo libsframe_la-sframe-dump.lo libsframe_la-sframe-error.lo libtool: link: gcc -shared -fPIC -DPIC .libs/libsframe_la-sframe.o .libs/libsframe_la-sframe-dump.o .libs/libsframe_la-sframe-error.o -Wl,--version-script=../../libsframe/libsframe.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-soname -Wl,libsframe.so.1 -o .libs/libsframe.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libsframe.so.1" && ln -s "libsframe.so.1.0.0" "libsframe.so.1") libtool: link: (cd ".libs" && rm -f "libsframe.so" && ln -s "libsframe.so.1.0.0" "libsframe.so") libtool: link: ar --plugin /usr/libexec/gcc/loongarch64-anolis-linux/12/liblto_plugin.so --plugin /usr/libexec/gcc/loongarch64-anolis-linux/12/liblto_plugin.so 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-anolis-linux/12/liblto_plugin.so --plugin /usr/libexec/gcc/loongarch64-anolis-linux/12/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.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./gas Configuring in ./gas config.status: creating po/POTFILES config.status: creating po/Makefile config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' egrep: warning: egrep is obsolescent; using grep -E make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./binutils Configuring in ./binutils config.status: creating po/POTFILES config.status: creating po/Makefile config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' egrep: warning: egrep is obsolescent; using grep -E make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./gold Configuring in ./gold make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' configure: WARNING: "unsupported target loongarch64-anolis-linux-gnu" configure: WARNING: "unsupported target bpf-unknown-none" egrep: warning: egrep is obsolescent; using grep -E configure: error: conditional "DEFAULT_TARGET_AARCH64" was never defined. Usually this means the macro was only invoked conditionally. make[1]: *** [Makefile:6709: configure-gold] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./ld Configuring in ./ld egrep: warning: egrep is obsolescent; using grep -E make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' mkdir -p -- ./libiberty Configuring in ./libiberty make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.42.50-49cc32b732a/build-loongarch64-anolis-linux' make: *** [Makefile:1027: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.hdYrqv (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 62: %{?fedora} != 0 Bad exit status from /var/tmp/rpm-tmp.hdYrqv (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ce4644730cec4d84a4e8eb39d831de38 -D /var/lib/mock/dist-an23-build-python3.11-389191-71986/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ce4644730cec4d84a4e8eb39d831de38 -D /var/lib/mock/dist-an23-build-python3.11-389191-71986/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gknrbq86:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/binutils.spec