[lttng-dev] Package liburcu: build for hurd-i386

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Feb 22 11:37:44 EST 2013


* Samuel Thibault (sthibault at debian.org) wrote:
> 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.

Thanks for testing!

I noticed that tests/api.h also needed to use cpuset.h (committed a
fix). I pulled these changes into stable-0.7.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list