| Summary: | Prelink causes x86 and qemuarm failures when built on 32bit system | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Cross-prelink | Reporter: | Saul Wold <sgw> |
| Component: | cross-prelink | Assignee: | Mark Hatle <mark.hatle> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | High | CC: | richard.purdie, sgw, yp.cp.watcher, yp.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.1 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Saul Wold
2011-09-13 07:18:20 UTC
I have a potential fix for this issue:
--- a/trunk/src/rtld/rtld.c
+++ b/trunk/src/rtld/rtld.c
@@ -1120,7 +1120,7 @@ process_one_dso (DSO *dso, int host_paths)
(size_t) (l->l_map_start - cur_dso_ent->dso->base));
if (l->l_tls_modid)
- printf (" TLS(0x%Zx, 0x%0*Zx)\n", l->l_tls_modid,
+ printf (" TLS(0x%Zx, 0x%0*Zx)\n", (size_t) l->l_tls_modid,
(int) size_pointer,
(size_t) l->l_tls_offset);
else
Initial testing on 32-bit host, targeting x86 and arm targets is positive.
Change has been checked in, and appears to be working. |