From: Raphael N. <rn...@we...> - 2009-03-01 19:42:02
|
On Sun, 01 Mar 2009 19:44:55 +0100, Raphael Neider <rn...@we...> wrote: > $ rm -rf *; ../configure --prefix=$HOME/sdcc-inst -q && make -s SILENT=1 > && make -s install > creating libtool > configure: WARNING: In the future, Autoconf will not detect cross-tools > whose name does not start with the host triplet. If you think this > configuration is useful to you, please write to aut...@gn.... > gcc: sdcclib.o: No such file or directory > gcc: no input files > make[1]: *** [../../bin/sdcclib] Error 1 > make: *** [sdcc-librarian] Error 2 >which for me even indicates problems with -j1 (or without -j at all, > which should be equivalent to -j1, though I might have aliases for my > make that implicitly add -j4 or -j8, not sure). My fault, this was probably caused by an all-too-eager ccache at work. On my dual-core AMD64 box, r5397 compiles nicely using ../configure --prefix=$HOME/sdcc-inst --without-ccache -q \ && make -j1 -s SILENT=1 With -j8, i.e. ../configure --prefix=$HOME/sdcc-inst --without-ccache -q \ && make -j8 -s SILENT=1 this fails utterly when building the libraries: ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a ar: creating port.a Making all in debug Making all in libc Making clean-intermediate in debug Making clean-intermediate in libc Making clean-intermediate in libdev {Note 1} itoa.asm: No such file or directory make[5]: *** [itoa.o] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 cp: cannot stat `pic16/*/crt0*.o': No such file or directory Making clean-intermediate in libio rm: cannot remove `crtxinit.asm': No such file or directory make[4]: *** [crtxinit.rel] Error 1 {Note 2} make[3]: *** [all] Error 2 Making clean-intermediate in libm Making clean-intermediate in libsdcc Making clean-intermediate in startup Note 1: clean-intermediate is executed in libdev even before `Making all in libdev' (which is never printed due to make aborting). Note 2: crtxinit.asm/.rel is not part of the pic16 port, so this problem is not pic/pic16-specific. What shall we do? Fix at least device/lib/Makefile.in (proposed patch attached, allows compilation with -j8 (and even ccache) for me)? Best regards, Raphael |