From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-devel@gnu.org
Subject: Re: ABI incompatibilities with MinGW GCC 4.7.0
Date: Sat, 09 Jun 2012 14:06:48 +0200 [thread overview]
Message-ID: <871ulopu3r.fsf@Rainer.invalid> (raw)
In-Reply-To: 83ipf2ustm.fsf@gnu.org
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 first of these is a red herring. You always needed to know whether
all libraries you link to were produced with '-mms-bitfields' or
'-mno-ms-bitfields' anyway ever since that option was introduced. So
the default changes with 4.7.0, but you can just as easily chose the
former default.
The second change only affects C++ programs AFAICS and it makes
(__thiscall) the default which has been introduced with 4.6.2 (I think).
I can only assume that you can still override it with (__stdcall), but
that means changes to the source. There is a disturbing lack of
consideration for backwards compatibility and I would have expected that
the ABI version is bumped (so one could specify the old default with,
say, -mabi=...). If there's really no way to get the old default back
without qualifying all functions in the source, I'd consider that a
defect that needs to be fixed for 4.7.1.
> (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 still think that simply adding '-mno-ms-bitfields' to the build is all
you need for Emacs
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
next prev parent reply other threads:[~2012-06-09 12:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=871ulopu3r.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--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).