Created attachment 264 [details] log.do_rootfs [Environment]: --- local.conf --- BB_NUMBER_THREADS = "8" PARALLEL_MAKE = "-j 8" MACHINE ??= "qemux86-64" DL_DIR ?= "/home/dongxiao/poky/sources" DISTRO ?= "poky" PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES = "debug-tweaks" USER_CLASSES ?= "image-prelink image-mklibs" MULTILIB_IMAGE_INSTALL = "lib32-connman" CONF_VERSION = "1" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" bitbake core-sato-image Sometime After doing rootfs and boot the image, we will find system could not boot up to X window and a lot of segmentation fault happens. Also there are prelink warnings in log.rootfs. Redo the rootfs, the bug may disappear and system can boot into X correctly with everything in demand installed. Here I attached the log.rootfs and dmesg info in target OS.
Created attachment 265 [details] dmesg.log
This bug happens occasionally. Not sure this is a prelink issue or multilib issue. I will try to reproduce it by removing image-prelink in local.conf to see if it still exists.
Mark, do you have quick idea on this one?
*** Bug 1519 has been marked as a duplicate of this bug. ***
I tried 30 times of build with/without prelink feature: - with prelink: 5/30 failed. - w/o prelink: none failed. So suppose it is a prelink issue?
According to my previous testing result, it seems that this is a bug related with prelink. Can Mark help to take this bug over?
With all of the changes to the prelinker since 2011-09-30, this issue may be fixed. Have you retested it recently? If I can get a reliably way to reproduce it, then we should be able to determine what the cause it. If you can generate a "good" filesystem, and a "bad" filesystem, then we can run diffs against the ELF data and see if we're getting bad relocation values.
*** Bug 2354 has been marked as a duplicate of this bug. ***
I have tested with prelink enabled for more than 20 times, and found no issue. Maybe the fix for pango help to resolve this bug.(http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=38467c458fdca97a5b0f2aa91de96f81330dc8de) I mark it as "works for me". We can reopen it if meet it in future.