From nobody Wed Mar 6 14:18:07 2024 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 4TqZKD00ZVz5CgQW for ; Wed, 6 Mar 2024 14:18:08 +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 4TqZKC4Q9vz4S8T for ; Wed, 6 Mar 2024 14:18:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709734687; a=rsa-sha256; cv=none; b=gwrcDlQeIRtOoosq6qBaSKZW0HB7O1HIuP/r7hz8fLNJc2FQj7Pbr8YN0Bby/bDnQxzvD7 XxOmZeqorX8JDgwQm4ISWymtV2P+i5JPlRwUpGalagO6dHZ9b54SfOAlDrz0Z7Etqrmgwf ff61U8DtdmCv7/SevtWGWW+dRa5d73mYN7ak+WM5T9nWmy1gt+rAv9t9BEh1w1HiQpqVWa KvGrTCBdrsbOrE5xHKDjPtMjNw59mXXM8gelrq6yVHSbr0qgKCk7FIA40xt5IPx9yineDk vCcH0tDZyK1Ru/Rwdzt79/4cowYmrb7nSP32c2nKlZFakrBLGshaXI4Y1kmPYA== 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=1709734687; 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=iF52oZtbPRMMnGeeA3r8Vl0AE3v6BuoW6Wppg4n0NdU=; b=ZhuAN+tcSFfdwByHsvQTBbIF7j6JnbU4tj6dcLJBXh7UeVQ4S9i6tvAnRyVK82OfzCW3TC zNdUq7eL1hGvvj5Bu/UroFV6yp6n4fNLCBIQLMs0Ix70WMHQmvkNro1qsYRTsPSafuv/av bvDITEXstUjNn9FdjwA6Cyb34N/oIAtm+cNMARufS2pGwv1miTauuNl6sgu/Yi35APwUxo /8fgKkSt9KMFi70/TYHb9Yn3xGCEqMpn/17lcCGmqaCp8tcBtS8Vr2Ap2XXdaVb0K/wkba D0e/ekPDVgGn7fYs7f3/j4kZKWUctkg4Zk4X9PqdpO1dZy6JuXsLnaXwEezIpw== 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 4TqZKC42gszsyY for ; Wed, 6 Mar 2024 14:18:07 +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 426EI7II064004 for ; Wed, 6 Mar 2024 14:18:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426EI7QC064000 for bugs@FreeBSD.org; Wed, 6 Mar 2024 14:18:07 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 277528] EFI loader build fails when LOADER_NET_SUPPORT=no Date: Wed, 06 Mar 2024 14:18:07 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: t.ermakova@securitycode.ru 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-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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277528 Bug ID: 277528 Summary: EFI loader build fails when LOADER_NET_SUPPORT=3Dno Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: t.ermakova@securitycode.ru Created attachment 248972 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248972&action= =3Dedit fix to the loader.efi issue When building loader.efi with LOADER_NET_SUPPORT=3Dno an error occurs: ld: error: undefined symbol: net_parse_rootpath >>> referenced by main.c:1760 (out/usr/src/stand/efi/loader_simp/../loader/= main.c:1760) >>> main.o:(command_netserver) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Probably cause stand/common/dev_net.h (witch contains net_parse_rootpath) is disabled There was a similar problem in 11.3 fixed with https://reviews.freebsd.org/rGbe4890f75e7c68ae6bc5978a85860d78d05ae02b But COMMAND_SET(netserver, "netserver"...) in efi/loader/main.c efi/loader/main.c was added later. Probably that is the reason I'm attaching the patch that I've used to disable this command. Which looks logically fine - cause why need netserver if LOADER_NET_SUPPORT=3Dno --=20 You are receiving this mail because: You are the assignee for the bug.=