GNU bug report logs -
#39003
27.0.60; MacOS build fails; probably after pthread_setname_np change
Previous Next
Reported by: Pankaj Jangid <p4j <at> j4d.net>
Date: Tue, 7 Jan 2020 07:04:02 UTC
Severity: normal
Merged with 38632
Found in versions 27.0.50, 27.0.60
Fixed in version 27.1
Done: Mattias EngdegÄrd <mattiase <at> acm.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>>>> On Tue, 7 Jan 2020 07:03:36 +0000, Pankaj Jangid <p4j <at> j4d.net> said:
Pankaj> Building on emacs-27. I am getting this error
Pankaj> ```
Pankaj> CC thread.o
Pankaj> CC systhread.o
Pankaj> systhread.c:236:44: error: too many arguments to function call, expected 1, have
Pankaj> 2
Pankaj> pthread_setname_np (*thread_ptr, p_name);
Pankaj> ~~~~~~~~~~~~~~~~~~ ^~~~~~
Pankaj> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:512:1: note:
Pankaj> 'pthread_setname_np' declared here
Pankaj> __API_AVAILABLE(macos(10.6), ios(3.2))
Pankaj> ^
Pankaj> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/Availability.h:496:162: note:
Pankaj> expanded from macro '__API_AVAILABLE'
Pankaj> ...__API_AVAILABLE5, __API_AVAILABLE4, __API_AVAILABLE3, __API_AVAILABLE2, ...
Pankaj> ^
Pankaj> 1 error generated.
Pankaj> make[2]: *** [systhread.o] Error 1
Pankaj> make[1]: *** [src] Error 2
Pankaj> make: *** [bootstrap] Error 2
Pankaj> ```
Pankaj> This is probably due to commit 9063124b9125ed5e2ad87bbb8bd6224526723a92.
Yes. Mattias EngdegÄrd has a patch in process under Bug#38632
Robert
This bug report was last modified 5 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.