From nobody Fri Feb 10 06:41:44 2023 X-Original-To: bugs@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 4PCkfc4HRsz3nlQy for ; Fri, 10 Feb 2023 06:41:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PCkfc2RgPz4PSy for ; Fri, 10 Feb 2023 06:41:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676011304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wuajQIMJE5jy7IZHcrYisQnwygrnsSYE5dTi/yAa7jg=; b=AYZIzpbPOtoeoqtR/YToMdhTJE6gB/mEwSZgPc0rHbXN4G/hRv9p9VdEd+d2WdZ6v5DKo6 OTEeoLMo2hqhIag81rdeYIqiVGEoRtw0S+kcRem5NxyIUEyTULnvVwLuwGSu2MRYK2jUaQ 8YSHBwLP7YptYwt8vUhdooCl4W604AI0WGc7+FFnFBKDRV6dtfRFtLbqW/bpgQMnOaOlSp 3JFy1wSUvgXZZNUVVLqcVQkv8VeclQPcGkbWODXHfymQ0VWFZFeQeLf437smmpgEKaEY7Q HNqYjC204sTWMRb7KMchH4lOrghfyAE7OmMMkcCSjcmAx4VDAChWFaqU2TmMOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676011304; a=rsa-sha256; cv=none; b=SXz4AW1hHsYD/DpAq808biRETQwLsJKYr+Pl+pE+wiYN24PTQuhGKUR9gkNPMebg9unMRx 1uhe/bV8ySztFSOX3ZgUcioOb3jtubVmB1mIsi0oHUBg5o8F1QbWxuPTFsHVC1ZYDISr8A T5AaKjywt9aDvCTyW8Yx5kHhHMYjFP34ih1UaWyC/H7gY/vG2pYAXHQb3pwz6n8r5l1lzn Wafbf552Uy93s/qByySVyNc/ljV2ka4R/Ici4vLchbDC13Bt+MrgLC5uE6KeA2VKrrUJsq eGuIGFAX4IwidMfTeSjhK0rFnt41NTbZ69PmQFTuS7+MVVP4xBhE+Vbf1AFEHQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PCkfc1Wgmz17XN for ; Fri, 10 Feb 2023 06:41:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31A6fihk094571 for ; Fri, 10 Feb 2023 06:41:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31A6fisq094570 for bugs@FreeBSD.org; Fri, 10 Feb 2023 06:41:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269454] kernel fails to build when IPv6 disabled Date: Fri, 10 Feb 2023 06:41:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iron.udjin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269454 Bug ID: 269454 Summary: kernel fails to build when IPv6 disabled Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: iron.udjin@gmail.com Hello, I'm trying to build 13-STABLE which is currently on commit c243de11cf7c4bb3d67bbc1655b149037e5b04f1 In the kernel config I have: nooptions INET6 ... and kernel fails to build: cc -target x86_64-unknown-freebsd13.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -O2 -pipe -march=3Dna= tive -fno-common -DCONFIG_INFINIBAND_USER_MEM -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20 -I/usr/src/sys/modules/irdma/../../dev/ice -I/usr/src/sys/modules/irdma/../../ofed/include -I/usr/src/sys/modules/irdma/../../ofed/include/uapi -I/usr/src/sys/modules/irdma/../../compat/linuxkpi/common/include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/IRON/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -I/usr/obj/usr/src/amd64.amd64/sys/IRON -MD -MF.depend.irdma_cm.o -MTirdma_cm.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-floa= t=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -Wall -Wredundant-de= cls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=3Diso9899:1999 -c /usr/src/sys/modules/irdma/../../dev/irdma/irdma_cm.c -o irdma_cm.o /usr/src/sys/modules/irdma/../../dev/irdma/irdma_cm.c:1643:11: error: impli= cit declaration of function 'ip6_ifp_find' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ip_dev =3D ip6_ifp_find(&init_net, laddr6, scope_id); ^ /usr/src/sys/modules/irdma/../../dev/irdma/irdma_cm.c:1643:11: note: did you mean 'ip_ifp_find'? /usr/src/sys/modules/irdma/../../ofed/include/rdma/ib_addr_freebsd.h:36:1: note: 'ip_ifp_find' declared here ip_ifp_find(struct vnet *vnet, uint32_t addr) ^ /usr/src/sys/modules/irdma/../../dev/irdma/irdma_cm.c:1643:9: error: incompatible integer to pointer conversion assigning to 'struct ifnet *' fr= om 'int' [-Werror,-Wint-conversion] ip_dev =3D ip6_ifp_find(&init_net, laddr6, scope_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=