OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-02665-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #21 SMP Thu Feb 1 08:49:48 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4120188K/4192256K available (5390K kernel code, 336K rwdata, 1472K rodata, 192K init, 848K bss, 72068K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-02665-gf923ce3a29af #21 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-02665-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #21 SMP Thu Feb 1 08:49:48 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4120188K/4192256K available (5390K kernel code, 336K rwdata, 1472K rodata, 192K init, 848K bss, 72068K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped riscv,cpu_intc,2: 64 local interrupts mapped riscv,cpu_intc,3: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc9-02665-gf923ce3a29af #21 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 4/8 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 13, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 192K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Sat Feb 17 21:05:00 UTC 2018 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link tentative valid_lft forever preferred_lft forever 3: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 default via 10.0.2.2 dev eth0 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 Welcome to the Fedora/RISC-V stage4 builder + set -e + exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + rpmbuild --rebuild /var/tmp/libarchive-3.2.1-3.fc25.src.rpm --define 'debug_package %{nil}' --undefine _annotated_build --define '_topdir /rpmbuild' --define '_missing_doc_files_terminate_build %{nil}' --define '_unitdir /usr/lib/systemd/system' --define '_sysctldir /usr/lib/sysctl.d' --define '_tmpfilesdir /usr/lib/tmpfiles.d' --define '_udevrulesdir /usr/lib/udev/rules.d' --define '_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d' --define '_emacs_sitelispdir /usr/share/emacs/site-lisp' --nocheck Installing /var/tmp/libarchive-3.2.1-3.fc25.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9pYTFg + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf libarchive-3.2.1 + /usr/bin/gzip -dc /rpmbuild/SOURCES/libarchive-3.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libarchive-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kfsD3Y + umask 022 + cd /rpmbuild/BUILD + cd libarchive-3.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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 ./build/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/autoconf/config.sub ++ basename ./build/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/autoconf/config.guess ++ basename ./build/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-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="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build/autoconf/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 --disable-static --disable-rpath checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... random: crng init done no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-strip... strip checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking copyfile.h usability... no checking copyfile.h presence... no checking for copyfile.h... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ext2fs/ext2_fs.h usability... yes checking ext2fs/ext2_fs.h presence... yes checking for ext2fs/ext2_fs.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking whether EXT2_IOC_GETFLAGS is usable... yes checking for inttypes.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking readpassphrase.h usability... no checking readpassphrase.h presence... no checking for readpassphrase.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/extattr.h usability... no checking sys/extattr.h presence... no checking for sys/extattr.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking Bcrypt.h usability... no checking Bcrypt.h presence... no checking for Bcrypt.h... no checking for wincrypt.h... no checking for winioctl.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzDecompressInit in -lbz2... yes checking lzmadec.h usability... no checking lzmadec.h presence... no checking for lzmadec.h... no checking for lzmadec_decode in -llzmadec... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for iconv.h... yes checking localcharset.h usability... no checking localcharset.h presence... no checking for localcharset.h... no checking for locale_charset... no checking for locale_charset in -lcharset... no checking lz4.h usability... no checking lz4.h presence... no checking for lz4.h... no checking lz4hc.h usability... no checking lz4hc.h presence... no checking for lz4hc.h... no checking for LZ4_decompress_safe in -llz4... no checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_stream_decoder in -llzma... yes checking whether we have multithread support in lzma... yes checking lzo/lzoconf.h usability... yes checking lzo/lzoconf.h presence... yes checking for lzo/lzoconf.h... yes checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking for lzo1x_decompress_safe in -llzo2... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2_PC... yes checking for xmlInitParser in -lxml2... yes checking libxml/xmlreader.h usability... yes checking libxml/xmlreader.h presence... yes checking for libxml/xmlreader.h... yes checking libxml/xmlwriter.h usability... yes checking libxml/xmlwriter.h presence... yes checking for libxml/xmlwriter.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wformat... yes checking whether C compiler accepts -Wformat-security... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for id_t... yes checking for uintptr_t... yes checking for struct tm.tm_gmtoff... yes checking for struct tm.__tm_gmtoff... no checking for struct statfs.f_namemax... no checking for struct statvfs.f_iosize... no checking for struct stat.st_birthtime... no checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_mtimespec.tv_nsec... no checking for struct stat.st_mtim.tv_nsec... yes checking for struct stat.st_mtime_n... no checking for struct stat.st_umtime... no checking for struct stat.st_mtime_usec... no checking for struct stat.st_blksize... yes checking for struct stat.st_flags... no checking for uintmax_t... yes checking for unsigned long long... yes checking for unsigned long long int... yes checking for long long int... yes checking for intmax_t... yes checking for uintmax_t... (cached) yes checking for int64_t... yes checking for uint64_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int16_t... yes checking for uint16_t... yes checking for uint8_t... yes checking whether SIZE_MAX is declared... yes checking whether INT32_MAX is declared... yes checking whether INT32_MIN is declared... yes checking whether INT64_MAX is declared... yes checking whether INT64_MIN is declared... yes checking whether UINT64_MAX is declared... yes checking whether UINT32_MAX is declared... yes checking whether INTMAX_MAX is declared... yes checking whether INTMAX_MIN is declared... yes checking whether UINTMAX_MAX is declared... yes checking whether SSIZE_MAX is declared... yes checking whether EFTYPE is declared... no checking whether EILSEQ is declared... yes checking for wchar_t... yes checking size of wchar_t... 4 checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking whether sys/types.h defines makedev... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether stat accepts an empty string... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for CreateHardLinkA... no checking for arc4random_buf... no checking for chflags... no checking for chown... yes checking for chroot... yes checking for ctime_r... yes checking for dirfd... yes checking for fchdir... yes checking for fchflags... no checking for fchmod... yes checking for fchown... yes checking for fcntl... yes checking for fdopendir... yes checking for fork... yes checking for fstat... yes checking for fstatat... yes checking for fstatfs... yes checking for fstatvfs... yes checking for ftruncate... yes checking for futimens... yes checking for futimes... yes checking for futimesat... yes checking for geteuid... yes checking for getpid... yes checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getvfsbyname... no checking for gmtime_r... yes checking for lchflags... no checking for lchmod... no checking for lchown... yes checking for link... yes checking for localtime_r... yes checking for lstat... yes checking for lutimes... yes checking for mbrtowc... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkfifo... yes checking for mknod... yes checking for mkstemp... yes checking for nl_langinfo... yes checking for openat... yes checking for pipe... yes checking for poll... yes checking for posix_spawnp... yes checking for readlink... yes checking for readlinkat... yes checking for readpassphrase... no checking for select... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for statfs... yes checking for statvfs... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncpy_s... no checking for strrchr... yes checking for symlink... yes checking for timegm... yes checking for tzset... yes checking for unsetenv... yes checking for utime... yes checking for utimensat... yes checking for utimes... yes checking for vfork... yes checking for wcrtomb... yes checking for wcscmp... yes checking for wcscpy... yes checking for wcslen... yes checking for wctomb... yes checking for wmemcmp... yes checking for wmemcpy... yes checking for wmemmove... yes checking for _ctime64_s... no checking for _fseeki64... no checking for _get_timezone... no checking for _localtime64_s... no checking for _mkgmtime64... no checking for cygwin_conv_path... no checking whether D_MD_ORDER is declared... no checking for struct dirent.d_namlen... no checking attr/xattr.h usability... yes checking attr/xattr.h presence... yes checking for attr/xattr.h... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/ea.h usability... no checking sys/ea.h presence... no checking for sys/ea.h... no checking for library containing setxattr... none required checking for extattr_get_file... no checking for extattr_list_file... no checking for extattr_set_fd... no checking for extattr_set_file... no checking for fgetxattr... yes checking for flistxattr... yes checking for fsetxattr... yes checking for getxattr... yes checking for lgetxattr... yes checking for listxattr... yes checking for llistxattr... yes checking for lsetxattr... yes checking for fgetea... no checking for flistea... no checking for fsetea... no checking for getea... no checking for lgetea... no checking for listea... no checking for llistea... no checking for lsetea... no checking whether EXTATTR_NAMESPACE_USER is declared... no checking acl/libacl.h usability... yes checking acl/libacl.h presence... yes checking for acl/libacl.h... yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for acl_get_file in -lacl... yes checking for acl_create_entry... yes checking for acl_init... yes checking for acl_set_fd... yes checking for acl_set_fd_np... no checking for acl_set_file... yes checking for acl_permset_t... yes checking for acl_get_perm_np... no checking for acl_get_perm... yes checking for acl_get_link... no checking for acl_get_link_np... no checking whether ACL_USER is declared... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking support for ARCHIVE_CRYPTO_MD5_LIBC... no checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM... no checking support for ARCHIVE_CRYPTO_RMD160_LIBC... no checking support for ARCHIVE_CRYPTO_SHA1_LIBC... no checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM... no checking support for ARCHIVE_CRYPTO_SHA256_LIBC... no checking support for ARCHIVE_CRYPTO_SHA256_LIBC2... no checking support for ARCHIVE_CRYPTO_SHA256_LIBC3... no checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM... no checking support for ARCHIVE_CRYPTO_SHA384_LIBC... no checking support for ARCHIVE_CRYPTO_SHA384_LIBC2... no checking support for ARCHIVE_CRYPTO_SHA384_LIBC3... no checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM... no checking support for ARCHIVE_CRYPTO_SHA512_LIBC... no checking support for ARCHIVE_CRYPTO_SHA512_LIBC2... no checking support for ARCHIVE_CRYPTO_SHA512_LIBC3... no checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM... no checking nettle/md5.h usability... no checking nettle/md5.h presence... no checking for nettle/md5.h... no checking nettle/ripemd160.h usability... no checking nettle/ripemd160.h presence... no checking for nettle/ripemd160.h... no checking nettle/sha.h usability... no checking nettle/sha.h presence... no checking for nettle/sha.h... no checking nettle/pbkdf2.h usability... no checking nettle/pbkdf2.h presence... no checking for nettle/pbkdf2.h... no checking nettle/aes.h usability... no checking nettle/aes.h presence... no checking for nettle/aes.h... no checking nettle/hmac.h usability... no checking nettle/hmac.h presence... no checking for nettle/hmac.h... no checking for nettle_sha1_init in -lnettle... no checking support for ARCHIVE_CRYPTO_MD5_NETTLE... no checking support for ARCHIVE_CRYPTO_RMD160_NETTLE... no checking support for ARCHIVE_CRYPTO_SHA1_NETTLE... no checking support for ARCHIVE_CRYPTO_SHA256_NETTLE... no checking support for ARCHIVE_CRYPTO_SHA384_NETTLE... no checking support for ARCHIVE_CRYPTO_SHA512_NETTLE... no checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for OPENSSL_config in -lcrypto... yes checking support for ARCHIVE_CRYPTO_MD5_OPENSSL... no checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL... no checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL... no checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL... no checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL... no checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL... no checking md5.h usability... no checking md5.h presence... no checking for md5.h... no checking ripemd.h usability... no checking ripemd.h presence... no checking for ripemd.h... no checking sha.h usability... no checking sha.h presence... no checking for sha.h... no checking sha256.h usability... no checking sha256.h presence... no checking for sha256.h... no checking sha512.h usability... no checking sha512.h presence... no checking for sha512.h... no checking for MD5Init in -lmd... no checking support for ARCHIVE_CRYPTO_MD5_LIBMD... no checking support for ARCHIVE_CRYPTO_RMD160_LIBMD... no checking support for ARCHIVE_CRYPTO_SHA1_LIBMD... no checking support for ARCHIVE_CRYPTO_SHA256_LIBMD... no checking support for ARCHIVE_CRYPTO_SHA512_LIBMD... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/pkgconfig/libarchive.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing mkdirs commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make -j4 /usr/bin/mkdir -p libarchive/test /usr/bin/mkdir -p tar/test /usr/bin/mkdir -p cpio/test cat ./cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h cat ./libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h cat ./tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h cat ./cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h make all-am make[1]: Entering directory '/rpmbuild/BUILD/libarchive-3.2.1' CC libarchive/archive_check_magic.lo CC libarchive/archive_acl.lo CC libarchive/archive_cmdline.lo CC libarchive/archive_cryptor.lo CC libarchive/archive_digest.lo In file included from libarchive/archive_cryptor.c:32:0: libarchive/archive_cryptor_private.h:107:17: error: field 'ctx' has incomplete type EVP_CIPHER_CTX ctx; ^~~ make[1]: *** [Makefile:5488: libarchive/archive_cryptor.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... CC libarchive/archive_entry.lo libarchive/archive_entry.c: In function 'archive_entry_dev': libarchive/archive_entry.c:322:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . entry->ae_stat.aest_devminor); ^~~~~~~~~~~~~~~~~~~~~~~~ libarchive/archive_entry.c: In function 'archive_entry_devmajor': libarchive/archive_entry.c:339:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . return major(entry->ae_stat.aest_dev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libarchive/archive_entry.c: In function 'archive_entry_devminor': libarchive/archive_entry.c:348:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . return minor(entry->ae_stat.aest_dev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libarchive/archive_entry.c: In function 'archive_entry_rdev': libarchive/archive_entry.c:607:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . entry->ae_stat.aest_rdevminor); ^~~~~~~~~~~~~~~~~~~~~~~~~ libarchive/archive_entry.c: In function 'archive_entry_rdevmajor': libarchive/archive_entry.c:618:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . return major(entry->ae_stat.aest_rdev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libarchive/archive_entry.c: In function 'archive_entry_rdevminor': libarchive/archive_entry.c:627:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . return minor(entry->ae_stat.aest_rdev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/rpmbuild/BUILD/libarchive-3.2.1' make: *** [Makefile:2863: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.kfsD3Y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kfsD3Y (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off