On Wed, 30 Oct 2024 11:41:37 -0700, Nathan Chancellor wrote:
Under certain conditions, the 64-bit '-mstack-protector-guard' flags may end up in the 32-bit vDSO flags, resulting in build failures due to the structure of clang's argument parsing of the stack protector options, which validates the arguments of the stack protector guard flags unconditionally in the frontend, choking on the 64-bit values when targeting 32-bit:
[...]
Applied to powerpc/next.
[1/1] powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang https://git.kernel.org/powerpc/c/d677ce521334d8f1f327cafc8b1b7854b0833158
cheers