From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: ABI incompatibilities with MinGW GCC 4.7.0 Date: Fri, 08 Jun 2012 11:42:41 +0200 Message-ID: References: <83ipf2ustm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339148607 15333 80.91.229.3 (8 Jun 2012 09:43:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 09:43:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 08 11:43:24 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 1Scviy-0002Ua-Qe for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2012 11:43:20 +0200 Original-Received: from localhost ([::1]:56021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scviy-0002rQ-N7 for ged-emacs-devel@m.gmane.org; Fri, 08 Jun 2012 05:43:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scviv-0002rJ-LO for emacs-devel@gnu.org; Fri, 08 Jun 2012 05:43:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Scvip-00044d-IF for emacs-devel@gnu.org; Fri, 08 Jun 2012 05:43:17 -0400 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:51523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Scvii-00043V-L7; Fri, 08 Jun 2012 05:43:04 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 38D9829566A; Fri, 8 Jun 2012 11:43:00 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n8wL90T5Zn0g; Fri, 8 Jun 2012 11:42:52 +0200 (CEST) Original-Received: from exodia.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf3.bahnhof.se (Postfix) with ESMTP id 217CB605057; Fri, 8 Jun 2012 11:42:51 +0200 (CEST) Original-Received: from chopper.vpn.verona.se (DIR-655.verona.se [192.168.200.86]) by exodia.verona.se (Postfix) with ESMTP id EFE9A4E0C63; Fri, 8 Jun 2012 11:42:41 +0200 (CEST) In-Reply-To: <83ipf2ustm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Jun 2012 11:11:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 213.80.101.11 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:150832 Archived-At: Eli Zaretskii writes: > 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. Does this also affect the mingw cross-compiler, on Fedora for example? AFAICS the Fedora mingw libraries are all compiled with the correct versions, but I'm not sure about the ABI incompatibility you describe. -- Joakim Verona