Bug 14429 - Incorrect prelinking of one of wayland libraries on ppc32 in core-image-weston-sdk
Summary: Incorrect prelinking of one of wayland libraries on ppc32 in core-image-westo...
Status: RESOLVED OBSOLETE
Alias: None
Product: Cross-prelink
Classification: Yocto Project Subprojects
Component: cross-prelink (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.0 M3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-06-12 20:16 UTC by Alexander Kanavin
Modified: 2022-01-21 22:12 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
broken libray from core-image-weston-sdk (131.49 KB, application/octet-stream)
2021-06-12 20:16 UTC, Alexander Kanavin
no flags Details
working library from core-image-weston (131.49 KB, application/octet-stream)
2021-06-12 20:17 UTC, Alexander Kanavin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kanavin 2021-06-12 20:16:48 UTC
Created attachment 4807 [details]
broken libray from core-image-weston-sdk

When testing core-image-weston-sdk for qemuppc, weston fails to start with a segfault. After spending some time in gdb, the issue is that libwayland-server function wl_global_create is located at 0x0004685c, but the address resolution at runtime calculates it to 0x0008685c.
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3513/steps/13/logs/stdio

The issue does not happen with core-image-weston, where both addresses are 0x32685c.

I have attached both binaries for reference and further inspection. I think the issue is serious enough that it warrants disabling prelink until this is analyzed.
Comment 1 Alexander Kanavin 2021-06-12 20:17:13 UTC
Created attachment 4808 [details]
working library from core-image-weston
Comment 2 Randy MacLeod 2021-06-17 14:37:50 UTC
We need someone to work on this but no one has stepped up!
Comment 3 Alexander Kanavin 2022-01-21 22:12:25 UTC
Prelink is being removed, the issue is obsolete.