From: Garrett C. <yan...@gm...> - 2009-11-06 20:25:36
|
On Fri, Nov 6, 2009 at 11:59 AM, Andi Kleen <an...@fi...> wrote: > On Fri, Nov 06, 2009 at 02:43:35PM -0500, Nate Straz wrote: >> On Nov 6 20:13, Andi Kleen wrote: >> > > So yes, there are known issues with using make versions <3.81. The >> > >> > For me it seems more the known issue is in the Makefile. 3.80 >> > is a widely used Make version. >> > >> > > reason being that some macros and functions that I use to determine >> > > absolute path, etc were not available in make 3.80. >> > >> > Most of my infrastructure in test systems is based on SUSE 10.0 >> > and it's impractical to upgrade make everywhere. >> >> openSUSE 10.3 does include make-3.81. I hope upgrading to the latest >> point release won't disrupt your test systems. > > It does; anything udev based has unacceptable boot time penalty > with nfsroot. That's why they are still on 10.0. Andi, You can actually cross-compile, use out-of-build-tree and bootstrap the system so it can effectively netboot with LTP installed. This is something that we're doing in Cisco today, and it's something I highly recommend doing -- especially if you have higher quality hardware with newer OS'es doing the building for you. Granted, it does require more work setting everything up from scratch, but once the work is done, it's a lot easier as far as long-term maintenance is concerned if you're developing regularly on a particular revisioned code-base. I'm more than happy to provide solutions, but they need to be functional, stable, and easy-to-maintain longterm. Providing hacks for make 3.80 isn't necessarily a good thing for the project to support and it may not even solve your problem 100% (you may run into stability issues using $(shell readlink -f "") instead of $(abspath ). Then it comes back to tools -- I'm basically going to have to write checks in autoconf to make sure that readlink does as planned (isn't broken), and it's going to be more painful for you performance wise to have this hack in place, as opposed to just having an upgraded version of make, which also has resolved several bugs between 3.80 and 3.81. HTH, -Garrett |