[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.22] xen/x86: Always strip xen.efi


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Frediano Ziglio <freddy77@xxxxxxxxx>
  • Date: Tue, 16 Jun 2026 15:07:38 +0100
  • Arc-authentication-results: i=1; mx.google.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=t1vsSdVINsFQm2XkyMhJzwl092jIMpFS7jN9l5SKBWI=; fh=GUy7W5LKqNoZF9Mn07lkMfe1LzLkCIMaS18unDoG5ao=; b=HdlxaMUx8OJqgaguvlATjzi38ogFS3E/LULxcncOKJcvQqU0KvZUoevyTSAdECIxvy SOJ1P6Sd6qzC/F+rcu/0ovT8wxXf17LW57Tk3J1VOCjwNcJlG20FmdKc+Oehms8GYMwf 0XPX0/AM6/7S7AtDym41Tn9ucH+01/o2jm/2uQjbbmrcHC7b/oXZsmWfH6LzS4+YHjQm Ll5rlg37h3SbSxklgLB55HWQJlETbqme5SpX9z57vfot3kP60v7K8zTb87U+WzjvyYUB eDcxzVkVtAfWlxb6NIG6+AmgmB9Chv340aKMugPPFUTHi5CXsYGs+rhG9vQERLT/A+Z/ G3uA==; darn=lists.xenproject.org
  • Arc-seal: i=1; a=rsa-sha256; t=1781618871; cv=none; d=google.com; s=arc-20240605; b=bUXqN8zz/RJWkLo+vlxeeHbI3V5iIV6fayB2opEYJY4+BnuS33tXmUVDsFq7imk+Ru 8TSPNR/89icK7B8eoqduXQoa7DK84hsprl5U/au2DN4NkugAQL3kxZmQCuiDswmS+nZD W5QpYoELqMQ8qf7yqSlbdOZjknLHgAHSxEpdODqU3PZCHLRdPrxd8A23zC1DUeeDKHvf 22dNJ0Rf4hpz6TTDt9Ae4vQlHjZp7dceJnzadjGxiHGJRxnIwG467occMygnbef7u/6b UfD4ckrXiBDj6W/grw8+WcQryLti+NuEcMCAg5pjNKo7oH+EOI/PrSxc82n92DJipy2P aGqQ==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version"
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, "Daniel P . Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 16 Jun 2026 14:08:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, 11 Jun 2026 at 15:42, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> On 11.06.2026 16:38, Jan Beulich wrote:
> > On 08.06.2026 19:31, Andrew Cooper wrote:
> >> Some old versions of binutils ld managed to produce efi files which the
> >> matching version of strip couldn't process.  This includes Binutils 2.26
> >> included in Ubuntu 16.04.  Delete the workaround for this bug, and require 
> >> a
> >> less broken toolchain.
> >
> > And we're certain newer versions of strip don't do any harm to the binaries?
> > Already towards Frediano's posting I said that having looked at how things
> > work there, I'm far from certain.
>
> I should have added: An option may be to link twice: Once with debug info
> included, and once with it stripped. Personally I trust the linker creating
> the various headers, including the section ones, more than strip's (or
> objcopy's). Yet then I can only repeat my observation that linking PE+ from
> ELF inputs looks to be significantly slower than linking ELF -> ELF.
>
> Jan
>

That was also attempted. See previous versions. And no, it does not work.

Frediano



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.