Hi, I've been using a NetBSD-current/amd64 system to build netbsd-6 i386 and amd64 kernels and sets ever since the netbsd-6 branch was created. This used to work fine, but with the latest netbsd-6 sources an amd64 distribution build fails with
dependall ===> usr.sbin/npf/npfctl # link npfctl/npfctl /usr/src/tooldir/bin/x86_64--netbsd-gcc --sysroot=/usr/src/obj.amd64/destdir.amd64 -o npfctl npfctl.o npf_var.o npf_data.o npf_ncgen.o npf_build.o npf_extmod.o npf_disassemble.o npf_scan.o npf_parse.o -lnpf -lprop -lcrypto -lutil -ly -Wl,-dynamic-linker=/libexec/ld.elf_so -Wl,-rpath,/lib -L=/lib /lib/libcrypt.so.1: undefined reference to `__explicit_bzero' collect2: ld returned 1 exit status It looks like the build system is using current version /lib/libcrypt.so rather than the netbsd-6 version. Is this a known issue or have I somehow messed up my build system? i386 builds fine, as do tools and kernel. My build command is ./build.sh -T tooldir -O obj.amd64 distribution Regards, Sverre
