unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Fri, 21 May 2010 18:57:41 +0200	[thread overview]
Message-ID: <4BF6BB85.3010504@alice.it> (raw)
In-Reply-To: <83vdahz0v0.fsf@gnu.org>

Il 21/05/2010 18.16, Eli Zaretskii ha scritto:
>> Date: Fri, 21 May 2010 16:53:15 +0200
>> From: Angelo Graziosi<angelo.graziosi@alice.it>
>>
>> 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 1
>
> It 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 1

But 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.



  reply	other threads:[~2010-05-21 16:57 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 14:53 Bootstrap failure using 'make -j4' [Cygwin] Angelo Graziosi
2010-05-21 16:16 ` Eli Zaretskii
2010-05-21 16:57   ` Angelo Graziosi [this message]
2010-05-21 17:43     ` Eli Zaretskii
2010-05-21 17:59     ` Eli Zaretskii
2010-05-21 18:45       ` Eli Zaretskii
2010-05-21 22:45       ` Angelo Graziosi
2010-05-22  6:57         ` Eli Zaretskii
2010-05-22  7:16           ` Glenn Morris
2010-05-22  7:29             ` Glenn Morris
2010-05-22  8:19             ` Eli Zaretskii
2010-05-22 11:20               ` Andreas Schwab
2010-05-22 12:53                 ` Eli Zaretskii
2010-05-22 11:00           ` Jan Djärv
2010-05-22 12:46             ` Eli Zaretskii
2010-05-22 13:00               ` Jan Djärv
2010-05-22 13:06                 ` David Engster
2010-05-22 13:45                   ` Jan Djärv
2010-05-22 13:21                 ` Eli Zaretskii
2010-05-22 13:41                   ` David Engster
2010-05-22 14:00                     ` Jan Djärv
2010-05-22 13:54                   ` Jan Djärv
2010-05-22 14:10                     ` Eli Zaretskii
2010-05-22 13:35           ` Angelo Graziosi
2010-05-22 14:08             ` Eli Zaretskii
2010-05-23 11:51           ` Angelo Graziosi
2010-05-23 17:12             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF6BB85.3010504@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).