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

Jiawei Ye leafy7382 at gmail.com
Thu Jun 26 08:06:44 UTC 2008


On Thu, Jun 26, 2008 at 5:33 AM, Ruslan Ermilov <ru at 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 at 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."


More information about the cvs-src mailing list