Hi, On Thu, Jun 26, 2008 at 02:20:43AM -0400, FreeBSD Tinderbox wrote: > vga_isa.o(.text+0x1f7): In function `isavga_probe': > : undefined reference to `__stack_chk_fail' > xboxfb.o(.text+0xa79): In function `xboxfb_diag': > : undefined reference to `__stack_chk_guard' > xboxfb.o(.text+0xb03): In function `xboxfb_diag': > : undefined reference to `__stack_chk_guard' > xboxfb.o(.text+0xb0a): In function `xboxfb_diag': > : undefined reference to `__stack_chk_fail' > *** Error code 1 This is my bad, sorry. Please apply the following patch: Index: sys/kern/stack_protector.c =================================================================== RCS file: /mnt/octobre/space/freebsd-cvs/src/sys/kern/stack_protector.c,v retrieving revision 1.1 diff -u -r1.1 stack_protector.c --- sys/kern/stack_protector.c 25 Jun 2008 21:33:28 -0000 1.1 +++ sys/kern/stack_protector.c 26 Jun 2008 06:57:11 -0000 _at__at_ -7,7 +7,6 _at__at_ #include <sys/systm.h> #include <sys/libkern.h> -#if defined(__SSP__) || defined(__SSP_ALL__) long __stack_chk_guard[8] = {}; void __stack_chk_fail(void); _at__at_ -31,5 +30,3 _at__at_ } /* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. */ SYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL); - -#endif -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >Received on Thu Jun 26 2008 - 05:00:12 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC