Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 15:39:53 +0800
From:      "Jiawei Ye" <leafy7382@gmail.com>
To:        "Ruslan Ermilov" <ru@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Mak
Message-ID:  <c21e92e20806260039ic528d02s6210454b69c770c8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On Thu, Jun 26, 2008 at 5:33 AM, Ruslan Ermilov <ru@freebsd.org> wrote:

> ru          2008-06-25 21:33:28 UTC
>
>
>  Enable GCC stack protection (aka Propolice) for kernel:
>  - It is opt-out for now so as to give it maximum testing.
>  - Do not compile your kernel with -fstack-protector-all, it won't work.
>
>  Submitted by:   Jeremie Le Hen <jeremie@le-hen.org>
>
>
I am getting kernel compilation error (when linking)
-- error repeated --
vga_isa.o(.text+0x2ef): In function `isavga_probe':
/usr/src/sys/isa/vga_isa.c:98: undefined reference to `__stack_chk_guard'
vga_isa.o(.text+0x407):/usr/src/sys/isa/vga_isa.c:121: undefined reference
to `__stack_chk_guard'
vga_isa.o(.text+0x40e):/usr/src/sys/isa/vga_isa.c:121: undefined reference
to `__stack_chk_fail'
*** Error code 1

Stop in /tmp/obj/usr/src/sys/MAIL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Missing something here?

Jiawei

-- 
"If it looks like a duck, walks like a duck, and quacks like a duck, then to
the end user it's a duck, and end users have made it pretty clear they want
a duck; whether the duck drinks hot chocolate or coffee is irrelevant."



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