unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Miguel Ruiz <rbenit68@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs crashes when I try to quit
Date: Thu, 04 Apr 2013 19:45:19 +0300	[thread overview]
Message-ID: <83wqsifdnk.fsf@gnu.org> (raw)
In-Reply-To: <CADA__h+B1nbVu2xtrYatMToh8vSfGmstHHX4uiP2RpdCtMp+wg@mail.gmail.com>

> Date: Thu, 4 Apr 2013 07:45:59 +0200
> From: Miguel Ruiz <rbenit68@gmail.com>
> 
> AFAIK,  libgcc_s_dw2-1.dll is statically linked so it is irrelevant the
> origin of the file.

A DLL can never be statically linked.

If you want to be sure whether or not your executables depend on that
DLL, use the "depends" tool, which you can download from the net --
just run it as in "depends emacs.exe" and it will show a window with
all the DLLs that the binary wants to load.  Or use objdump that you
already have, like this:

  objdump -x emacs.exe | fgrep "DLL Name:"

The latter only shows the names of the DLLs, not their absolute file
names.

> I have experienced the same crashes and I can confirm two things:
> - No crashes with gcc v3.x.x
> - No crashes with gcc v4.5 sjlj
> 
> And this thread<http://sourceforge.net/mailarchive/message.php?msg_id=27481215>might
> confirm the last point.
> 
> Now I am going to build with tdm-gcc-4.7.1-2
> <http://tdm-gcc.tdragon.net/download>MinGW
> sjlj <http://tdm-gcc.tdragon.net/download>, and test stability. If anyone
> would like to test my binaries, please, let me know: I will be pleased.

If the above methods show that your binary depends on
libgcc_s_dw2-1.dll, you _must_ tell your users which one of them is
actually linked into the binary.  The "depends" tool will show you a
full path to the DLL which the binary will use, and the linker links
against the DLL which came with the version of GCC you used to compile
Emacs.  You should tell the users "get libgcc_s_dw2-1.dll from GCC
version 4.x.y that you find on this-and-that site".

Thanks.



  reply	other threads:[~2013-04-04 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04  5:45 Emacs crashes when I try to quit Miguel Ruiz
2013-04-04 16:45 ` Eli Zaretskii [this message]
2013-04-04 18:30   ` Miguel Ruiz
2013-04-04 18:41     ` Eli Zaretskii
2013-04-05  0:07   ` Daniel Colascione
2013-04-05  6:09     ` Eli Zaretskii
     [not found] <CAAGqPs445D=pQKbnXO4u6Kuak+ysdem-NN9KDCuaTTsXfcwr+w@mail.gmail.com>
2013-04-03 15:32 ` Eli Zaretskii
2013-04-03 15:47   ` Sawbones Surio

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=83wqsifdnk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rbenit68@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 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).