Date: Wed, 06 Mar 2024 14:18:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277528] EFI loader build fails when LOADER_NET_SUPPORT=no Message-ID: <bug-277528-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277528-227>