Some additional gcc warning flags have been turned on in Fedora rawhide and the warnings are causing the build of libpfm to fail. Below is an example of them. However, there are others that are not listed because the compile of those files wasn't attempted because the make exited early.
-Will cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/builddir/build/BUILD/libpfm-4.6.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_I386 -I. -c pfmlib_intel_ivb_unc.c In file included from pfmlib_intel_snb_unc.c:31:0: events/intel_snb_unc_events.h:227:32: error: 'intel_snb_unc_arb_pe' defined but not used [-Werror=unused-const-variable] static const intel_x86_entry_t intel_snb_unc_arb_pe[]={ ^~~~~~~~~~~~~~~~~~~~ events/intel_snb_unc_events.h:145:32: error: 'snb_unc_arb_trk' defined but not used [-Werror=unused-const-variable] static const intel_x86_umask_t snb_unc_arb_trk[]={ ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /builddir/build/BUILD/libpfm-4.6.0/lib/../rules.mk:30: recipe for target 'pfmlib_intel_snb_unc.o' failed make[1]: *** [pfmlib_intel_snb_unc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from pfmlib_intel_ivb_unc.c:31:0: events/intel_snb_unc_events.h:227:32: error: 'intel_snb_unc_arb_pe' defined but not used [-Werror=unused-const-variable] static const intel_x86_entry_t intel_snb_unc_arb_pe[]={ ^~~~~~~~~~~~~~~~~~~~ events/intel_snb_unc_events.h:145:32: error: 'snb_unc_arb_trk' defined but not used [-Werror=unused-const-variable] static const intel_x86_umask_t snb_unc_arb_trk[]={ ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors /builddir/build/BUILD/libpfm-4.6.0/lib/../rules.mk:30: recipe for target 'pfmlib_intel_ivb_unc.o' failed make[1]: *** [pfmlib_intel_ivb_unc.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libpfm-4.6.0/lib' ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel