Sam Ravnborg wrote:
For klibc you need to patch scripts/Kbuild.klibc Appending it to KLIBCWARNFLAGS seems the right place.
KLIBCREQFLAGS, rather.
Do you know from what gcc version we can start using -fno-stack-protector?
Isn't there a macro to test if gcc supports a specific option already?Either way, I can also add __stack_chk_fail() as an alias for abort(), for people who actually want the feature.
-hpa - 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]>
- 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Prev by Date: Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'
- Next by Date: Re: OSS driver removal, 2nd round
- 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):