[pkg-wine-party] Bug#676246: Steam overlay is broken

Andrey Rahmatullin wrar at wrar.name
Wed Jun 6 16:45:37 UTC 2012


retitle 676246 kernel32.dll.so has wrong VMA when built with -g
kthxbye


kernel32.dll.so is relocated to 0x7b800000 via prelink(1) and winegcc
option -Wl,--image-base,0x7b800000 (see dlls/kernel32/Makefile.in,
dlls/kernel32/Makefile.in:1062). If it was built with debug enabled, which
is the Debian default, prelink(1) exits with an error:

prelink: kernel32.dll.so: Unknown DWARF DW_AT_8465 with block DW_FORM

This message can be seen in the official build log.

As prelink exits with an error, it doesn't relocate the library:

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .note.gnu.build-id 00000024  00000114  00000114  00000114  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .hash         000017d8  00000138  00000138  00000138  2**2


cf. the same built without -g:

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .note.gnu.build-id 00000024  7b800114  7b800114  00000114  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .hash         000017d4  7b800138  7b800138  00000138  2**2


This wrong binary apparently may cause any kinds of harmful effects in
certain non-trivial circumstances (see http://wiki.winehq.com/Prelink).

The real cause is an old version of the prelink package which will be
filed separately.

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20120606/bd5289f4/attachment.pgp>


More information about the pkg-wine-party mailing list