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: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K 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: 2 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 2 PID: 0 Comm: swapper/2 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 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... 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 = 13, 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: 4119648K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72608K 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: 2 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 2 PID: 0 Comm: swapper/2 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 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... 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 = 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: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Mon Feb 19 06:41: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/ipmitool-1.8.18-1.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/ipmitool-1.8.18-1.fc25.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.itThRp + umask 022 + cd /rpmbuild/BUILD + cd /rpmbuild/BUILD + rm -rf ipmitool-1.8.18 + /usr/bin/bzip2 -dc /rpmbuild/SOURCES/ipmitool-1.8.18.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipmitool-1.8.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-CVE-2011-4339-OpenIPMI.patch):' Patch #1 (0001-CVE-2011-4339-OpenIPMI.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/helper.c + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv AUTHORS.utf8 AUTHORS + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv ChangeLog.utf8 ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Vqu3Rw + umask 022 + cd /rpmbuild/BUILD + cd ipmitool-1.8.18 + aclocal + libtoolize --automake --copy + autoheader + automake --foreign --add-missing --copy random: crng init done + aclocal + autoconf + automake --foreign + 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 ./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' + 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' + '[' 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-dependency-tracking --enable-file-security --disable-intf-free checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu 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 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 whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpmbuild checking for sed... sed 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... 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 the maximum length of command line arguments... 1572864 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... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no 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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 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... yes checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_sha256 in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... yes checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -ltinfo checking for library containing initscr... -lncurses checking for library containing readline... -lreadline checking for library containing tgetent... (cached) -ltinfo checking for library containing initscr... (cached) -lncurses checking for library containing readline... (cached) -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ipmitool 1.8.18 Interfaces lan : yes lanplus : yes open : yes free : no imb : yes bmc : no usb : no lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes + make -j4 make all-recursive make[1]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18' Making all in lib make[2]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18/lib' /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c In file included from /usr/include/sys/types.h:25:0, from helper.c:39: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_sol.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ipmi_sdr.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ipmi_sel.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sel.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] int base, ^~~~ In file included from ipmi_sdr.c:48:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from helper.c:66: helper.c: In function 'str2val': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ helper.c:567:35: note: in expansion of macro '__maxlen' if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) ^~~~~~~~ In file included from ipmi_sel.c:50:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:87:22: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] if (sscanf(str, "0x%x", &ret) != 1) { ~^ ~~~~ %x ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) ^~~~~~~ ipmi_sel.c: In function 'get_kontron_evt_desc': ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) ^~~~ helper.c: In function 'ipmi_start_daemon': helper.c:831:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ helper.c:840:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^~~~~~~ helper.c:841:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': ipmi_sdr.c:2129:52: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': ipmi_sdr.c:2225:57: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': ipmi_sdr.c:2282:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': ipmi_sdr.c:2341:54: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, ^~~~ ipmi_sdr.c:2342:40: warning: unused parameter 'assoc' [-Wunused-parameter] struct sdr_record_entity_assoc *assoc) ^~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': ipmi_sdr.c:2356:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_end': ipmi_sdr.c:3079:32: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) ^~~~ In file included from ipmi_sel.c:48:0: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] static uint16_t supermicro_x8[] = { ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:110:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] static uint16_t supermicro_p8[] = { ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:103:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] static uint16_t supermicro_h8[] = { ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:99:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] static uint16_t supermicro_b8[] = { ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:76:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] static uint16_t supermicro_x9sb[] = { ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:72:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] static uint16_t supermicro_x9db[] = { ^~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:68:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] static uint16_t supermicro_x9dal[] = { ^~~~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:47:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] static uint16_t supermicro_b2[] = { ^~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:43:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] static uint16_t supermicro_b11[] = { ^~~~~~~~~~~~~~ ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] static uint16_t supermicro_x11[] = { ^~~~~~~~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_sdr.c:3925:48: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) ^~~~ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../include/ipmitool/helper.h:116:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4207:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^~~~~ ../include/ipmitool/helper.h:116:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4207:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_type': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4477:6: note: in expansion of macro '__maxlen' __maxlen(type, ^~~~~~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4542:7: note: in expansion of macro '__maxlen' __maxlen(entitystr, entity_id_vals[i].str)) == 0) { ^~~~~~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_reading': ipmi_sdr.c:206:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:209:2: note: here case 2: ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_hysterisis': ipmi_sdr.c:286:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:289:2: note: here case 2: ^~~~ ipmi_sdr.c: In function 'sdr_convert_sensor_tolerance': ipmi_sdr.c:361:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (val & 0x80) ^ ipmi_sdr.c:364:2: note: here case 2: ^~~~ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': ipmi_sdr.c:1626:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(sval, sizeof (sval), "%s %s", ^ In file included from /usr/include/stdio.h:862:0, from ipmi_sdr.c:40: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_sdr.c:1680:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(sval, sizeof (sval), "%s %s", ^ In file included from /usr/include/stdio.h:862:0, from ipmi_sdr.c:40: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 17) into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_pef.c:44: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(p, listitem[index], pmap->desc); ^~~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:134:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[0], KYWD_LENGTH, label, val); ^~~~~~ ipmi_pef.c:148:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(&fmt[1][2], val); /* skip field separator */ ^~~~~~ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^~~~~~ ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) ^~ ipmi_pef.c: In function 'ipmi_pef_print_dest': ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^~~~ ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^~ ipmi_pef.c: In function 'ipmi_pef_print_event_info': ipmi_pef.c:952:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { ^~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_fru.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_fru.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_fru.c: In function 'write_fru_area': ipmi_fru.c:474:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size'; did you mean 'ipmi_intf_set_max_request_data_size'? [-Wimplicit-function-declaration] uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_intf_set_max_request_data_size ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:644:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size'; did you mean 'ipmi_intf_set_max_response_data_size'? [-Wimplicit-function-declaration] uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_intf_set_max_response_data_size ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:972:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) { ^~ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1097:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^~ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1232:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^~ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1465:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i=0;i<len;i++ ){ ^ ipmi_fru.c:1472:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i=0;i<len;i++ ){ ^ ipmi_fru.c: In function 'ipmi_fru_oemkontron_get': ipmi_fru.c:1576:25: warning: unused parameter 'len' [-Wunused-parameter] int off,int len, ^~~ ipmi_fru.c:1577:41: warning: unused parameter 'h' [-Wunused-parameter] struct fru_multirec_header *h, ^ ipmi_fru.c: In function 'ipmi_fru_oemkontron_edit': ipmi_fru.c:1881:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_edit': ipmi_fru.c:1998:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': ipmi_fru.c:2265:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ ipmi_fru.c:2510:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ ipmi_fru.c:2821:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d ipmi_fru.c:2821:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d ipmi_fru.c:2821:61: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] printf(" FRQ: %-9ld - min: %-9ld - max: %-9ld\n", ~~~~^ %-9d ipmi_fru.c: In function 'ipmi_fru_get_multirec_size_from_file': ipmi_fru.c:3838:36: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.internal * 8) > (header.offset.internal * 8)) && ^ ipmi_fru.c:3842:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && ^ ipmi_fru.c:3846:33: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.board * 8) > (header.offset.board * 8)) && ^ ipmi_fru.c:3850:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.product * 8) > (header.offset.product * 8)) && ^ ipmi_fru.c: In function 'ipmi_fru_get_multirec_location_from_fru': ipmi_fru.c:4025:36: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.internal * 8) > (header.offset.internal * 8)) && ^ ipmi_fru.c:4029:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.chassis * 8) > (header.offset.chassis * 8)) && ^ ipmi_fru.c:4033:33: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.board * 8) > (header.offset.board * 8)) && ^ ipmi_fru.c:4037:35: warning: self-comparison always evaluates to false [-Wtautological-compare] if (((header.offset.product * 8) > (header.offset.product * 8)) && ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ipmi_fru.c:4806:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < fru_section_len - 1; i++) ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': ipmi_fru.c:4989:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] num_byte_change = strlen(f_string) - strlen(fru_area); ^~~~~~~~ In file included from ../include/ipmitool/helper.h:39:0, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ipmi_fru.c:5110:73: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) ^ ipmi_fru.c:5155:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen(fru_area)), ^~~~~~~~ In file included from ../include/ipmitool/helper.h:39:0, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ipmi_fru.c:5160:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(counter = 0; counter < padding_len; counter ++) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c At top level: ipmi_fru.c:826:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_chassis.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c ipmi_mc.c: In function 'ipmi_sysinfo_main': ipmi_mc.c:1063:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); ^~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_mc.c:33: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmi_mc.c:1067:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); ^~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_mc.c:33: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3087:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] int rc; ^~ In file included from /usr/include/unistd.h:25:0, from log.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from dimm_spd.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from dimm_spd.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c In file included from ipmi_sensor.c:40:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(na_fmt, "na"); ^~~~~~ ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); ^~~~~~ ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(discrete_fmt, setting); ^~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_event.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_event.c:50: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_event.c:46: ipmi_event.c: In function 'ipmi_event_find_offset': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_event.c:221:33: note: in expansion of macro '__maxlen' strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { ^~~~~~~~ ipmi_event.c: In function 'ipmi_event_fromsensor': ipmi_event.c:407:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ ipmi_event.c:414:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_strings.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_user.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:212:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (copy_len > (data_len - 2)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:334:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (argc > sizeof(data)) ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_oem.c:38: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_oem.c: In function 'ipmi_oem_ibm': ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_oem_ibm(struct ipmi_intf * intf) ^~~~ ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:618:42: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] int rc = processiSolUserInput(intf, buffer, numRead); ^~~~~~ ipmi_isol.c:457:1: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' processiSolUserInput(struct ipmi_intf * intf, ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2293:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ipmi_sunoem.c:34: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modulus, pFileHandle) == modulus) { ^~ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_picmg.c:36:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1754:30: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] if (is_clk_resid(argv[6], &msg_data[10]) != 0) { ^ ipmi_picmg.c:328:1: note: expected 'int8_t * {aka signed char *}' but argument is of type 'unsigned char *' is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) ^~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_main.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ipmi_main.c:56:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_main.c:59:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from ipmi_main.c:51:0: ipmi_main.c: In function 'ipmi_cmd_run': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_main.c:207:32: note: in expansion of macro '__maxlen' if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) ^~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:88:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:26: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:29: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c:88:32: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ~^ ~~~~ %d ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { ^ ipmi_tsol.c:543:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { ^ ipmi_tsol.c:561:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:36, from ipmi_hpmfwupg.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_kontronoem.c:47:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) ^~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, ^~~~ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1420:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != pFwupgCtx->imageSize) { ^~ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2342:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (dataIdx = 0; dataIdx < length; dataIdx++) { ^ In file included from ipmi_sdradd.c:51:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41:0, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:483:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { ^ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) ^~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header ** list_last, char * opt, ^~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': ipmi_ekanalyzer.c:2939:32: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header *list_last) ^~~~~~~~~ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3371:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { ^ In file included from ipmi_gendev.c:44:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ At top level: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf *intf, ^~~~ ipmi_gendev.c: In function 'ipmi_gendev_write_file': ipmi_gendev.c:385:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(fileLength != eeprom_size) ^~ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:30: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (pImageCtx->size < 0) ^ At top level: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] static int ImeUpdateShowStatus(struct ipmi_intf *intf) ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1601:26: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] result = ipmi_ek_check_physical_connectivity ( record1, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  index_ch_desc1, record2, index_ch_desc2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  physic_record, file_type1, file_type2, opt ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_ekanalyzer.c:1133:43: note: 'pcarrier_p2p' was declared here struct ipmi_ek_multi_header * pcarrier_p2p; ^~~~~~~~~~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_delloem.c:55:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ipmi_dcmi.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ipmi_delloem.c: In function 'ipmi_lcd_set_text': ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) ^~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': ipmi_delloem.c:1674:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_10g': ipmi_delloem.c:1742:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_11g': ipmi_delloem.c:1805:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:1997:45: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); ^~~~~~~ ipmi_delloem.c:199:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' static int ipmi_lan_set_nic_selection_12g(struct ipmi_intf *intf, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c:1961:52: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3364:10: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3560:10: warning: too many arguments for format [-Wformat-extra-args] printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': ipmi_delloem.c:3819:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) ^~~~ ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4228:45: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4228:48: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4228:51: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:41: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:44: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x ipmi_delloem.c:4232:47: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ~^ ~~ %x /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_dcmi.c:59: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ../include/ipmitool/ipmi_dcmi.h:23, from ipmi_dcmi.c:50: ipmi_dcmi.c: In function 'str2val2': ../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' __maxlen(str, vs[i].str)) == 0) { ^~~~~~~~ ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': ipmi_dcmi.c:1891:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] val.limit = *(uint16_t*)(&lvalue); ^~~ ipmi_dcmi.c:1909:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] val.sample = *(uint16_t*)(&lvalue); ^~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_vita.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_vita.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp6.lo ipmi_lanp6.c ipmi_lanp6.c: In function 'lanp_parse_cfgp': ipmi_lanp6.c:596:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (set > 2) { ^ ipmi_lanp6.c:601:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ ipmi_lanp6.c: In function 'lanp_get_cfgp': ipmi_lanp6.c:703:11: warning: this statement may fall through [-Wimplicit-fallthrough=] data[0] = data[17] = data[24] = data[26] = set; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipmi_lanp6.c:705:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ ipmi_lanp6.c: In function 'lanp_set_cfgp': ipmi_lanp6.c:653:7: warning: this statement may fall through [-Wimplicit-fallthrough=] off = 1; ~~~~^~~ ipmi_lanp6.c:655:2: note: here case IPMI_LANP_IP6_DYNAMIC_RTR_ADDR: ^~~~ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_cfgp.lo ipmi_cfgp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c /bin/sh ../libtool --silent --tag=CC --mode=link 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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[2]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18/lib' Making all in src make[2]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18/src' Making all in plugins make[3]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins' Making all in lan make[4]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins/lan' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lan.c:53: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ lan.c: In function 'ipmi_handle_pong': lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^~~~ lan.c: In function 'check_sol_packet_for_new_data': lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] check_sol_packet_for_new_data(struct ipmi_intf * intf, ^~~~ /bin/sh ../../../libtool --silent --tag=CC --mode=link 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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins/lan' Making all in lanplus make[4]: Entering directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins/lanplus' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c lanplus_crypt.c: In function 'lanplus_rakp2_hmac_matches': lanplus_crypt.c:89:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:91:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_rakp4_hmac_matches': lanplus_crypt.c:256:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:258:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_rakp3_authcode': lanplus_crypt.c:422:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:424:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_sik': lanplus_crypt.c:544:1: warning: embedding a directive within macro arguments is not portable #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:546:1: warning: embedding a directive within macro arguments is not portable #endif /* HAVE_CRYPTO_SHA256 */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lanplus.c:60: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -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 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus.c: In function 'ipmi_handle_pong': lanplus.c:526:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^~~~ lanplus.c: In function 'ipmi_lan_poll_single': lanplus.c:773:12: warning: unused variable 'target_cmd' [-Wunused-variable] uint8_t target_cmd = entry->req.msg.target_cmd; ^~~~~~~~~~ lanplus.c: In function 'read_session_data_v2x': lanplus.c:1222:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'read_session_data_v15': lanplus.c:1276:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'getSolPayloadWireRep': lanplus.c:1540:34: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, /* in out */ ^~~~ lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': lanplus.c:1974:17: warning: unused variable 'backup_cmd' [-Wunused-variable] unsigned char backup_cmd; ^~~~~~~~~~ lanplus.c: In function 'check_sol_packet_for_new_data': lanplus.c:2587:29: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, ^~~~ lanplus_crypt_impl.c: In function 'lanplus_encrypt_aes_cbc_128': lanplus_crypt_impl.c:167:17: error: storage size of 'ctx' isn't known EVP_CIPHER_CTX ctx; ^~~ lanplus_crypt_impl.c:167:17: warning: unused variable 'ctx' [-Wunused-variable] lanplus_crypt_impl.c: In function 'lanplus_decrypt_aes_cbc_128': lanplus_crypt_impl.c:242:17: error: storage size of 'ctx' isn't known EVP_CIPHER_CTX ctx; ^~~ lanplus_crypt_impl.c:242:17: warning: unused variable 'ctx' [-Wunused-variable] make[4]: *** [Makefile:444: lanplus_crypt_impl.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins/lanplus' make[3]: *** [Makefile:493: all-recursive] Error 1 make[3]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18/src/plugins' make[2]: *** [Makefile:592: all-recursive] Error 1 make[2]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18/src' make[1]: *** [Makefile:467: all-recursive] Error 1 make[1]: Leaving directory '/rpmbuild/BUILD/ipmitool-1.8.18' make: *** [Makefile:399: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Vqu3Rw (%build) RPM build errors: user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.Vqu3Rw (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off