GNU bug report logs - #39363
emacs-git version: pthread_setname_np on NetBSD

Previous Next

Package: emacs;

Reported by: Thomas Klausner <wiz <at> NetBSD.org>

Date: Thu, 30 Jan 2020 23:03:02 UTC

Severity: normal

Fixed in version 27.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 39363 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Thomas Klausner <wiz <at> NetBSD.org>
Cc: 39363 <at> debbugs.gnu.org
Subject: Re: bug#39363: emacs-git version: pthread_setname_np on NetBSD
Date: Fri, 31 Jan 2020 09:48:13 +0200
> Date: Fri, 31 Jan 2020 00:02:13 +0100
> From: Thomas Klausner <wiz <at> 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.




This bug report was last modified 5 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.