unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Windows mingw64 and cygwin builds broken
Date: Fri, 13 Nov 2015 11:23:23 +0000	[thread overview]
Message-ID: <vz1fv0a2lec.fsf@gmail.com> (raw)
In-Reply-To: 83twoqfbwf.fsf@gnu.org

On Fri 13 Nov 2015, Eli Zaretskii wrote:

>> From: Andy Moreton <andrewjmoreton@gmail.com>
>> Date: Fri, 13 Nov 2015 09:58:33 +0000
>> 
>> >> ./dbusbind.c:1704:  DEFSYM (QCdbus_timeout, ":timeout");
>> >> ./w32fns.c:9302:  DEFSYM (QCtimeout, ":timeout");
>> >
>> > Does this mean that your MinGW64 build uses D-Bus?  If so, it
>> > shouldn't use the native w32 tray notifications.  I've pushed a change
>> > to that effect, please test.  If you can afford testing MinGW64 also
>> > without D-Bus, I'd appreciate that.
>> 
>> I dont use D-Bus, but it may be detected by configure in the mingw64
>> build.
>
> Is HAVE_DBUS defined in src/config.h?  Is src/dbusbind.c compiled, and
> do you see src/dbusbind.o in your MinGW64 build?

configure was detecting dbus support (shown in the summary at the end),
so I think it was being compiled in. mingw64 bootstrap of commit
2b4c0c0cefa4 works after adding "--without-dbus" to my build script.

[ backtracce snipped]
> Can you convert this to human-readable backtrace, or run the same
> command under GDB and show a backtrace?

Sorry, I don't have that build any more. I will look again at the weekend.

>> >> Renaming QCdbus_timeout to QCtimeout allows the cygwin-w32 and mingw64
>> >> builds to bootstrap successfully (I don't know if that is the right
>> >> fix though). Should the other keyword argument symbols in dbusbind.c
>> >> also be renamed QCdbus_* -> QC* ?
>> >
>> > I don't understand why dbusbind.c uses such a non-standard naming
>> > convention.  Michael?
>> 
>> If the patch renamed the C symbols to use the normal convention, then it
>> appears that there is no harm in havng two modules declare identical
>> symbols in syms_of_*(). 
>
> Yes, but I still want to understand the reasons for this naming
> convention, and I think we need to avoid calling DEFSYM twice even for
> the same name.

If we want to avoid calling DEFSYM twice (which seems a good idea), then
the C level sumbol names should be available in a header, and common
keyword argument symbols should be DEFSYMed in a module that is always
present regardless of build options.

    AndyM




  reply	other threads:[~2015-11-13 11:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 20:06 Windows mingw64 and cygwin builds broken Andy Moreton
2015-11-12 20:42 ` Eli Zaretskii
2015-11-12 22:01   ` Andy Moreton
2015-11-12 22:12   ` Andy Moreton
2015-11-13  2:11     ` Andy Moreton
2015-11-13  9:11       ` Eli Zaretskii
2015-11-13  9:58         ` Andy Moreton
2015-11-13 10:10           ` Eli Zaretskii
2015-11-13 11:23             ` Andy Moreton [this message]
2015-11-13 10:13         ` Michael Albinus
2015-11-13  9:11     ` Eli Zaretskii
2015-11-13 10:18       ` Andy Moreton
2015-11-13 13:25         ` Eli Zaretskii
2015-11-13 13:39           ` Eli Zaretskii
2015-11-13 14:18           ` Andy Moreton
2015-11-13 14:44             ` Eli Zaretskii
2015-11-13 22:30               ` Andy Moreton
2015-11-14  8:15                 ` Eli Zaretskii

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=vz1fv0a2lec.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --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).