From nobody Tue Jun 2 17:31:38 2026 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 4gVHty51pQz6fygY for ; Tue, 02 Jun 2026 17:31:38 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gVHty3891z3xlw for ; Tue, 02 Jun 2026 17:31:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780421498; 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=ltztldGS2fRmPuPr+4KwOHn+BMmMN9VxbYaaDfThZV0=; b=K/8nQMf5gpAYV3P46meeIeGM+4SnOjQCDNbrYANiDAgy53aJtvJmInYXUJUEzr7XHA9YQX d//GqyAuD48k6hqiPwKPbqhPSKH/IFpvPBQa/UfvDJ49ZGGKvyDU/YuEnl8NPSToiwwN5M s9U1IbOouV+0Zgghb9IyYafl+cCFNbCmcg+pjA8dIYahyLbK/RqD+MUgmFMbBITgJSirku zfgpLRVWS9NFluArh2hdwqvWKZR+JBJQQMEXi3Y8TXSgRtigkFTI6wecunM1xbKbNW1n/t mguHUQTQ0xvdc0jj3LLC7Mr5rQNqv+CLPxM03aZQyk1h9YEAQMciOjTNGLieFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780421498; a=rsa-sha256; cv=none; b=HHFUeC6F4UGC51cnm+WcER2kpzZtCR0TwzH8sT4M+Y//Lab2r2Aftq0uBXSaeF4IAk4Ieq ETbh9+yYIU1bIaH6UlPPZHHBNjUjOxVbTymsv1qm9b7G1ycaWJTjOQnPwWEj2DGn4BEBzu uF/IRYGnYEmbxG/O2D/IYoMMXbSYFxRIShYYE+SsIhWdJ0pyYztKi9Sasy+8EzgKSWilFv l3JWOtuCStZiIf0AbXX/MmmcRavKPBEZnkfR6JpoDLz0YzEJONo3vx4Q7TwEwZ3oIixVMT 1GyC4W+MYa43fk1uWBBsxju0bGyd2wzKuOE7C61HEJ3aGKd39Bq2kqFNOHByIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780421498; 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=ltztldGS2fRmPuPr+4KwOHn+BMmMN9VxbYaaDfThZV0=; b=a3mWe++Is+hft1+8h1L/RVQGLnA1fu6NQKHFXJkWQ9yTtBg9K6lczJLFfFqzqqi9SysUMW TfqHdvDLpMKkEdVQz0Ml2IZjR5GSWw1L9zFbqqZMaK/sKXWqiDUD4O/Tg7WImF7P9PFNUO f+tNIu8tHG9U9XfIg/ZMXVnl+cSVaLLPSyJIJFVo1LEFHI/EJyqRzkzGytaPgiQwMZZCqV 0ODHA6HGDa/Kex+92h0TqS3OKWChHyBMzagCmlmbwsORFUYJuHaTHG+aOKi2bPMsrBrM8P n6jEq+pfzqz3J/jP9X1VemH8gXYEyDjFV9aTkIha8A2AalTu4okOeCcHqW4ITw== 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 4gVHty2ly9zbXn for ; Tue, 02 Jun 2026 17:31:38 +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 652HVcSf030360 for ; Tue, 2 Jun 2026 17:31:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 652HVcpP030359 for bugs@FreeBSD.org; Tue, 2 Jun 2026 17:31:38 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 295800] llvm 21.1.8 breaks buildworld with WITHOUT_INET6=yes Date: Tue, 02 Jun 2026 17:31:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john@cybersashi.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 attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295800 Bug ID: 295800 Summary: llvm 21.1.8 breaks buildworld with WITHOUT_INET6=3Dyes Product: Base System Version: 14.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: john@cybersashi.com Created attachment 271429 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D271429&action= =3Dedit Patch to workaround issue. Since the update to LLVM 21.1.8 doing a buildworld of stable/14 with WITHOUT_INET6=3Dyes results in: /usr/src/usr.sbin/inetd/inetd.c:1377:44: error: variable 'nbuf2' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer] 1377 | rpcb_set(sep->se_rpc_prog, i, netid= 2, &n buf2); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ ~~~~ In March (i.e. prior to llvm 21.1.8) buildworld worked fine. With the attached patch the buildworld succeeds using llvm 21.1.8. Strictly speaking given the original code of: struct netconfig *netid, *netid2 =3D NULL; ... #ifdef INET6 ... #endif ... if (netid2) { rpcb_unset(sep->se_rpc_prog, i, netid2); rpcb_set(sep->se_rpc_prog, i, netid2, &nbuf= 2); } It seems like the rpcb_set should be unreachable code with WITHOUT_INET6=3D= yes so the llvm error is a false positive, however patching inetd was a quick fix. --=20 You are receiving this mail because: You are the assignee for the bug.=