RFC workaround for debugedit segv
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rpm: Add workaround for debugedit-segvmeta/ meta/ | +37 | 7 replies | |
| 2/2 | package.bbclass: Trigger a bb.error if split/strip failsmeta/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2 RFC] workaround for debugedit segv
[ YOCTO #4089 ]
This is an attempt at a workaround for the debugedit segv.
The problem is that during the creation of the build-id hash, the system iterates over the various ELF sections passing a point to the loaded data and size of each section to a hash function.
When it gets to the hash for the .plt and .bss section, the size is non-zero, while the data is point to 0. This immediately causes a segfault on access of data at address 0.
See the bug and patch comments for more diagnostic information.