On Sat, Jul 01, 2006 at 04:35:32PM -0700, H. Peter Anvin wrote: > Sam Ravnborg wrote: > > > >For klibc you need to patch scripts/Kbuild.klibc > > > >Appending it to KLIBCWARNFLAGS seems the right place. > > > >Do you know from what gcc version we can start using -fno-stack-protector? > > > > Here is a patch for klibc. Miles, could you try it out and see if it > does what you need? > > -hpa > > -KLIBCREQFLAGS := > +KLIBCREQFLAGS := $(call cc_option, -fno-stack-protector, ) This needs to be $(call cc-option, ...) '-' not '_'. > +++ b/usr/klibc/arch/arm/MCONFIG > @@ -12,7 +12,7 @@ CPU_TUNE := strongarm > > KLIBCOPTFLAGS = -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE) > KLIBCBITSIZE = 32 > -KLIBCREQFLAGS = -fno-exceptions > +KLIBCREQFLAGS += -fno-exceptions This should be fixed for KLIBCOPTFLAGS also. Unrelated to this issue. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: "Miles Lane" <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: Arjan van de Ven <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: "Miles Lane" <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: Arjan van de Ven <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: "Miles Lane" <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: "Miles Lane" <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: Sam Ravnborg <[email protected]>
- Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- From: "H. Peter Anvin" <[email protected]>
- 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Prev by Date: isa_memcpy_fromio
- Next by Date: Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Previous by thread: Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Next by thread: Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Index(es):