Date: Sat, 02 Nov 2002 17:47:33 -0700 (MST) From: "M. Warner Losh" <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 Message-ID: <20021102.174733.06247984.imp@bsdimp.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20021103004429.GB30494@troutmask.apl.washington.edu> Steve Kargl <sgk@troutmask.apl.washington.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021102.174733.06247984.imp>