GNU bug report logs - #13408
Emacs pretest 24.2.92 - compilation error on AIX 5.3 using gcc 4.7-2

Previous Next

Package: emacs;

Reported by: Gilles Pion <gpion <at> lfdj.com>

Date: Thu, 10 Jan 2013 17:48:02 UTC

Severity: important

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Gilles Pion <gpion <at> lfdj.com>
Subject: bug#13408: closed (Re: Emacs pretest 24.2.92 - compilation error
 on AIX 5.3 using gcc 4.7-2)
Date: Fri, 11 Jan 2013 08:04:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13408: Emacs pretest 24.2.92 - compilation error on AIX 5.3 using gcc 4.7-2

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13408 <at> debbugs.gnu.org.

-- 
13408: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13408
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 13408-done <at> debbugs.gnu.org
Subject: Re: Emacs pretest 24.2.92 - compilation error on AIX 5.3 using gcc
	4.7-2
Date: Fri, 11 Jan 2013 00:03:39 -0800
Glenn's suggestion for moving handle_danger_signal and deliver_danger_signal
seems good, so I installed a patch to do that, as emacs-24 bzr 111170.

The other problem is due to a stray '*'.  This was fixed a while ago
in the trunk, so I backported that to emacs-24 as bzr 111171.

I'll be optimistic and close the bug as fixed; if I'm wrong I'll
reopen it.

Here are the URLs for these two fixes.

http://bzr.savannah.gnu.org/lh/emacs/emacs-24/revision/111170

http://bzr.savannah.gnu.org/lh/emacs/emacs-24/revision/111171

[Message part 3 (message/rfc822, inline)]
From: Gilles Pion <gpion <at> lfdj.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>
Subject: Emacs pretest 24.2.92 - compilation error on AIX 5.3 using gcc 4.7-2
Date: Thu, 10 Jan 2013 18:46:18 +0100
[Message part 4 (text/plain, inline)]
*1st compilation error:*

sysdep.c: In function 'init_signals':
sysdep.c:1940:34: error: 'deliver_danger_signal' undeclared (first use in
this function)
sysdep.c:1940:34: note: each undeclared identifier is reported only once
for each function it appears in
gmake[1]: *** [sysdep.o] Error 1
gmake[1]: Leaving directory
`/sg/paxdev5/D1stunix/src/emacs/24.2.92/emacs-24.2.92/src'
gmake: *** [src] Error 2

Have bee able to fix by adding declaration of "deliver_danger_signal"
in  sysdep.c:

  void deliver_danger_signal (int sig);

*2nd compilation error:*
(did not found a easy way to fix)

/fdj/opt/gcc-4.7/bin/gcc -std=gnu99 -c  -Demacs  -I.
-I/sg/paxdev5/D1stunix/src/emacs/24.2.92/emacs-24.2.92/src -I../lib
-I/sg/paxdev5/D1stunix/src/emacs/24.2.92/emacs-24.2.92/src/../lib
    -MMD -MF deps/eval.d -MP     -O2 -I/opt/freeware/include eval.c
eval.c: In function 'mark_backtrace':
eval.c:3380:20: error: invalid type argument of unary '*' (have
'Lisp_Object')
gmake[1]: *** [eval.o] Error 1
gmake[1]: Leaving directory
`/sg/paxdev5/D1stunix/src/emacs/24.2.92/emacs-24.2.92/src'
gmake: *** [src] Error 2
*
*
Context:

$ /fdj/opt/gcc-4.7/bin/gcc --version
gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


  Where should the build process find the source code?
 /sg/paxdev5/D1stunix/src/emacs/24.2.92/emacs-24.2.92
  What compiler should emacs be built with?
/fdj/opt/gcc-4.7/bin/gcc -std=gnu99 -O2 -I/opt/freeware/include
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no
  Does Emacs use -lpng?                                   no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use imagemagick?                             no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                no
  Does Emacs use -lxml2?                                  no
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use toolkit scroll bars?                     no


-- 
Gilles PION
[Message part 5 (text/html, inline)]
[config.txt (text/plain, attachment)]

This bug report was last modified 12 years and 194 days ago.

Previous Next


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