DragonFly users List (threaded) for 2008-04
DragonFly BSD
DragonFly users List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Stack protector broken in gcc41?


From: Hasso Tepper <hasso@xxxxxxxxx>
Date: Mon, 14 Apr 2008 23:14:36 +0300

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]