From: Miguel Ruiz <rbenit68@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs crashes when I try to quit
Date: Thu, 4 Apr 2013 20:30:26 +0200 [thread overview]
Message-ID: <CADA__hJwEoQU+zuPTR73oKYoDZ54Mi=rBV0utk2ndid8J2=yWw@mail.gmail.com> (raw)
In-Reply-To: <83wqsifdnk.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2726 bytes --]
> A DLL can never be statically linked.
I meant "every dependent compiled object included in the libgcc_s_dw2-1.dll
is 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:"
Official emacs.exe, 2013-03-13 14:38, 9.031.038 bytes
objdump -x emacs.exe | fgrep "DLL Name:" yields
DLL Name: ADVAPI32.DLL
DLL Name: COMCTL32.DLL
DLL Name: COMDLG32.DLL
DLL Name: GDI32.dll
DLL Name: KERNEL32.dll
DLL Name: MPR.DLL
DLL Name: msvcrt.dll
DLL Name: OLE32.dll
DLL Name: SHELL32.DLL
DLL Name: USER32.dll
DLL Name: USP10.DLL
DLL Name: WINMM.DLL
DLL Name: WINSPOOL.DRV
So I asume there is no dependency on libgcc_s_dw2-1.dll.
I have always run emacs.exe with no libgcc_s_dw2-1.dll around.
Miguel.
2013/4/4 Eli Zaretskii <eliz@gnu.org>
> > 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.
>
[-- Attachment #2: Type: text/html, Size: 5775 bytes --]
next prev parent reply other threads:[~2013-04-04 18:30 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
2013-04-04 18:30 ` Miguel Ruiz [this message]
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='CADA__hJwEoQU+zuPTR73oKYoDZ54Mi=rBV0utk2ndid8J2=yWw@mail.gmail.com' \
--to=rbenit68@gmail.com \
--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).