Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-77399-40494/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/binutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1645660800 Wrote: /builddir/build/SRPMS/binutils-2.38-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/binutils.spec'], chrootPath='/var/lib/mock/dist-an23-build-77399-40494/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/binutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1645660800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ghvp8W + 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 -f + /usr/bin/cat /builddir/build/SOURCES/binutils-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-export-demangle.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-no-config-h-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-filename-in-error-messages.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-revert-PLT-elision.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-readelf-other-sym-info.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-2.27-aarch64-ifunc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /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 -f + /usr/bin/cat /builddir/build/SOURCES/binutils-special-sections-in-groups.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-fix-testsuite-failures.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-mismatched-section-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-CVE-2019-1010204.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-warn-unsupported.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-use-long-long.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-testsuite-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-gold-i386-gnu-property-notes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-autoconf-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/gcc12-libtool-no-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/binutils-section-type.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 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}/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 -mbranch-protection=standard -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 '{}' ';' ./libiberty/obstacks.texi ./libiberty/copying-lib.texi ./libiberty/functions.texi ./libiberty/at-file.texi ./libiberty/libiberty.texi ./libctf/doc/ctf-spec.texi ./binutils/doc/fdl.texi ./binutils/doc/ctf.options.texi ./binutils/doc/binutils.texi ./binutils/doc/debug.options.texi ./ld/gen-doc.texi ./ld/fdl.texi ./ld/ld.texi ./ld/configdoc.texi ./ld/ldint.texi ./ld/h8-doc.texi ./gas/doc/c-m32c.texi ./gas/doc/c-wasm32.texi ./gas/doc/c-mips.texi ./gas/doc/c-pdp11.texi ./gas/doc/c-m68hc11.texi ./gas/doc/c-xc16x.texi ./gas/doc/c-riscv.texi ./gas/doc/c-tic6x.texi ./gas/doc/c-cr16.texi ./gas/doc/all.texi ./gas/doc/c-microblaze.texi ./gas/doc/c-arm.texi ./gas/doc/c-vax.texi ./gas/doc/c-m32r.texi ./gas/doc/c-rx.texi ./gas/doc/c-rl78.texi ./gas/doc/c-hppa.texi ./gas/doc/c-msp430.texi ./gas/doc/c-lm32.texi ./gas/doc/c-nios2.texi ./gas/doc/fdl.texi ./gas/doc/c-score.texi ./gas/doc/c-mmix.texi ./gas/doc/internals.texi ./gas/doc/c-ppc.texi ./gas/doc/c-csky.texi ./gas/doc/c-s12z.texi ./gas/doc/c-ip2k.texi ./gas/doc/c-avr.texi ./gas/doc/c-arc.texi ./gas/doc/h8.texi ./gas/doc/c-nds32.texi ./gas/doc/c-sh.texi ./gas/doc/c-ns32k.texi ./gas/doc/c-z8k.texi ./gas/doc/c-tilegx.texi ./gas/doc/c-cris.texi ./gas/doc/c-pj.texi ./gas/doc/c-xgate.texi ./gas/doc/c-bpf.texi ./gas/doc/c-loongarch.texi ./gas/doc/c-epiphany.texi ./gas/doc/c-sparc.texi ./gas/doc/c-ia64.texi ./gas/doc/c-tic54x.texi ./gas/doc/c-m68k.texi ./gas/doc/c-alpha.texi ./gas/doc/c-z80.texi ./gas/doc/c-pru.texi ./gas/doc/c-visium.texi ./gas/doc/c-s390.texi ./gas/doc/c-mt.texi ./gas/doc/c-v850.texi ./gas/doc/c-bfin.texi ./gas/doc/c-or1k.texi ./gas/doc/c-xtensa.texi ./gas/doc/c-metag.texi ./gas/doc/c-aarch64.texi ./gas/doc/asconfig.texi ./gas/doc/c-d30v.texi ./gas/doc/c-i386.texi ./gas/doc/c-tilepro.texi ./gas/doc/as.texi ./gas/doc/c-h8300.texi ./gas/doc/c-xstormy16.texi ./gas/doc/c-d10v.texi ./bfd/doc/bfd.texi ./bfd/doc/bfdwin.texi ./bfd/doc/hash.texi ./bfd/doc/targets.texi ./bfd/doc/bfdint.texi ./bfd/doc/fdl.texi ./bfd/doc/aoutx.texi ./bfd/doc/bfdio.texi ./bfd/doc/opncls.texi ./bfd/doc/elfcode.texi ./bfd/doc/syms.texi ./bfd/doc/init.texi ./bfd/doc/core.texi ./bfd/doc/reloc.texi ./bfd/doc/bfdt.texi ./bfd/doc/webassembly.texi ./bfd/doc/libbfd.texi ./bfd/doc/cache.texi ./bfd/doc/bfdsumm.texi ./bfd/doc/coffcode.texi ./bfd/doc/elf.texi ./bfd/doc/section.texi ./bfd/doc/mmo.texi ./bfd/doc/format.texi ./bfd/doc/bfdver.texi ./bfd/doc/linker.texi ./bfd/doc/archive.texi ./bfd/doc/archures.texi ./gprof/gprof.texi ./gprof/fdl.texi ./gprof/config.texi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I93PlR + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS target is aarch64-anolis-linux + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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.38 + echo target is aarch64-anolis-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 LDFLAGS= + LDFLAGS= + export 'LDFLAGS= -Wl,--enable-new-dtags' + LDFLAGS=' -Wl,--enable-new-dtags' + CARGS= + CARGS=' --with-debuginfod' + CARGS=' --with-debuginfod --enable-targets=x86_64-pep,bpf-unknown-none' + CARGS=' --with-debuginfod --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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -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' ./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-03-09 11:11:21.264647145 +0800 +++ ./zlib/configure 2022-03-09 11:11:21.364647036 +0800 @@ -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-03-09 11:11:21.364647036 +0800 +++ ./zlib/configure 2022-03-09 11:11:21.374647025 +0800 @@ -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' ./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-03-09 11:11:21.254647156 +0800 +++ ./intl/configure 2022-03-09 11:11:21.424646971 +0800 @@ -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-03-09 11:11:21.424646971 +0800 +++ ./intl/configure 2022-03-09 11:11:21.424646971 +0800 @@ -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' ./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-03-09 11:11:21.264647145 +0800 +++ ./opcodes/configure 2022-03-09 11:11:21.444646949 +0800 @@ -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-03-09 11:11:21.444646949 +0800 +++ ./opcodes/configure 2022-03-09 11:11:21.454646938 +0800 @@ -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-03-09 11:11:21.254647156 +0800 +++ ./libiberty/configure 2022-03-09 11:11:21.474646916 +0800 @@ -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' ./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-03-09 11:11:21.254647156 +0800 +++ ./libctf/configure 2022-03-09 11:11:21.494646895 +0800 @@ -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-03-09 11:11:21.494646895 +0800 +++ ./libctf/configure 2022-03-09 11:11:21.514646873 +0800 @@ -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"`' + 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-03-09 11:11:21.244647167 +0800 +++ ./binutils/configure 2022-03-09 11:11:21.524646862 +0800 @@ -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-03-09 11:11:21.524646862 +0800 +++ ./binutils/configure 2022-03-09 11:11:21.544646840 +0800 @@ -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' ./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-03-09 11:11:21.254647156 +0800 +++ ./ld/configure 2022-03-09 11:11:21.564646818 +0800 @@ -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-03-09 11:11:21.564646818 +0800 +++ ./ld/configure 2022-03-09 11:11:21.574646807 +0800 @@ -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' ./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-03-09 11:11:21.244647167 +0800 +++ ./gas/configure 2022-03-09 11:11:21.594646786 +0800 @@ -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-03-09 11:11:21.594646786 +0800 +++ ./gas/configure 2022-03-09 11:11:21.604646775 +0800 @@ -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' ./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-03-09 11:11:21.234647178 +0800 +++ ./bfd/configure 2022-03-09 11:11:21.624646753 +0800 @@ -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-03-09 11:11:21.624646753 +0800 +++ ./bfd/configure 2022-03-09 11:11:21.634646742 +0800 @@ -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' ./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-03-09 11:11:21.244647167 +0800 +++ ./gprof/configure 2022-03-09 11:11:21.674646699 +0800 @@ -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-03-09 11:11:21.674646699 +0800 +++ ./gprof/configure 2022-03-09 11:11:21.684646688 +0800 @@ -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' ./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-03-09 11:11:21.244647167 +0800 +++ ./gold/configure 2022-03-09 11:11:21.694646677 +0800 @@ -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 + '[' 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.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --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=aarch64-anolis-linux --host=aarch64-anolis-linux --target=aarch64-anolis-linux --enable-gold=default --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-targets=x86_64-pep,bpf-unknown-none --enable-relro=yes --enable-plugins --with-bugurl=http://bugzilla.openanolis.cn/ *** This configuration is not supported in the following subdirectories: zlib (Any other directories should still work fine.) + /usr/bin/make -O -j8 V=1 VERBOSE=1 tooldir=/usr all make[1]: Nothing to be done for 'all-target'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./etc make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[2]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./intl make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[2]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./binutils make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' /usr/bin/pkg-config: line 8: /usr/bin/aarch64-anolis-linux-gnu-pkg-config: No such file or directory configure: error: "--with-debuginfod was given, but libdebuginfod is missing or unusable." make[1]: *** [Makefile:3962: configure-binutils] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./gprof config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./gas config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./ld make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./libiberty make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' make[1]: Entering directory '/builddir/build/BUILD/binutils-2.38' Configuring in ./gold config.status: creating po/POTFILES config.status: creating po/Makefile make[1]: Leaving directory '/builddir/build/BUILD/binutils-2.38' configure: WARNING: "unsupported target bpf-unknown-none" make: *** [Makefile:1000: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.I93PlR (%build) Bad exit status from /var/tmp/rpm-tmp.I93PlR (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/binutils.spec