mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 15:18:44 +04:00
The powerpc kernel of the WD My Book Live differs between builds. The difference sits in the vDSO, which the kernel embeds with its debug information as vdso32.so.dbg: -GNU C11 14.4.0 ... -mstack-protector-guard=tls -mstack-protector-guard-reg=r2 -mstack-protector-guard-offset=872 -m32 -g -O2 ... +GNU C11 14.4.0 ... -m32 -g -O2 ... stack_protector_prepare appends these flags to KBUILD_CFLAGS with $(eval) from its recipe, while vdso_prepare builds the vDSO from a sibling prerequisite of prepare. Nothing orders the two, so whether the flags end up in DW_AT_producer depends on the order in which make starts them. Add a pending patch that makes vdso_prepare depend on stack_protector_prepare. Link: https://github.com/openwrt/openwrt/pull/25429 Signed-off-by: Paul Spooren <mail@aparcar.org>