i386/134328: [ERROR] FreeBSD 7.2-RELEASE (STABLE) not compiled in gcc flags -fstack-protector

Andrei Lavreniyuk andy.lavr at reactor-xg.kiev.ua
Thu May 7 06:30:03 UTC 2009


>Number:         134328
>Category:       i386
>Synopsis:       [ERROR] FreeBSD 7.2-RELEASE (STABLE) not compiled in gcc flags -fstack-protector
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 07 06:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 7.1-STABLE
>Organization:
Technica-03, Inc. Ukraine, Kiev.
>Environment:
# uname -a
FreeBSD datacenter.technica-03.local 7.1-STABLE FreeBSD 7.1-STABLE #0: Mon Mar 23 09:41:39 EET 2009     root at datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP-DATACENTER  i386
>Description:
FreeBSD 7.2-RELEASE (STABLE) not compiled in gcc flags -fstack-protector
-------------------------------------------------------------------------

# make buildworld

--- skip ---

-I/usr/src/sys/boot/i386/loader/../../ficl/i386 -DLOADER_GZIP_SUPPORT -DLOADER_GPT_SUPPORT -I/usr/src/sys/boot/i386/loader/../../common -I. -Wall -I/usr/src/sys/boot/i386/loader/.. -I/usr/src/sys/boot/i386/loader/../btx/lib -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -c /usr/src/sys/boot/i386/loader/../../common/pnp.c
cc -O2 -fno-strict-aliasing -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-strict-aliasing -fstack-protector -s -DLOADER_NFS_SUPPORT -DBOOT_FORTH -I/usr/src/sys/boot/i386/loader/../../ficl -I/usr/src/sys/boot/i386/loader/../../ficl/i386 -DLOADER_GZIP_SUPPORT -DLOADER_GPT_SUPPORT -I/usr/src/sys/boot/i386/loader/../../common -I. -Wall -I/usr/src/sys/boot/i386/loader/.. -I/usr/src/sys/boot/i386/loader/../btx/lib -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -c /usr/src/sys/boot/i386/loader/../../common/interp_forth.c
cc -O2 -fno-strict-aliasing -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-strict-aliasing -fstack-protector -s -DLOADER_NFS_SUPPORT -DBOOT_FORTH -I/usr/src/sys/boot/i386/loader/../../ficl -I/usr/src/sys/boot/i386/loader/../../ficl/i386 -DLOADER_GZIP_SUPPORT -DLOADER_GPT_SUPPORT -I/usr/src/sys/boot/i386/loader/../../common -I. -Wall -I/usr/src/sys/boot/i386/loader/.. -I/usr/src/sys/boot/i386/loader/../btx/lib -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -static -Ttext 0x0 -nostdlib -o loader.sym /usr/obj/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o main.o conf.o vers.o boot.o commands.o console.o devopen.o interp.o interp_backslash.o interp_parse.o ls.o misc.o module.o panic.o load_elf32.o load_elf32_obj.o reloc_elf32.o load_elf64.o load_elf64_obj.o reloc_elf64.o bcache.o isapnp.o pnp.o interp_forth.o /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a  /usr/obj/usr/src/sys/boot/i386/loader/../li
 bi386/libi386.a -lstand
boot.o(.text+0x5c2): In function `getrootmount':
: undefined reference to `__stack_chk_guard'
boot.o(.text+0x5e0): In function `getrootmount':
: undefined reference to `__stack_chk_guard'
boot.o(.text+0x831): In function `getrootmount':
: undefined reference to `__stack_chk_fail'
commands.o(.text+0xe9): In function `command_commandlist':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x18b): In function `command_commandlist':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x199): In function `command_commandlist':
: undefined reference to `__stack_chk_fail'
commands.o(.text+0x250): In function `command_help':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x2cb): In function `command_help':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x644): In function `command_help':
: undefined reference to `__stack_chk_fail'
commands.o(.text+0x7ef): In function `command_lsdev':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x839): In function `command_lsdev':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0x8d1): In function `command_lsdev':
: undefined reference to `__stack_chk_fail'
commands.o(.text+0x9b5): In function `command_read':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0xa09): In function `command_read':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0xb3f): In function `command_read':
: undefined reference to `__stack_chk_fail'
commands.o(.text+0xb62): In function `command_more':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0xbce): In function `command_more':
: undefined reference to `__stack_chk_guard'
commands.o(.text+0xc3d): In function `command_more':
: undefined reference to `__stack_chk_fail'
interp.o(.text+0x11): In function `include':
: undefined reference to `__stack_chk_guard'
interp.o(.text+0x16c): In function `include':
: undefined reference to `__stack_chk_guard'
interp.o(.text+0x1d3): In function `include':
: undefined reference to `__stack_chk_fail'
ls.o(.text+0x10): In function `command_ls':
: undefined reference to `__stack_chk_guard'
ls.o(.text+0x69): In function `command_ls':
: undefined reference to `__stack_chk_guard'
ls.o(.text+0x44e): In function `command_ls':
: undefined reference to `__stack_chk_fail'
misc.o(.text+0x7d): In function `hexdump':
: undefined reference to `__stack_chk_guard'
misc.o(.text+0x1f7): In function `hexdump':
: undefined reference to `__stack_chk_guard'
misc.o(.text+0x206): In function `hexdump':
: undefined reference to `__stack_chk_fail'
misc.o(.text+0x400): In function `kern_bzero':
: undefined reference to `__stack_chk_guard'
misc.o(.text+0x458): In function `kern_bzero':
: undefined reference to `__stack_chk_guard'
misc.o(.text+0x46a): In function `kern_bzero':
: undefined reference to `__stack_chk_fail'
module.o(.text+0x6ed): In function `command_lsmod':
: undefined reference to `__stack_chk_guard'
module.o(.text+0x740): In function `command_lsmod':
: undefined reference to `__stack_chk_guard'
module.o(.text+0x871): In function `command_lsmod':
: undefined reference to `__stack_chk_fail'
load_elf32_obj.o(.text+0x272): In function `elf32_obj_loadfile':
: undefined reference to `__stack_chk_guard'
load_elf32_obj.o(.text+0x316): In function `elf32_obj_loadfile':
: undefined reference to `__stack_chk_guard'
load_elf32_obj.o(.text+0x3f1): In function `elf32_obj_loadfile':
: undefined reference to `__stack_chk_fail'
load_elf64_obj.o(.text+0x362): In function `elf64_obj_loadfile':
: undefined reference to `__stack_chk_guard'
load_elf64_obj.o(.text+0x406): In function `elf64_obj_loadfile':
: undefined reference to `__stack_chk_guard'
load_elf64_obj.o(.text+0x4e1): In function `elf64_obj_loadfile':
: undefined reference to `__stack_chk_fail'
isapnp.o(.text+0x18a): In function `isapnp_isolation_protocol':
: undefined reference to `__stack_chk_guard'
isapnp.o(.text+0x418): In function `isapnp_isolation_protocol':
: undefined reference to `__stack_chk_guard'
isapnp.o(.text+0x49d): In function `isapnp_isolation_protocol':
: undefined reference to `__stack_chk_fail'
pnp.o(.text+0x27): In function `pnp_eisaformat':
: undefined reference to `__stack_chk_guard'
pnp.o(.text+0xe8): In function `pnp_eisaformat':
: undefined reference to `__stack_chk_guard'
pnp.o(.text+0xf8): In function `pnp_eisaformat':
: undefined reference to `__stack_chk_fail'
interp_forth.o(.text+0xf9): In function `bf_init':
: undefined reference to `__stack_chk_guard'
interp_forth.o(.text+0x29d): In function `bf_init':
: undefined reference to `__stack_chk_guard'
interp_forth.o(.text+0x2ab): In function `bf_init':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o)(.text+0xb21): In function `ficlExecFD':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o)(.text+0xbc6): In function `ficlExecFD':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(loader.o)(.text+0xc2a): In function `ficlExecFD':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x520e): In function `ficlSprintf':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x5333): In function `ficlSprintf':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x5490): In function `ficlSprintf':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x5f7f): In function `ficlCatch':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x60f1): In function `ficlCatch':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a(words.o)(.text+0x61ae): In function `ficlCatch':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(vidconsole.o)(.text+0x600): In function `bail_out':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(vidconsole.o)(.text+0x61f): In function `bail_out':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(vidconsole.o)(.text+0x69b): In function `bail_out':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(smbios.o)(.text+0xad): In function `smbios_detect':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(smbios.o)(.text+0x20d): In function `smbios_detect':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(smbios.o)(.text+0x488): In function `smbios_detect':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0xf9): In function `pxe_close':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0x128): In function `pxe_close':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0x221): In function `pxe_close':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0x253): In function `pxe_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0x2a2): In function `pxe_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(pxe.o)(.text+0x4f8): In function `pxe_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(comconsole.o)(.text+0x11b): In function `comc_probe':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(comconsole.o)(.text+0x140): In function `comc_probe':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(comconsole.o)(.text+0x271): In function `comc_probe':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospci.o)(.text+0x13a): In function `biospci_enumerate':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospci.o)(.text+0x197): In function `biospci_enumerate':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospci.o)(.text+0x357): In function `biospci_enumerate':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospnp.o)(.text+0xda): In function `biospnp_enumerate':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospnp.o)(.text+0x179): In function `biospnp_enumerate':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biospnp.o)(.text+0x3eb): In function `biospnp_enumerate':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x373): In function `bd_io':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x543): In function `bd_io':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x741): In function `bd_io':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x84f): In function `bd_checkextended':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x888): In function `bd_checkextended':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x966): In function `bd_checkextended':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x98a): In function `bd_opendisk':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0xa5b): In function `bd_opendisk':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0xe21): In function `bd_opendisk':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x1563): In function `bd_printbsdslice':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x15c1): In function `bd_printbsdslice':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x16e4): In function `bd_printbsdslice':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x1703): In function `bd_print':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x18f8): In function `bd_print':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)(.text+0x1f3c): In function `bd_print':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0xca): In function `bc_print':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0x11d): In function `bc_print':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0x12c): In function `bc_print':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0x21b): In function `bc_read':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0x39c): In function `bc_read':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(bioscd.o)(.text+0x41d): In function `bc_read':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosacpi.o)(.text+0x8f): In function `biosacpi_detect':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosacpi.o)(.text+0x216): In function `biosacpi_detect':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosacpi.o)(.text+0x2e1): In function `biosacpi_detect':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ext2fs.o)(.text+0xa44): In function `ext2fs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ext2fs.o)(.text+0xb7c): In function `ext2fs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ext2fs.o)(.text+0xfe3): In function `ext2fs_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(dosfs.o)(.text+0x711): In function `dos_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(dosfs.o)(.text+0x7e0): In function `dos_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(dosfs.o)(.text+0x10b1): In function `dos_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(gzipfs.o)(.text+0x19e): In function `zf_seek':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(gzipfs.o)(.text+0x1e7): In function `zf_seek':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(gzipfs.o)(.text+0x2e1): In function `zf_seek':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(cd9660.o)(.text+0x79b): In function `cd9660_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(cd9660.o)(.text+0x885): In function `cd9660_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(cd9660.o)(.text+0xc53): In function `cd9660_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x20): In function `nfs_readlink':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0xbf): In function `nfs_readlink':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x105): In function `nfs_readlink':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x17a): In function `nfs_readdata':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x24f): In function `nfs_readdata':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x2a1): In function `nfs_readdata':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x378): In function `nfs_lookupfh':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x45b): In function `nfs_lookupfh':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x4b5): In function `nfs_lookupfh':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x4e9): In function `nfs_getrootfh':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x5b8): In function `nfs_getrootfh':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x5f2): In function `nfs_getrootfh':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x613): In function `nfs_readdir':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x6f7): In function `nfs_readdir':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x775): In function `nfs_readdir':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x861): In function `nfs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0x897): In function `nfs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(nfs.o)(.text+0xce6): In function `nfs_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ufs.o)(.text+0x1006): In function `ufs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ufs.o)(.text+0x1448): In function `ufs_open':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(ufs.o)(.text+0x158e): In function `ufs_open':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0xf): In function `setenv_':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0x492): In function `setenv_':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0x56c): In function `setenv_':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0x7a3): In function `bootp':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0x9ad): In function `bootp':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(bootp.o)(.text+0xbc4): In function `bootp':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(pager.o)(.text+0xfd): In function `pager_file':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(pager.o)(.text+0x160): In function `pager_file':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(pager.o)(.text+0x181): In function `pager_file':
: undefined reference to `__stack_chk_fail'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(printf.o)(.text+0xb9): In function `kvprintf':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(printf.o)(.text+0x21b): In function `kvprintf':
: undefined reference to `__stack_chk_guard'
/usr/obj/usr/src/tmp/usr/lib/libstand.a(printf.o)(.text+0xe98): In function `kvprintf':
: undefined reference to `__stack_chk_fail'
*** Error code 1

Stop in /usr/src/sys/boot/i386/loader.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

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

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

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

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

Stop in /usr/src.

>How-To-Repeat:
1 - Add to /etc/make.conf CFLAGS -fstack-protector
1 - Update source tree. (release=cvs tag=RELENG_7)
2 - cd /usr/src/
3 - make cleandir
4 - make buildworld
 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list