On Thursday 29 May 2008 19:31, Bernd Schmidt wrote: > Denys Vlasenko wrote: > > I noticed that uclibc build system is broken. > > After I touch a file, running make won't rebuild it. > > As far as I can tell, only files that go into libc.so and not into > libc.a, such as forward.c from libpthread, are affected. This seems to > have been broken by revision 12519, which changed some Makefiles to give > rules to build lib/libc.so, but the target we're trying to build is > still lib/libc.so.0. > > > So I decided to replace build system, using my > > experience in replacing build system for busybox. > > We can't rewrite entire subsystems everytime we find a bug. Better to > understand what's wrong: in this case the fix is quite simple. Try the > patch below.
Patch works just fine, thanks. I also ran some automatic testing and it seems that all .c files are properly tracked by build system - whenever I touch one and run make, it gets rebuilt. None of include files are tracked, though. "find -name '*.h' | xargs touch" + "make" only runs oldconfig but does not rebuild any object files. -- vda _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
