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

Re: Debian Bug#1004269: Linker segfault while building src:xen


  • To: Hans van Kranenburg <hans@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 24 Jan 2022 09:40:52 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rxx6atfFd5k0JsQH8AAEwYCnCy5pCATTJVzFVmPKpxg=; b=UpRuk4T/hB9a0wFIsq8Q0jVRBRLzRjHZtcsrZukpg+Qm9fcevpEs62wIj7sMc0TvZtwNByp1+J0ppygNoJnwSkG5AL1D+iaDsxGkXL0W5FJHDQND7PKnS9Er1i3b+tl32iAeK4XuNXlF3Paq20LGiQFwpEcYg4Y6LZjiG3sFphfYDTt7T39bsPKt2j5wJw0RgDfkNidbIL4ZpfaxdxwHiUKiPmbrsr/ftqfHY/QGssKh4osvFK7zShyzJkd9Tbd9CdRVTZ0AEm6FC8xaZ59Mb9tkIMg10WbgJg9nu6hjNxAe3Kd+rGjU8pTC04FQ4IpdGdb5maF5oGWKzRJZfd4LWA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lEVq3J/UAAIiLhsaTOxMhwrfFdZ2MXeQFQPjznlEKdSZ8JINDebWr3KA/TTJmfLN/bJN36/L7cXH5Og7eUzYdA6JLX7fSv7IeODdryLwPR0Jn69SiumE7V+sR5SsdkpylRihVOer0bM6Wg0KTEuP2s8wSUOg8WUfB1lfW6gnI16CsQ6DBvNprAxv7ibCwFNy1l4Sr/GTfVvrDjdhYwZPQhn5qInpHV0r8ATN21488ogU0f/t8koEo9xIpsENPlncTYA9w4QhOc9NJeGj/gZle673YYgIOg+JUKibqt7rGgcGd097FipDGcuOookeheEx3tibh+MASN6xHYeSBRpFlw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: 1004269@xxxxxxxxxxxxxxx, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 24 Jan 2022 08:41:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 23.01.2022 22:52, Hans van Kranenburg wrote:
> (To both the Debian bug # and xen-devel list, reply-all is fine)
> Hi Xen people,
> 
> I just filed a bug at Debian on the binutils package, because since the 
> latest binutils package update (Debian 2.37.50.20220106-2), Xen (both 
> 4.14 and 4.16) fails to build with a segfault at the following point:
> 
> x86_64-linux-gnu-ld -mi386pep --subsystem=10 
> --image-base=0xffff82d040000000 --stack=0,0 --heap=0,0 
> --section-alignment=0x200000 --file-alignment=0x20 
> --major-image-version=4 --minor-image-version=16 --major-os-version=2 
> --minor-os-version=0 --major-subsystem-version=2 
> --minor-subsystem-version=0 --no-insert-timestamp --build-id=sha1 -T 
> efi.lds -N prelink.o 
> /builds/xen-team/debian-xen/debian/output/source_dir/xen/common/symbols-dummy.o
>  
> -b pe-x86-64 efi/buildid.o -o 
> /builds/xen-team/debian-xen/debian/output/source_dir/xen/.xen.efi.0xffff82d040000000.0
>  
> && :
> Segmentation fault (core dumped)
> 
> Full message and links to build logs etc are in the initial bug message, 
> to be seen at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004269
> 
> We (Debian Xen Team) are awaiting response, but I thought to also let 
> you know already.
> 
> * Does the above error 'ring a bell'?
> * Can you maybe also reproduce this in a development environment with 
> very latest binutils?

I've tried with a 1.5 weeks old snapshot I had lying about; no
"success". But your and my builds are surely quite different anyway.

> * Maybe someone has a useful comment for the Debian binutils maintainer 
> about what's happening in this step of the build?

It's xen.efi that's being linked; not sure what else to say.

> * Any suggestions about what we can do to help figure this out?

I'm pretty certain this needs debugging from the binutils side, so I
guess you will want to report it there (even more so with 2.38 around
the corner). I guess it's actually debugging ld or bisecting which
provide the best chance of figuring out what's going on.

Jan

> * We'll try to help debug, but will surely appreciate upstream help if 
> things get too technical. It's simply the case that I did not have to 
> look into a very similar issue before, so it's new.
> 
> Thanks!
> Hans
> 




 


Rackspace

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