Package: prelink Version: 0.0.20071009-1 Severity: normal During the compile process of wine (stable version 1.0.1), prelink is used as a utility to set the base address of the shared library ntdll.dll.so (see also [1]).
After that library has been compiled (I use gcc 4.3.2 with the option -m32 so it is a cross-compile from amd64 to i386) prelink is apllied in the following way: /usr/sbin/prelink --reloc-only 0x7bc00000 ntdll.dll.so This command produces no output. Afterwards, ntdll.dll.so is no longer a valid ELF32 file. This is the output of hexdump after prelink has been applied: hexdump ntdll.dll.so 0000000 0000 0000 0000 0000 0000 0000 0000 0000 * 023ad10 0000 0000 0000 0000 023ad17 Before application of prelink ntdll.dll.so was a valid ELF32 shared object as can be seen from the output of objdump -hf ntdll.dll.so: ntdll.dll.so: file format elf32-i386 architecture: i386, flags 0x00000150: HAS_SYMS, DYNAMIC, D_PAGED start address 0x0001ee20 Sections: Idx Name Size VMA LMA File off Algn 0 .hash 00001620 000000d4 000000d4 000000d4 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .gnu.hash 00001564 000016f4 000016f4 000016f4 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .dynsym 000037d0 00002c58 00002c58 00002c58 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .dynstr 00003b90 00006428 00006428 00006428 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .gnu.version 000006fa 00009fb8 00009fb8 00009fb8 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .gnu.version_r 000000a0 0000a6b4 0000a6b4 0000a6b4 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .rel.dyn 000026d8 0000a754 0000a754 0000a754 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .rel.plt 00000538 0000ce2c 0000ce2c 0000ce2c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .init 0001103a 0000d364 0000d364 0000d364 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 9 .plt 00000a80 0001e3a0 0001e3a0 0001e3a0 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 10 .text 0005a9f8 0001ee20 0001ee20 0001ee20 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 11 .fini 0000001c 00079818 00079818 00079818 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .rodata 0000fa26 00079840 00079840 00079840 2**5 CONTENTS, ALLOC, LOAD, READONLY, DATA 13 .eh_frame_hdr 0000002c 00089268 00089268 00089268 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 14 .eh_frame 0000009c 00089294 00089294 00089294 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 15 .ctors 00000008 0008a330 0008a330 00089330 2**2 CONTENTS, ALLOC, LOAD, DATA 16 .dtors 00000008 0008a338 0008a338 00089338 2**2 CONTENTS, ALLOC, LOAD, DATA 17 .jcr 00000004 0008a340 0008a340 00089340 2**2 CONTENTS, ALLOC, LOAD, DATA 18 .data.rel.ro 000002d4 0008a360 0008a360 00089360 2**5 CONTENTS, ALLOC, LOAD, DATA 19 .dynamic 000000d8 0008a634 0008a634 00089634 2**2 CONTENTS, ALLOC, LOAD, DATA 20 .got 00000078 0008a70c 0008a70c 0008970c 2**2 CONTENTS, ALLOC, LOAD, DATA 21 .got.plt 000002a8 0008a784 0008a784 00089784 2**2 CONTENTS, ALLOC, LOAD, DATA 22 .data 00008620 0008aa40 0008aa40 00089a40 2**5 CONTENTS, ALLOC, LOAD, DATA 23 .bss 00012b00 00093060 00093060 00092060 2**5 ALLOC 24 .comment 0000068a 00000000 00000000 00092060 2**0 CONTENTS, READONLY 25 .debug_aranges 00000590 00000000 00000000 000926f0 2**3 CONTENTS, READONLY, DEBUGGING 26 .debug_pubnames 000041fe 00000000 00000000 00092c80 2**0 CONTENTS, READONLY, DEBUGGING 27 .debug_info 0010f4c5 00000000 00000000 00096e7e 2**0 CONTENTS, READONLY, DEBUGGING 28 .debug_abbrev 0000a2c8 00000000 00000000 001a6343 2**0 CONTENTS, READONLY, DEBUGGING 29 .debug_line 00011800 00000000 00000000 001b060b 2**0 CONTENTS, READONLY, DEBUGGING 30 .debug_frame 00006cc4 00000000 00000000 001c1e0c 2**2 CONTENTS, READONLY, DEBUGGING 31 .debug_str 00016b0f 00000000 00000000 001c8ad0 2**0 CONTENTS, READONLY, DEBUGGING 32 .debug_loc 0003c23f 00000000 00000000 001df5df 2**0 CONTENTS, READONLY, DEBUGGING 33 .debug_ranges 0000bf38 00000000 00000000 0021b820 2**3 CONTENTS, READONLY, DEBUGGING [1] http://forum.winehq.org/viewtopic.php?t=7616 -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages prelink depends on: ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libelfg0 0.8.10-2 an ELF object file access library ii libselinux1 2.0.65-5 SELinux shared libraries prelink recommends no packages. prelink suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org