Subject: Re: building ld.so
To: None <jiho@postal.c-zone.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 06/05/1998 14:14:59
On Fri, 05 Jun 1998 14:28:45 -0000 (GMT)
jiho@postal.c-zone.net wrote:
> Meanwhile, the NetBSD-current /usr/src/gnu/usr.bin/ld/rtld/Makefile hack
> makes no difference. It just causes the libc_pic.a in /usr/src/lib/libc
> to be used instead of the one in /usr/lib. The link phase still bombs
> out on conflicting definitions for the malloc functions.
>
> So I'm STILL wondering how ld.so gets built for the distribution. The
> source you refer to for MIPS and Alpha looks no different than the
> source I've got, except it's for ELF instead of a.out. I doubt if
> yours would actually build using its supplied Makefile, any better than
> mine does.
For MIPS and Alpha, ld.so is not built from src/gnu/usr.bin/ld/rtld. It's
build from src/libexec/ld.elf_so, and the installed version is called
ld.elf_so.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 428 6939