From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Matthew McClintock : libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
Date: Wed, 6 Feb 2013 22:22:07 +0100 [thread overview]
Message-ID: <20130206212207.GD3271@jama> (raw)
In-Reply-To: <20130206093803.C4B3920AB@opal>
[-- Attachment #1: Type: text/plain, Size: 4680 bytes --]
On Wed, Feb 06, 2013 at 09:38:03AM +0000, git@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@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:
| 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@freescale.com>
> Signed-off-by: Saul Wold <sgw@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
parent reply other threads:[~2013-02-08 1:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20130206093803.C4B3920AB@opal>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130206212207.GD3271@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-commits@lists.openembedded.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox