Groups > DragonFly > DragonFly users > Stack protector broken in gcc41?




Stack protector broken in gcc41?

Stack protector broken in gcc41?
Mon, 14 Apr 2008 23:14:36 +030
Even hello world fails to link:

~$ gcc -fstack-protector-all -o hello-world hello-world.c
/tmp//cckehwVf.o: In function `main':
hello-world.c:(.text+0x12): undefined reference to `__stack_chk_guard'
hello-world.c:(.text+0x35): undefined reference to `__stack_chk_guard'
hello-world.c:(.text+0x3c): undefined reference to `__stack_chk_fail'
~$

-- 
Post Reply
about | contact