NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

trying to re-build userland 5.0.1 with ssp.



This worked once before, not sure what I'm missing this time around.
I've included the begining of a long list of complaints, and my /etc/mk.conf.

The build command is verbatim from the docs. I did some googling and
could only find reference to -fstack-protector-all,
with no reference to my particular problem. A solution, or being
pointed in the right direction would be greatly appreciated.

USE_SSP=yes
MKMANZ=yes
USE_YP=no
USE_CPUFLAGS=yes
CFLAGS+=        -fstack-protector-all

#      link  biosboot/boot
bb="$( /usr/src/../tools/bin/x86_64--netbsd-gcc -o boot.tmp  -nostdlib
-Wl,-N -Wl,-e,boot_start -Wl,-m,elf_i386  -Wl,-Ttext,0 -Wl,-cref
biosb
oot.o boot2.o conf.o devopen.o exec.o vers.o
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/i386/libi386.a
/usr/src/../obj/sys/arch/i38
6/stand/boot/biosboot/lib/sa/libsa.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/z/libz.a
/usr/src/../obj/sys/arch/i386/stand/boot/b
iosboot/lib/kern/libkern.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/i386/libi386.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosb
oot/lib/sa/libsa.a | (  while read symbol file; do  [ -z "$file" ] &&
continue;  [ "$symbol" = real_to_prot ] && break;  done;  while
oifs="$
IFS";  IFS='()';  set -- $file;  IFS="$oifs";  [ -n "$2" ] && echo
"/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/i386/$2";  read
file
 rest && [ -z "$rest" ];  do :;  done;  ) )";
/usr/src/../tools/bin/x86_64--netbsd-gcc -o boot.tmp  -nostdlib -Wl,-N
-Wl,-e,boot_start -Wl,-m
,elf_i386  -Wl,-Ttext,0  -Wl,-Map,boot.map -Wl,-cref biosboot.o
boot2.o conf.o devopen.o exec.o vers.o $bb
/usr/src/../obj/sys/arch/i386/stand
/boot/biosboot/lib/i386/libi386.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/sa/libsa.a
/usr/src/../obj/sys/arch/i386/stand/boot/bi
osboot/lib/z/libz.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/kern/libkern.a
/usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib
/i386/libi386.a /usr/src/../obj/sys/arch/i386/stand/boot/biosboot/lib/sa/libsa.a
boot2.o: In function `atoi':
boot2.c:(.text+0xb): undefined reference to `__stack_chk_guard'
boot2.c:(.text+0x48): undefined reference to `__stack_chk_guard'
boot2.c:(.text+0x4f): undefined reference to `__stack_chk_fail'


Home | Main Index | Thread Index | Old Index