all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: 39363@debbugs.gnu.org
Subject: bug#39363: emacs-git version: pthread_setname_np on NetBSD
Date: Fri, 31 Jan 2020 09:48:13 +0200	[thread overview]
Message-ID: <83y2tokqwy.fsf@gnu.org> (raw)
In-Reply-To: <20200130230213.z5fkdsj2zjodhjrc@danbala> (message from Thomas Klausner on Fri, 31 Jan 2020 00:02:13 +0100)

> Date: Fri, 31 Jan 2020 00:02:13 +0100
> From: Thomas Klausner <wiz@NetBSD.org>
> 
> Recently, emacs from git stopped compiling on NetBSD because it
> started using pthread_setname_np. AFAIK, there is no commonly agreed
> upon standard for this function, and NetBSD's uses three arguments, see
> https://netbsd.gw.com/cgi-bin/man-cgi?pthread_setname_np++NetBSD-current
> 
> The attached patch makes emacs compile again (on NetBSD-9.99.43/amd64)
> but configure should probably be taught to look for that version of
> pthread_setname_np instead of the #ifdef __NetBSD__.

I think we want instead to modify the configure-time test to include
the possibility of 3-argument pthread_setname_np.

Thanks.





  reply	other threads:[~2020-01-31  7:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-30 23:02 bug#39363: emacs-git version: pthread_setname_np on NetBSD Thomas Klausner
2020-01-31  7:48 ` Eli Zaretskii [this message]
2020-01-31  9:02   ` Robert Pluim
2020-01-31 17:09     ` Thomas Klausner
2020-02-03 11:37       ` Robert Pluim
2020-02-03 15:35         ` Eli Zaretskii
2020-02-03 15:41           ` Robert Pluim

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y2tokqwy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39363@debbugs.gnu.org \
    --cc=wiz@NetBSD.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.