|
|||||||||||
|
Bug#445507: not working on mipsel - initrd not starting
From: Aurelien Jarno <aurelien(at)aurel32.net>
Date: Tue Feb 19 2008 - 09:38:41 EST
The problem comes from the following symbols in libc.so.6 00000000 l *UND* 00000000 .hidden __nss_aliases_database 00000000 l *UND* 00000000 .hidden __nss_rpc_database 00000000 l *UND* 00000000 .hidden __nss_ethers_database 00000000 l *UND* 00000000 .hidden __nss_netgroup_database 00000000 l *UND* 00000000 .hidden __nss_shadow_database 00000000 l *UND* 00000000 .hidden __nss_publickey_database Those symbols are glibc symbols that are not used within the reduced libc. They are exported as undefined on all architectures, though they are defined in libc_p.a. On most architectures, they do not cause any problem, but on mips and mipsel ld.so seems to be confused and segfault during the relocation phase. Thiemo, do you have an idea about what can lead to segfault? Also note that in Etch those symbols were also undefined, but not hidden. I guess this is the reason why mklibs stopped working. A quick workaround is to mark those functions as used by using the -u options from gcc as it is done for other symbols. It only increase the size of libc.so.6 by a few kilobytes, and I have tested that it actually works correctly. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Tue Feb 19 09:46:56 2008 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:42:56 EDT |
||||||||||
|
|||||||||||