Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glibc.spec'], chrootPath='/var/lib/mock/f29-build-21924-11440/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glibc.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/glibc-2.28-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glibc.spec'], chrootPath='/var/lib/mock/f29-build-21924-11440/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glibc.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z21vrv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glibc-2.28 + /usr/bin/xz -dc /builddir/build/SOURCES/glibc-2.28.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glibc-2.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-post_upgrade.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-nscd.patch + /usr/bin/cat /builddir/build/SOURCES/glibc-rh697421.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-linux-tcsetattr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-rh741105.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-localedef.patch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-nis-rh188246.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-manual-dircategory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-rh827510.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-locarchive.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-streams-rh436349.patch + /usr/bin/cat /builddir/build/SOURCES/glibc-rh819430.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-localedata-rh61908.patch + /usr/bin/cat /builddir/build/SOURCES/glibc-fedora-__libc_multiple_libcs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-rh1070416.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-nscd-sysconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-cs-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-c-utf8-locale.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-python3.patch + /usr/bin/cat /builddir/build/SOURCES/glibc-with-nonshared-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-asflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/glibc-ldflags.patch + chmod +x benchtests/scripts/bench.py benchtests/scripts/compare_bench.py benchtests/scripts/compare_strings.py benchtests/scripts/import_bench.py benchtests/scripts/validate_benchout.py scripts/pylint + find . -type f -size 0 -o -name '*.orig' -exec rm -f '{}' ';' BUILDSTDERR: ++ find . -name configure + touch ./configure ./sysdeps/arm/configure ./sysdeps/s390/configure ./sysdeps/gnu/configure ./sysdeps/unix/sysv/linux/s390/configure ./sysdeps/unix/sysv/linux/s390/s390-64/configure ./sysdeps/unix/sysv/linux/powerpc/powerpc64/configure ./sysdeps/unix/sysv/linux/powerpc/configure ./sysdeps/unix/sysv/linux/powerpc/powerpc32/configure ./sysdeps/unix/sysv/linux/i386/configure ./sysdeps/unix/sysv/linux/configure ./sysdeps/unix/sysv/linux/x86_64/64/configure ./sysdeps/unix/sysv/linux/x86_64/configure ./sysdeps/unix/sysv/linux/x86_64/x32/configure ./sysdeps/unix/sysv/linux/m68k/configure ./sysdeps/unix/sysv/linux/sh/configure ./sysdeps/unix/sysv/linux/sparc/sparc64/configure ./sysdeps/unix/sysv/linux/sparc/configure ./sysdeps/unix/sysv/linux/mips/configure ./sysdeps/unix/sysv/linux/mips/mips64/configure ./sysdeps/unix/sysv/linux/riscv/configure ./sysdeps/unix/sysv/linux/nios2/configure ./sysdeps/unix/sysv/linux/ia64/configure ./sysdeps/unix/sysv/linux/aarch64/configure ./sysdeps/unix/sysv/linux/alpha/configure ./sysdeps/powerpc/powerpc64/le/configure ./sysdeps/powerpc/powerpc64/configure ./sysdeps/powerpc/powerpc32/configure ./sysdeps/powerpc/powerpc32/fpu/configure ./sysdeps/i386/configure ./sysdeps/x86_64/configure ./sysdeps/hppa/configure ./sysdeps/sh/configure ./sysdeps/sparc/configure ./sysdeps/mips/configure ./sysdeps/riscv/configure ./sysdeps/nios2/configure ./sysdeps/ia64/configure ./sysdeps/x86/configure ./sysdeps/aarch64/configure ./sysdeps/alpha/configure ./sysdeps/ieee754/ldbl-opt/configure ./sysdeps/mach/configure ./sysdeps/mach/hurd/configure ./htl/configure + touch locale/programs/charmap-kw.h locale/programs/locfile-kw.h + diff -u /builddir/build/SOURCES/SUPPORTED localedata/SUPPORTED Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0HRi3n + exit 0 + umask 022 + cd /builddir/build/BUILD + cd glibc-2.28 + uname -a Linux hifive.delorie.com 4.15.0-00046-g48fb45691946-dirty #5 SMP Wed Jul 25 18:33:57 UTC 2018 riscv64 riscv64 riscv64 GNU/Linux + LD_SHOW_AUXV=1 + /bin/true AT_SYSINFO_EHDR: 0x200001d000 AT_HWCAP: 1105 AT_PAGESZ: 4096 AT_CLKTCK: 100 AT_PHDR: 0x2aaaaaa040 AT_PHENT: 56 AT_PHNUM: 8 AT_BASE: 0x2000000000 AT_FLAGS: 0x0 AT_ENTRY: 0x2aaaaab6d8 AT_UID: 998 AT_EUID: 998 AT_GID: 135 AT_EGID: 135 AT_SECURE: 0 AT_RANDOM: 0x3fffdb2b7e AT_EXECFN: /bin/true + cat /proc/cpuinfo hart : 1 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 2 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 3 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 4 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 MemTotal: 8183468 kB MemFree: 382544 kB MemAvailable: 7834576 kB Buffers: 255596 kB Cached: 6858672 kB SwapCached: 0 kB Active: 3595316 kB Inactive: 3713796 kB Active(anon): 125784 kB Inactive(anon): 91596 kB Active(file): 3469532 kB Inactive(file): 3622200 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 6472356 kB SwapFree: 6472356 kB Dirty: 261032 kB Writeback: 0 kB AnonPages: 194880 kB Mapped: 61452 kB Shmem: 22536 kB Slab: 474956 kB SReclaimable: 451316 kB SUnreclaim: 23640 kB KernelStack: 1120 kB PageTables: 2248 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 10564088 kB Committed_AS: 449100 kB VmallocTotal: 67108863 kB VmallocUsed: 0 kB VmallocChunk: 0 kB + cat /proc/meminfo + df + GCC=gcc + GXX=g++ + BuildFlags='-O2 -g' + rpm_inherit_flags -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 + local 'reference= -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + local flag + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -O2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -g ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -pipe ' Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 4091732 0 4091732 0% /dev/shm + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -Wall ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -Werror=format-security ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -Wp,-D_FORTIFY_SOURCE=2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -Wp,-D_GLIBCXX_ASSERTIONS ' + rpm_append_flag -Wp,-D_GLIBCXX_ASSERTIONS + BuildFlags='-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -fexceptions ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -fstack-protector-strong ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -grecord-gcc-switches ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + rpm_append_flag -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 + BuildFlags='-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -fasynchronous-unwind-tables ' + rpm_append_flag -fasynchronous-unwind-tables + BuildFlags='-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -fstack-clash-protection ' + rpm_append_flag -fstack-clash-protection + BuildFlags='-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -Wl,-z,relro ' + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -Wl,-z,now ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables -fstack-clash-protection -funwind-tables -m31 -m32 -m64 -march=i686 -march=x86-64 -march=z13 -march=z14 -march=zEC12 -mfpmath=sse -msse2 -mstackrealign -mtune=generic -mtune=z13 -mtune=z14 -mtune=zEC12 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + BuildFlagsNonshared= + rpm_inherit_flags -Wp,-D_FORTIFY_SOURCE=2 + local 'reference= -Wp,-D_FORTIFY_SOURCE=2 ' + local flag + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -O2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -g ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -pipe ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -Wall ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -Werror=format-security ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -Wp,-D_FORTIFY_SOURCE=2 ' + rpm_append_flag -Wp,-D_FORTIFY_SOURCE=2 + BuildFlagsNonshared=' -Wp,-D_FORTIFY_SOURCE=2' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -Wp,-D_GLIBCXX_ASSERTIONS ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -fexceptions ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -fstack-protector-strong ' + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -grecord-gcc-switches ' + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -fasynchronous-unwind-tables ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -fstack-clash-protection ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + grep -q -F ' -Wl,-z,relro ' + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -Wl,-z,now ' + for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS + echo ' -Wp,-D_FORTIFY_SOURCE=2 ' + grep -q -F ' -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + EnableKernel=--enable-kernel=3.2 + echo gcc + build + local builddir=build-riscv64-redhat-linux + rm -rf build-riscv64-redhat-linux + mkdir build-riscv64-redhat-linux ~/build/BUILD/glibc-2.28/build-riscv64-redhat-linux ~/build/BUILD/glibc-2.28 + pushd build-riscv64-redhat-linux + ../configure CC=gcc CXX=g++ 'CFLAGS=-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' --prefix=/usr --with-headers=/usr/include --enable-kernel=3.2 '--with-nonshared-cflags= -Wp,-D_FORTIFY_SOURCE=2' --enable-bind-now --build=riscv64-redhat-linux --enable-stack-protector=strong --enable-tunables --enable-systemtap --disable-profile --disable-crypt checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for gcc... gcc BUILDSTDERR: checking for suffix of object files... configure: error: in `/builddir/build/BUILD/glibc-2.28/build-riscv64-redhat-linux': BUILDSTDERR: configure: error: cannot compute suffix of object files: cannot compile BUILDSTDERR: 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 GNU C Library configure (see version.h), which was generated by GNU Autoconf 2.69. Invocation command line was $ ../configure CC=gcc CXX=g++ CFLAGS=-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection --prefix=/usr --with-headers=/usr/include --enable-kernel=3.2 --with-nonshared-cflags= -Wp,-D_FORTIFY_SOURCE=2 --enable-bind-now --build=riscv64-redhat-linux --enable-stack-protector=strong --enable-tunables --enable-systemtap --disable-profile --disable-crypt ## --------- ## ## Platform. ## ## --------- ## hostname = hifive.delorie.com uname -m = riscv64 uname -r = 4.15.0-00046-g48fb45691946-dirty uname -s = Linux uname -v = #5 SMP Wed Jul 25 18:33:57 UTC 2018 /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:2217: checking build system type configure:2231: result: riscv64-redhat-linux-gnu configure:2251: checking host system type configure:2264: result: riscv64-redhat-linux-gnu configure:2333: checking for gcc configure:2360: result: gcc configure:2589: checking for C compiler version configure:2598: gcc --version >&5 gcc (GCC) 8.2.1 20180726 (Red Hat 8.2.1-1) Copyright (C) 2018 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:2609: $? = 0 configure:2598: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-redhat-linux/8/lto-wrapper Target: riscv64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,go,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 --disable-libmpx --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux Thread model: posix gcc version 8.2.1 20180726 (Red Hat 8.2.1-1) (GCC) configure:2609: $? = 0 configure:2598: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2609: $? = 1 configure:2598: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:2609: $? = 1 configure:2614: checking for suffix of object files configure:2636: gcc -c -O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection conftest.c >&5 annobin: conftest.c: Error: plugin built for compiler version (8.1.1) but run with compiler version (8.2.1) cc1: error: fail to initialize plugin /usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so configure:2640: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "http://www.gnu.org/software/glibc/" | #define PKGVERSION "(GNU libc) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2654: error: in `/builddir/build/BUILD/glibc-2.28/build-riscv64-redhat-linux': configure:2656: error: cannot compute suffix of object files: cannot compile See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=riscv64-redhat-linux-gnu ac_cv_env_CCC_set= ac_cv_env_CCC_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 -g -Wp,-D_GLIBCXX_ASSERTIONS -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_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=g++ ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=riscv64-redhat-linux ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=riscv64-redhat-linux-gnu ac_cv_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AS='' ASFLAGS_config='' AUTOCONF='' AWK='' BASH_SHELL='' BISON='' BUILD_CC='' CC='gcc' CFLAGS='-O2 -g -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' CPP='' CPPFLAGS='' CPPUNDEFS='' CXX='g++' CXXFLAGS='' CXX_BITS_STD_ABS_H='' CXX_CMATH_HEADER='' CXX_CSTDLIB_HEADER='' CXX_SYSINCLUDES='' DEFINES='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' GPROF='' INSTALL_DATA='' INSTALL_INFO='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='' LDFLAGS='' LIBGD='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' MAKE='' MAKEINFO='' MSGFMT='' NM='' OBJCOPY='' OBJDUMP='' OBJEXT='' PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/' PACKAGE_NAME='GNU C Library' PACKAGE_STRING='GNU C Library (see version.h)' PACKAGE_TARNAME='glibc' PACKAGE_URL='http://www.gnu.org/software/glibc/' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' PERL='' PKGVERSION='(GNU libc) ' PKGVERSION_TEXI='(GNU libc) ' PYTHON='' PYTHON_PROG='' READELF='' RELEASE='' REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}' REPORT_BUGS_TO='' SED='' SHELL='/bin/sh' SYSINCLUDES='' VERSION='' ac_ct_CC='gcc' ac_ct_CXX='' all_warnings='' base_machine='' bindir='${exec_prefix}/bin' bindnow='' build='riscv64-redhat-linux-gnu' build_alias='riscv64-redhat-linux' build_cpu='riscv64' build_crypt='' build_nscd='' build_obsolete_nsl='' build_os='linux-gnu' build_pt_chown='' build_vendor='redhat' cross_compiling='no' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_timezone_tools='' enable_werror='' exec_prefix='NONE' experimental_malloc='' extra_nonshared_cflags='' fno_unit_at_a_time='' force_install='' hardcoded_path_in_tests='' have_libaudit='' have_libcap='' have_selinux='' have_tunables='' host='riscv64-redhat-linux-gnu' host_alias='' host_cpu='riscv64' host_os='linux-gnu' host_vendor='redhat' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' ldd_rewrite_script='' libc_cv_cc_loop_to_function='' libc_cv_cc_nofma='' libc_cv_cc_pie_default='' libc_cv_cc_submachine='' libc_cv_cc_with_libunwind='' libc_cv_complocaledir='' libc_cv_cxx_thread_local='' libc_cv_fpie='' libc_cv_gcc_unwind_find_fde='' libc_cv_has_glob_dat='' libc_cv_hashstyle='' libc_cv_insert='' libc_cv_localstatedir='' libc_cv_mtls_dialect_gnu2='' libc_cv_multidir='' libc_cv_nss_crypt='' libc_cv_output_format='' libc_cv_pic_default='' libc_cv_pie_default='' libc_cv_protected_data='' libc_cv_rootsbindir='' libc_cv_rtlddir='' libc_cv_slibdir='' libc_cv_ssp='' libc_cv_static_nss_crypt='' libc_cv_sysconfdir='' libc_cv_with_fp='' libc_cv_z_combreloc='' libc_cv_z_execstack='' libc_extra_cflags='' libc_extra_cppflags='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' link_obsolete_rpc='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mach_interface_list='' mandir='${datarootdir}/man' multi_arch='' no_stack_protector='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' profile='' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' shared='' sharedstatedir='${prefix}/com' stack_protector='' static='' static_nss='' subdirs=' ' submachine='' sysconfdir='${prefix}/etc' sysheaders='' sysnames='' target_alias='' use_default_link='' use_ldconfig='' use_nscd='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Library" #define PACKAGE_TARNAME "glibc" #define PACKAGE_VERSION "(see version.h)" #define PACKAGE_STRING "GNU C Library (see version.h)" #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" #define PACKAGE_URL "http://www.gnu.org/software/glibc/" #define PKGVERSION "(GNU libc) " #define REPORT_BUGS_TO "" configure: exit 1 RPM build errors: + false BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.0HRi3n (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.0HRi3n (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glibc.spec