[lttng-dev] Package liburcu: build for hurd-i386
Samuel Thibault
sthibault at debian.org
Fri Feb 22 11:05:41 EST 2013
Mathieu Desnoyers, le Fri 22 Feb 2013 11:01:12 -0500, a écrit :
> * Samuel Thibault (sthibault at debian.org) wrote:
> > Hello,
> >
> > Mathieu Desnoyers, le Fri 22 Feb 2013 09:09:20 -0500, a écrit :
> > > I noticed a build failure on hurd-i386, and committed a fix in Userspace
> > > RCU master branch to address this issue. Testing would be welcome.
> >
> > Unfortunately it doesn't work, because sched_setaffinity is for now just
> > a fail-stub on hurd-i386, and thus configure considers it as missing,
> > and thus the CPU_SET test is disabled completely.
> >
> > I however guess you could just disable defining your own cpu_set_t when
> > !HAVE_SCHED_SETAFFINITY, since it is probably used only for using
> > sched_setaffinity.
>
> Either that or move the cpu_set_t, CPU_SET and CPU_ZERO tests outside of
> the sched_setaffinity conditional within configure.ac. It will allow to
> handle various configurations more elegantly. Here is the commit (pushed
> into master), comments are welcome!
Yep, it does build fine now.
Samuel
More information about the lttng-dev
mailing list