head -r334128 broke the powerpc64 build

Mark Millard marklmi at yahoo.com
Thu May 24 06:21:35 UTC 2018


[Eitan: My FreeBSD list Email is now marklmi at yahoo.com and
this is effectively a test sent from that Email with a list
involved. Hopefully it will not be classified as spam.]


https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/*/consoleText

For -r334131 (*=5551):

--- all_subdir_lib/libpmcstat ---
cc1: warnings being treated as errors
/usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: missing initializer
/usr/src/lib/libpmcstat/pmu-events/jevents.c:244: warning: (near initialization for 'unit_to_pmu[4].json')
*** [pmu-events/jevents] Error code 1

make[5]: stopped in /usr/src/lib/libpmcstat
1 error

Note: This appears to be for the source:

236	static struct map {
237	        const char *json;
238	        const char *perf;
239	} unit_to_pmu[] = {
240	        { "CBO", "uncore_cbox" },
241	        { "QPI LL", "uncore_qpi" },
242	        { "SBO", "uncore_sbox" },
243	        { "iMPH-U", "uncore_arb" },
244	        {}
245	};

It appears to object to the {} use.


For -r334130 (*=5550):

--- all_subdir_usr.sbin/pmcstat ---
cc1: warnings being treated as errors
/usr/src/usr.sbin/pmcstat/pmcstat.c: In function 'main':
/usr/src/usr.sbin/pmcstat/pmcstat.c:655: warning: signed and unsigned type in conditional expression

(Apparently -r334131 fixed this but exposed the earlier.)

For -r334129 (*=5549) (which really was removing "options NUMA" for amd64, so earlier -r334???):

/usr/src/lib/libpmcstat/libpmcstat_pmu_util.c:127: error: conflicting types for 'pmcstat_pmu_sample_rate_get'
/usr/src/lib/libpmcstat/libpmcstat.h:385: error: previous declaration of 'pmcstat_pmu_sample_rate_get' was here

(Apparently -r334130 fixed this but exposed the earlier.)

Note: -r334126 (*=5548) built fine on ci.freebsd.org .



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ppc mailing list