[oe] [oe-commits] Matthew McClintock : libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc

Martin Jansa martin.jansa at gmail.com
Mon Feb 25 19:13:02 UTC 2013


On Thu, Feb 07, 2013 at 04:34:27PM +0000, McClintock Matthew-B29882 wrote:
> On Wed, Feb 6, 2013 at 2:22 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > On Wed, Feb 06, 2013 at 09:38:03AM +0000, git at git.openembedded.org wrote:
> >> Module: openembedded-core.git
> >> Branch: master
> >> Commit: 52c94978992d9084d685d4999064a8cee35220d1
> >> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=52c94978992d9084d685d4999064a8cee35220d1
> >>
> >> Author: Matthew McClintock <msm at freescale.com>
> >> Date:   Tue Feb  5 11:46:46 2013 -0600
> >>
> >> libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
> >
> > This is pulled to world build on arm too and fails there:
> >
> 
> I'll take a look at this next week once I'm back in the office.

Any update on this one?

> > | arm-oe-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpfm4/4.3.0-r0/libpfm-4.3.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpfm4/4.3.0-r0/libpfm-4.3.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_nhm.c
> > | pfmlib_amd64.c: In function 'pfm_amd64_detect':
> > | pfmlib_amd64.c:185:3: error: impossible constraint in 'asm'
> > | pfmlib_amd64.c:185:3: error: impossible constraint in 'asm'
> > | pfmlib_intel_x86.c: In function 'pfm_intel_x86_detect':
> > | pfmlib_intel_x86.c:56:3: error: impossible constraint in 'asm'
> > | pfmlib_intel_x86.c:56:3: error: impossible constraint in 'asm'
> > | pfmlib_intel_x86_arch.c: In function 'pfm_intel_x86_arch_init':
> > | pfmlib_intel_x86_arch.c:55:3: error: impossible constraint in 'asm'
> > | arm-oe-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpfm4/4.3.0-r0/libpfm-4.3.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX  -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpfm4/4.3.0-r0/libpfm-4.3.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_wsm.c
> > | make[1]: *** [pfmlib_intel_x86_arch.o] Error 1
> > | make[1]: *** Waiting for unfinished jobs....
> > | make[1]: *** [pfmlib_amd64.o] Error 1
> > | make[1]: *** [pfmlib_intel_x86.o] Error 1
> >
> >> Signed-off-by: Matthew McClintock <msm at freescale.com>
> >> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> >>
> >> ---
> >>
> >>  meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb |   26 ++++++++++++++++++++++++++
> >>  1 files changed, 26 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
> >> new file mode 100644
> >> index 0000000..460029f
> >> --- /dev/null
> >> +++ b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
> >> @@ -0,0 +1,26 @@
> >> +SUMMARY = "Monitoring tools exploiting the performance monitoring events"
> >> +DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \
> >> +monitoring tools exploiting the performance monitoring events such as those \
> >> +provided by the Performance Monitoring Unit (PMU) of modern processors."
> >> +HOMEPAGE = "http://perfmon2.sourceforge.net/"
> >> +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar"
> >> +
> >> +LICENSE = "MIT"
> >> +LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788"
> >> +
> >> +SECTION = "devel"
> >> +
> >> +SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.3.0.tar.gz"
> >> +
> >> +SRC_URI[md5sum] = "0ab272dbdbb759b852ba8bd06db030ef"
> >> +SRC_URI[sha256sum] = "a23eb9affbff279e13563a39317c0ad71c4de28908d4243c8bc109138430cc3b"
> >> +
> >> +EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\""
> >> +EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""
> >> +EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
> >> +
> >> +S = "${WORKDIR}/libpfm-${PV}"
> >> +
> >> +do_install () {
> >> +     oe_runmake install
> >> +}
> >>
> >>
> >> _______________________________________________
> >> Openembedded-commits mailing list
> >> Openembedded-commits at lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
> >
> > --
> > Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130225/40e4c013/attachment-0002.sig>


More information about the Openembedded-devel mailing list