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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Klausner <wiz <at> NetBSD.org>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs-git version: pthread_setname_np on NetBSD
Date: Fri, 31 Jan 2020 00:02:13 +0100
[Message part 1 (text/plain, inline)]
Hi!

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__.

Thanks,
 Thomas
[patch-src_systhread.c (text/plain, attachment)]

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

Previous Next


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