|
From: | Paul Eggert |
Subject: | Re: [PATCH] emacs-25 dynamic modules support not compiling on FreeBSD 10.x |
Date: | Tue, 15 Dec 2015 23:13:42 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Ashish SHUKLA wrote:
thrd_current(3)[1] on FreeBSD 10.x requires -lstdthreads to be included in libraries, or you'll get linker error about missing `thrd_current'.
Thanks for reporting this. Although at some point we'll need to port Emacs to C11 threads, currently we should focus on fixing bugs and not new projects like that. (As far as I know, all current platforms that have C11 threads also have a thread mechanism that Emacs already uses, so the C11-thread-porting project is not urgent.) So, instead of worrying about configuring -lstdthreads I installed the attached patch so that -lstdthreads should not be necessary. Please give it a try on FreeBSD 10.x.
0001-Remove-attempt-to-use-C11-threads.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |