bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20136: 25.0.50; [PATCH] Fix broken libpthread detection


From: Wolfgang Jenkner
Subject: bug#20136: 25.0.50; [PATCH] Fix broken libpthread detection
Date: Fri, 20 Mar 2015 01:47:47 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (berkeley-unix)

On Thu, Mar 19 2015, Paul Eggert wrote:

> So I installed the attached patch instead, which I tested
> on Fedora 21 x86-64 and on FreeBSD 9.1 x86-64.

Thanks, this works on FreeBSD 10.1-STABLE, too.

> More generally, if we're worried only about Emacs's runtime behavior,
> is there anything wrong with compiling with the equivalent
> of -D_THREAD_SAFE -lpthread?

IIUC, -D_THREAD_SAFE or other flags are not needed on FreeBSD (since 7,
at least), linking with -lpthread should be enough since all pthread_
symbols in the shared libc are weak.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]