On Sat, 04 Apr 2020 13:52:54 +0100 Luca Boccassi <[email protected]>
wrote:
> Package: prelink
> Version:
> 
> Dear Maintainer(s),
> 
> amd64 builds of prelink and execstack seem to work fine on i386
> binaries, so it would be great if they could be marked as Multi-Arch:
> allowed so that they can be used for multi-arch builds. Upstream Wine
> packages currently use prelink at build time.
> 
> Unless there are objections, given this package hasn't seen updates
in
> a long time, I'll NMU this next week to DELAY/7.
> 
> Simple test:
> 
> root@luca-desktop:/tmp# file less
> less: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2,
BuildID[sha1]=b25dffd1325e7e87e5ad2ba56d195d89846f7465, for GNU/Linux
3.2.0, stripped
> root@luca-desktop:/tmp# ldd less
>       linux-gate.so.1 (0xf7f71000)
>       libtinfo.so.6 => /lib/i386-linux-gnu/libtinfo.so.6 (0xf7f00000)
>       libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d1c000)
>       /lib/ld-linux.so.2 (0xf7f73000)
> root@luca-desktop:/tmp# prelink -vm less
> Laying out 1 libraries in virtual address space 41000000-50000000
> Assigned virtual address space slots for libraries:
> /lib/ld-
linux.so.2                                           41000000-41029940
> /lib/i386-linux-
gnu/libc.so.6                                4102c000-4120ff4c
>
less                                                         41000000-
41033df8
> /lib/i386-linux-
gnu/libtinfo.so.6                            41212000-4123b72c
> Prelinking /tmp/less
> root@luca-desktop:/tmp# file less
> less: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2,
BuildID[sha1]=b25dffd1325e7e87e5ad2ba56d195d89846f7465, for GNU/Linux
3.2.0, stripped
> root@luca-desktop:/tmp# ldd less
>       linux-gate.so.1 (0xf7f6c000)
>       libtinfo.so.6 => /lib/i386-linux-gnu/libtinfo.so.6 (0x41212000)
>       libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d75000)
>       /lib/ld-linux.so.2 (0xf7f6e000)
> root@luca-desktop:/tmp# ./less --version    
> less 551 (GNU regular expressions)
> Copyright (C) 1984-2019  Mark Nudelman
> 
> less comes with NO WARRANTY, to the extent permitted by law.
> For information about the terms of redistribution,
> see the file named README in the less distribution.
> Home page: http://www.greenwoodsoftware.com/less

NMU'ed do DELAYED/7, debdiff inlined.

-- 
Kind regards,
Luca Boccassi

diff -Nru prelink-0.0.20131005/debian/changelog 
prelink-0.0.20131005/debian/changelog
--- prelink-0.0.20131005/debian/changelog       2017-05-25 00:20:10.000000000 
+0100
+++ prelink-0.0.20131005/debian/changelog       2020-04-06 12:15:25.000000000 
+0100
@@ -1,3 +1,12 @@
+prelink (0.0.20131005-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Mark prelink and execstack as Multi-Arch: allowed, so that they can
+    satisfy dependencies for local cross-builds. amd64 builds seem to be
+    able to successfully edit i386 binaries. (Closes: #955742)
+
+ -- Luca Boccassi <[email protected]>  Mon, 06 Apr 2020 12:15:25 +0100
+
 prelink (0.0.20131005-1) unstable; urgency=medium
 
   * New upstream release, matching Fedora version 0.5.0-3. (Mostly just
diff -Nru prelink-0.0.20131005/debian/control 
prelink-0.0.20131005/debian/control
--- prelink-0.0.20131005/debian/control 2017-05-24 23:49:57.000000000 +0100
+++ prelink-0.0.20131005/debian/control 2020-04-06 12:12:35.000000000 +0100
@@ -7,6 +7,7 @@
 
 Package: prelink
 Architecture: any 
+Multi-Arch: allowed
 Depends: ${shlibs:Depends}, ${misc:Depends}, execstack
 Built-Using: ${built-using}
 Description: ELF prelinking utility to speed up dynamic linking
@@ -16,6 +17,7 @@
 
 Package: execstack
 Architecture: any
+Multi-Arch: allowed
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: prelink (<< 0.0.20090311-2)
 Replaces: prelink

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to