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

Re: Bug#880851: libva: FTBFS on non-Linux: __NR_gettid undeclared



Sebastian Ramacher <sramacher@debian.org> writes:

> Dear kfreebsd-porters, could you have a look at that issue?

I'm not an official porter for any architecture, but last I heard, the
(k)FreeBSD system call corresponding to gettid was thr_self, as
discussed on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725383.

As for hurd-i386, if and when it becomes relevant, you should be able to
use mach_thread_self, which however requires some additional
reference-count bookkeeping logic.  Please see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875456 (and disregard
my initial suggestion there to fall back on pthread_self, since
pthread_t is officially opaque).

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: