OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 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: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 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 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 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 2/4 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 smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 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... SGI XFS with ACLs, security attributes, no debug enabled 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 = 11, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 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: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 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 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 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 2/4 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 smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 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... SGI XFS with ACLs, security attributes, no debug enabled 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 = 11, 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: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Wed Feb 21 19:38: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 + su -c 'rpmbuild -ba /builddir/build/SPECS/libxml.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zrk31r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libxml-1.8.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/libxml-1.8.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libxml-1.8.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libxml-1.8.17-CAN-2004-0110.patch):' Patch #0 (libxml-1.8.17-CAN-2004-0110.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file nanoftp.c patching file nanohttp.c + echo 'Patch #1 (libxml-1.8.17-ficora-245608.patch):' Patch #1 (libxml-1.8.17-ficora-245608.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file parser.c + echo 'Patch #2 (libxml-1.8.17-CVE-2011-1944.patch):' Patch #2 (libxml-1.8.17-CVE-2011-1944.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xpath.c + echo 'Patch #10 (libxml-1.8.17-open-mode.patch):' Patch #10 (libxml-1.8.17-open-mode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file nanohttp.c + echo 'Patch #11 (libxml-1.8.17-multiarch.patch):' Patch #11 (libxml-1.8.17-multiarch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xml-config.in + echo 'Patch #12 (libxml-1.8.17-declarations.patch):' Patch #12 (libxml-1.8.17-declarations.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .decl --fuzz=0 patching file debugXML.c patching file entities.c patching file nanoftp.c Hunk #1 succeeded at 1226 (offset 4 lines). patching file parser.c Hunk #1 succeeded at 6545 (offset 22 lines). Hunk #2 succeeded at 10648 (offset 22 lines). Hunk #3 succeeded at 10736 (offset 22 lines). Hunk #4 succeeded at 10964 (offset 22 lines). patching file parser.h patching file tree.c + echo 'Patch #13 (libxml-1.8.17-ppc64-config.patch):' Patch #13 (libxml-1.8.17-ppc64-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.guess patching file config.sub + echo 'Patch #14 (libxml-1.8.17-utf8.patch):' Patch #14 (libxml-1.8.17-utf8.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ChangeLog + echo 'Patch #15 (libxml-1.8.17-xpath.patch):' Patch #15 (libxml-1.8.17-xpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xpath.c + echo 'Patch #16 (libxml-1.8.17-aarch64-config.patch):' Patch #16 (libxml-1.8.17-aarch64-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zvWNhI + umask 022 + cd /builddir/build/BUILD + cd libxml-1.8.17 + export '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 -Werror-implicit-function-declaration' + 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 -Werror-implicit-function-declaration' + 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 -Werror-implicit-function-declaration' + 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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-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"~' ./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 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -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 -Werror-implicit-function-declaration -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Werror-implicit-function-declaration -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for rm... /usr/bin/rm checking for mv... /usr/bin/mv checking for tar... /usr/bin/tar checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for file... /usr/bin/file checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC 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.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for zlib.h... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... no checking for fcntl.h... yes checking for unistd.h... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for malloc.h... yes checking for stdarg.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for time.h... yes checking for ieeefp.h... no checking for nan.h... no checking for math.h... yes checking for fp_class.h... no checking for float.h... yes checking for stdlib.h... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for strftime... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for snprintf... yes checking for finite... yes checking for isnand... no checking for fp_class... no checking for class... no checking for fpclass... no checking for strftime... (cached) yes checking for localtime... yes checking for gethostent... yes checking for setsockopt... yes checking for connect... yes checking for isnan... yes checking for isinf... yes checking host system type... riscv64-redhat-linux-gnu checking for append_history in -lhistory... no checking for main in -ltermcap... no checking for readline in -lreadline... no updating cache ./config.cache creating ./config.status creating libxml.spec creating Makefile creating doc/Makefile creating example/Makefile sed: can't read ./example/Makefile.in: No such file or directory creating xml-config creating win32config.h creating libxml.pc creating config.h + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libxml-1.8.17' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libxml-1.8.17/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libxml-1.8.17/doc' make[2]: Entering directory '/builddir/build/BUILD/libxml-1.8.17' /usr/bin/rm -f ./libxml ln -s ./. ./libxml /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c SAX.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c SAX.c -fPIC -DPIC -o SAX.lo SAX.c: In function 'internalSubset': SAX.c:182:10: warning: variable 'oldwellFormed' set but not used [-Wunused-but-set-variable] int oldwellFormed; ^~~~~~~~~~~~~ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c entities.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c entities.c -fPIC -DPIC -o entities.lo entities.c: In function 'xmlEncodeEntitiesReentrant': entities.c:723:36: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf, sizeof(buf), "&#%d;", val); ^ In file included from /usr/include/stdio.h:862:0, from entities.c:15: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 11 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c encoding.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c encoding.c -fPIC -DPIC -o encoding.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c error.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c error.c -fPIC -DPIC -o error.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c parser.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c parser.c -fPIC -DPIC -o parser.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c parserold.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c parserold.c -fPIC -DPIC -o parserold.lo parserold.c: In function 'xmlOldParserHandleReference': parserold.c:882:2: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch] switch(ctxt->instate) { ^~~~~~ parserold.c:882:2: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch] parserold.c:938:5: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch] switch(ctxt->instate) { ^~~~~~ parserold.c:938:5: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch] parserold.c: In function 'xmlOldParserHandlePEReference': parserold.c:1114:5: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch] switch(ctxt->instate) { ^~~~~~ parserold.c:1114:5: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch] parserold.c: In function 'xmlOldParseEntityDecl': parserold.c:3031:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((CUR == '"') || (CUR == '\'')) ^~ parserold.c:3033:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (value) { ^~ parserold.c: In function 'xmlOldParseTryOrFinish': parserold.c:6488:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch] switch (ctxt->instate) { ^~~~~~ parserold.c:6488:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch] At top level: random: crng init done parserold.c:1754:1: warning: 'xmlOldParseNamespace' defined but not used [-Wunused-function] xmlOldParseNamespace(xmlParserCtxtPtr ctxt) { ^~~~~~~~~~~~~~~~~~~~ parserold.c:1651:1: warning: 'xmlOldNamespaceParseQName' defined but not used [-Wunused-function] xmlOldNamespaceParseQName(xmlParserCtxtPtr ctxt, xmlChar **prefix) { ^~~~~~~~~~~~~~~~~~~~~~~~~ parserold.c:1552:1: warning: 'xmlOldHandleEntity' defined but not used [-Wunused-function] xmlOldHandleEntity(xmlParserCtxtPtr ctxt, xmlEntityPtr entity) { ^~~~~~~~~~~~~~~~~~ parserold.c:1272:1: warning: 'xmlOldDecodeEntities' defined but not used [-Wunused-function] xmlOldDecodeEntities(xmlParserCtxtPtr ctxt, int len, int what, ^~~~~~~~~~~~~~~~~~~~ parserold.c:593:1: warning: 'xmlOldNewInputFromFile' defined but not used [-Wunused-function] xmlOldNewInputFromFile(xmlParserCtxtPtr ctxt, const char *filename) { ^~~~~~~~~~~~~~~~~~~~~~ parserold.c:563:1: warning: 'xmlOldNewStringInputStream' defined but not used [-Wunused-function] xmlOldNewStringInputStream(xmlParserCtxtPtr ctxt, const xmlChar *buffer) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ parserold.c:323:34: warning: 'nodeOldPush' defined but not used [-Wunused-function] PUSH_AND_POP(static, xmlNodePtr, node) ^ parserold.c:295:11: note: in definition of macro 'PUSH_AND_POP' scope int name##OldPush(xmlParserCtxtPtr ctxt, type value) { \ ^~~~ parserold.c:130:1: warning: 'xmlOldParserInputRead' defined but not used [-Wunused-function] xmlOldParserInputRead(xmlParserInputPtr in, int len) { ^~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c HTMLparser.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c HTMLparser.c -fPIC -DPIC -o HTMLparser.lo HTMLparser.c: In function 'htmlParseTryOrFinish': HTMLparser.c:3044:9: warning: enumeration value 'XML_PARSER_SYSTEM_LITERAL' not handled in switch [-Wswitch] switch (ctxt->instate) { ^~~~~~ HTMLparser.c:3044:9: warning: enumeration value 'XML_PARSER_IGNORE' not handled in switch [-Wswitch] /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c HTMLtree.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c HTMLtree.c -fPIC -DPIC -o HTMLtree.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c debugXML.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.8.17\" -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 -Werror-implicit-function-declaration -Wall -c debugXML.c -fPIC -DPIC -o debugXML.lo debugXML.c: In function 'xmlDebugDumpNamespace': debugXML.c:47:21: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c: In function 'xmlDebugDumpEntity': debugXML.c:74:21: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c:96:25: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c:100:25: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c:104:25: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c: In function 'xmlDebugDumpAttr': debugXML.c:119:21: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c: In function 'xmlDebugDumpOneNode': debugXML.c:140:21: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c:187:25: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c:196:22: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(output, shift); ^~~~~ debugXML.c: In function 'xmlShell': debugXML.c:1039:9: warning: variable 'nbargs' set but not used [-Wunused-but-set-variable] int nbargs; ^~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:343: debugXML.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libxml-1.8.17' make[1]: *** [Makefile:473: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libxml-1.8.17' make: *** [Makefile:671: all-recursive-am] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zvWNhI (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zvWNhI (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off