On Saturday 01 October 2005 20:18, Attilio Fiandrotti wrote: > Joey Hess wrote: > > Attilio Fiandrotti wrote: > >>1) the libc.so.6 included inside the initrd misses some symbols: i've > >>replaced the default one with the one from my debian system and 've > >>included it inside d-i_gtk_root.tgz > > > > I guess this is because the build system unpacks those tarballs after > > library reduction. I have now moved this to happen before the library reduction. I had it after the reduction first because I expected we'd have more from the tarballs. As this is not the case, > yes: the libc.so.6 packed inside d-i_gtk_root.tgz overwrites the > standard one, so that everything works fine. > Same problem also with libpthread-0.10.so: who should do what so that > standard libraries included in the initrd do not miss symbols > anylonger? libpthread is no longer needed, but libc6 still is. It seems this is due to something on Attilio's system: his libc6 contains GLIBC_2.1, while the standard libc in Sid does not have that. I feel this could also be the reason why Attilio's frontend does not work nicely with Alastair's gtk+-directfb udeb. Attached is a diff that shows the differences between objdumps (the "working" one is Attilio's; the "broken" one is from Sid; both copied from an image after reduction. Cheers, FJP
--- working/libc.dump 2005-10-01 23:58:07.437816248 +0200 +++ broken/libc.dump 2005-10-01 23:58:25.617202310 +0200 @@ -2,49 +2,41 @@ libc.so.6: file format elf32-i386 Program Header: - PHDR off 0x00000034 vaddr 0x00000034 paddr 0x00000034 align 2**2 - filesz 0x00000120 memsz 0x00000120 flags r-x - INTERP off 0x0010b14c vaddr 0x0010b14c paddr 0x0010b14c align 2**0 - filesz 0x00000013 memsz 0x00000013 flags r-- LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 - filesz 0x00112460 memsz 0x00112460 flags r-x - LOAD off 0x001125ac vaddr 0x001135ac paddr 0x001135ac align 2**12 - filesz 0x00003618 memsz 0x00006008 flags rw- - DYNAMIC off 0x00113d1c vaddr 0x00114d1c paddr 0x00114d1c align 2**2 + filesz 0x000a1b98 memsz 0x000a1b98 flags r-x + LOAD off 0x000a1b98 vaddr 0x000a2b98 paddr 0x000a2b98 align 2**12 + filesz 0x00002970 memsz 0x00004364 flags rw- + DYNAMIC off 0x000a2cb4 vaddr 0x000a3cb4 paddr 0x000a3cb4 align 2**2 filesz 0x000000e0 memsz 0x000000e0 flags rw- - NOTE off 0x00000154 vaddr 0x00000154 paddr 0x00000154 align 2**2 - filesz 0x00000020 memsz 0x00000020 flags r-- -EH_FRAME off 0x0010b160 vaddr 0x0010b160 paddr 0x0010b160 align 2**2 - filesz 0x00000ec4 memsz 0x00000ec4 flags r-- +EH_FRAME off 0x0009edc0 vaddr 0x0009edc0 paddr 0x0009edc0 align 2**2 + filesz 0x000006dc memsz 0x000006dc flags r-- STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 filesz 0x00000000 memsz 0x00000000 flags rw- -0x6474e552 off 0x001125ac vaddr 0x001135ac paddr 0x001135ac align 2**5 - filesz 0x00001a20 memsz 0x00001a20 flags r-- Dynamic Section: NEEDED ld-linux.so.2 SONAME libc.so.6 - INIT 0x152d0 - FINI_ARRAY 0x1135ac + INIT 0x68080 + FINI_ARRAY 0xa2b98 FINI_ARRAYSZ 0x4 - HASH 0x174 - STRTAB 0xbbc8 - SYMTAB 0x3388 - STRSZ 0x530f + HASH 0xd4 + STRTAB 0x6198 + SYMTAB 0x2118 + STRSZ 0x26e2 SYMENT 0x10 - PLTGOT 0x114ff4 - PLTRELSZ 0xa8 + PLTGOT 0xa3ebc + PLTRELSZ 0x98 PLTREL 0x11 - JMPREL 0x15040 - REL 0x122a0 - RELSZ 0x2da0 + JMPREL 0xb5c4 + REL 0x933c + RELSZ 0x2288 RELENT 0x8 - VERDEF 0x11fe0 + VERDEF 0x908c VERDEFNUM 0x12 - VERNEED 0x12250 + VERNEED 0x92fc VERNEEDNUM 0x1 - VERSYM 0x10ed8 - RELCOUNT 0x553 + VERSYM 0x887a + RELCOUNT 0x40a Version definitions: 1 0x01 0x0865f4e6 libc.so.6 @@ -83,7 +75,6 @@ Version References: required from ld-linux.so.2: - 0x0d696911 0x00 22 GLIBC_2.1 0x0d696913 0x00 21 GLIBC_2.3 0x0963cf85 0x00 20 GLIBC_PRIVATE 0x0d696910 0x00 19 GLIBC_2.0
Attachment:
pgpfGM9bj_rVN.pgp
Description: PGP signature