On 7/1/06, H. Peter Anvin <[email protected]> wrote:
Miles Lane wrote: > > CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ > $(call cc-option, -fno-stack-protector, ) -fno-common > in Makefile. > > Trying to compile, I get: > > include/asm/system.h: In function '__set_64bit_var': > include/asm/system.h:209: warning: dereferencing type-punned pointer > will break strict-aliasing rules That's because the kernel CFLAGS need to include -fno-strict-aliasing.
Okay, problem solved for me. Can we get these patches in to the mm tree? Thanks, Miles - 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/
- 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: "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]>
- 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]>
- 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: "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: Re: 2.6.17-mm5 dislikes raid-1, just like mm4
- Next by Date: [ANNOUNCE] GIT 1.4.1
- 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):