From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: ABI incompatibilities with MinGW GCC 4.7.0 Date: Fri, 08 Jun 2012 11:11:01 +0300 Message-ID: <83ipf2ustm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339143075 5316 80.91.229.3 (8 Jun 2012 08:11:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 08:11:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 08 10:11:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScuHq-0002uA-6F for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2012 10:11:14 +0200 Original-Received: from localhost ([::1]:33800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScuHp-0002H0-ST for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2012 04:11:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScuHj-0002Gk-BC for emacs-devel@gnu.org; Fri, 08 Jun 2012 04:11:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScuHe-0002X1-KO for emacs-devel@gnu.org; Fri, 08 Jun 2012 04:11:06 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:33380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScuHe-0002Wt-C6 for emacs-devel@gnu.org; Fri, 08 Jun 2012 04:11:02 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M5A00A00HBVMI00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 08 Jun 2012 11:11:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5A00A0HHECMN00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 08 Jun 2012 11:11:00 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150827 Archived-At: 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.