All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2] am-benchmarks: update to latest version
@ 2010-09-29 17:37 Chase Maupin
  2010-09-29 19:17 ` Frans Meulenbroeks
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Chase Maupin @ 2010-09-29 17:37 UTC (permalink / raw)
  To: openembedded-devel

* Updated the SRCREV to the latest version of this project
  which includes support for multiple platforms.
* Add COMPATIBLE_MACHINE setting for recipe.

Signed-off-by: Chase Maupin <chase.maupin@ti.com>
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_svn.bb
index 51ac6af..6ab29f5 100644
--- a/recipes/ti/am-benchmarks_svn.bb
+++ b/recipes/ti/am-benchmarks_svn.bb
@@ -4,15 +4,22 @@ LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"
 PR = "r1+svnr${SRCPV}"
 
+COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
+
+ARCHITECTURE_dm365 = "arm9"
+ARCHITECTURE_omapl138 = "arm9"
+ARCHITECTURE_omap3 = "cortex-a8"
+ARCHITECTURE_ti816x = "cortex-a8"
+
 INSANE_SKIP_${PN} = "True"
 
 SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
 
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/trunk/${ARCHITECTURE}"
 
 do_compile() {
 	# don't build debug version
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-29 17:37 [PATCHv2] am-benchmarks: update to latest version Chase Maupin
@ 2010-09-29 19:17 ` Frans Meulenbroeks
  2010-09-29 19:53 ` Denys Dmytriyenko
  2010-09-29 23:43 ` Paul Menzel
  2 siblings, 0 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-09-29 19:17 UTC (permalink / raw)
  To: openembedded-devel

2010/9/29 Chase Maupin <chasemaupin03@gmail.com>:
> * Updated the SRCREV to the latest version of this project
>  which includes support for multiple platforms.
> * Add COMPATIBLE_MACHINE setting for recipe.
>
> Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> ---
>  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_svn.bb
> index 51ac6af..6ab29f5 100644
> --- a/recipes/ti/am-benchmarks_svn.bb
> +++ b/recipes/ti/am-benchmarks_svn.bb
> @@ -4,15 +4,22 @@ LICENSE = "BSD"
>  SECTION = "system"
>  PRIORITY = "optional"
>
> -SRCREV = "33"
> -PV = "1.0"
> +SRCREV = "56"
> +PV = "1.1"
>  PR = "r1+svnr${SRCPV}"
>
> +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> +
> +ARCHITECTURE_dm365 = "arm9"
> +ARCHITECTURE_omapl138 = "arm9"
> +ARCHITECTURE_omap3 = "cortex-a8"
> +ARCHITECTURE_ti816x = "cortex-a8"
> +
>  INSANE_SKIP_${PN} = "True"
>
>  SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
>
> -S = "${WORKDIR}/trunk"
> +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
>
>  do_compile() {
>        # don't build debug version
> --

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-29 17:37 [PATCHv2] am-benchmarks: update to latest version Chase Maupin
  2010-09-29 19:17 ` Frans Meulenbroeks
@ 2010-09-29 19:53 ` Denys Dmytriyenko
  2010-09-29 23:43 ` Paul Menzel
  2 siblings, 0 replies; 9+ messages in thread
From: Denys Dmytriyenko @ 2010-09-29 19:53 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Sep 29, 2010 at 12:37:38PM -0500, Chase Maupin wrote:
> * Updated the SRCREV to the latest version of this project
>   which includes support for multiple platforms.
> * Add COMPATIBLE_MACHINE setting for recipe.
> 
> Signed-off-by: Chase Maupin <chase.maupin@ti.com>

Acked-by: Denys Dmytriyenko <denis@denix.org>

> ---
>  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_svn.bb
> index 51ac6af..6ab29f5 100644
> --- a/recipes/ti/am-benchmarks_svn.bb
> +++ b/recipes/ti/am-benchmarks_svn.bb
> @@ -4,15 +4,22 @@ LICENSE = "BSD"
>  SECTION = "system"
>  PRIORITY = "optional"
>  
> -SRCREV = "33"
> -PV = "1.0"
> +SRCREV = "56"
> +PV = "1.1"
>  PR = "r1+svnr${SRCPV}"
>  
> +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> +
> +ARCHITECTURE_dm365 = "arm9"
> +ARCHITECTURE_omapl138 = "arm9"
> +ARCHITECTURE_omap3 = "cortex-a8"
> +ARCHITECTURE_ti816x = "cortex-a8"
> +
>  INSANE_SKIP_${PN} = "True"
>  
>  SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
>  
> -S = "${WORKDIR}/trunk"
> +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
>  
>  do_compile() {
>  	# don't build debug version
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-29 17:37 [PATCHv2] am-benchmarks: update to latest version Chase Maupin
  2010-09-29 19:17 ` Frans Meulenbroeks
  2010-09-29 19:53 ` Denys Dmytriyenko
@ 2010-09-29 23:43 ` Paul Menzel
  2010-09-30  7:25   ` Paul Menzel
  2010-09-30 13:13   ` Maupin, Chase
  2 siblings, 2 replies; 9+ messages in thread
From: Paul Menzel @ 2010-09-29 23:43 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2163 bytes --]

Dear Chase,


Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin: 
> * Updated the SRCREV to the latest version of this project
>   which includes support for multiple platforms.
> * Add COMPATIBLE_MACHINE setting for recipe.
> 
> Signed-off-by: Chase Maupin <chase.maupin@ti.com>

it would be great if you could briefly note what changed between the
patch iterations after a --- line, so that it will get removed when it
is committed. v1 → v2

Please also remember to update the patch queue [1] as picked all patches
from the queue and then had to remove the first version since it was
still listed.

> ---
>  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_svn.bb
> index 51ac6af..6ab29f5 100644
> --- a/recipes/ti/am-benchmarks_svn.bb
> +++ b/recipes/ti/am-benchmarks_svn.bb
> @@ -4,15 +4,22 @@ LICENSE = "BSD"
>  SECTION = "system"
>  PRIORITY = "optional"
>  
> -SRCREV = "33"
> -PV = "1.0"
> +SRCREV = "56"
> +PV = "1.1"
>  PR = "r1+svnr${SRCPV}"
>  
> +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> +
> +ARCHITECTURE_dm365 = "arm9"
> +ARCHITECTURE_omapl138 = "arm9"
> +ARCHITECTURE_omap3 = "cortex-a8"
> +ARCHITECTURE_ti816x = "cortex-a8"
> +
>  INSANE_SKIP_${PN} = "True"
>  
>  SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
>  
> -S = "${WORKDIR}/trunk"
> +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
>  
>  do_compile() {
>  	# don't build debug version

I get the following error with minimal-uclibc. The other distributions
still build. The error looks generic though.

        ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
        ERROR: Function do_compile failed
        […]
        Log data follows:
        | make: *** No rule to make target `release'.  Stop.
        | ERROR: Function do_compile failed
        NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile: Failed


Thanks,

Paul


[1] http://wiki.openembedded.net/index.php/Patchwork

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-29 23:43 ` Paul Menzel
@ 2010-09-30  7:25   ` Paul Menzel
  2010-09-30 19:23     ` Maupin, Chase
  2010-09-30 13:13   ` Maupin, Chase
  1 sibling, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2010-09-30  7:25 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]

Am Donnerstag, den 30.09.2010, 01:43 +0200 schrieb Paul Menzel:

> Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin: 
> > * Updated the SRCREV to the latest version of this project
> >   which includes support for multiple platforms.
> > * Add COMPATIBLE_MACHINE setting for recipe.
> > 
> > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> 
> it would be great if you could briefly note what changed between the
> patch iterations after a --- line, so that it will get removed when it
> is committed. v1 → v2
> 
> Please also remember to update the patch queue [1] as picked all patches
> from the queue and then had to remove the first version since it was
> still listed.
> 
> > ---
> >  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
> >  1 files changed, 10 insertions(+), 3 deletions(-)
> > 
> > diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-benchmarks_svn.bb
> > index 51ac6af..6ab29f5 100644
> > --- a/recipes/ti/am-benchmarks_svn.bb
> > +++ b/recipes/ti/am-benchmarks_svn.bb
> > @@ -4,15 +4,22 @@ LICENSE = "BSD"
> >  SECTION = "system"
> >  PRIORITY = "optional"
> >  
> > -SRCREV = "33"
> > -PV = "1.0"
> > +SRCREV = "56"
> > +PV = "1.1"
> >  PR = "r1+svnr${SRCPV}"
> >  
> > +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> > +
> > +ARCHITECTURE_dm365 = "arm9"
> > +ARCHITECTURE_omapl138 = "arm9"
> > +ARCHITECTURE_omap3 = "cortex-a8"
> > +ARCHITECTURE_ti816x = "cortex-a8"
> > +
> >  INSANE_SKIP_${PN} = "True"
> >  
> >  SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
> >  
> > -S = "${WORKDIR}/trunk"
> > +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> >  
> >  do_compile() {
> >  	# don't build debug version
> 
> I get the following error with minimal-uclibc. The other distributions
> still build. The error looks generic though.
> 
>         ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
>         ERROR: Function do_compile failed
>         […]
>         Log data follows:
>         | make: *** No rule to make target `release'.  Stop.
>         | ERROR: Function do_compile failed
>         NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile: Failed

I got the same error with minimal (eglibc). But it worked with Ȧngström
2008.1. I do not know what is going on.


Thanks,

Paul


> [1] http://wiki.openembedded.net/index.php/Patchwork

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-29 23:43 ` Paul Menzel
  2010-09-30  7:25   ` Paul Menzel
@ 2010-09-30 13:13   ` Maupin, Chase
  2010-09-30 13:33     ` Paul Menzel
  1 sibling, 1 reply; 9+ messages in thread
From: Maupin, Chase @ 2010-09-30 13:13 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Paul Menzel
> Sent: Wednesday, September 29, 2010 6:43 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCHv2] am-benchmarks: update to latest version
> 
> Dear Chase,
> 
> 
> Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:
> > * Updated the SRCREV to the latest version of this project
> >   which includes support for multiple platforms.
> > * Add COMPATIBLE_MACHINE setting for recipe.
> >
> > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> 
> it would be great if you could briefly note what changed between the
> patch iterations after a --- line, so that it will get removed when it
> is committed. v1 → v2

Paul,

Sorry, I'm not exactly sure what you mean here.  Are you saying I should do:

---
What I changed in the v2 version

> 
> Please also remember to update the patch queue [1] as picked all patches
> from the queue and then had to remove the first version since it was
> still listed.

Will do.  I was waiting for it to show up in patchwork and then it slipped my mind.  Sorry about that.

> 
> > ---
> >  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
> >  1 files changed, 10 insertions(+), 3 deletions(-)
> >
> > diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-
> benchmarks_svn.bb
> > index 51ac6af..6ab29f5 100644
> > --- a/recipes/ti/am-benchmarks_svn.bb
> > +++ b/recipes/ti/am-benchmarks_svn.bb
> > @@ -4,15 +4,22 @@ LICENSE = "BSD"
> >  SECTION = "system"
> >  PRIORITY = "optional"
> >
> > -SRCREV = "33"
> > -PV = "1.0"
> > +SRCREV = "56"
> > +PV = "1.1"
> >  PR = "r1+svnr${SRCPV}"
> >
> > +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> > +
> > +ARCHITECTURE_dm365 = "arm9"
> > +ARCHITECTURE_omapl138 = "arm9"
> > +ARCHITECTURE_omap3 = "cortex-a8"
> > +ARCHITECTURE_ti816x = "cortex-a8"
> > +
> >  INSANE_SKIP_${PN} = "True"
> >
> >  SRC_URI =
> "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anon
> ymous;pswd=''"
> >
> > -S = "${WORKDIR}/trunk"
> > +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> >
> >  do_compile() {
> >  	# don't build debug version
> 
> I get the following error with minimal-uclibc. The other distributions
> still build. The error looks generic though.
> 
>         ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
>         ERROR: Function do_compile failed
>         […]
>         Log data follows:
>         | make: *** No rule to make target `release'.  Stop.
>         | ERROR: Function do_compile failed
>         NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile: Failed
> 

What device was this built for?  Does this issue occur in the previous version of the recipe?

I only ever use Angstrom.  Can you provide some details on how I can repeat your build?

> 
> Thanks,
> 
> Paul
> 
> 
> [1] http://wiki.openembedded.net/index.php/Patchwork

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-30 13:13   ` Maupin, Chase
@ 2010-09-30 13:33     ` Paul Menzel
  2010-09-30 14:53       ` Paul Menzel
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2010-09-30 13:33 UTC (permalink / raw)
  To: openembedded-devel


[-- Attachment #1.1: Type: text/plain, Size: 4448 bytes --]

Am Donnerstag, den 30.09.2010, 08:13 -0500 schrieb Maupin, Chase:
> > -----Original Message-----
> > On Behalf Of Paul Menzel
> > Sent: Wednesday, September 29, 2010 6:43 PM

> > Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:
> > > * Updated the SRCREV to the latest version of this project
> > >   which includes support for multiple platforms.
> > > * Add COMPATIBLE_MACHINE setting for recipe.
> > >
> > > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> > 
> > it would be great if you could briefly note what changed between the
> > patch iterations after a --- line, so that it will get removed when it
> > is committed. v1 → v2
> 
> Paul,
> 
> Sorry, I'm not exactly sure what you mean here.  Are you saying I should do:
> 
> ---
> What I changed in the v2 version

Dear Chase,


yes, exactly.

[…]

> > > ---
> > >  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
> > >  1 files changed, 10 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-
> > benchmarks_svn.bb
> > > index 51ac6af..6ab29f5 100644
> > > --- a/recipes/ti/am-benchmarks_svn.bb
> > > +++ b/recipes/ti/am-benchmarks_svn.bb
> > > @@ -4,15 +4,22 @@ LICENSE = "BSD"
> > >  SECTION = "system"
> > >  PRIORITY = "optional"
> > >
> > > -SRCREV = "33"
> > > -PV = "1.0"
> > > +SRCREV = "56"
> > > +PV = "1.1"
> > >  PR = "r1+svnr${SRCPV}"
> > >
> > > +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> > > +
> > > +ARCHITECTURE_dm365 = "arm9"
> > > +ARCHITECTURE_omapl138 = "arm9"
> > > +ARCHITECTURE_omap3 = "cortex-a8"
> > > +ARCHITECTURE_ti816x = "cortex-a8"
> > > +
> > >  INSANE_SKIP_${PN} = "True"
> > >
> > >  SRC_URI =
> > "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anon
> > ymous;pswd=''"
> > >
> > > -S = "${WORKDIR}/trunk"
> > > +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> > >
> > >  do_compile() {
> > >  	# don't build debug version
> > 
> > I get the following error with minimal-uclibc. The other distributions
> > still build. The error looks generic though.
> > 
> >         ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
> >         ERROR: Function do_compile failed
> >         […]
> >         Log data follows:
> >         | make: *** No rule to make target `release'.  Stop.
> >         | ERROR: Function do_compile failed
> >         NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile: Failed
> > 
> 
> What device was this built for?

	MACHINE = "beagleboard"

> Does this issue occur in the previous version of the recipe?

I checked with minimal-uclibc and the build fails with a different
error.

        | Building file: ../linpack.c
        | Invoking: ARM Sourcery Linux GCC C Compiler 
        | arm-oe-linux-uclibceabi-gcc -DUNROLL -DSP -O3 -mfloat-abi=softfp -march=armv7-a -c -fmessage-length=0 -MMD -MP -MF"linpack.d" -MT"linpack.d" -mcpu=cortex-a8 -o"linpack.o" "../linpack.c"
        | ../linpack.c:1:0: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
        | ../linpack.c:92:13: error: 'time' redeclared as different kind of symbol
        | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/time.h:189:15: note: previous declaration of 'time' was here
        | make[1]: *** [linpack.o] Error 1
        | make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/am-benchmarks-1.0-r1+svnr33/trunk/linpack/Release'
        | make: *** [release] Error 2
        | ERROR: Function do_compile failed

But I do not know if the make target `release` is just not reached. I
have not yet been able to test with libc or eglibc and will report back
as soon as possible.

> I only ever use Angstrom.  Can you provide some details on how I can repeat your build?

        DISTRO = "minimal-uclibc"
        
        ENABLE_BINARY_LOCALE_GENERATION = "0"
        GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"
        
        # Don't generate the mirror tarball for SCM repos, the snapshot is enough
        BB_GENERATE_MIRROR_TARBALLS = "0"
        
        MACHINE ?= "beagleboard"
        BUILD_ARCH = "i686"
        BUILD_OS = "linux"
        
        BB_NICE_LEVEL="19"
        
        PREFERRED_UCLIBC_VERSION	= "git"

I attached `local.conf` too.


Thanks,

Paul

[-- Attachment #1.2: local.conf --]
[-- Type: text/plain, Size: 1014 bytes --]

# Where to store sources
DL_DIR = "${OETREE}/downloads"

#INHERIT += "rm_work"

# Make sure you have these installed
#ASSUME_PROVIDED += "gdk-pixbuf-csource-native imagemagick-native librsvg-native"

# Which files do we want to parse:
BBFILES := "${OETREE}/openembedded/recipes/*/*.bb"
BBMASK = ""
 
# What kind of images do we want?
IMAGE_FSTYPES += "tar.bz2"

# Set TMPDIR instead of defaulting it to $pwd/tmp
TMPDIR = "${OETREE}/build-minimal-uclibc/${DISTRO}-dev"

# Make use of SMP and fast disks
PARALLEL_MAKE = "-j4"
BB_NUMBER_THREADS = "4"

#tinderbox
#INHERIT += "oestats-client"
#OESTATS_BUILDER      = ""

DISTRO = "minimal-uclibc"

ENABLE_BINARY_LOCALE_GENERATION = "0"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"

# Don't generate the mirror tarball for SCM repos, the snapshot is enough
BB_GENERATE_MIRROR_TARBALLS = "0"

MACHINE ?= "beagleboard"
BUILD_ARCH = "i686"
BUILD_OS = "linux"

BB_NICE_LEVEL="19"

PREFERRED_UCLIBC_VERSION	= "git"

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-30 13:33     ` Paul Menzel
@ 2010-09-30 14:53       ` Paul Menzel
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Menzel @ 2010-09-30 14:53 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4829 bytes --]

Am Donnerstag, den 30.09.2010, 15:33 +0200 schrieb Paul Menzel:
> Am Donnerstag, den 30.09.2010, 08:13 -0500 schrieb Maupin, Chase:
> > > -----Original Message-----
> > > On Behalf Of Paul Menzel
> > > Sent: Wednesday, September 29, 2010 6:43 PM
> 
> > > Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:
> > > > * Updated the SRCREV to the latest version of this project
> > > >   which includes support for multiple platforms.
> > > > * Add COMPATIBLE_MACHINE setting for recipe.
> > > >
> > > > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> > > 
> > > it would be great if you could briefly note what changed between the
> > > patch iterations after a --- line, so that it will get removed when it
> > > is committed. v1 → v2
> > 
> > Paul,
> > 
> > Sorry, I'm not exactly sure what you mean here.  Are you saying I should do:
> > 
> > ---
> > What I changed in the v2 version
> 
> Dear Chase,
> 
> 
> yes, exactly.
> 
> […]
> 
> > > > ---
> > > >  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
> > > >  1 files changed, 10 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-
> > > benchmarks_svn.bb
> > > > index 51ac6af..6ab29f5 100644
> > > > --- a/recipes/ti/am-benchmarks_svn.bb
> > > > +++ b/recipes/ti/am-benchmarks_svn.bb
> > > > @@ -4,15 +4,22 @@ LICENSE = "BSD"
> > > >  SECTION = "system"
> > > >  PRIORITY = "optional"
> > > >
> > > > -SRCREV = "33"
> > > > -PV = "1.0"
> > > > +SRCREV = "56"
> > > > +PV = "1.1"
> > > >  PR = "r1+svnr${SRCPV}"
> > > >
> > > > +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> > > > +
> > > > +ARCHITECTURE_dm365 = "arm9"
> > > > +ARCHITECTURE_omapl138 = "arm9"
> > > > +ARCHITECTURE_omap3 = "cortex-a8"
> > > > +ARCHITECTURE_ti816x = "cortex-a8"
> > > > +
> > > >  INSANE_SKIP_${PN} = "True"
> > > >
> > > >  SRC_URI =
> > > "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anon
> > > ymous;pswd=''"
> > > >
> > > > -S = "${WORKDIR}/trunk"
> > > > +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> > > >
> > > >  do_compile() {
> > > >  	# don't build debug version
> > > 
> > > I get the following error with minimal-uclibc. The other distributions
> > > still build. The error looks generic though.
> > > 
> > >         ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
> > >         ERROR: Function do_compile failed
> > >         […]
> > >         Log data follows:
> > >         | make: *** No rule to make target `release'.  Stop.
> > >         | ERROR: Function do_compile failed
> > >         NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile: Failed
> > > 
> > 
> > What device was this built for?
> 
> 	MACHINE = "beagleboard"
> 
> > Does this issue occur in the previous version of the recipe?
> 
> I checked with minimal-uclibc and the build fails with a different
> error.
> 
>         | Building file: ../linpack.c
>         | Invoking: ARM Sourcery Linux GCC C Compiler 
>         | arm-oe-linux-uclibceabi-gcc -DUNROLL -DSP -O3 -mfloat-abi=softfp -march=armv7-a -c -fmessage-length=0 -MMD -MP -MF"linpack.d" -MT"linpack.d" -mcpu=cortex-a8 -o"linpack.o" "../linpack.c"
>         | ../linpack.c:1:0: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
>         | ../linpack.c:92:13: error: 'time' redeclared as different kind of symbol
>         | /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/time.h:189:15: note: previous declaration of 'time' was here
>         | make[1]: *** [linpack.o] Error 1
>         | make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/am-benchmarks-1.0-r1+svnr33/trunk/linpack/Release'
>         | make: *** [release] Error 2
>         | ERROR: Function do_compile failed
> 
> But I do not know if the make target `release` is just not reached. I
> have not yet been able to test with libc or eglibc and will report back
> as soon as possible.

Building `am-benchmarks-1.0-r1+svnr33` worked with minimal (eglibc).

> > I only ever use Angstrom.  Can you provide some details on how I can repeat your build?
> 
>         DISTRO = "minimal-uclibc"
>         
>         ENABLE_BINARY_LOCALE_GENERATION = "0"
>         GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"
>         
>         # Don't generate the mirror tarball for SCM repos, the snapshot is enough
>         BB_GENERATE_MIRROR_TARBALLS = "0"
>         
>         MACHINE ?= "beagleboard"
>         BUILD_ARCH = "i686"
>         BUILD_OS = "linux"
>         
>         BB_NICE_LEVEL="19"
>         
>         PREFERRED_UCLIBC_VERSION	= "git"
> 
> I attached `local.conf` too.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCHv2] am-benchmarks: update to latest version
  2010-09-30  7:25   ` Paul Menzel
@ 2010-09-30 19:23     ` Maupin, Chase
  0 siblings, 0 replies; 9+ messages in thread
From: Maupin, Chase @ 2010-09-30 19:23 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org


> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Paul Menzel
> Sent: Thursday, September 30, 2010 2:25 AM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCHv2] am-benchmarks: update to latest version
> 
> Am Donnerstag, den 30.09.2010, 01:43 +0200 schrieb Paul Menzel:
> 
> > Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:
> > > * Updated the SRCREV to the latest version of this project
> > >   which includes support for multiple platforms.
> > > * Add COMPATIBLE_MACHINE setting for recipe.
> > >
> > > Signed-off-by: Chase Maupin <chase.maupin@ti.com>
> >
> > it would be great if you could briefly note what changed between the
> > patch iterations after a --- line, so that it will get removed when it
> > is committed. v1 → v2
> >
> > Please also remember to update the patch queue [1] as picked all patches
> > from the queue and then had to remove the first version since it was
> > still listed.
> >
> > > ---
> > >  recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
> > >  1 files changed, 10 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/recipes/ti/am-benchmarks_svn.bb b/recipes/ti/am-
> benchmarks_svn.bb
> > > index 51ac6af..6ab29f5 100644
> > > --- a/recipes/ti/am-benchmarks_svn.bb
> > > +++ b/recipes/ti/am-benchmarks_svn.bb
> > > @@ -4,15 +4,22 @@ LICENSE = "BSD"
> > >  SECTION = "system"
> > >  PRIORITY = "optional"
> > >
> > > -SRCREV = "33"
> > > -PV = "1.0"
> > > +SRCREV = "56"
> > > +PV = "1.1"
> > >  PR = "r1+svnr${SRCPV}"
> > >
> > > +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"
> > > +
> > > +ARCHITECTURE_dm365 = "arm9"
> > > +ARCHITECTURE_omapl138 = "arm9"
> > > +ARCHITECTURE_omap3 = "cortex-a8"
> > > +ARCHITECTURE_ti816x = "cortex-a8"
> > > +
> > >  INSANE_SKIP_${PN} = "True"
> > >
> > >  SRC_URI =
> "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anon
> ymous;pswd=''"
> > >
> > > -S = "${WORKDIR}/trunk"
> > > +S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> > >
> > >  do_compile() {
> > >  	# don't build debug version
> >
> > I get the following error with minimal-uclibc. The other distributions
> > still build. The error looks generic though.
> >
> >         ERROR: 'oe/openembedded/recipes/ti/am-benchmarks_svn.bb' failed
> >         ERROR: Function do_compile failed
> >         […]
> >         Log data follows:
> >         | make: *** No rule to make target `release'.  Stop.
> >         | ERROR: Function do_compile failed
> >         NOTE: package am-benchmarks-1.1-r1+svnr56: task do_compile:
> Failed
> 
> I got the same error with minimal (eglibc). But it worked with Ȧngström
> 2008.1. I do not know what is going on.

Paul,

Thanks for looking into this.  For now we are only supporting this recipe on Angstrom.  This recipe uses features such as SOC_FAMILY in the overrides that are not available in all distributions such as minimal.  In fact, I believe this is what caused your problem because the S directory is based on an override which uses SOC_FAMILY.  I will add a note to this affect and send an updated patch for the recipe.

> 
> 
> Thanks,
> 
> Paul
> 
> 
> > [1] http://wiki.openembedded.net/index.php/Patchwork

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-09-30 19:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 17:37 [PATCHv2] am-benchmarks: update to latest version Chase Maupin
2010-09-29 19:17 ` Frans Meulenbroeks
2010-09-29 19:53 ` Denys Dmytriyenko
2010-09-29 23:43 ` Paul Menzel
2010-09-30  7:25   ` Paul Menzel
2010-09-30 19:23     ` Maupin, Chase
2010-09-30 13:13   ` Maupin, Chase
2010-09-30 13:33     ` Paul Menzel
2010-09-30 14:53       ` Paul Menzel

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.