Opened 2 hours ago

#19233 new bug

KDL when compiling using Clang and RAMFS

Reported by: dovsienko Owned by: nobody
Priority: high Milestone: Unscheduled
Component: File Systems/RAMFS Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Using the most current nightly snapshot of Haiku and the most current snapshot of tcpdump, the build matrix script eventually causes the host (VM with 4 cores and %GB RAM) to invoke KDL (screenshot attached). Steps to reproduce:

git clone https://git.tcpdump.org/tcpdump/
cd tcpdump
./build_matrix.sh
[...]
===== SETUP 23: CC=clang BUILD_LIBPCAP=yes REMOTE=no CMAKE=yes CRYPTO=yes SMB=no =====
$ ./build.sh
clang version 19.1.3
Target: x86_64-unknown-haiku
Thread model: posix
InstalledDir: /boot/system/bin
Compiler identification: clang-19.1.3
$ rm -rf CMakeFiles/ CMakeCache.txt build/
$ mkdir build
$ cd build
$ cmake -Werror=dev -DWITH_CRYPTO=yes -DENABLE_SMB=no -DEXTRA_CFLAGS=-Werror -DCMAKE_INSTALL_PREFIX=/boot/system/var/shared_memory/tcpdump_build_matrix.QeZ9OrbH -DCMAKE_PREFIX_PATH=/boot/system/var/shared_memory/tcpdump_build_matrix.QeZ9OrbH ..
-- The C compiler identification is Clang 19.1.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /boot/home/config/non-packaged/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Building 64-bit
-- Checking C compiler flag -std=gnu99
-- Performing Test std-gnu99
-- Performing Test std-gnu99 - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Looking for rpc/rpc.h
-- Looking for rpc/rpc.h - not found
-- Looking for strlcat
-- Looking for strlcat - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strsep
-- Looking for strsep - not found
-- Looking for gethostbyaddr
-- Looking for gethostbyaddr - not found
-- Looking for gethostbyaddr in socket
-- Looking for gethostbyaddr in socket - not found
-- Looking for gethostbyaddr in nsl
-- Looking for gethostbyaddr in nsl - not found
-- Looking for gethostbyaddr in network
-- Looking for gethostbyaddr in network - found
-- Looking for getservent
-- Looking for getservent - found
-- Performing Test SUITABLE_SNPRINTF
-- Performing Test SUITABLE_SNPRINTF - Success
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for fork
-- Looking for fork - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for getrpcbynumber
-- Looking for getrpcbynumber - not found
-- Looking for getrpcbynumber
-- Looking for getrpcbynumber - not found
-- Looking for ether_ntohost
-- Looking for ether_ntohost - not found
-- Found PkgConfig: /bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'libpcap'
-- Looking for pcap/pcap-inttypes.h
-- Looking for pcap/pcap-inttypes.h - found
-- Looking for pcap_create
-- Looking for pcap_create - found
-- Looking for pcap_set_tstamp_type
-- Looking for pcap_set_tstamp_type - found
-- Looking for pcap_set_tstamp_precision
-- Looking for pcap_set_tstamp_precision - found
-- Looking for pcap_set_immediate_mode
-- Looking for pcap_set_immediate_mode - found
-- Looking for pcap_dump_ftell64
-- Looking for pcap_dump_ftell64 - found
-- Looking for pcap_open
-- Looking for pcap_open - found
-- Looking for pcap_findalldevs_ex
-- Looking for pcap_findalldevs_ex - found
-- Looking for pcap_set_parser_debug
-- Looking for pcap_set_parser_debug - not found
-- Looking for pcap_debug
-- Looking for pcap_debug - not found
-- Looking for yydebug
-- Looking for yydebug - not found
-- Looking for pcap_set_optimizer_debug
-- Looking for pcap_set_optimizer_debug - not found
-- Looking for bpf_dump
-- Looking for bpf_dump - found
-- Could NOT find SMI (missing: SMI_INCLUDE_DIR SMI_LIBRARY) 
-- Checking for module 'libcrypto'
--   Found libcrypto, version 1.1.1w
-- Found CRYPTO: /packages/openssl-1.1.1w-2/.self/develop/headers
-- Looking for EVP_CIPHER_CTX_new
-- Looking for EVP_CIPHER_CTX_new - found
-- Looking for EVP_DecryptInit_ex
-- Looking for EVP_DecryptInit_ex - found
-- Looking for include file sys/capsicum.h
-- Looking for include file sys/capsicum.h - not found
-- Looking for cap-ng.h
-- Looking for cap-ng.h - not found
-- Looking for capng_change_id in cap-ng
-- Looking for capng_change_id in cap-ng - not found
-- Checking C compiler flag -W
-- Performing Test W
-- Performing Test W - Success
-- Checking C compiler flag -Wall
-- Performing Test Wall
-- Performing Test Wall - Success
-- Checking C compiler flag -Wassign-enum
-- Performing Test Wassign-enum
-- Performing Test Wassign-enum - Success
-- Checking C compiler flag -Wcast-qual
-- Performing Test Wcast-qual
-- Performing Test Wcast-qual - Success
-- Checking C compiler flag -Wmissing-prototypes
-- Performing Test Wmissing-prototypes
-- Performing Test Wmissing-prototypes - Success
-- Checking C compiler flag -Wmissing-variable-declarations
-- Performing Test Wmissing-variable-declarations
-- Performing Test Wmissing-variable-declarations - Success
-- Checking C compiler flag -Wold-style-definition
-- Performing Test Wold-style-definition
-- Performing Test Wold-style-definition - Success
-- Checking C compiler flag -Wpedantic
-- Performing Test Wpedantic
-- Performing Test Wpedantic - Success
-- Checking C compiler flag -Wpointer-arith
-- Performing Test Wpointer-arith
-- Performing Test Wpointer-arith - Success
-- Checking C compiler flag -Wpointer-sign
-- Performing Test Wpointer-sign
-- Performing Test Wpointer-sign - Success
-- Checking C compiler flag -Wshadow
-- Performing Test Wshadow
-- Performing Test Wshadow - Success
-- Checking C compiler flag -Wsign-compare
-- Performing Test Wsign-compare
-- Performing Test Wsign-compare - Success
-- Checking C compiler flag -Wstrict-prototypes
-- Performing Test Wstrict-prototypes
-- Performing Test Wstrict-prototypes - Success
-- Checking C compiler flag -Wundef
-- Performing Test Wundef
-- Performing Test Wundef - Success
-- Checking C compiler flag -Wunreachable-code-return
-- Performing Test Wunreachable-code-return
-- Performing Test Wunreachable-code-return - Success
-- Checking C compiler flag -Wused-but-marked-unused
-- Performing Test Wused-but-marked-unused
-- Performing Test Wused-but-marked-unused - Success
-- Checking C compiler flag -Wwrite-strings
-- Performing Test Wwrite-strings
-- Performing Test Wwrite-strings - Success
-- Added extra compile options (-Werror)
-- Found perl at /bin/perl
-- Configuring done (41.1s)
-- Generating done (0.1s)
-- Build files have been written to: /boot/home/gitrepos/tcpdump/build
$ make -s clean
$ make
[  0%] Building C object CMakeFiles/netdissect.dir/addrtoname.c.o
[  1%] Building C object CMakeFiles/netdissect.dir/addrtostr.c.o
[  1%] Building C object CMakeFiles/netdissect.dir/af.c.o
[  2%] Building C object CMakeFiles/netdissect.dir/ascii_strcasecmp.c.o
[  2%] Building C object CMakeFiles/netdissect.dir/checksum.c.o
[  3%] Building C object CMakeFiles/netdissect.dir/cpack.c.o
[  3%] Building C object CMakeFiles/netdissect.dir/gmpls.c.o
[  4%] Building C object CMakeFiles/netdissect.dir/in_cksum.c.o
[  4%] Building C object CMakeFiles/netdissect.dir/ipproto.c.o
[  5%] Building C object CMakeFiles/netdissect.dir/l2vpn.c.o
[  5%] Building C object CMakeFiles/netdissect.dir/netdissect.c.o
[  6%] Building C object CMakeFiles/netdissect.dir/netdissect-alloc.c.o
[  6%] Building C object CMakeFiles/netdissect.dir/nlpid.c.o
[  7%] Building C object CMakeFiles/netdissect.dir/ntp.c.o
[  8%] Building C object CMakeFiles/netdissect.dir/oui.c.o
[  8%] Building C object CMakeFiles/netdissect.dir/parsenfsfh.c.o
[  9%] Building C object CMakeFiles/netdissect.dir/print.c.o
[  9%] Building C object CMakeFiles/netdissect.dir/print-802_11.c.o
[ 10%] Building C object CMakeFiles/netdissect.dir/print-802_15_4.c.o
[ 10%] Building C object CMakeFiles/netdissect.dir/print-ah.c.o
[ 10%] Building C object CMakeFiles/netdissect.dir/print-aodv.c.o
[ 11%] Building C object CMakeFiles/netdissect.dir/print-ahcp.c.o
[ 11%] Building C object CMakeFiles/netdissect.dir/print-ap1394.c.o
[ 12%] Building C object CMakeFiles/netdissect.dir/print-aoe.c.o
[ 13%] Building C object CMakeFiles/netdissect.dir/print-arcnet.c.o
[ 13%] Building C object CMakeFiles/netdissect.dir/print-arista.c.o
[ 14%] Building C object CMakeFiles/netdissect.dir/print-arp.c.o
[ 15%] Building C object CMakeFiles/netdissect.dir/print-ascii.c.o
[ 15%] Building C object CMakeFiles/netdissect.dir/print-atalk.c.o
[ 15%] Building C object CMakeFiles/netdissect.dir/print-babel.c.o
[ 16%] Building C object CMakeFiles/netdissect.dir/print-atm.c.o
[ 17%] Building C object CMakeFiles/netdissect.dir/print-bcm-li.c.o
[ 17%] Building C object CMakeFiles/netdissect.dir/print-beep.c.o
[ 18%] Building C object CMakeFiles/netdissect.dir/print-bfd.c.o
[ 18%] Building C object CMakeFiles/netdissect.dir/print-bgp.c.o
[ 19%] Building C object CMakeFiles/netdissect.dir/print-bootp.c.o
[ 19%] Building C object CMakeFiles/netdissect.dir/print-brcmtag.c.o
[ 20%] Building C object CMakeFiles/netdissect.dir/print-bt.c.o
[ 20%] Building C object CMakeFiles/netdissect.dir/print-calm-fast.c.o
[ 21%] Building C object CMakeFiles/netdissect.dir/print-carp.c.o
[ 22%] Building C object CMakeFiles/netdissect.dir/print-cdp.c.o
[ 22%] Building C object CMakeFiles/netdissect.dir/print-cfm.c.o
[ 23%] Building C object CMakeFiles/netdissect.dir/print-chdlc.c.o
[ 23%] Building C object CMakeFiles/netdissect.dir/print-cip.c.o
[ 24%] Building C object CMakeFiles/netdissect.dir/print-cnfp.c.o
[ 24%] Building C object CMakeFiles/netdissect.dir/print-dccp.c.o
[ 25%] Building C object CMakeFiles/netdissect.dir/print-decnet.c.o
[ 25%] Building C object CMakeFiles/netdissect.dir/print-dhcp6.c.o
[ 25%] Building C object CMakeFiles/netdissect.dir/print-dsa.c.o
[ 27%] Building C object CMakeFiles/netdissect.dir/print-dtp.c.o
[ 27%] Building C object CMakeFiles/netdissect.dir/print-domain.c.o
[ 27%] Building C object CMakeFiles/netdissect.dir/print-dvmrp.c.o
[ 28%] Building C object CMakeFiles/netdissect.dir/print-eap.c.o
[ 29%] Building C object CMakeFiles/netdissect.dir/print-egp.c.o
[ 29%] Building C object CMakeFiles/netdissect.dir/print-eigrp.c.o
[ 30%] Building C object CMakeFiles/netdissect.dir/print-enc.c.o
[ 30%] Building C object CMakeFiles/netdissect.dir/print-erspan.c.o
[ 31%] Building C object CMakeFiles/netdissect.dir/print-esp.c.o
[ 31%] Building C object CMakeFiles/netdissect.dir/print-ether.c.o
[ 32%] Building C object CMakeFiles/netdissect.dir/print-fddi.c.o
[ 32%] Building C object CMakeFiles/netdissect.dir/print-forces.c.o
[ 33%] Building C object CMakeFiles/netdissect.dir/print-fr.c.o
[ 33%] Building C object CMakeFiles/netdissect.dir/print-frag6.c.o
[ 34%] Building C object CMakeFiles/netdissect.dir/print-ftp.c.o
[ 34%] Building C object CMakeFiles/netdissect.dir/print-geneve.c.o
[ 35%] Building C object CMakeFiles/netdissect.dir/print-geonet.c.o
[ 36%] Building C object CMakeFiles/netdissect.dir/print-gre.c.o
[ 36%] Building C object CMakeFiles/netdissect.dir/print-hncp.c.o
[ 37%] Building C object CMakeFiles/netdissect.dir/print-hsrp.c.o
[ 37%] Building C object CMakeFiles/netdissect.dir/print-http.c.o
[ 38%] Building C object CMakeFiles/netdissect.dir/print-icmp.c.o
[ 38%] Building C object CMakeFiles/netdissect.dir/print-icmp6.c.o
[ 38%] Building C object CMakeFiles/netdissect.dir/print-igrp.c.o
[ 39%] Building C object CMakeFiles/netdissect.dir/print-igmp.c.o
[ 40%] Building C object CMakeFiles/netdissect.dir/print-ip-demux.c.o
[ 40%] Building C object CMakeFiles/netdissect.dir/print-ip.c.o
[ 41%] Building C object CMakeFiles/netdissect.dir/print-ip6.c.o
[ 41%] Building C object CMakeFiles/netdissect.dir/print-ip6opts.c.o
[ 42%] Building C object CMakeFiles/netdissect.dir/print-ipcomp.c.o
[ 43%] Building C object CMakeFiles/netdissect.dir/print-ipfc.c.o
[ 43%] Building C object CMakeFiles/netdissect.dir/print-ipnet.c.o
[ 44%] Building C object CMakeFiles/netdissect.dir/print-ipoib.c.o
[ 44%] Building C object CMakeFiles/netdissect.dir/print-ipx.c.o
[ 45%] Building C object CMakeFiles/netdissect.dir/print-isakmp.c.o
[ 46%] Building C object CMakeFiles/netdissect.dir/print-isoclns.c.o
[ 46%] Building C object CMakeFiles/netdissect.dir/print-juniper.c.o
[ 46%] Building C object CMakeFiles/netdissect.dir/print-krb.c.o
[ 47%] Building C object CMakeFiles/netdissect.dir/print-l2tp.c.o
[ 47%] Building C object CMakeFiles/netdissect.dir/print-lane.c.o
[ 48%] Building C object CMakeFiles/netdissect.dir/print-ldp.c.o
[ 48%] Building C object CMakeFiles/netdissect.dir/print-lisp.c.o
[ 49%] Building C object CMakeFiles/netdissect.dir/print-llc.c.o
[ 50%] Building C object CMakeFiles/netdissect.dir/print-lldp.c.o
[ 50%] Building C object CMakeFiles/netdissect.dir/print-lmp.c.o
[ 51%] Building C object CMakeFiles/netdissect.dir/print-loopback.c.o
[ 51%] Building C object CMakeFiles/netdissect.dir/print-lspping.c.o
(the VM displays KDL and the SSH session times out)

Attachments (1)

Screenshot_2024-11-07_12-20-03.png (37.5 KB ) - added by dovsienko 2 hours ago.
KDL screenshot

Download all attachments as: .zip

Change History (1)

by dovsienko, 2 hours ago

KDL screenshot

Note: See TracTickets for help on using tickets.