Re: [PATCH] Fix stack-protector for powerpc

2023-11-29 Thread Tom Rini
On Wed, Nov 15, 2023 at 07:36:36PM +0100, Christophe Leroy wrote: > On powerpc, stack protector expects a function called > __stack_chk_fail_local() instead of __stack_chk_fail() > > And some versions of GCC for powerpc default to TLS canary > instead of global canary, so always force GCC to use

[PATCH] Fix stack-protector for powerpc

2023-11-15 Thread Christophe Leroy
On powerpc, stack protector expects a function called __stack_chk_fail_local() instead of __stack_chk_fail() And some versions of GCC for powerpc default to TLS canary instead of global canary, so always force GCC to use global canary with -mstack-protector-guard=global Cc: Joel Peshkin Fixes: 4