GNU bug report logs - #11379
emacs 24; compilation fails in debug mode

Previous Next

Package: emacs;

Reported by: Dov Grobgeld <dov.grobgeld <at> gmail.com>

Date: Sun, 29 Apr 2012 17:44:02 UTC

Severity: minor

Tags: wontfix

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11379 in the body.
You can then email your comments to 11379 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11379; Package emacs. (Sun, 29 Apr 2012 17:44:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dov Grobgeld <dov.grobgeld <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 29 Apr 2012 17:44:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dov Grobgeld <dov.grobgeld <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs 24; compilation fails in debug mode
Date: Sun, 29 Apr 2012 20:41:46 +0300
[Message part 1 (text/plain, inline)]
Chucking out git head (git commit e3e392d from git://repo.or.cz/emacs.git)
and doing a debug build as described below
fails. The compilation looks for the non-existing file "chkmalloc.h".

Here are the steps that I performed:

  ./autogen.sh
  ./configure --prefix=/usr/local/public-dev/ CPPFLAGS=-DDEBUG CFLAGS="-g
-O0"
  make

which fails as follows:

gcc -std=gnu99     -DHAVE_CONFIG_H -I. -I../src -I../lib
-I/space/pub-repos/emacs.git/lib-src
-I/space/pub-repos/emacs.git/lib-src/../src
-I/space/pub-repos/emacs.git/lib-src/../lib  -Wl,-znocombreloc  -DDEBUG -g
-O0 -DEMACS_NAME="\"GNU Emacs\"" \
  -DVERSION="\"24.1.50\"" /space/pub-repos/emacs.git/lib-src/etags.c \
  regex.o ../lib/libgnu.a  -o etags
/space/pub-repos/emacs.git/lib-src/etags.c:233:24: fatal error:
chkmalloc.h: No such file or directory

System is: Linux grower 3.3.2-6.fc16.i686 #1 SMP Sat Apr 21 13:23:12 UTC
2012 i686 i686 i386 GNU/Linux

Regards,
Dov
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11379; Package emacs. (Mon, 30 Apr 2012 18:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 11379 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dov Grobgeld <dov.grobgeld <at> gmail.com>
Cc: 11379 <at> debbugs.gnu.org
Subject: Re: bug#11379: emacs 24; compilation fails in debug mode
Date: Mon, 30 Apr 2012 14:16:32 -0400
Dov Grobgeld wrote:

>   ./configure --prefix=/usr/local/public-dev/ CPPFLAGS=-DDEBUG CFLAGS="-g
> -O0"

FYI, there is no "debug mode" for compiling Emacs.
Or rather, if there is, it is to configure with --enable-checking or
something similar.

-DDEBUG appears to be something that the authors of a few specialized
files have used for their own convenience; or was inherited from files
that also lived outside Emacs at one time. So I wouldn't expect to get
much out of trying to compile all of Emacs with it (why did you try?).

In the particular case of etags, it may well be referring to some
external .h file that the maintainer wrote for his own use.
(maybe http://fly.isti.cnr.it/pub/software/C/chkmalloc.h ?)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11379; Package emacs. (Mon, 30 Apr 2012 22:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 11379 <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Dov Grobgeld <dov.grobgeld <at> gmail.com>, 11379 <at> debbugs.gnu.org
Subject: Re: bug#11379: emacs 24; compilation fails in debug mode
Date: Tue, 01 May 2012 00:15:10 +0200
>Dov Grobgeld wrote:
>
>>   ./configure --prefix=/usr/local/public-dev/ CPPFLAGS=-DDEBUG CFLAGS="-g
>> -O0"
>
>FYI, there is no "debug mode" for compiling Emacs.
>Or rather, if there is, it is to configure with --enable-checking or
>something similar.
>
>-DDEBUG appears to be something that the authors of a few specialized
>files have used for their own convenience; or was inherited from files
>that also lived outside Emacs at one time. So I wouldn't expect to get
>much out of trying to compile all of Emacs with it (why did you try?).
>
>In the particular case of etags, it may well be referring to some
>external .h file that the maintainer wrote for his own use.
>(maybe http://fly.isti.cnr.it/pub/software/C/chkmalloc.h ?)

Yes, that's it.  It makes no sense using -DDEBUG while compiling etags
outside of the development environment I use to maintain etags.




bug closed, send any further explanations to 11379 <at> debbugs.gnu.org and Dov Grobgeld <dov.grobgeld <at> gmail.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 May 2012 06:40:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 May 2012 06:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 May 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.