Skip to contentSkip to conversation

Build error with XENO_OPT_DEBUG=y

Xenomai Dmitriy Cherkasov 1 participant 2 messages Feb 10, 2017

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Update: Only happens on incremental build. Running a "make clean" fixed it.

-Dmitriy