[Xenomai] Build error with XENO_OPT_DEBUG=y

Dmitriy Cherkasov dmitriy at mperpetuo.com
Fri Feb 10 01:27:09 CET 2017


Hi,

I've noticed that if I have XENO_OPT_DEBUG=y and XENO_OPT_DEBUG_LOCKING=n, 
I get build errors with an undefined reference to `xnlock_stats'.

In the Kconfig, XENO_OPT_DEBUG_LOCKING is enabled by default for SMP and 
XENO_OPT_DEBUG, but there is no hard dependency.

The use case here is if I want to debug something else and don't want to 
incur the overhead of lock debugging.

This looks like a bug to me, and I just want to confirm that.

Thanks,
Dmitriy



More information about the Xenomai mailing list