|
From: | Angelo Graziosi |
Subject: | Re: Bootstrap failure using 'make -j4' [Cygwin] |
Date: | Fri, 21 May 2010 18:57:41 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Il 21/05/2010 18.16, Eli Zaretskii ha scritto:
Date: Fri, 21 May 2010 16:53:15 +0200 From: Angelo Graziosi<address@hidden> Today, trying to bootstrap Emacs trunk (rev. 100406), using 'make -j4', fails always in the same manner:Thanks for the report, but where's the relevant data? It fails compiling dispnew.c, but the portion of the build you show relates to frame.c, not to dispnew.c. Please show more.I have done many tries... It looks as if, with 'make -j4', it avoids to compile dispnew.c. Indeed I obtain $ grep dispnew build-emacs-gtk-24.0.50-r100405.log make[2]: *** [dispnew.o] Error 1It doesn't avoid. It tries to compile it, but the compilation fails for some reason. The question is what is the reason. Seeing the compiler command and its output might help.
Hmm... perhaps I wasn't clear.In the build log there is *not* track of the command to compile dispnew.c: as you see 'grep' finds only
make[2]: *** [dispnew.o] Error 1But this happens *only* with 'make -j4'! I one uses 'make -j2' the bootstrap is completed and works, and 'dispnew.c' is compiled successfully with:
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/tmp/emacs/src -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1 -D_REENTRANT -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/dispnew.d /tmp/emacs/src/dispnew.c
I know that with '-j4' some time the build can fail, mainly if the CPU is doing other things, and re-trying often solves. But in this case the CPU was working only for Emacs bootstrap and trying many times did not solve: it fails always in the same manner. Only using '-j2' did solve!
It is at least two years I use 'make -j4' on Cygwin to bootstrap Emacs without problems (indeed it worked a week ago...)
Ciao, Angelo.
[Prev in Thread] | Current Thread | [Next in Thread] |