Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2003 10:06:35 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Martin Larsson <sopppp@home.se>
Cc:        freebsd-security@freebsd.org
Subject:   Re: ibm fstack protector
Message-ID:  <20030824170635.GB9172@rot13.obsecurity.org>
In-Reply-To: <1061734680.20025.1.camel@oddjob.kul.lan>
References:  <1061734680.20025.1.camel@oddjob.kul.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--U+BazGySraz5kW0T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
>=20
> 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
>=20
> Stop in /usr/obj/usr/src/sys/FJUTTSI.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
>=20
> 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

--U+BazGySraz5kW0T
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/SPCbWry0BWjoQKURAuElAJwKo/fEWe67wjdE4NRX++2Q+A6qrQCgxv+L
e6G1FVoL9yK/nrUw+H+lzc0=
=7xuW
-----END PGP SIGNATURE-----

--U+BazGySraz5kW0T--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030824170635.GB9172>