From nobody Wed Apr 24 08:12:39 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VPWv449pCz5K4Cn for ; Wed, 24 Apr 2024 08:12:48 +0000 (UTC) (envelope-from urtp5@yandex.ru) Received: from forward401a.mail.yandex.net (forward401a.mail.yandex.net [IPv6:2a02:6b8:c0e:500:1:45:d181:db02]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VPWv33kY7z4nKj for ; Wed, 24 Apr 2024 08:12:47 +0000 (UTC) (envelope-from urtp5@yandex.ru) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=f8xyf7je; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of urtp5@yandex.ru designates 2a02:6b8:c0e:500:1:45:d181:db02 as permitted sender) smtp.mailfrom=urtp5@yandex.ru Received: from mail-nwsmtp-smtp-production-main-18.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-18.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0d:3621:0:640:20a5:0]) by forward401a.mail.yandex.net (Yandex) with ESMTPS id 78E6A68B10 for ; Wed, 24 Apr 2024 11:12:44 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-18.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id dCGJ9iSXoGk0-94uKo9mq; Wed, 24 Apr 2024 11:12:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1713946364; bh=7vh/mWqnpYzIpg+lVHHPAzaQf3bIQMMgo3YYO8YkQCs=; h=Subject:From:To:Date:Message-ID; b=f8xyf7jeJJLIYropPtu4VbkFMnVyh8qj6c4+1DcB/E/Tp+C52WtGw69SDVvxOKq/X Eq0VDuZbDry7nNN1ybHuDRRTbz+j9jTR4ODmitK9h0dcqPY5jpgAGiFQu6ixizqB1w tfMT+1pznDWtEbRmHZBeEvgq84TRkSEP0W0/7JKI= Message-ID: <3a18f625-1441-414b-adb4-6321687f9fa7@yandex.ru> Date: Wed, 24 Apr 2024 13:12:39 +0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: ru To: freebsd-current@freebsd.org From: BSD USER Subject: TXT Kernel linking failed on -CURRENT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.85 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.86)[-0.856]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:c00::/40]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[yandex.ru]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[yandex.ru:dkim] X-Rspamd-Queue-Id: 4VPWv33kY7z4nKj Sorry for HTML-trash from previous mail :) Hi, FreeBSD Community! I have a teach with FreeBSD and use -CURRENT on my test machine. And some days ago after - git pull - make buildworld - make buildkernel There is /etc/src.conf and BSDSERV below, what can cause that error? Thanks for help! My /usr/src state is: ------------------------------------------------------------------------  git log -n 1 commit a0d7d68a2dd818ce84e37e1ff20c8849cda6d853 (HEAD -> main, origin/main, origin/HEAD) Author: Cy Schubert kernel building failed with such messages: -------------------------------------------------------------------------- --- force-dynamic-hack.pico --- cc -target x86_64-unknown-freebsd15.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -shared -O2 -pipe -fno-strict-aliasing -march=native  -nostdinc  -I. -I/usr/src/sys -I/u sr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common    -MD  -MF.depend.force-dynamic-hack.pico -MTforce-dynamic-hack.pico -fdebug-pr efix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fn o-asynchronous-unwind-tables -ffreestanding -fwrapv -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdi agnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negativ e-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu99 -nostdlib  force-dynamic-hack.c -o force-dynamic-hack.pico --- vers.c --- MAKE="make" sh /usr/src/sys/conf/newvers.sh  BSDSERV --- vers.o --- cc -target x86_64-unknown-freebsd15.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -march=native  -nostdinc  -I. -I/usr/src/sys -I/usr/src /sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/ usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -Wall -Wstrict-proto types -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautologi cal-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes  -mno-avx  -std=gnu99 -Werror vers.c --- kernel --- linking kernel ld: error: undefined symbol: ktrcapfail >>> referenced by vfs_lookup.c >>>               vfs_lookup.o:(namei) >>> referenced by vfs_lookup.c >>>               vfs_lookup.o:(namei_setup) >>> referenced by vfs_lookup.c >>>               vfs_lookup.o:(vfs_lookup) >>> referenced 3 more times *** [kernel] Error code 1 make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/BSDSERV make[2]: 1 error make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/BSDSERV      1098.27 real      2002.17 user       176.26 sys make[1]: stopped in /usr/src make: stopped in /usr/src -------------------------------------------------------------------------------- /etc/src.conf ======================================= WITHOUT_APM=yes WITHOUT_ASSERT_DEBUG=yes WITHOUT_AUTHPF=yes WITHOUT_BHYVE=yes WITHOUT_BLACKLIST=yes WITHOUT_BLUETOOTH=yes WITHOUT_CCD=yes WITHOUT_CXGBETOOL=yes WITHOUT_DEBUG_FILES=yes WITHOUT_DTRACE=yes WITHOUT_FLOPPY=yes WITHOUT_GOOGLETEST=yes WITHOUT_HAST=yes WITHOUT_HTML=yes WITHOUT_HYPERV=yes WITHOUT_INET6=yes WITHOUT_IPFILTER=yes WITHOUT_ISCSI=yes WITHOUT_KDUMP=yes WITHOUT_KERNEL_SYMBOLS=yes WITH_MALLOC_PRODUCTION=yes WITHOUT_MLX5TOOL=yes WITHOUT_NVME=yes WITHOUT_OFED=yes WITHOUT_PF=yes WITHOUT_PTHREADS_ASSERTIONS=yes WITHOUT_RADIUS_SUPPORT=yes WITHOUT_RELRO=yes WITHOUT_SSP=yes WITHOUT_WARNS=yes WITHOUT_WERROR=yes WITHOUT_TESTS=yes WITHOUT_WIRELESS=yes BSDSERV ======================================= cpu             HAMMER ident           BSDSERV device          amdtemp options         SCHED_ULE               # ULE scheduler options         PREEMPTION              # Enable kernel thread preemption options         VIMAGE                  # Subsystem virtualization, e.g. VNET options         INET                    # InterNETworking options         TCP_OFFLOAD             # TCP offload options         TCP_BLACKBOX            # Enhanced TCP event logging options         TCP_HHOOK               # hhook(9) framework for TCP options         TCP_RFC7413             # TCP Fast Open options         KERN_TLS                # TLS transmit & receive offload options         FFS                     # Berkeley Fast Filesystem options         SOFTUPDATES             # Enable FFS soft updates support options         MD_ROOT                 # MD is a potential root device options         MSDOSFS                 # MSDOS Filesystem options         PROCFS                  # Process filesystem (requires PSEUDOFS) options         PSEUDOFS                # Pseudo-filesystem framework options         TMPFS                   # Efficient memory filesystem options         GEOM_LABEL              # Provides labelization options         EFIRT                   # EFI Runtime Services support options         COMPAT_FREEBSD32        # Compatible with i386 binaries options         COMPAT_FREEBSD11        # Compatible with FreeBSD11 options         COMPAT_FREEBSD12        # Compatible with FreeBSD12 options         COMPAT_FREEBSD13        # Compatible with FreeBSD13 options         COMPAT_FREEBSD14 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI options         SYSVSHM                 # SYSV-style shared memory options         SYSVMSG                 # SYSV-style message queues options         SYSVSEM                 # SYSV-style semaphores options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed. options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev options         CAPABILITY_MODE         # Capsicum capability mode options         CAPABILITIES            # Capsicum capabilities options         INCLUDE_CONFIG_FILE     # Include this file in kernel options         SMP                     # Symmetric MultiProcessor Kernel options         EARLY_AP_STARTUP device          cpufreq device          acpi device          smbios options         IOMMU device          pci options         COMPAT_LINUXKPI device          ahci                    # AHCI-compatible SATA controllers device          scbus                   # SCSI bus (required for ATA/SCSI) device          da                      # Direct Access (disks) device          pass                    # Passthrough device (direct ATA/SCSI access) device          atkbdc                  # AT keyboard controller device          atkbd                   # AT keyboard device          kbdmux                  # keyboard multiplexer device          vga                     # VGA video card driver device          splash                  # Splash screen and screen saver support device          vt device          vt_vga device          vt_efifb device          vt_vbefb device          agp                     # support several AGP chipsets device          uart                    # Generic UART driver device          iflib device          miibus                  # MII bus support device          re                      # RealTek 8139C+/8169/8169S/8110S device          crypto                  # core crypto support device          aesni                   # AES-NI OpenCrypto module device          loop                    # Network loopback device          ether                   # Ethernet support device          vlan                    # 802.1Q VLAN support device          tuntap                  # Packet tunnel. device          md                      # Memory "disks" device          gif                     # IPv6 and IPv4 tunneling device          firmware                # firmware assist module device          xz                      # lzma decompression device          bpf                     # Berkeley packet filter options         USB_DEBUG               # enable debug msgs device          ehci                    # EHCI PCI->USB interface (USB 2.0) device          xhci                    # XHCI PCI->USB interface (USB 3.0) device          usb                     # USB Bus (required) device          ukbd                    # Keyboard device          netmap                  # netmap(4) support options         EVDEV_SUPPORT           # evdev support in legacy drivers device          evdev                   # input event device support device          uinput                  # install /dev/uinput cdev options         HID_DEBUG               # enable debug msgs device          hid                     # Generic HID support options         IICHID_SAMPLING         # Workaround missing GPIO INTR support