bootx_init.c:88: undefined reference to `__stack_chk_fail_local'

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Jan 13 02:20:47 AEDT 2017


On Thu, 2017-01-12 at 15:42 +0100, Christophe LEROY wrote:
> The 4.6.3 uses __stack_chk_guard, while the 4.4.4 and 4.8.3 use
> -28680(r2)
> 
> Is it dependent on the way GCC is built ? Then do we have a way to
> know, 
> when we compile, which method GCC will use ?
> 
> See details below for each of the 3 GCC versions.

I think it depends if you built it along with glibc (so it can produce
userspace binaries) or not.

Cheers,
Ben.



More information about the Linuxppc-dev mailing list