Description of problem: When building libvirt RPMs we're seeing warnings generated from the GCC that dtrace runs This can be reproduced standalone as follows: $ CFLAGS=-Wall /bin/dtrace -o libvirt_probes.o -G -s libvirt_probes.d /tmp/tmpca8bLT.c:1:8: warning: return type defaults to ‘int’ [-Wreturn-type] /tmp/tmpca8bLT.c:1:8: warning: ‘__dtrace’ defined but not used [-Wunused-function] /tmp/tmpca8bLT.c: In function ‘__dtrace’: /tmp/tmpca8bLT.c:1:1: warning: control reaches end of non-void function [-Wreturn-type] The first line of that file is static __dtrace () {} Which is a bogus signature - should be static int __dtrace(void) {} though that still won't make the -Wunused-function warnings go away. Version-Release number of selected component (if applicable): systemtap-2.0-4.fc18.x86_64 How reproducible: Always
This is corrected in the recent 2.1 release, and will be available as an update(-testing) for f18 before long.
Please check fedora18 updates-testing.
Yes, that has fixed the problem