| Summary: | qemu X boot failure due to missing of libhal.so.1 | ||
|---|---|---|---|
| Product: | [Runtime] System Startup | Reporter: | Dongxiao Xu <dongxiao.xu> |
| Component: | system-startup | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dexuan.cui, kevin.tian, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
does add libhal (or libhal1?) to xserver's DEPENDS solve this issue? btw, I found that only xserver-xf86 has explicit DEPENDS on hal, not on xserver-kdrive which is used by arm... qemuarm X boot seccesstully after adding RDEPENDS += "hal" for xserver-kdrive. Thanks for Kevin's suggestion. -- Dongxiao Please verify that this is still an issue, I believe this was resolved. |
Build qemuarm against commit 4e23e8f9d0e22cf534c19224cba0be9bedba0120 and boot the guest image, I met X start failure, and the rootfs log reports: /home/dongxiao/poky/build-qemuarm-orig/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /usr/bin/Xfbdev: Could not find one of the dependencies: libhal.so.1 => not found /home/dongxiao/poky/build-qemuarm-orig/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /usr/bin/trace-cmd: R_ARM_TLS_DTPMOD32 reloc in executable? + '[' true ']' + rm -f /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs/etc/prelink.conf + rm -f /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs/etc/prelink.cache ++ du -ks /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs ++ awk '{size = $1 ; print size }' + pre_prelink_size=384436 + echo 'Size after prelinking 384436.' Size after prelinking 384436. ++ du -ks /home/dongxiao/poky/build-qemuarm-orig/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-1.0-r0/rootfs ++ awk '{size = $1 * 1.2; print (size > 65536 ? size : 65536) }' + ROOTFS_SIZE=461323 ...