Stack protector broken in gcc41?

Hasso Tepper hasso at estpak.ee
Mon Apr 14 13:23:34 PDT 2008


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'
~$

-- 
Hasso Tepper





More information about the Users mailing list