Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/f33-build-633114-68494/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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 error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658966400 Wrote: /builddir/build/SRPMS/binutils-2.38-22.fc33.src.rpm error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/f33-build-633114-68494/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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 error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658966400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8l5aZN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf binutils-2.38 + /usr/bin/xz -dc /builddir/build/SOURCES/binutils-2.38.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd binutils-2.38 + /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/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-error-messages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /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-CVE-2019-1010204.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-use-long-long.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-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/cat /builddir/build/SOURCES/binutils-libtool-no-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-section-type.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-gas-loc-view.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-do-not-use-debuginfod.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-indirect-symbols.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-s390x-static-PIE.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-link-following.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-x86-non-canonical-references.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /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-ppc64-DT_RELR-relocs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/binutils-ppc-gas-machine-directive.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 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 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 42998. Can't do inplace edit: libiberty/config is not a regular file, <> line 136800. + sed -i -e 's/%{release}/22.fc33/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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 intl/configure ld/configure libctf/configure libiberty/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 '{}' ';' ./gprof/gprof.texi ./gprof/config.texi ./gprof/fdl.texi ./bfd/doc/bfdint.texi ./bfd/doc/section.texi ./bfd/doc/bfdt.texi ./bfd/doc/cache.texi ./bfd/doc/bfd.texi ./bfd/doc/archures.texi ./bfd/doc/bfdver.texi ./bfd/doc/init.texi ./bfd/doc/format.texi ./bfd/doc/bfdio.texi ./bfd/doc/syms.texi ./bfd/doc/libbfd.texi ./bfd/doc/hash.texi ./bfd/doc/elfcode.texi ./bfd/doc/linker.texi ./bfd/doc/core.texi ./bfd/doc/aoutx.texi ./bfd/doc/opncls.texi ./bfd/doc/coffcode.texi ./bfd/doc/webassembly.texi ./bfd/doc/reloc.texi ./bfd/doc/archive.texi ./bfd/doc/mmo.texi ./bfd/doc/targets.texi ./bfd/doc/fdl.texi ./bfd/doc/bfdwin.texi ./bfd/doc/elf.texi ./bfd/doc/bfdsumm.texi ./binutils/doc/ctf.options.texi ./binutils/doc/debug.options.texi ./binutils/doc/binutils.texi ./binutils/doc/fdl.texi ./gas/doc/c-cr16.texi ./gas/doc/c-riscv.texi ./gas/doc/c-nios2.texi ./gas/doc/c-z80.texi ./gas/doc/c-arc.texi ./gas/doc/c-ip2k.texi ./gas/doc/c-xc16x.texi ./gas/doc/c-visium.texi ./gas/doc/c-sh.texi ./gas/doc/c-avr.texi ./gas/doc/c-lm32.texi ./gas/doc/c-loongarch.texi ./gas/doc/c-mt.texi ./gas/doc/c-arm.texi ./gas/doc/c-xstormy16.texi ./gas/doc/c-d10v.texi ./gas/doc/c-m68hc11.texi ./gas/doc/c-pdp11.texi ./gas/doc/c-score.texi ./gas/doc/c-s12z.texi ./gas/doc/c-pj.texi ./gas/doc/c-bpf.texi ./gas/doc/c-msp430.texi ./gas/doc/c-tilegx.texi ./gas/doc/c-z8k.texi ./gas/doc/c-ppc.texi ./gas/doc/all.texi ./gas/doc/c-v850.texi ./gas/doc/internals.texi ./gas/doc/c-xtensa.texi ./gas/doc/as.texi ./gas/doc/c-epiphany.texi ./gas/doc/c-m68k.texi ./gas/doc/c-ns32k.texi ./gas/doc/c-m32c.texi ./gas/doc/c-hppa.texi ./gas/doc/c-tilepro.texi ./gas/doc/c-nds32.texi ./gas/doc/c-tic54x.texi ./gas/doc/c-sparc.texi ./gas/doc/asconfig.texi ./gas/doc/c-aarch64.texi ./gas/doc/c-mmix.texi ./gas/doc/c-h8300.texi ./gas/doc/c-microblaze.texi ./gas/doc/c-vax.texi ./gas/doc/c-m32r.texi ./gas/doc/c-metag.texi ./gas/doc/c-i386.texi ./gas/doc/c-rx.texi ./gas/doc/c-or1k.texi ./gas/doc/c-alpha.texi ./gas/doc/c-rl78.texi ./gas/doc/h8.texi ./gas/doc/c-wasm32.texi ./gas/doc/c-mips.texi ./gas/doc/c-xgate.texi ./gas/doc/c-bfin.texi ./gas/doc/c-d30v.texi ./gas/doc/c-s390.texi ./gas/doc/fdl.texi ./gas/doc/c-tic6x.texi ./gas/doc/c-ia64.texi ./gas/doc/c-pru.texi ./gas/doc/c-cris.texi ./gas/doc/c-csky.texi ./libiberty/functions.texi ./libiberty/libiberty.texi ./libiberty/copying-lib.texi ./libiberty/at-file.texi ./libiberty/obstacks.texi ./ld/h8-doc.texi ./ld/ld.texi ./ld/gen-doc.texi ./ld/ldint.texi ./ld/fdl.texi ./ld/configdoc.texi ./libctf/doc/ctf-spec.texi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tmf48Y + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh binutils 2.38-22.fc33 riscv64 + cd binutils-2.38 target is riscv64-redhat-linux + echo target is riscv64-redhat-linux + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags' + CARGS= + CARGS=' --with-debuginfod' + CARGS=' --with-debuginfod --enable-64-bit-bfd' + case riscv64-redhat-linux in + CARGS=' --with-debuginfod --enable-64-bit-bfd --enable-targets=x86_64-pep,bpf-unknown-none' + CARGS=' --with-debuginfod --enable-64-bit-bfd --enable-targets=x86_64-pep,bpf-unknown-none --enable-relro=yes' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./gprof/configure + diff -u ./gprof/configure.backup ./gprof/configure + mv ./gprof/configure.backup ./gprof/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./gprof/configure + diff -u ./gprof/configure.backup ./gprof/configure + mv ./gprof/configure.backup ./gprof/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./gprof/configure + diff -u ./gprof/configure.backup ./gprof/configure --- ./gprof/configure.backup 2022-08-04 05:03:38.587415967 -0400 +++ ./gprof/configure 2022-08-04 05:03:39.697414136 -0400 @@ -1851,7 +1851,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./gprof/configure + diff -u ./gprof/configure.backup ./gprof/configure + mv ./gprof/configure.backup ./gprof/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./gprof/configure + diff -u ./gprof/configure.backup ./gprof/configure --- ./gprof/configure.backup 2022-08-04 05:03:39.697414136 -0400 +++ ./gprof/configure 2022-08-04 05:03:39.817413939 -0400 @@ -12813,7 +12813,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./intl/configure + diff -u ./intl/configure.backup ./intl/configure + mv ./intl/configure.backup ./intl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./intl/configure + diff -u ./intl/configure.backup ./intl/configure + mv ./intl/configure.backup ./intl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./intl/configure + diff -u ./intl/configure.backup ./intl/configure --- ./intl/configure.backup 2022-08-04 05:03:38.597415951 -0400 +++ ./intl/configure 2022-08-04 05:03:40.237413246 -0400 @@ -1837,7 +1837,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./intl/configure + diff -u ./intl/configure.backup ./intl/configure --- ./intl/configure.backup 2022-08-04 05:03:40.237413246 -0400 +++ ./intl/configure 2022-08-04 05:03:40.277413180 -0400 @@ -4760,10 +4760,7 @@ exit (sig != SIGFPE); } -int x = 1; -int y = 0; -int z; -int nan; +volatile int x = 1; volatile int y = 0; volatile int z, nan; int main () { + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./intl/configure + diff -u ./intl/configure.backup ./intl/configure + mv ./intl/configure.backup ./intl/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./bfd/configure + diff -u ./bfd/configure.backup ./bfd/configure + mv ./bfd/configure.backup ./bfd/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./bfd/configure + diff -u ./bfd/configure.backup ./bfd/configure + mv ./bfd/configure.backup ./bfd/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./bfd/configure + diff -u ./bfd/configure.backup ./bfd/configure --- ./bfd/configure.backup 2022-08-04 05:03:38.467416165 -0400 +++ ./bfd/configure 2022-08-04 05:03:40.487412833 -0400 @@ -1925,7 +1925,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./bfd/configure + diff -u ./bfd/configure.backup ./bfd/configure + mv ./bfd/configure.backup ./bfd/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./bfd/configure + diff -u ./bfd/configure.backup ./bfd/configure --- ./bfd/configure.backup 2022-08-04 05:03:40.487412833 -0400 +++ ./bfd/configure 2022-08-04 05:03:40.627412603 -0400 @@ -15923,7 +15923,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./etc/configure + diff -u ./etc/configure.backup ./etc/configure + mv ./etc/configure.backup ./etc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./etc/configure + diff -u ./etc/configure.backup ./etc/configure + mv ./etc/configure.backup ./etc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./etc/configure + diff -u ./etc/configure.backup ./etc/configure + mv ./etc/configure.backup ./etc/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./etc/configure + diff -u ./etc/configure.backup ./etc/configure + mv ./etc/configure.backup ./etc/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./etc/configure + diff -u ./etc/configure.backup ./etc/configure + mv ./etc/configure.backup ./etc/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./binutils/configure + diff -u ./binutils/configure.backup ./binutils/configure + mv ./binutils/configure.backup ./binutils/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./binutils/configure + diff -u ./binutils/configure.backup ./binutils/configure + mv ./binutils/configure.backup ./binutils/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./binutils/configure + diff -u ./binutils/configure.backup ./binutils/configure --- ./binutils/configure.backup 2022-08-04 05:03:38.497416116 -0400 +++ ./binutils/configure 2022-08-04 05:03:40.947412075 -0400 @@ -1939,7 +1939,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./binutils/configure + diff -u ./binutils/configure.backup ./binutils/configure + mv ./binutils/configure.backup ./binutils/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./binutils/configure + diff -u ./binutils/configure.backup ./binutils/configure --- ./binutils/configure.backup 2022-08-04 05:03:40.947412075 -0400 +++ ./binutils/configure 2022-08-04 05:03:41.087411844 -0400 @@ -15547,7 +15547,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./gas/configure + diff -u ./gas/configure.backup ./gas/configure + mv ./gas/configure.backup ./gas/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./gas/configure + diff -u ./gas/configure.backup ./gas/configure + mv ./gas/configure.backup ./gas/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./gas/configure + diff -u ./gas/configure.backup ./gas/configure --- ./gas/configure.backup 2022-08-04 05:03:38.537416050 -0400 +++ ./gas/configure 2022-08-04 05:03:41.257411564 -0400 @@ -1907,7 +1907,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./gas/configure + diff -u ./gas/configure.backup ./gas/configure + mv ./gas/configure.backup ./gas/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./gas/configure + diff -u ./gas/configure.backup ./gas/configure --- ./gas/configure.backup 2022-08-04 05:03:41.257411564 -0400 +++ ./gas/configure 2022-08-04 05:03:41.387411349 -0400 @@ -14874,7 +14874,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./zlib/configure + diff -u ./zlib/configure.backup ./zlib/configure + mv ./zlib/configure.backup ./zlib/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./zlib/configure + diff -u ./zlib/configure.backup ./zlib/configure + mv ./zlib/configure.backup ./zlib/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./zlib/configure + diff -u ./zlib/configure.backup ./zlib/configure --- ./zlib/configure.backup 2022-08-04 05:03:38.727415736 -0400 +++ ./zlib/configure 2022-08-04 05:03:41.537411102 -0400 @@ -1752,7 +1752,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./zlib/configure + diff -u ./zlib/configure.backup ./zlib/configure + mv ./zlib/configure.backup ./zlib/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./zlib/configure + diff -u ./zlib/configure.backup ./zlib/configure --- ./zlib/configure.backup 2022-08-04 05:03:41.537411102 -0400 +++ ./zlib/configure 2022-08-04 05:03:41.657410904 -0400 @@ -12346,7 +12346,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./gold/configure + diff -u ./gold/configure.backup ./gold/configure + mv ./gold/configure.backup ./gold/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./gold/configure + diff -u ./gold/configure.backup ./gold/configure + mv ./gold/configure.backup ./gold/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./gold/configure + diff -u ./gold/configure.backup ./gold/configure --- ./gold/configure.backup 2022-08-04 05:03:38.557416017 -0400 +++ ./gold/configure 2022-08-04 05:03:41.787410689 -0400 @@ -1982,7 +1982,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2311,7 +2311,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./gold/configure + diff -u ./gold/configure.backup ./gold/configure + mv ./gold/configure.backup ./gold/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./gold/configure + diff -u ./gold/configure.backup ./gold/configure + mv ./gold/configure.backup ./gold/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./opcodes/configure + diff -u ./opcodes/configure.backup ./opcodes/configure + mv ./opcodes/configure.backup ./opcodes/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./opcodes/configure + diff -u ./opcodes/configure.backup ./opcodes/configure + mv ./opcodes/configure.backup ./opcodes/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./opcodes/configure + diff -u ./opcodes/configure.backup ./opcodes/configure --- ./opcodes/configure.backup 2022-08-04 05:03:38.697415786 -0400 +++ ./opcodes/configure 2022-08-04 05:03:42.057410244 -0400 @@ -1876,7 +1876,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./opcodes/configure + diff -u ./opcodes/configure.backup ./opcodes/configure + mv ./opcodes/configure.backup ./opcodes/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./opcodes/configure + diff -u ./opcodes/configure.backup ./opcodes/configure --- ./opcodes/configure.backup 2022-08-04 05:03:42.057410244 -0400 +++ ./opcodes/configure 2022-08-04 05:03:42.177410046 -0400 @@ -13432,7 +13432,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libiberty/configure + diff -u ./libiberty/configure.backup ./libiberty/configure + mv ./libiberty/configure.backup ./libiberty/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libiberty/configure + diff -u ./libiberty/configure.backup ./libiberty/configure + mv ./libiberty/configure.backup ./libiberty/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libiberty/configure + diff -u ./libiberty/configure.backup ./libiberty/configure --- ./libiberty/configure.backup 2022-08-04 05:03:38.677415819 -0400 +++ ./libiberty/configure 2022-08-04 05:03:42.297409848 -0400 @@ -2028,7 +2028,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libiberty/configure + diff -u ./libiberty/configure.backup ./libiberty/configure + mv ./libiberty/configure.backup ./libiberty/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libiberty/configure + diff -u ./libiberty/configure.backup ./libiberty/configure + mv ./libiberty/configure.backup ./libiberty/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./ld/configure + diff -u ./ld/configure.backup ./ld/configure + mv ./ld/configure.backup ./ld/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./ld/configure + diff -u ./ld/configure.backup ./ld/configure + mv ./ld/configure.backup ./ld/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./ld/configure + diff -u ./ld/configure.backup ./ld/configure --- ./ld/configure.backup 2022-08-04 05:03:38.637415885 -0400 +++ ./ld/configure 2022-08-04 05:03:42.567409403 -0400 @@ -1985,7 +1985,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./ld/configure + diff -u ./ld/configure.backup ./ld/configure + mv ./ld/configure.backup ./ld/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./ld/configure + diff -u ./ld/configure.backup ./ld/configure --- ./ld/configure.backup 2022-08-04 05:03:42.567409403 -0400 +++ ./ld/configure 2022-08-04 05:03:42.737409123 -0400 @@ -17856,7 +17856,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libctf/configure + diff -u ./libctf/configure.backup ./libctf/configure + mv ./libctf/configure.backup ./libctf/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libctf/configure + diff -u ./libctf/configure.backup ./libctf/configure + mv ./libctf/configure.backup ./libctf/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libctf/configure + diff -u ./libctf/configure.backup ./libctf/configure --- ./libctf/configure.backup 2022-08-04 05:03:38.657415852 -0400 +++ ./libctf/configure 2022-08-04 05:03:42.897408859 -0400 @@ -1884,7 +1884,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./libctf/configure + diff -u ./libctf/configure.backup ./libctf/configure + mv ./libctf/configure.backup ./libctf/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./libctf/configure + diff -u ./libctf/configure.backup ./libctf/configure --- ./libctf/configure.backup 2022-08-04 05:03:42.897408859 -0400 +++ ./libctf/configure 2022-08-04 05:03:43.037408628 -0400 @@ -14497,7 +14497,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --build=riscv64-redhat-linux --host=riscv64-redhat-linux --target=riscv64-redhat-linux --enable-ld --with-sysroot=/ --with-system-zlib --enable-shared --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-threads=yes --enable-separate-code=yes --with-debuginfod --enable-64-bit-bfd --enable-targets=x86_64-pep,bpf-unknown-none --enable-relro=yes --enable-plugins --with-bugurl=http://bugzilla.redhat.com/bugzilla/ configure: error: in `/builddir/build/BUILD/binutils-2.38': configure: error: C compiler cannot create executables See `config.log' for more details + cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --build=riscv64-redhat-linux --host=riscv64-redhat-linux --target=riscv64-redhat-linux --enable-ld --with-sysroot=/ --with-system-zlib --enable-shared --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-threads=yes --enable-separate-code=yes --with-debuginfod --enable-64-bit-bfd --enable-targets=x86_64-pep,bpf-unknown-none --enable-relro=yes --enable-plugins --with-bugurl=http://bugzilla.redhat.com/bugzilla/ ## --------- ## ## Platform. ## ## --------- ## hostname = unmatched.delorie.com uname -m = riscv64 uname -r = 5.18.8-200.0.riscv64.fc33.riscv64 uname -s = Linux uname -v = #1 SMP Wed Jun 29 15:09:53 EDT 2022 /usr/bin/uname -p = riscv64 /bin/uname -X = unknown /bin/arch = riscv64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2360: checking build system type configure:2374: result: riscv64-redhat-linux-gnu configure:2421: checking host system type configure:2434: result: riscv64-redhat-linux-gnu configure:2454: checking target system type configure:2467: result: riscv64-redhat-linux-gnu configure:2521: checking for a BSD-compatible install configure:2589: result: /usr/bin/install -c configure:2600: checking whether ln works configure:2622: result: yes configure:2626: checking whether ln -s works configure:2630: result: yes configure:2637: checking for a sed that does not truncate output configure:2701: result: /usr/bin/sed configure:2710: checking for gawk configure:2726: found /usr/bin/gawk configure:2737: result: gawk configure:4033: checking for riscv64-redhat-linux-gcc configure:4060: result: gcc configure:4329: checking for C compiler version configure:4338: gcc --version >&5 gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4349: $? = 0 configure:4338: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-redhat-linux/11/lto-wrapper Target: riscv64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-11.3.1-20220421/obj-riscv64-redhat-linux/isl-install --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.1 20220421 (Red Hat 11.3.1-2) (GCC) configure:4349: $? = 0 configure:4338: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:4349: $? = 1 configure:4338: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4349: $? = 1 configure:4369: checking whether the C compiler works configure:4391: 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags conftest.c >&5 /usr/bin/ld:/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld:3: non constant or forward reference address expression for section .note.package collect2: error: ld returned 1 exit status configure:4395: $? = 1 configure:4433: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4438: error: in `/builddir/build/BUILD/binutils-2.38': configure:4440: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=riscv64-redhat-linux-gnu ac_cv_env_AR_FOR_TARGET_set= ac_cv_env_AR_FOR_TARGET_value= ac_cv_env_AR_set= ac_cv_env_AR_value= ac_cv_env_AS_FOR_TARGET_set= ac_cv_env_AS_FOR_TARGET_value= ac_cv_env_AS_set= ac_cv_env_AS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_FOR_TARGET_set= ac_cv_env_CC_FOR_TARGET_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' ac_cv_env_CXX_FOR_TARGET_set= ac_cv_env_CXX_FOR_TARGET_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=g++ ac_cv_env_DLLTOOL_FOR_TARGET_set= ac_cv_env_DLLTOOL_FOR_TARGET_value= ac_cv_env_DLLTOOL_set= ac_cv_env_DLLTOOL_value= ac_cv_env_GCC_FOR_TARGET_set= ac_cv_env_GCC_FOR_TARGET_value= ac_cv_env_GFORTRAN_FOR_TARGET_set= ac_cv_env_GFORTRAN_FOR_TARGET_value= ac_cv_env_GOC_FOR_TARGET_set= ac_cv_env_GOC_FOR_TARGET_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags' ac_cv_env_LD_FOR_TARGET_set= ac_cv_env_LD_FOR_TARGET_value= ac_cv_env_LD_set= ac_cv_env_LD_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIPO_FOR_TARGET_set= ac_cv_env_LIPO_FOR_TARGET_value= ac_cv_env_LIPO_set= ac_cv_env_LIPO_value= ac_cv_env_NM_FOR_TARGET_set= ac_cv_env_NM_FOR_TARGET_value= ac_cv_env_NM_set= ac_cv_env_NM_value= ac_cv_env_OBJCOPY_FOR_TARGET_set= ac_cv_env_OBJCOPY_FOR_TARGET_value= ac_cv_env_OBJCOPY_set= ac_cv_env_OBJCOPY_value= ac_cv_env_OBJDUMP_FOR_TARGET_set= ac_cv_env_OBJDUMP_FOR_TARGET_value= ac_cv_env_OBJDUMP_set= ac_cv_env_OBJDUMP_value= ac_cv_env_RANLIB_FOR_TARGET_set= ac_cv_env_RANLIB_FOR_TARGET_value= ac_cv_env_RANLIB_set= ac_cv_env_RANLIB_value= ac_cv_env_READELF_FOR_TARGET_set= ac_cv_env_READELF_FOR_TARGET_value= ac_cv_env_READELF_set= ac_cv_env_READELF_value= ac_cv_env_STRIP_FOR_TARGET_set= ac_cv_env_STRIP_FOR_TARGET_value= ac_cv_env_STRIP_set= ac_cv_env_STRIP_value= ac_cv_env_WINDMC_FOR_TARGET_set= ac_cv_env_WINDMC_FOR_TARGET_value= ac_cv_env_WINDMC_set= ac_cv_env_WINDMC_value= ac_cv_env_WINDRES_FOR_TARGET_set= ac_cv_env_WINDRES_FOR_TARGET_value= ac_cv_env_WINDRES_set= ac_cv_env_WINDRES_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=riscv64-redhat-linux ac_cv_env_build_configargs_set= ac_cv_env_build_configargs_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-redhat-linux ac_cv_env_host_configargs_set= ac_cv_env_host_configargs_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-redhat-linux ac_cv_env_target_configargs_set= ac_cv_env_target_configargs_value= ac_cv_host=riscv64-redhat-linux-gnu ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CC=gcc ac_cv_target=riscv64-redhat-linux-gnu acx_cv_prog_LN=ln ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AR_FOR_BUILD='$(AR)' AR_FOR_TARGET='' AR_PLUGIN_OPTION='' AS='' AS_FOR_BUILD='$(AS)' AS_FOR_TARGET='' AWK='gawk' BISON='' BUILD_CONFIG='' CC='gcc' CC_FOR_BUILD='$(CC)' CC_FOR_TARGET='' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' CFLAGS_FOR_BUILD='' CFLAGS_FOR_TARGET='' COMPILER_AS_FOR_TARGET='' COMPILER_LD_FOR_TARGET='' COMPILER_NM_FOR_TARGET='' CONFIGURE_GDB_TK='' CPPFLAGS='' CXX='g++' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' CXXFLAGS_FOR_BUILD='' CXXFLAGS_FOR_TARGET='' CXX_FOR_BUILD='$(CXX)' CXX_FOR_TARGET='' DEBUG_PREFIX_CFLAGS_FOR_TARGET='' DEFS='' DLLTOOL='' DLLTOOL_FOR_BUILD='$(DLLTOOL)' DLLTOOL_FOR_TARGET='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' EXPECT='' FLAGS_FOR_TARGET='' FLEX='' GCC_FOR_TARGET='' GCC_SHLIB_SUBDIR='' GDB_TK='' GFORTRAN_FOR_BUILD='$(GFORTRAN)' GFORTRAN_FOR_TARGET='' GNATBIND='' GNATMAKE='' GOC_FOR_BUILD='$(GOC)' GOC_FOR_TARGET='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_GDB_TK='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='' LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/binutils-2.38/.package_note-binutils-2.38-22.fc33.riscv64.ld -Wl,--enable-new-dtags' LDFLAGS_FOR_BUILD='' LDFLAGS_FOR_TARGET='' LD_FOR_BUILD='$(LD)' LD_FOR_TARGET='' LEX='' LIBOBJS='' LIBS='' LIPO='' LIPO_FOR_TARGET='' LN='ln' LN_S='ln -s' LTLIBOBJS='' M4='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' NM='' NM_FOR_BUILD='$(NM)' NM_FOR_TARGET='' OBJCOPY='' OBJCOPY_FOR_TARGET='' OBJDUMP='' OBJDUMP_FOR_TARGET='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PGO_BUILD_GEN_CFLAGS='' PGO_BUILD_LTO_CFLAGS='' PGO_BUILD_USE_CFLAGS='' RANLIB='' RANLIB_FOR_BUILD='$(RANLIB)' RANLIB_FOR_TARGET='' RANLIB_PLUGIN_OPTION='' RAW_CXX_FOR_TARGET='' READELF='' READELF_FOR_TARGET='' RPATH_ENVVAR='' RUNTEST='' SED='/usr/bin/sed' SHELL='/bin/sh' STRIP='' STRIP_FOR_TARGET='' SYSROOT_CFLAGS_FOR_TARGET='' TOPLEVEL_CONFIGURE_ARGUMENTS='./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --quiet --build=riscv64-redhat-linux --host=riscv64-redhat-linux --target=riscv64-redhat-linux --enable-ld --with-sysroot=/ --with-system-zlib --enable-shared --enable-deterministic-archives=no --enable-lto --enable-new-dtags --disable-rpath --enable-compressed-debug-sections=none --enable-generate-build-notes=no --enable-threads=yes --enable-separate-code=yes --with-debuginfod --enable-64-bit-bfd --enable-targets=x86_64-pep,bpf-unknown-none --enable-relro=yes --enable-plugins --with-bugurl=http://bugzilla.redhat.com/bugzilla/ --silent' WINDMC='' WINDMC_FOR_BUILD='$(WINDMC)' WINDMC_FOR_TARGET='' WINDRES='' WINDRES_FOR_BUILD='$(WINDRES)' WINDRES_FOR_TARGET='' YACC='' ac_ct_CC='' ac_ct_CXX='' bindir='/usr/bin' build='riscv64-redhat-linux-gnu' build_alias='riscv64-redhat-linux' build_configargs='' build_configdirs='build-libiberty build-libcpp build-texinfo build-flex build-bison build-m4 build-fixincludes' build_cpu='riscv64' build_libsubdir='build-riscv64-redhat-linux' build_noncanonical='riscv64-redhat-linux' build_os='linux-gnu' build_subdir='build-riscv64-redhat-linux' build_tooldir='' build_vendor='redhat' compare_exclusions='' configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools' datadir='/usr/share' datarootdir='${prefix}/share' do_compare='' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/usr' extra_host_libiberty_configure_flags='' extra_host_zlib_configure_flags='' extra_isl_gmp_configure_flags='' extra_liboffloadmic_configure_flags='' extra_linker_plugin_configure_flags='' extra_linker_plugin_flags='' extra_mpc_gmp_configure_flags='' extra_mpc_mpfr_configure_flags='' extra_mpfr_configure_flags='' get_gcc_base_ver='' gmpinc='' gmplibs='' host='riscv64-redhat-linux-gnu' host_alias='riscv64-redhat-linux' host_configargs='' host_cpu='riscv64' host_noncanonical='riscv64-redhat-linux' host_os='linux-gnu' host_shared='' host_subdir='.' host_vendor='redhat' htmldir='${docdir}' includedir='/usr/include' infodir='/usr/share/info' islinc='' isllibs='' libdir='/usr/lib64' libexecdir='/usr/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' poststage1_ldflags='' poststage1_libs='' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='/usr/sbin' sharedstatedir='/var/lib' stage1_cflags='' stage1_checking='' stage1_languages='' stage1_ldflags='' stage1_libs='' stage2_werror_flag='' sysconfdir='/etc' target='riscv64-redhat-linux-gnu' target_alias='riscv64-redhat-linux' target_configargs='' target_configdirs='target-libgcc target-libbacktrace target-libgloss target-newlib target-libgomp target-liboffloadmic target-libhsail-rt target-libatomic target-libitm target-libstdc++-v3 target-libsanitizer target-libvtv target-libssp target-libquadmath target-libgfortran target-libffi target-libobjc target-libada target-libgo target-rda' target_cpu='riscv64' target_noncanonical='riscv64-redhat-linux' target_os='linux-gnu' target_subdir='riscv64-redhat-linux' target_vendor='redhat' tooldir='' ## ------------------- ## ## File substitutions. ## ## ------------------- ## alphaieee_frag='' host_makefile_frag='/dev/null' ospace_frag='' serialization_dependencies='' target_makefile_frag='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 77 RPM build errors: + /usr/bin/make -O -j4 V=1 VERBOSE=1 tooldir=/usr all make: *** No rule to make target 'all'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.tmf48Y (%build) /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Bad exit status from /var/tmp/rpm-tmp.tmf48Y (%build) error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/binutils.spec