From owner-cvs-all Sat Nov 2 16:48:38 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17B6637B401; Sat, 2 Nov 2002 16:48:37 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 623CE43E6E; Sat, 2 Nov 2002 16:48:36 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gA30mZpk073349; Sat, 2 Nov 2002 17:48:35 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 02 Nov 2002 17:47:33 -0700 (MST) Message-Id: <20021102.174733.06247984.imp@bsdimp.com> To: sgk@troutmask.apl.washington.edu Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio Makefile.inc findfp.c src/share/examples/etc make.conf src/share/man/man5 make.conf.5 From: "M. Warner Losh" In-Reply-To: <20021103004429.GB30494@troutmask.apl.washington.edu> References: <20021103111644.A43637@dilbert.robbins.dropbear.id.au> <20021102.173513.57626967.imp@bsdimp.com> <20021103004429.GB30494@troutmask.apl.washington.edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20021103004429.GB30494@troutmask.apl.washington.edu> Steve Kargl writes: : On Sat, Nov 02, 2002 at 05:35:13PM -0700, M. Warner Losh wrote: : > Yea. Right now you should be linking with libc.so.4 if you want to : > use programs or libraries built against libc.so.4. The missing symbol : > is telling you that you are doing something wrong. I don't know what : > other daragons there are between the .4 and .5 versions of libc.so, : > but this may be the only thing that is telling you that it will fail : > in mysterious ways. : > : : Then COMPAT4X needs to install a complete set of libraries : and the crt* files. As I already posted at least twice, I : can kludge the linking against libc.so.4. but there are no : /usr/lib/compat/crt* files nor /usr/lib/compat/libm* files. Yes, I know. If you want to cross build with 4.x binaries, something the project has never guaranteed would work with 5.x (or any cross major release), then you need to create your own cross build world. Otherwise, cross threading libraries like you've pointed out is doomed to failure. It only kinda works now because you've not hit any of the other landmines that await you in the major version bump of libc.so, most of which people haven't bothered to document. Maybe the project should help providing people with such cross build environments, but today we don't. It would be a change that we'd need to somehow integrate the infrastructure to support. That infrastructure isn't there right now :-(. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message