ibm fstack protector

Kris Kennaway kris at obsecurity.org
Sun Aug 24 10:06:37 PDT 2003


On Sun, Aug 24, 2003 at 04:18:00PM +0200, Martin Larsson wrote:
> yo, ive been using the fstack protector for a while now and it worked
> fine until i was gonna compile 4.8p3 then i got these errors,
> 
> sio.o(.text+0x18b7): undefined reference to `__guard'
> sio.o(.text+0x1da9): undefined reference to `__guard'
> sio.o(.text+0x1db9): undefined reference to `__stack_smash_handler'
> vga_isa.o: In function `isavga_probe':
> vga_isa.o(.text+0x10): undefined reference to `__guard'
> vga_isa.o(.text+0xb9): undefined reference to `__guard'
> vga_isa.o(.text+0xc9): undefined reference to `__stack_smash_handler'
> vga_isa.o(.text+0xc9): undefined reference to `__stack_smash_handler'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/FJUTTSI.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> anyone succesfully compiled 4.8p3 with fstack protection?

It looks like you don't have the full /usr/src patch installed.  The
sys/libkern/stack_smash_handler.c file is supposed to provide these
symbols.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20030824/56a18e8c/attachment.bin


More information about the freebsd-security mailing list