Date: Wed, 9 Apr 2025 14:31:22 -0400 From: Ed Maste <emaste@freebsd.org> To: Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee> Cc: freebsd-current@freebsd.org Subject: Re: elfcopy: not found Message-ID: <CAPyFy2ASHBe2%2BboYtHR9E9_xujjS6WZXZNPcwDULaBkq1q8=LQ@mail.gmail.com> In-Reply-To: <C5143E1D-0BCC-40E7-ACA8-297E10408CD9@ketas.si.pri.ee> References: <DC254CDC-5217-4F55-9326-2A5FA27C72C6@ketas.si.pri.ee> <CAPyFy2CJNnUfFyvS_VAZ_S1BmnN%2BT2truVEh1VF0YeoAHPQqBg@mail.gmail.com> <C5143E1D-0BCC-40E7-ACA8-297E10408CD9@ketas.si.pri.ee>
index | next in thread | previous in thread | raw e-mail
On Wed, 9 Apr 2025 at 10:58, Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee> wrote: > > but it does indeed turn MK_ELFTOOLCHAIN_BOOTSTRAP to "no" value OK, https://reviews.freebsd.org/D49722 should fix this then (but will break some other, even more unusual cases). I'll see if I can update it to work for those cases too. > i might have optimized myself into hellhole here but what happened within last month that caused this, which change is it? This is the change that will have introduced the breakage: commit b885643b63e4df51cc6c74c4ddd4d0b640075678 Author: Ed Maste <emaste@FreeBSD.org> Date: Fri Mar 14 12:42:15 2025 -0400 boot: Always use ELF Tool Chain elfcopy for EFI builds We now use llvm-objcopy by default (as of commit 1cae7121c667), but it does not support efi-app-x86_64 and similar ouptut formats (for more detail see LLVM issue 108609[1]). Go back to installing ELF Tool Chain's version of objcopy as elfcopy (the standard upstream name) and use it for EFI builds. [1] https://github.com/llvm/llvm-project/issues/108609). PR: 280771 Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49362 > my idea was to optimize resulting armv7 build size, not any local crossbuild toolchains. many options are decade old in that config. altho i checked them recently WITHOUT_ELFTOOLCHAIN_BOOTSTRAP won't change the size of the installed system -- it just controls whether ELF Tool Chain (and in particular elfcopy) is built and used as a build tool.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2ASHBe2%2BboYtHR9E9_xujjS6WZXZNPcwDULaBkq1q8=LQ>
