all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: eggert@cs.ucla.edu
Cc: lekktu@gmail.com, 12327@debbugs.gnu.org
Subject: bug#12327: Signal-handler cleanup for Emacs
Date: Fri, 07 Sep 2012 10:26:17 +0300	[thread overview]
Message-ID: <83392ucmzq.fsf@gnu.org> (raw)
In-Reply-To: <834nnacqw3.fsf@gnu.org>

> Date: Fri, 07 Sep 2012 09:02:04 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: lekktu@gmail.com, 12327@debbugs.gnu.org
> 
> This doesn't compile on Windows:
> 
>   gcc -I. -c -gdwarf-2 -g3  -DEMACSDEBUG -fno-crossjumping  -Id:/usr/include/libxml2 -DGLYPH_DEBUG=1 -Demacs=1 -I../lib -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o oo/i386/editfns.o editfns.c
>   alloc.c: In function `die':
>   alloc.c:6716: error: `SIGABRT' undeclared (first use in this function)
>   alloc.c:6716: error: (Each undeclared identifier is reported only once
>   alloc.c:6716: error: for each function it appears in.)
>   makefile:322: recipe for target `oo/i386/alloc.o' failed
>   make[1]: *** [oo/i386/alloc.o] Error 1
>   make[1]: *** Waiting for unfinished jobs....
>   make[1]: Leaving directory `D:/gnu/bzr/emacs/trunk/src'
>   makefile:432: recipe for target `all-other-dirs-gmake' failed
>   make: *** [all-other-dirs-gmake] Error 2

Actually, this isn't Windows-specific, it happens in any build that
specifies --enable-checking.

Fixed by revision 109918 on the trunk.

The following link failure _is_ Windows-specific, stand by for a fix.

  gcc -o oo/i386/temacs.bin  -gdwarf-2 -g3    -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo/i386/temacs.map oo/i386/firstfile.o oo/i386/emacs.res oo/i386/temacs0.a oo/i386/temacs1.a       oo/i386/temacs2.a       oo/i386/lastfile.a      ../lib/oo/i386/libgnu.a         -lwinmm         -ladvapi32      -lgdi32         -lcomdlg32      -luser32        -lmpr           -lshell32       -lwinspool      -lole32         -lcomctl32      -lusp10
  oo/i386/temacs0.a(emacs.o)(.text+0x1066): In function `main':
  D:\gnu\bzr\emacs\trunk\src/emacs.c:1129: undefined reference to `sigaction'
  oo/i386/temacs0.a(emacs.o)(.text+0x1091):D:\gnu\bzr\emacs\trunk\src/emacs.c:1133: undefined reference to `sigaction'
  oo/i386/temacs0.a(emacs.o)(.text+0x10ff):D:\gnu\bzr\emacs\trunk\src/emacs.c:1157: undefined reference to `sigaction'
  oo/i386/temacs0.a(emacs.o)(.text+0x111a):D:\gnu\bzr\emacs\trunk\src/emacs.c:1184: undefined reference to `sigaction'
  oo/i386/temacs0.a(emacs.o)(.text+0x1135):D:\gnu\bzr\emacs\trunk\src/emacs.c:1188: undefined reference to `sigaction'
  oo/i386/temacs0.a(emacs.o)(.text+0x1159):D:\gnu\bzr\emacs\trunk\src/emacs.c:1198: more undefined references to `sigaction' follow
  collect2: ld returned 1 exit status
  makefile:501: recipe for target `oo/i386/temacs.exe' failed
  make[1]: *** [oo/i386/temacs.exe] Error 1
  make[1]: Leaving directory `D:/gnu/bzr/emacs/trunk/src'
  makefile:432: recipe for target `all-other-dirs-gmake' failed
  make: *** [all-other-dirs-gmake] Error 2





  reply	other threads:[~2012-09-07  7:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-01 22:38 bug#12327: Signal-handler cleanup for Emacs Paul Eggert
2012-09-02 17:51 ` Eli Zaretskii
2012-09-02 18:37   ` Eli Zaretskii
2012-09-02 19:01   ` Paul Eggert
2012-09-02 21:20     ` Eli Zaretskii
2012-09-03  8:16       ` Paul Eggert
2012-09-03  8:49         ` Andreas Schwab
2012-09-03  9:02           ` Paul Eggert
2012-09-03  9:17             ` Andreas Schwab
2012-09-04  8:12               ` Paul Eggert
2012-09-06 11:59                 ` Andy Moreton
2012-09-06 14:41                   ` martin rudalics
2012-09-06 16:46                     ` Eli Zaretskii
2012-09-06 16:54                       ` Andy Moreton
2012-09-06 17:20                         ` Eli Zaretskii
2012-09-06 17:37                       ` martin rudalics
2012-09-03 15:32         ` Eli Zaretskii
2012-09-07  1:35 ` Paul Eggert
2012-09-07  6:02   ` Eli Zaretskii
2012-09-07  7:26     ` Eli Zaretskii [this message]
2012-09-07  8:27       ` Eli Zaretskii
2012-09-07  8:59         ` Paul Eggert
2012-09-07 10:21           ` 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

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

  git send-email \
    --in-reply-to=83392ucmzq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=12327@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=lekktu@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.