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

Aaron M. Ucko ucko at debian.org
Mon Nov 6 15:01:18 UTC 2017

Sebastian Ramacher <sramacher at 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).


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

More information about the pkg-multimedia-maintainers mailing list