OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 2/4 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 11, base_baud = 230400) is a 16550A OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 Linux version 4.15.0-rc9-00064-gf923ce3a29af (rjones@trick.home.annexia.org) (gcc version 7.3.1 20180129 (GCC)) #1 SMP Thu Feb 15 10:59:13 GMT 2018 bootconsole [early0] enabled Initial ramdisk at: 0x (ptrval) (512 bytes) Zone ranges: DMA32 empty Normal [mem 0x0000000080200000-0x000000017fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080200000-0x000000017fffffff] Initmem setup node 0 [mem 0x0000000080200000-0x000000017fffffff] elf_hwcap is 0x112d percpu: Embedded 15 pages/cpu @ (ptrval) s29592 r0 d31848 u61440 Built 1 zonelists, mobility grouping on. Total pages: 1033735 Kernel command line: console=ttyS0 ro root=/dev/vda init=/init Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Sorting __ex_table... Memory: 4119768K/4192256K available (5849K kernel code, 340K rwdata, 1541K rodata, 200K init, 847K bss, 72488K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 riscv,cpu_intc,0: 64 local interrupts mapped riscv,cpu_intc,1: 64 local interrupts mapped ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at drivers/irqchip/irq-riscv-intc.c:159 riscv_irq_enable+0x92/0x94 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.15.0-rc9-00064-gf923ce3a29af #1 Call Trace: [< (ptrval)>] walk_stackframe+0x0/0xa2 [< (ptrval)>] show_stack+0x26/0x34 [< (ptrval)>] dump_stack+0x5e/0x7c [< (ptrval)>] __warn+0xc6/0xdc [< (ptrval)>] warn_slowpath_null+0x2c/0x3e [< (ptrval)>] riscv_irq_enable+0x8e/0x94 [< (ptrval)>] irq_enable+0x3a/0x6a [< (ptrval)>] __irq_startup+0x80/0x88 [< (ptrval)>] irq_startup+0x4e/0xe2 [< (ptrval)>] irq_activate_and_startup+0x1c/0x28 [< (ptrval)>] __irq_do_set_handler+0x6e/0x134 [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a [< (ptrval)>] plic_init+0x216/0x34a [< (ptrval)>] of_irq_init+0x132/0x232 [< (ptrval)>] irqchip_init+0x10/0x1c [< (ptrval)>] init_IRQ+0x8/0x14 [< (ptrval)>] start_kernel+0x1f6/0x32c [< (ptrval)>] _sinittext+0x4e/0x56 random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0 ---[ end trace 3f245499100bcdd5 ]--- riscv,plic0,c000000: mapped 10 interrupts to 2/4 handlers clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns smp: Brought up 1 node, 2 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 512 (order: 3, 32768 bytes) NET: Registered protocol family 16 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Unpacking initramfs... Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... SGI XFS with ACLs, security attributes, no debug enabled random: fast init done NET: Registered protocol family 38 Key type asymmetric registered Asymmetric key parser 'x509' registered Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled console [ttyS0] disabled 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 11, base_baud = 230400) is a 16550A console [ttyS0] enabled console [ttyS0] enabled [drm] radeon kernel modesetting enabled. [drm] radeon kernel modesetting enabled. loop: module loaded loop: module loaded libphy: Fixed MDIO Bus: probed libphy: Fixed MDIO Bus: probed e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci: EHCI PCI platform driver ehci-platform: EHCI generic platform driver ehci-platform: EHCI generic platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci: OHCI PCI platform driver ohci-platform: OHCI generic platform driver ohci-platform: OHCI generic platform driver usbcore: registered new interface driver uas usbcore: registered new interface driver uas usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbhid: USB HID core driver NET: Registered protocol family 10 NET: Registered protocol family 10 Segment Routing with IPv6 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 17 Key type dns_resolver registered Key type dns_resolver registered bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] uses init memory and must be disabled even before the real one is ready bootconsole [early0] disabled bootconsole [early0] disabled Loading compiled-in X.509 certificates EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (vda): INFO: recovery required on readonly filesystem EXT4-fs (vda): write access will be enabled during recovery EXT4-fs (vda): recovery complete EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 254:0. Freeing unused kernel memory: 200K This architecture does not have kernel memory protection. EXT4-fs (vda): re-mounted. Opts: (null) Wed Feb 21 22:19:00 UTC 2018 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff inet 10.0.2.15/24 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe12:3456/64 scope link tentative valid_lft forever preferred_lft forever 3: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 default via 10.0.2.2 dev eth0 10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 Welcome to the Fedora/RISC-V stage4 builder + set -e + exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/linux-atm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Wed Jul 13 2006 Jesse Keating - 2.5.0-1.20050118cvs warning: bogus date in %changelog: Wed Jul 13 2006 Jesse Keating - 2.5.0-0.20050118.6 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gC9DaL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux-atm-2.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/linux-atm-2.5.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linux-atm-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (linux-atm-2.5.0-open-macro.patch):' Patch #2 (linux-atm-2.5.0-open-macro.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/maint/atmtcp.c + echo 'Patch #3 (linux-atm-2.5.0-disable-ilmidiag.patch):' Patch #3 (linux-atm-2.5.0-disable-ilmidiag.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/ilmid/Makefile.am + echo 'Patch #4 (linux-atm-gcc43.patch):' Patch #4 (linux-atm-gcc43.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/led/main.c + echo 'Patch #5 (man-pages.patch):' Patch #5 (man-pages.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/led/zeppelin.8 patching file src/mpoad/mpcd.8 patching file src/sigd/atmsigd.conf.4 + iconv -f iso8859-1 -t utf8 + mv src/extra/ANS/e164_cc.1 src/extra/ANS/e164_cc + iconv -f iso8859-1 -t utf8 + mv doc/atm-linux-howto.txt.1 doc/atm-linux-howto.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9J60Xh + umask 022 + cd /builddir/build/BUILD + cd linux-atm-2.5.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static 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 for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for perl... /usr/bin/perl checking asm/errno.h usability... yes checking asm/errno.h presence... yes checking for asm/errno.h... yes checking linux/atmsap.h usability... yes checking linux/atmsap.h presence... yes checking for linux/atmsap.h... yes checking for main in -lresolv... yes configure: WARNING: *** atmoamd will not be built. Missing kernel support? configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/test/Makefile config.status: creating src/debug/Makefile config.status: creating src/qgen/Makefile config.status: creating src/saal/Makefile config.status: creating src/q2931/Makefile config.status: creating src/sigd/Makefile config.status: creating src/maint/Makefile config.status: creating src/arpd/Makefile config.status: creating src/ilmid/Makefile config.status: creating src/ilmid/asn1/Makefile config.status: creating src/man/Makefile config.status: creating src/led/Makefile config.status: creating src/lane/Makefile config.status: creating src/mpoad/Makefile config.status: creating src/oamd/Makefile config.status: creating src/switch/Makefile config.status: creating src/switch/debug/Makefile config.status: creating src/switch/tcp/Makefile config.status: creating src/br2684/Makefile config.status: creating src/config/Makefilerandom: crng init done config.status: creating src/extra/Makefile config.status: creating src/extra/linux-atm.spec config.status: creating config.h config.status: executing depfiles commands + make make all-recursive make[1]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2atm.lo text2atm.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2atm.c -fPIC -DPIC -o .libs/text2atm.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atm2text.lo atm2text.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atm2text.c -fPIC -DPIC -o .libs/atm2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o atmequal.lo atmequal.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmequal.c -fPIC -DPIC -o .libs/atmequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sdu2cell.lo sdu2cell.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sdu2cell.c -fPIC -DPIC -o .libs/sdu2cell.o sdu2cell.c: In function 'sdu2cell': sdu2cell.c:21:45: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; ^ In file included from ../../src/include/atm.h:10:0, from sdu2cell.c:11: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2qos.lo text2qos.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2qos.c -fPIC -DPIC -o .libs/text2qos.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qos2text.lo qos2text.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qos2text.c -fPIC -DPIC -o .libs/qos2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o qosequal.lo qosequal.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qosequal.c -fPIC -DPIC -o .libs/qosequal.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sap2text.lo sap2text.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sap2text.c -fPIC -DPIC -o .libs/sap2text.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2sap.lo text2sap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2sap.c -fPIC -DPIC -o .libs/text2sap.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o sapequal.lo sapequal.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.o sapequal.c: In function 'match_blli': sapequal.c:65:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ^ sapequal.c:46:10: note: in definition of macro 'CHECK' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~  if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~  if (res) *res = b; ~~~~~~~~~~~~~~~~~~  if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~  case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:65:6: note: in expansion of macro 'CHECK' CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ^~~~~ sapequal.c:73:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ^ sapequal.c:46:10: note: in definition of macro 'CHECK' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~  if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~  if (res) *res = b; ~~~~~~~~~~~~~~~~~~  if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~  case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  break; ~~~~~~  } ~  switch (a.l3_proto) { ~~~~~~~~~~~~~~~~~~~~~  case ATM_L3_X25: ~~~~~~~~~~~~~~~~  case ATM_L3_ISO8208: ~~~~~~~~~~~~~~~~~~~~  case ATM_L3_X223: ~~~~~~~~~~~~~~~~~  CHECK(l3.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~  CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:73:6: note: in expansion of macro 'CHECK' CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ^~~~~ sapequal.c:74:42: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ^ sapequal.c:46:10: note: in definition of macro 'CHECK' if (!CONSTRAINT) return 0; \ ^~~~~~~~~~ sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning if (!CONSTRAINT) return 0; \ ^~~~~~~~~~~~~~~~~~~~~~~~  if (res) res->FIELD = a.FIELD < b.FIELD ? a.FIELD : b.FIELD; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  } ~ static int match_blli(const struct atm_blli a,const struct atm_blli b, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  int flags,struct atm_blli *res) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { ~  if (res) *res = b; ~~~~~~~~~~~~~~~~~~  if (a.l2_proto != b.l2_proto || a.l3_proto != b.l3_proto) return 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  switch (a.l2_proto) { ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_LL: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_X25_ML: ~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ARM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_NRM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_HDLC_ABM: ~~~~~~~~~~~~~~~~~~~~~  case ATM_L2_Q922: ~~~~~~~~~~~~~~~~~  case ATM_L2_ISO7776: ~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~  CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  break; ~~~~~~  } ~  switch (a.l3_proto) { ~~~~~~~~~~~~~~~~~~~~~  case ATM_L3_X25: ~~~~~~~~~~~~~~~~  case ATM_L3_ISO8208: ~~~~~~~~~~~~~~~~~~~~  case ATM_L3_X223: ~~~~~~~~~~~~~~~~~  CHECK(l3.itu.mode,1); ~~~~~~~~~~~~~~~~~~~~~  CHECK(l3.itu.def_size,a.l3.itu.def_size > b.l3.itu.def_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sapequal.c:74:6: note: in expansion of macro 'CHECK' CHECK(l3.itu.window,a.l3.itu.window > b.l3.itu.window); ^~~~~ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o misc.lo misc.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o ans.lo ans.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ans.c -fPIC -DPIC -o .libs/ans.o ans.c: In function 'ans': ans.c:65:60: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) ^~~~ In file included from ans.c:25:0: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ ans.c:80:57: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) ^~~~ In file included from ans.c:25:0: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o common.lo common.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o diag.lo diag.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c diag.c -fPIC -DPIC -o .libs/diag.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o kptr.lo kptr.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c kptr.c -fPIC -DPIC -o .libs/kptr.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o text2ip.lo text2ip.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c text2ip.c -fPIC -DPIC -o .libs/text2ip.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o timer.lo timer.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c timer.c -fPIC -DPIC -o .libs/timer.o /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c -o unix.lo unix.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c unix.c -fPIC -DPIC -o .libs/unix.o unix.c: In function 'un_recv_connect': unix.c:70:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); ^ In file included from /usr/include/sys/socket.h:269:0, from unix.c:15: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ unix.c: In function 'un_recv': unix.c:81:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] return recvfrom(s,buf,size,0,(struct sockaddr *) &ctx->addr,&ctx->size); ^ In file included from /usr/include/sys/socket.h:269:0, from unix.c:15: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -version-info 1:0:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libatm.la -rpath /usr/lib64 text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo -lresolv gcc -shared .libs/text2atm.o .libs/atm2text.o .libs/atmequal.o .libs/sdu2cell.o .libs/text2qos.o .libs/qos2text.o .libs/qosequal.o .libs/sap2text.o .libs/text2sap.o .libs/sapequal.o .libs/misc.o .libs/ans.o .libs/common.o .libs/diag.o .libs/kptr.o .libs/text2ip.o .libs/timer.o .libs/unix.o -lresolv -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libatm.so.1 -o .libs/libatm.so.1.0.0 (cd .libs && rm -f libatm.so.1 && ln -s libatm.so.1.0.0 libatm.so.1) (cd .libs && rm -f libatm.so && ln -s libatm.so.1.0.0 libatm.so) creating libatm.la (cd .libs && rm -f libatm.la && ln -s ../libatm.la libatm.la) make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/lib' Making all in test make[3]: Entering directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c aread.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o aread aread.o ../../src/lib/libatm.la mkdir .libs gcc -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/aread aread.o ../../src/lib/.libs/libatm.so -lresolv -Wl,--rpath -Wl,/usr/lib64 creating aread gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c awrite.c /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o awrite awrite.o ../../src/lib/libatm.la gcc -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/awrite awrite.o ../../src/lib/.libs/libatm.so -lresolv -Wl,--rpath -Wl,/usr/lib64 creating awrite gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/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 -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c ttcp.c ttcp.c: In function 'main': ttcp.c:371:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; ^ ttcp.c:464:56: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((fd=accept(fd, (struct sockaddr *) &frominet, &fromlen) ) < 0) ^ In file included from ttcp.c:69:0: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ttcp.c:471:5: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &peerlen) < 0) { ^ In file included from ttcp.c:69:0: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ttcp.c:509:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &sockbufsize, &len) < 0) ^ In file included from ttcp.c:69:0: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ ttcp.c:518:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &sockbufsize, &len) < 0) ^ In file included from ttcp.c:69:0: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ ttcp.c:666:21: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, Usage); ^~~~~ At top level: ttcp.c:48:13: warning: 'RCSid' defined but not used [-Wunused-variable] static char RCSid[] = "ttcp.c $Revision: 1.2.2.1 $"; ^~~~~ cc1: some warnings being treated as errors make[3]: *** [Makefile:443: ttcp.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src/test' make[2]: *** [Makefile:267: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1/src' make[1]: *** [Makefile:307: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/linux-atm-2.5.1' make: *** [Makefile:236: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9J60Xh (%build) RPM build errors: bogus date in %changelog: Wed Jul 13 2006 Jesse Keating - 2.5.0-1.20050118cvs bogus date in %changelog: Wed Jul 13 2006 Jesse Keating - 2.5.0-0.20050118.6 Bad exit status from /var/tmp/rpm-tmp.9J60Xh (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ mount.static -o remount,ro / ++ poweroff reboot: Power down Power off