From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8067825EFA5 for ; Tue, 11 Mar 2025 16:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741708858; cv=none; b=rys3omOFSG0esNohfYrm44y9pvQi+xw0XnYyfGUBPrwP1ckkaBsYWYm0sz6jhkw8wvPUOsqdb3OfncB6xHudQcz9mgHLeMOlS5REMF61rqOvCdKrR6YWu7LTxzLZlg3PLDxdlq76ggan9C1kJuYp/dIi5uYQtUIoBxp6Sf/o+Mg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741708858; c=relaxed/simple; bh=IqikE1i2SuwPolJeXPK6e7H+vK85SDXPGjy7nazvKHM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fM3c6bilkxzbLviYle2wkYeQVQtCO7SC+kLjKFv0lwox4zX9fn1OmjddhK7xiLqF2c0vU09iAVHvidI8fipSagoCdgWzkKCO6X5HuwnyhbzpETpTgF8XI1NBJSC9h5LtgZSmWfFk7zVdCGK19bMxwgRnBCrwBHQr+568vyRLiWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=UWzDjPDp; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="UWzDjPDp" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-43cfebc343dso12568615e9.2 for ; Tue, 11 Mar 2025 09:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1741708855; x=1742313655; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4Rz0Bfl3Q6jjOl+k/zk6qCdCbl0b3aJFNCS5LE6D5lg=; b=UWzDjPDpUS/h0+/xUEbFD+RNw93d9mjj+1rEpzr3+lIIjczkgA5+rEqUeFE85vU3ev m7+ESROWJQH/3YEPQVKkbZvpRslkJ4V4TAlCV2K45GNmO8f8LdSUrObBorkp5lJdxmcH JUKl2Y9FZsPaiX65PaBJf0aPQRCN4uLVyK2MUwoLqkJQvRfZ4N9i84aArkUwHAR7euGc WRvBHYYvA1QiBInMkqKpV6ExP5yNX3uG9qKgHGZ1TOfniRf9/UeTU/sSbMYf+Zd1DW3F Z3qV6ZnXBCAqloYDU1ORcGzb/euJhQYPC1Von7DlP8L4oE9fJc9GnK1njvJTXqYbpLQK PQBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741708855; x=1742313655; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4Rz0Bfl3Q6jjOl+k/zk6qCdCbl0b3aJFNCS5LE6D5lg=; b=vVGtWVjY8e/wdF9TJylL+Mqo18xz/RJ2cFdTqzQzMyfZpFJXuSzD5pyjLmfVi+R6/H EhxeD5yJCcDYqIropfqy53cyUGN2o9p5IztAFOTurHhA12oGP7PqbMTZ1DE1M5TafJZC qeblFBrrhMbHt/aj3jubqZtYULxfoPlAR5A47u4/LYRezdY+Iu2lC96Dh3BueJBTGvji B5D6exCW6N/9GA5woovLGWbDHLZIOGwOFPzXvn+i5sNFbUPsz0BWiduQVksXWc2eFhbD /EcxoSMx0zHyaiyiKqhIXOV/hfiO3Z6eJqFv2IiEbpFdwu0Gs91N60m877hMfo6aHrrK nPxg== X-Forwarded-Encrypted: i=1; AJvYcCWS7u7jJ1MxMkMCKSyR3nuh+SEveyKCXa8dE4XKSG0t3+xlMaFc9e3wjfWSmwdWjyDr0sCdxaACZ9OlCos=@vger.kernel.org X-Gm-Message-State: AOJu0YzHEln2s4K6LStVCLDt7sBg/0aEBxZXYZ3Uy74x9vpuLjpqCI66 VKREnb2dtL/6CsieCmDAUq/cz7oRyrlXQ+CJ+K2UBaTLJiRJ7OjCIWwJPj9pZE8= X-Gm-Gg: ASbGncsvNuDzxps2asHxAfmPaSKKeQpTLTXB/Dp7KncagqJv87cyg/zHkvv9OC5TWIE aVHkq2ubMMEWKfNbe9bAV35lz7NxTL6a42uunPIhlIbXHsKOulOD714w50aRnsZBxRhhAUCvlw0 G/tOkV7JX6z5umaeiSPzfyXrlKd6uvrlmCV8z57uaiwJNnu88/4kAoICIpXOhkDVEuEf7L+tspu QvlOUd0MqXfoHjb9XpUliPaRz1b74r5/gzlKGjyHo910Bz+FSpFC8xY+5RuWEcFjEH3lijhxKf0 4hHYsfbo+SS1oRXAiVRMXpTEONgs9zNs51TrhTCZUzK/RwDM X-Google-Smtp-Source: AGHT+IFDL8flg7bvLP4ZA5yhwIFQLqPiE7+pEyM0NkgCqqaSUxbZ8Iu2kecIY3EVTviLUDeRYu+5jg== X-Received: by 2002:a05:600c:358f:b0:43b:ca39:6c75 with SMTP id 5b1f17b1804b1-43d01be65cfmr61517325e9.16.1741708854652; Tue, 11 Mar 2025 09:00:54 -0700 (PDT) Received: from [10.100.51.161] ([193.86.92.181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43cfe1fbbefsm52422055e9.38.2025.03.11.09.00.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Mar 2025 09:00:54 -0700 (PDT) Message-ID: Date: Tue, 11 Mar 2025 17:00:53 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 0/4] x86/build: Get rid of vmlinux postlink step To: Ard Biesheuvel , Masahiro Yamada Cc: Ingo Molnar , linux-kernel@vger.kernel.org, x86@kernel.org, linux-kbuild@vger.kernel.org, Linus Torvalds , Peter Zijlstra , Thomas Gleixner References: <20250224132132.1765115-6-ardb+git@google.com> Content-Language: en-US From: Petr Pavlu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/11/25 07:40, Ard Biesheuvel wrote: > On Tue, 11 Mar 2025 at 03:39, Masahiro Yamada wrote: >> I am a bit concerned about having more and more >> intermediate vmlinux.* files, but maybe only me. >> I hope vmlinux.unstripped is the only/last one. >> > > Maybe we should not strip vmlinux at all, but only remove any static > relocations when packaging? E.g., tar-pkg, etc Distributions typically have their own package recipes. The idea of stripping these relocations from vmlinux in one place was that everyone would trivially benefit from it. I'm not sure what you have exactly in mind implementation-wise here, but I think this would be useful to keep. -- Thanks, Petr