Date: Thu, 3 Sep 1998 07:51:14 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: jdp@polstra.com (John Polstra) Cc: jb@cimlogic.com.au, mark@grondar.za, current@FreeBSD.ORG Subject: Re: B CURRENT Build environment (Was: Re: Why no ldconfig for ELF?) Message-ID: <199809022151.HAA00120@cimlogic.com.au> In-Reply-To: <199809022118.OAA25182@austin.polstra.com> from John Polstra at "Sep 2, 98 02:18:43 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote: > > WORLDTMP is private to the `make world' build system which is > > private to the top level makefiles. No other makefiles should know > > about these. They should rely on the environment variables that the > > tools naturally look for. > > The problem, as I understand it, is that the new perl has to run as > part of the build process. It has some dynamically loaded modules > that aren't installed yet, and that aren't in any of the standard > WORLDTMP library locations. Mark needs a way for the dynamic linker > to be able to find those modules. The bootstrap build of aout->aout or elf->elf uses MK_FLAGS to set NOSHARED=1 for the initial build of something, installing that something into WORLDTMP which is in the path. It cleans the directory and goes back later without NOSHARED and builds the shared version for real, running the static version in WORLDTMP as needed. My guess is that bootstrapping Perl5 is like I had to bootstrap Perl4 on alpha where there was no perl installed at all. This involved adding _perl= gnu/usr.bin/perl/perl to build just perl in the lib-tools target of Makefile.inc1, but not the other perl subdirectories (which are the ones that try to _run_ perl). This should "just work" (TM). -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809022151.HAA00120>