[Bug 277528] EFI loader build fails when LOADER_NET_SUPPORT=no
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277528] EFI loader build fails when LOADER_NET_SUPPORT=no"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277528] EFI loader build fails when LOADER_NET_SUPPORT=no"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277528] EFI loader build fails when LOADER_NET_SUPPORT=no"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Mar 2024 14:18:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277528 Bug ID: 277528 Summary: EFI loader build fails when LOADER_NET_SUPPORT=no 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=248972&action=edit fix to the loader.efi issue When building loader.efi with LOADER_NET_SUPPORT=no 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=no -- You are receiving this mail because: You are the assignee for the bug.