On Tue, Jan 10, 2017 at 07:26:15AM +0100, Christophe LEROY wrote: > >Maybe ppc32 is not supposed to be built with CC_STACKPROTECTOR ? > > Indeed, the latest versions of GCC don't use anymore the global variable > __stack_chk_guard as canary value, but a value stored at -0x7008(r2). > This is not compatible with the current implementation of the kernel > with uses r2 as a pointeur to current task struct. > So until we fix it, I don't think CC_STACKPROTECTOR is usable on PPC > with modern versions of GCC.
I still wonder what changed. Nothing relevant has changed for ten years or whatever as far as I see; unless it is just the -fstack-protector-strong that makes it fail now. Curious. Segher