Re: Bug#913710: boost1.67: FTBFS on kfreebsd: failed updating 2 targets

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Bug#913710: boost1.67: FTBFS on kfreebsd: failed updating 2 targets

Giovanni Mascellani-3
Hi,

Il 14/11/18 10:00, Emilio Pozuelo Monfort ha scritto:
> libs/fiber/src/numa/freebsd/pin_thread.cpp:13:10: fatal error: sys/thread.h: No such file or directory

freebsd/pin_thread.cpp is basically a wrapper over cpuset_setaffinity,
while linux/pin_thread.cpp is the same wrapper over
pthread_setaffinity_np. I believe that even if the kernel is FreeBSD
(which triggers the "freebsd" code to be used), the right thing to do is
use pthread and so the "linux" code. I will try to implement that patch.

Giovanni.
--
Giovanni Mascellani <[hidden email]>
Postdoc researcher - Université Libre de Bruxelles


signature.asc (235 bytes) Download Attachment