On 2/21/10 12:02 PM, Lanttor wrote:
Hi, I met one interesting issue during I porting 2.6.29 kernel on ColdFire paltform (v4 core, mcf5441x). I could boot up the kernel with initramfs, but the kernel message below displays some error information, which line I colored red. initramfs image only includes busybox static binary.
...
Inconsistency detected by ld.so: rtld.c: 1215: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed! Inconsistency detected by ld.so: rtld.c: 1215: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
The error is an assertion failure in GLIBC's runtime linker, it is not a kernel issue. It is quite strange that the run-time linker is invoked for a statically linked busybox -- maybe this is the problem? I suggest you take a look at <glibc_src>/elf/rtld.c and trace how the control gets there.
Regards, -- Maxim Kuvyrkov CodeSourcery maxim@xxxxxxxxxxxxxxxx (650) 331-3385 x724 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html