From nobody Wed Apr 09 18:31:22 2025 X-Original-To: freebsd-current@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 4ZXs3j59rGz5sBTd for ; Wed, 09 Apr 2025 18:31:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZXs3j2gbHz3gM8 for ; Wed, 09 Apr 2025 18:31:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-6044db3b45bso1277063eaf.1 for ; Wed, 09 Apr 2025 11:31:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744223504; x=1744828304; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6p+M/lj++82O6QOle735zhYzlDKjgeSgCYl3EPF8Qyk=; b=hrUhC4+eJsydEeFp5Akj0MXz8doyaoPgnl1z1nMXMQsxTVrS6DZpY+KOShiTWB/JyP SxiEFzE+I7qaLSz/sgq5iaJG5jXYGxQVQ0vd55pd36OpyY6HzRjP99YaksMkvpKtBcnn U38IjIT+WPio4OqWqa+ZGVIUNV4wEcemInF1uaNj/NJOtPufteN9uv54KlJr72FvXqPp vVCV59JknMv0BGG9/7GHCZYYqTWq8TYp5n669c0k4bmb/0crSRC7mpYIq7OgEccCahx+ hm6lXnCc1XUhMzogNRRFlA6QgPWIQgbBroyAsG4CPVGvAaR2Oa1jgaTiDHDosHU5Uhn7 A8ug== X-Gm-Message-State: AOJu0Yxr7MSiHIxDdGOYa0xaY59FtNBSjUoVmOWnUf2opkOTfu/8pFvK VC8uMmth0AX/pAaMxH7A5960G7qisMJSvXaxoNUrqY4n77zneZwXvq83ecKtPrRwhZvaRRkTX/1 IWdtY/8pB5Vvaj8HCpNsm4PWC/MeQZwLH X-Gm-Gg: ASbGnctutz6JGmoxWZ+/PbEkdJi4EWcXQ/ZabzlDMmBK7qcs6fIOmDQnTr0eJvMiLCI 7xLReYgX4OhT8yiKq09okpNLte3l2g0VSOc/FD42+auKcipGmq//mmvOMkVCB+hCTjjUrG0Rc3o Y3RbjqR9md1qoAiswyrw15Jg== X-Google-Smtp-Source: AGHT+IGEqNVEiDUjCCL7NmZ0YqXZhjPojKhIocAn4JcaI1lcjdES0MF+qgOhZLZmH+vQqClavAjcH4QQ6xOl5l6l4Mk= X-Received: by 2002:a05:6e02:3498:b0:3d6:d145:2ffb with SMTP id e9e14a558f8ab-3d7e4782164mr1691055ab.21.1744223493888; Wed, 09 Apr 2025 11:31:33 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 9 Apr 2025 14:31:22 -0400 X-Gm-Features: ATxdqUFIFp88Q5F-klyENYlZ_68LJ8VuDvoR6EbuzsjUPJP1xd7XBzFvKfxkf4Q Message-ID: Subject: Re: elfcopy: not found To: Sulev-Madis Silber Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZXs3j2gbHz3gM8 X-Spamd-Bar: ---- On Wed, 9 Apr 2025 at 10:58, Sulev-Madis Silber 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 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.