[Pkg-xen-devel] Bug#1004269: Linker segfault while building src:xen

Diederik de Haas didi.debian at cknow.org
Fri Jan 28 17:05:53 GMT 2022


Control: severity -1 important
Control: tag -1 upstream fixed-upstream patch

On Wednesday, 26 January 2022 21:12:35 CET Maximilian Engelhardt wrote:
> Control: found -1 2.37.90.20220123-2
> Control: affects -1 src:xen

User 'ChmEarl' on IRC noted the following commit
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=07c9f243b3a12cc6749bc02ee7b165859979348b

Title: PR28826 x86_64 ld segfaults building xen

It would be *very* welcome if the following patch is included ASAP,
as currently (almost) all Xen builds fail.


And the patch from that commit is the following:

diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 
293fce2baf34952efd63479a4eb28f17ad6d1f69..bec1a424831131a4559858745d8dbf5969eaee64 
100644 (file)
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -1092,6 +1092,7 @@ coff_write_alien_symbol (bfd *abfd,
        memset (isym, 0, sizeof (*isym));
       return true;
     }
+  memset (dummy, 0, sizeof dummy);
   native = dummy;
   native->is_sym = true;
   native[1].is_sym = false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20220128/8a11430a/attachment.sig>


More information about the Pkg-xen-devel mailing list