* [PATCH 0/2] Minor fixes
@ 2012-01-04 1:31 Joshua Lock
2012-01-04 1:31 ` [PATCH 1/2] linux-tools: add binutils to perf DEPENDS Joshua Lock
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Joshua Lock @ 2012-01-04 1:31 UTC (permalink / raw)
To: openembedded-core
A couple of small patches created in the course of putting together a point
release for Yocto 1.1.
Cheers,
Joshua
The following changes since commit de679a3036ebef1c7d7b8ee23f05590c95e498d9:
pseudo: ensure libs are included in package (2012-01-03 12:10:59 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib josh/stuff
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/stuff
Joshua Lock (2):
linux-tools: add binutils to perf DEPENDS
cogl: ensure we can build on armv4
.../clutter/cogl/build_for_armv4t.patch | 23 ++++++++++++++++++++
meta/recipes-graphics/clutter/cogl_1.8.2.bb | 5 +++-
meta/recipes-graphics/clutter/cogl_git.bb | 5 ++-
meta/recipes-kernel/linux/linux-tools.inc | 2 +-
4 files changed, 31 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch
--
1.7.7.5
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/2] linux-tools: add binutils to perf DEPENDS
2012-01-04 1:31 [PATCH 0/2] Minor fixes Joshua Lock
@ 2012-01-04 1:31 ` Joshua Lock
2012-01-04 16:32 ` McClintock Matthew-B29882
2012-01-04 1:31 ` [PATCH 2/2] cogl: ensure we can build on armv4 Joshua Lock
2012-01-04 11:25 ` [PATCH 0/2] Minor fixes Richard Purdie
2 siblings, 1 reply; 7+ messages in thread
From: Joshua Lock @ 2012-01-04 1:31 UTC (permalink / raw)
To: openembedded-core
We have witnessed non-deterministic failures of perf for some platforms
whilst looking for bfd.h, a header provided by binutils.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
meta/recipes-kernel/linux/linux-tools.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
index 950f197..aa45dba 100644
--- a/meta/recipes-kernel/linux/linux-tools.inc
+++ b/meta/recipes-kernel/linux/linux-tools.inc
@@ -22,7 +22,7 @@ addtask install_perf after do_install before do_package
do_compile_perf[umask] = 022
do_install_perf[umask] = 022
-PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot"
+PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot"
PERFDEPENDS_libc-uclibc = ""
PERFRDEPENDS = "python perl elfutils"
PERFRDEPENDS_libc-uclibc = ""
--
1.7.7.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 1/2] linux-tools: add binutils to perf DEPENDS
2012-01-04 1:31 ` [PATCH 1/2] linux-tools: add binutils to perf DEPENDS Joshua Lock
@ 2012-01-04 16:32 ` McClintock Matthew-B29882
2012-01-04 17:21 ` Richard Purdie
0 siblings, 1 reply; 7+ messages in thread
From: McClintock Matthew-B29882 @ 2012-01-04 16:32 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, Jan 3, 2012 at 7:31 PM, Joshua Lock <josh@linux.intel.com> wrote:
> We have witnessed non-deterministic failures of perf for some platforms
> whilst looking for bfd.h, a header provided by binutils.
>
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
> meta/recipes-kernel/linux/linux-tools.inc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
> index 950f197..aa45dba 100644
> --- a/meta/recipes-kernel/linux/linux-tools.inc
> +++ b/meta/recipes-kernel/linux/linux-tools.inc
> @@ -22,7 +22,7 @@ addtask install_perf after do_install before do_package
> do_compile_perf[umask] = 022
> do_install_perf[umask] = 022
>
> -PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot"
> +PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot"
Does this build the rpm for binutils too? I've seen the following
error recently when creating the rfs:
| error: Failed dependencies:
| binutils >= 2.21.1a is needed by perf-3.0.6-r2.p3060qds
| libbfd-2.21.1.so is needed by perf-3.0.6-r2.p3060qds
-M
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 1/2] linux-tools: add binutils to perf DEPENDS
2012-01-04 16:32 ` McClintock Matthew-B29882
@ 2012-01-04 17:21 ` Richard Purdie
2012-01-04 17:46 ` McClintock Matthew-B29882
0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2012-01-04 17:21 UTC (permalink / raw)
To: McClintock Matthew-B29882,
Patches and discussions about the oe-core layer
On Wed, 2012-01-04 at 16:32 +0000, McClintock Matthew-B29882 wrote:
> On Tue, Jan 3, 2012 at 7:31 PM, Joshua Lock <josh@linux.intel.com> wrote:
> > We have witnessed non-deterministic failures of perf for some platforms
> > whilst looking for bfd.h, a header provided by binutils.
> >
> > Signed-off-by: Joshua Lock <josh@linux.intel.com>
> > ---
> > meta/recipes-kernel/linux/linux-tools.inc | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
> > index 950f197..aa45dba 100644
> > --- a/meta/recipes-kernel/linux/linux-tools.inc
> > +++ b/meta/recipes-kernel/linux/linux-tools.inc
> > @@ -22,7 +22,7 @@ addtask install_perf after do_install before do_package
> > do_compile_perf[umask] = 022
> > do_install_perf[umask] = 022
> >
> > -PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot"
> > +PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot"
>
> Does this build the rpm for binutils too? I've seen the following
> error recently when creating the rfs:
>
> | error: Failed dependencies:
> | binutils >= 2.21.1a is needed by perf-3.0.6-r2.p3060qds
> | libbfd-2.21.1.so is needed by perf-3.0.6-r2.p3060qds
I suspect the patch is not enough to fix this...
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 1/2] linux-tools: add binutils to perf DEPENDS
2012-01-04 17:21 ` Richard Purdie
@ 2012-01-04 17:46 ` McClintock Matthew-B29882
0 siblings, 0 replies; 7+ messages in thread
From: McClintock Matthew-B29882 @ 2012-01-04 17:46 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: McClintock Matthew-B29882
On Wed, Jan 4, 2012 at 11:21 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2012-01-04 at 16:32 +0000, McClintock Matthew-B29882 wrote:
>> On Tue, Jan 3, 2012 at 7:31 PM, Joshua Lock <josh@linux.intel.com> wrote:
>> > We have witnessed non-deterministic failures of perf for some platforms
>> > whilst looking for bfd.h, a header provided by binutils.
>> >
>> > Signed-off-by: Joshua Lock <josh@linux.intel.com>
>> > ---
>> > meta/recipes-kernel/linux/linux-tools.inc | 2 +-
>> > 1 files changed, 1 insertions(+), 1 deletions(-)
>> >
>> > diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
>> > index 950f197..aa45dba 100644
>> > --- a/meta/recipes-kernel/linux/linux-tools.inc
>> > +++ b/meta/recipes-kernel/linux/linux-tools.inc
>> > @@ -22,7 +22,7 @@ addtask install_perf after do_install before do_package
>> > do_compile_perf[umask] = 022
>> > do_install_perf[umask] = 022
>> >
>> > -PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot"
>> > +PERFDEPENDS = "virtual/${MLPREFIX}libc:do_populate_sysroot ${MLPREFIX}elfutils:do_populate_sysroot ${MLPREFIX}binutils:do_populate_sysroot"
>>
>> Does this build the rpm for binutils too? I've seen the following
>> error recently when creating the rfs:
>>
>> | error: Failed dependencies:
>> | binutils >= 2.21.1a is needed by perf-3.0.6-r2.p3060qds
>> | libbfd-2.21.1.so is needed by perf-3.0.6-r2.p3060qds
>
> I suspect the patch is not enough to fix this...
The error went away after adding this, but I'm not 100% the rpm's
where not available the next time regardless of this patch.
-M
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/2] cogl: ensure we can build on armv4
2012-01-04 1:31 [PATCH 0/2] Minor fixes Joshua Lock
2012-01-04 1:31 ` [PATCH 1/2] linux-tools: add binutils to perf DEPENDS Joshua Lock
@ 2012-01-04 1:31 ` Joshua Lock
2012-01-04 11:25 ` [PATCH 0/2] Minor fixes Richard Purdie
2 siblings, 0 replies; 7+ messages in thread
From: Joshua Lock @ 2012-01-04 1:31 UTC (permalink / raw)
To: openembedded-core
Without this patch cogl will not build for armv4 as it uses an
unsupported instruction. This changeset adds a patch from Wolfgang
Denk to add an extra guard around armv5 or above code.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
.../clutter/cogl/build_for_armv4t.patch | 23 ++++++++++++++++++++
meta/recipes-graphics/clutter/cogl_1.8.2.bb | 5 +++-
meta/recipes-graphics/clutter/cogl_git.bb | 5 ++-
3 files changed, 30 insertions(+), 3 deletions(-)
create mode 100644 meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch
diff --git a/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch b/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch
new file mode 100644
index 0000000..3635085
--- /dev/null
+++ b/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch
@@ -0,0 +1,23 @@
+GCC will define __ARM_ARCH_4T__ when building with "-march=armv4t" so we can
+check this to turn off the use of 'clz' instructions, which otherwise would
+cause compile errors like "selected processor does not support ARM mode
+`clz r3,r0'".
+
+Upstream-Status: Submitted
+
+Signed-off-by: Wolfgang Denk <wd@denx.de>
+Signed-off-by: Joshua Lock <josh@linux.intel.com>
+
+Index: cogl-1.8.2/cogl/cogl-fixed.c
+===================================================================
+--- cogl-1.8.2.orig/cogl/cogl-fixed.c
++++ cogl-1.8.2/cogl/cogl-fixed.c
+@@ -626,7 +626,7 @@ cogl_fixed_sqrt (CoglFixed x)
+ /*
+ * Find the highest bit set
+ */
+-#if defined (__arm__)
++#if defined (__arm__) && !defined(__ARM_ARCH_4T__)
+ /* This actually requires at least arm v5, but gcc does not seem
+ * to set the architecture defines correctly, and it is I think
+ * very unlikely that anyone will want to use clutter on anything
diff --git a/meta/recipes-graphics/clutter/cogl_1.8.2.bb b/meta/recipes-graphics/clutter/cogl_1.8.2.bb
index d99c443..25875f3 100644
--- a/meta/recipes-graphics/clutter/cogl_1.8.2.bb
+++ b/meta/recipes-graphics/clutter/cogl_1.8.2.bb
@@ -1,9 +1,12 @@
require cogl.inc
+PR = "r1"
+
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "http://source.clutter-project.org/sources/cogl/1.8/${BPN}-${PV}.tar.bz2 \
- file://macro-versions.patch"
+ file://macro-versions.patch \
+ file://build_for_armv4t.patch"
SRC_URI[md5sum] = "3145cbf7ff162c33065ea4421c047e2f"
SRC_URI[sha256sum] = "8b647b51a4fa93034fcd74ffe86b3d4c919b0e54789108f6d065414e6162ab73"
diff --git a/meta/recipes-graphics/clutter/cogl_git.bb b/meta/recipes-graphics/clutter/cogl_git.bb
index 7a10dd8..689b965 100644
--- a/meta/recipes-graphics/clutter/cogl_git.bb
+++ b/meta/recipes-graphics/clutter/cogl_git.bb
@@ -5,11 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
# the 1.8.2 tag
SRCREV = "e398e374e2ff0e88bc1d63577a192f8ca04a1cb5"
PV = "1.8.2+git${SRCPV}"
-PR = "r0"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"
-SRC_URI = "git://git.gnome.org/cogl;protocol=git;branch=master"
+SRC_URI = "git://git.gnome.org/cogl;protocol=git;branch=master \
+ file://build_for_armv4t.patch"
S = "${WORKDIR}/git"
AUTOTOOLS_AUXDIR = "${S}/build"
--
1.7.7.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 0/2] Minor fixes
2012-01-04 1:31 [PATCH 0/2] Minor fixes Joshua Lock
2012-01-04 1:31 ` [PATCH 1/2] linux-tools: add binutils to perf DEPENDS Joshua Lock
2012-01-04 1:31 ` [PATCH 2/2] cogl: ensure we can build on armv4 Joshua Lock
@ 2012-01-04 11:25 ` Richard Purdie
2 siblings, 0 replies; 7+ messages in thread
From: Richard Purdie @ 2012-01-04 11:25 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, 2012-01-03 at 17:31 -0800, Joshua Lock wrote:
> A couple of small patches created in the course of putting together a point
> release for Yocto 1.1.
>
> Cheers,
> Joshua
>
> The following changes since commit de679a3036ebef1c7d7b8ee23f05590c95e498d9:
>
> pseudo: ensure libs are included in package (2012-01-03 12:10:59 +0000)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib josh/stuff
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/stuff
>
> Joshua Lock (2):
> linux-tools: add binutils to perf DEPENDS
> cogl: ensure we can build on armv4
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-01-04 18:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 1:31 [PATCH 0/2] Minor fixes Joshua Lock
2012-01-04 1:31 ` [PATCH 1/2] linux-tools: add binutils to perf DEPENDS Joshua Lock
2012-01-04 16:32 ` McClintock Matthew-B29882
2012-01-04 17:21 ` Richard Purdie
2012-01-04 17:46 ` McClintock Matthew-B29882
2012-01-04 1:31 ` [PATCH 2/2] cogl: ensure we can build on armv4 Joshua Lock
2012-01-04 11:25 ` [PATCH 0/2] Minor fixes Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.