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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Thomas Klausner <wiz <at> NetBSD.org>
Subject: bug#39363: closed (Re: bug#39363: emacs-git version:
 pthread_setname_np on NetBSD)
Date: Mon, 03 Feb 2020 15:42:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#39363: emacs-git version: pthread_setname_np on NetBSD

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 39363 <at> debbugs.gnu.org.

-- 
39363: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39363
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39363-done <at> debbugs.gnu.org, wiz <at> NetBSD.org
Subject: Re: bug#39363: emacs-git version: pthread_setname_np on NetBSD
Date: Mon, 03 Feb 2020 16:41:42 +0100
>>>>> On Mon, 03 Feb 2020 17:35:18 +0200, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Date: Mon, 03 Feb 2020 12:37:02 +0100
    >> Cc: 39363 <at> debbugs.gnu.org
    >> 
    >> >>> Untested patch (I donʼt have any NetBSD machines).
    >> 
    Thomas> Works for me. Thank you!
    >> 
    >> Thanks for testing. Eli, emacs-27 I presume?

    Eli> Yes, thanks.

Done. Closing bug.

Robert

[Message part 3 (message/rfc822, inline)]
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 4 (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.