Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys
On Sun, Mar 23, 2014 at 10:58:18PM -0700, Justin Hibbits wrote: On Mon, 24 Mar 2014 05:44:42 + Alexey Dokuchaev wrote: Hmm, -CURRENT does not build for me after this commit apparently; take a look at the log excerpt. Could it be that r261342 relies on some earlier revision which I'm missing (that is, my r260369'ish -CURRENT is too old)? What's the best way to catch up? Thanks, It looks to me like it's picking up your old PMC header files. Did you try doing a full buildworld (without a -DNO_CLEAN)? I've built world multiple times since and it works just fine for me. It turned out to be ccache's fault. Once I've resumed the build with -DNO_CLEAN -DNO_CCACHE, it finished just fine. ./danfe ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys
On Tue, Mar 25, 2014 at 2:06 AM, Alexey Dokuchaev da...@freebsd.org wrote: On Sun, Mar 23, 2014 at 10:58:18PM -0700, Justin Hibbits wrote: On Mon, 24 Mar 2014 05:44:42 + Alexey Dokuchaev wrote: Hmm, -CURRENT does not build for me after this commit apparently; take a look at the log excerpt. Could it be that r261342 relies on some earlier revision which I'm missing (that is, my r260369'ish -CURRENT is too old)? What's the best way to catch up? Thanks, It looks to me like it's picking up your old PMC header files. Did you try doing a full buildworld (without a -DNO_CLEAN)? I've built world multiple times since and it works just fine for me. It turned out to be ccache's fault. Once I've resumed the build with -DNO_CLEAN -DNO_CCACHE, it finished just fine. ./danfe Good to hear. I've never used ccache myself. - Justin ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys
On Sat, Feb 01, 2014 at 02:03:51AM +, Justin Hibbits wrote: New Revision: 261342 URL: http://svnweb.freebsd.org/changeset/base/261342 Log: Add hwpmc(4) support for the PowerPC 970 class processors, direct events. This also fixes asserts on removal of the module for the mpc74xx. Hmm, -CURRENT does not build for me after this commit apparently; take a look at the log excerpt. Could it be that r261342 relies on some earlier revision which I'm missing (that is, my r260369'ish -CURRENT is too old)? What's the best way to catch up? Thanks, ./danfe === lib/libpmc (all) /usr/local/libexec/ccache/world/cc -O2 -pipe -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/libpmc/libpmc.c -o libpmc.o cc1: warnings being treated as errors /usr/src/lib/libpmc/libpmc.c:160: warning: implicit declaration of function '__PMC_EV_PPC970' /usr/src/lib/libpmc/libpmc.c:160: warning: missing braces around initializer /usr/src/lib/libpmc/libpmc.c:160: warning: (near initialization for 'ppc970_event_table[0]') /usr/src/lib/libpmc/libpmc.c:160: error: initializer element is not constant /usr/src/lib/libpmc/libpmc.c:160: error: (near initialization for 'ppc970_event_table[0].pm_ev_name') /usr/src/lib/libpmc/libpmc.c:160: warning: missing initializer /usr/src/lib/libpmc/libpmc.c:160: warning: (near initialization for 'ppc970_event_table[0].pm_ev_name') /usr/src/lib/libpmc/libpmc.c:174: warning: implicit declaration of function '__PMC_EV_ALIAS_ATOM_SILVERMONT' /usr/src/lib/libpmc/libpmc.c:175: warning: missing braces around initializer /usr/src/lib/libpmc/libpmc.c:175: warning: (near initialization for 'atom_silvermont_event_table[0]') /usr/src/lib/libpmc/libpmc.c:175: error: initializer element is not constant /usr/src/lib/libpmc/libpmc.c:175: error: (near initialization for 'atom_silvermont_event_table[0].pm_ev_name') /usr/src/lib/libpmc/libpmc.c:175: warning: missing initializer /usr/src/lib/libpmc/libpmc.c:175: warning: (near initialization for 'atom_silvermont_event_table[0].pm_ev_name') /usr/src/lib/libpmc/libpmc.c:273: error: 'PMC_CLASS_PPC970' undeclared here (not in a function) /usr/src/lib/libpmc/libpmc.c:273: error: initializer element is not constant /usr/src/lib/libpmc/libpmc.c:273: error: (near initialization for 'ppc970_pmc_classes[0]') /usr/src/lib/libpmc/libpmc.c:273: error: initializer element is not constant /usr/src/lib/libpmc/libpmc.c:273: error: (near initialization for 'ppc970_pmc_classes[2]') /usr/src/lib/libpmc/libpmc.c:336: error: initializer element is not constant /usr/src/lib/libpmc/libpmc.c:336: error: (near initialization for 'ppc970_class_table_descr.pm_evc_class') /usr/src/lib/libpmc/libpmc.c: In function 'pmc_event_names_of_class': /usr/src/lib/libpmc/libpmc.c:2746: error: 'PMC_CPU_INTEL_ATOM_SILVERMONT' undeclared (first use in this function) /usr/src/lib/libpmc/libpmc.c:2746: error: (Each undeclared identifier is reported only once /usr/src/lib/libpmc/libpmc.c:2746: error: for each function it appears in.) /usr/src/lib/libpmc/libpmc.c: In function 'pmc_init': /usr/src/lib/libpmc/libpmc.c:3135: error: 'PMC_CPU_PPC_970' undeclared (first use in this function) /usr/src/lib/libpmc/libpmc.c: In function '_pmc_name_of_event': /usr/src/lib/libpmc/libpmc.c:3222: error: 'PMC_CPU_INTEL_ATOM_SILVERMONT' undeclared (first use in this function) /usr/src/lib/libpmc/libpmc.c:3314: error: 'PMC_EV_PPC970_FIRST' undeclared (first use in this function) /usr/src/lib/libpmc/libpmc.c:3314: warning: comparison between pointer and integer /usr/src/lib/libpmc/libpmc.c:3314: error: 'PMC_EV_PPC970_LAST' undeclared (first use in this function) /usr/src/lib/libpmc/libpmc.c:3314: warning: comparison between pointer and integer *** Error code 1 ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys
On Mon, 24 Mar 2014 05:44:42 + Alexey Dokuchaev da...@freebsd.org wrote: On Sat, Feb 01, 2014 at 02:03:51AM +, Justin Hibbits wrote: New Revision: 261342 URL: http://svnweb.freebsd.org/changeset/base/261342 Log: Add hwpmc(4) support for the PowerPC 970 class processors, direct events. This also fixes asserts on removal of the module for the mpc74xx. Hmm, -CURRENT does not build for me after this commit apparently; take a look at the log excerpt. Could it be that r261342 relies on some earlier revision which I'm missing (that is, my r260369'ish -CURRENT is too old)? What's the best way to catch up? Thanks, ./danfe It looks to me like it's picking up your old PMC header files. Did you try doing a full buildworld (without a -DNO_CLEAN)? I've built world multiple times since and it works just fine for me. - Justin ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org