unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ABI incompatibilities with MinGW GCC 4.7.0
@ 2012-06-08  8:11 Eli Zaretskii
  2012-06-08  9:42 ` joakim
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Eli Zaretskii @ 2012-06-08  8:11 UTC (permalink / raw)
  To: emacs-devel

See http://sourceforge.net/mailarchive/message.php?msg_id=29376223 and
the following discussion (which is still unfolding) for the details.

The upshot of this, AFAIU, is that the MinGW GCC 4.7.0 should NOT be
used for building Emacs on Windows with any of the optional libraries,
such as image libraries, GnuTLS, libxml2, etc., because _all_ of those
libraries were compiled with versions of GCC before 4.7.0, and are now
ABI incompatible with code compiled by 4.7.0.

(Actually, you cannot safely use the MinGW GCC 4.7.0 for building
Emacs on Windows at all for now, because (a) there's no MinGW runtime
available that is compatible with the new ABI, and (b) you must link
with libxpm.dll, which was compiled by an older GCC.)

I sincerely hope that this incompatibility will either be reverted or
turns out as an insignificant one, because otherwise we will be facing
a lot of subtle and hard to reproduce bugs in the Windows build.  The
only alternative, if this issue is not resolved, is to not upgrade to
GCC 4.7.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-06-09 18:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08  8:11 ABI incompatibilities with MinGW GCC 4.7.0 Eli Zaretskii
2012-06-08  9:42 ` joakim
2012-06-08 10:02   ` Eli Zaretskii
2012-06-09  3:10 ` Jason Rumney
2012-06-09  6:59   ` Eli Zaretskii
2012-06-09 12:06 ` Achim Gratz
2012-06-09 13:09   ` Eli Zaretskii
2012-06-09 14:44     ` Jason Rumney
2012-06-09 14:55       ` Eli Zaretskii
2012-06-09 16:19     ` Achim Gratz
2012-06-09 18:13       ` Eli Zaretskii
2012-06-09 18:55         ` Achim Gratz

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).