Re: [PATCH 1/1] POWERPC: Fix ppc32 compile with gcc+SSP in 2.6.16
From: Olaf Hering
Date: Sun Apr 02 2006 - 07:11:12 EST
On Sun, Apr 02, John Mylchreest wrote:
> On Sun, Apr 02, 2006 at 12:28:15PM +0200, Olaf Hering <olh@xxxxxxx> wrote:
> > On Sun, Apr 02, John Mylchreest wrote:
> >
> > > BOOTLD arch/powerpc/boot/zImage.vmode
> > > arch/powerpc/boot/prom.o(.text+0x19c): In function `call_prom':
> > > : undefined reference to `__stack_smash_handler'
> >
> > Any this strange "security feature" is disabled by defining __KERNEL__?
>
> That correct, yes. SSP is actually used by quite a lot of vendors, and
> shouldn't be used outside of userland. Typically speaking it isn't, but
> in this case its being leaked.
Either way, file a bugreport upstream to remove the dep on __KERNEL__ in
the gcc patch.
A patch which adds -fno-dumb-feature to CFLAGS may be acceptable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/