Files
openwrt/target/linux
Paul Spooren edd23eb01e kernel: build the powerpc vDSO after the stack protector flags
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>
2026-09-30 11:12:38 +02:00
..
2026-07-23 09:08:57 +02:00
2026-09-16 11:43:33 +02:00
2026-05-07 18:15:54 +02:00
2026-09-24 19:05:45 +02:00
2026-09-16 11:43:34 +02:00
2026-08-13 00:22:31 +02:00
2026-07-08 19:13:25 +02:00
2026-04-19 13:21:21 +02:00
2026-09-16 11:43:34 +02:00
2026-08-04 09:36:49 +02:00
…