From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 6 Feb 2011 13:01:05 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20110206100105.GG22517@altlinux.org> References: <20110131152337.GO30604@altlinux.org> <20110131154640.GB17803@altlinux.org> <20110203092032.GE5284@altlinux.org> <20110204174010.GA11630@altlinux.org> <20110204203819.GA9423@altlinux.org> <20110204222150.GA29815@altlinux.org> <20110204230024.GB9423@altlinux.org> <20110205054103.GA14181@altlinux.org> <20110205140056.GC7246@altlinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110205140056.GC7246@altlinux.org> Subject: Re: [devel] Q: debuginfo strip controls & deps X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 10:01:06 -0000 Archived-At: List-Archive: List-Post: On Sat, Feb 05, 2011 at 05:00:57PM +0300, Dmitry V. Levin wrote: > Будет так: > $ readelf -aW /lib64/libc.so.6 |fgrep IFUNC > 39: 0000000000085c50 55 IFUNC WEAK DEFAULT 12 strcasestr@@GLIBC_2.2.5 > 90: 000000000007b8c0 41 IFUNC GLOBAL DEFAULT 12 strcpy@@GLIBC_2.2.5 > 100: 0000000000080d40 41 IFUNC GLOBAL DEFAULT 12 __rawmemchr@@GLIBC_2.2.5 > 173: 000000000007c090 60 IFUNC GLOBAL DEFAULT 12 strncmp@@GLIBC_2.2.5 > 216: 000000000007d950 41 IFUNC GLOBAL DEFAULT 12 strrchr@@GLIBC_2.2.5 > 309: 000000000007f920 41 IFUNC WEAK DEFAULT 12 stpncpy@@GLIBC_2.2.5 > 387: 000000000007d920 41 IFUNC GLOBAL DEFAULT 12 strncpy@@GLIBC_2.2.5 > 518: 000000000007da20 41 IFUNC GLOBAL DEFAULT 12 strpbrk@@GLIBC_2.2.5 > 541: 000000000007ddb0 41 IFUNC GLOBAL DEFAULT 12 strspn@@GLIBC_2.2.5 > 602: 000000000007f920 41 IFUNC GLOBAL DEFAULT 12 __stpncpy@@GLIBC_2.2.5 > 751: 000000000007be80 41 IFUNC GLOBAL DEFAULT 12 strlen@@GLIBC_2.2.5 > 836: 00000000000848b0 55 IFUNC GLOBAL DEFAULT 12 strstr@@GLIBC_2.2.5 > 841: 000000000007b9d0 41 IFUNC GLOBAL DEFAULT 12 strcspn@@GLIBC_2.2.5 > 1219: 00000000000c3440 55 IFUNC GLOBAL DEFAULT 12 __sched_cpucount@@GLIBC_2.6 > 1401: 000000000007a310 41 IFUNC WEAK DEFAULT 12 index@@GLIBC_2.2.5 > 1656: 000000000007a310 41 IFUNC GLOBAL DEFAULT 12 strchr@@GLIBC_2.2.5 > 1695: 000000000007d950 41 IFUNC WEAK DEFAULT 12 rindex@@GLIBC_2.2.5 > 1718: 000000000007f810 41 IFUNC GLOBAL DEFAULT 12 __stpcpy@@GLIBC_2.2.5 > 1758: 0000000000085c50 55 IFUNC GLOBAL DEFAULT 12 __strcasestr@@GLIBC_2.2.5 > 1994: 0000000000080d40 41 IFUNC GLOBAL DEFAULT 12 rawmemchr@@GLIBC_2.2.5 > 2023: 000000000007a3c0 60 IFUNC GLOBAL DEFAULT 12 strcmp@@GLIBC_2.2.5 > 2055: 000000000007f810 41 IFUNC WEAK DEFAULT 12 stpcpy@@GLIBC_2.2.5 На i586 так и не подцепилось. Там наверное хак надо делать - скопировать некоторые файлы из i686 в i586 или что-нибудь такое. $ rpmpeek /ALT/Sisyphus/files/i586/RPMS/glibc-core-2.11.3-alt3.i586.rpm readelf -aW ./lib/libc.so.6 |grep strlen 807: 000740f0 187 FUNC GLOBAL DEFAULT 12 strlen@@GLIBC_2.0 937: 0007b220 23 FUNC GLOBAL DEFAULT 12 __strlen_g@@GLIBC_2.1.1 $ rpmpeek /ALT/Sisyphus/files/i586/RPMS/glibc-core-2.11.3-alt3.i586.rpm readelf -aW ./lib/libc.so.6 |grep IFUNC $