Skip to content

RFC workaround for debugedit segv

Mark Hatle openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rpm: Add workaround for debugedit-segvmeta/recipes-devtools/rpm/rpm/debugedit-segv.patch meta/recipes-devtools/rpm/rpm_5.4.9.bb+37 -17 replies
2/2package.bbclass: Trigger a bb.error if split/strip failsmeta/classes/package.bbclass+20 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.