bootx_init.c:88: undefined reference to `__stack_chk_fail_local'
Christian Kujau
lists at nerdbynature.de
Wed Jan 11 05:46:23 AEDT 2017
On Mon, 9 Jan 2017, Benjamin Herrenschmidt wrote:
> On Mon, 2017-01-09 at 18:11 -0800, Christian Kujau wrote:
> > So, with -fno-stack-protector my GCC 4.9.2 compiles with
> > CC_STACKPROTECTOR_STRONG=y but panics during boot:
>
> How can it make any sense to have -fno-stack-protector and
> CC_STACKPROTECTOR_STRONG=y at the same time ?
I've set -fno-stack-protector only for bootx_init.c, as laid out in the
diff I posted. This way the kernel at least compiled.
Thanks,
Christian.
--
BOFH excuse #423:
It's not RFC-822 compliant.
More information about the Linuxppc-dev
mailing list