Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 05:44:42 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Justin Hibbits <jhibbits@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r261342 - in head: lib/libpmc sys/conf sys/dev/hwpmc sys/powerpc/include sys/sys
Message-ID:  <20140324054442.GA98485@FreeBSD.org>
In-Reply-To: <201402010203.s1123pjF019150@svn.freebsd.org>
References:  <201402010203.s1123pjF019150@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Feb 01, 2014 at 02:03:51AM +0000, 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

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bw.log"

===> 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

--cWoXeonUoKmBZSoM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140324054442.GA98485>