[OE-core] prelink issue with ppc64?

Kumar Gala galak at kernel.crashing.org
Wed Aug 3 05:35:45 UTC 2011


If prelink gets a chance to properly run I get a rootfs that does:

/sbin/init: relocation error: /lib64/libc.so.6: symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld64.so.1 with link time reference

if 'baselib' is set to /lib we get:

/local/home/galak/git/poky/build-p5020/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /sbin/init.sysvinit: Using /lib/ld64.so.1, not /lib64/ld64.so.1 as dynamic linker

if 'baselib' is set to /lib64 we get:

Assigned virtual address space slots for libraries:
/lib64/ld64.so.1                                             00000080f4910000-00000080f49473d0
/lib64/libc.so.6                                             00000080f4950000-00000080f4afe090
/lib64/libdl.so.2                                            00000080f4b10000-00000080f4b23520
/lib64/libcrypt.so.1                                         00000080f4b10000-00000080f4b57708
/lib64/libutil.so.1                                          00000080f4b10000-00000080f4b234a0
Would prelink /lib64/ld-2.13.so
Would prelink /lib64/libc-2.13.so

Not sure what prelink is doing but it seems to breaking things.  Any ideas?

---

I'm also concerned that we use /etc/prelink.conf when invoking prelink.

- k



More information about the Openembedded-core mailing list