Subject: mkpicinstall=no & ld.elf_so
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 01/03/2002 19:21:22
I don't think one can currently build the world with MKPICINSTALL=no.. Typed
from another screen:

Highlights from /etc/mk.conf:
MKLINT=no
MKPICINSTALL=no
MKPROFILE=no

make: stopped in /usr/src/libexec/ld.elf_so

/usr/src/tools/obj.i386/tools.NetBSD-1.5ZA-i386/bin/i386--netbsdelf-ld
  -Bshareable -Bsymbolic -e .rtld_start -o ld.self_so rtld_start.o rtld.o
  reloc.o symbol.o malloc.o xmalloc.o xprintf.o debug.o map_object.o load.o
  search.o headers.o paths.o -non_shared -L/usr/lib -lc_pic
/usr/src/tools/obj.i386/tools.NetBSD-1.5ZA-i386/bin/i386--netbsdelf-ld:
  cannot find -lc_pic

Rebuilt with
MKLINT=no
MKPROFILE=no
and all is OK

Cheers,

Patrick