Skip to contentSkip to conversation

am-benchmarks: update to latest version

PATCH Superseded Chase Maupin 5 participants 9 messages Sep 29, 2010 – Sep 30, 2010

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 am-benchmarks: update to latest version

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

---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +10 -3
index 51ac6af..6ab29f5 100644
@@ -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
Signature · 1 line
1.7.0.4
Acked-by on v2 1/1
#1 lore raw

2010/9/29 Chase Maupin <[email protected]>:

Quoted 37 lines

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

---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---

 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +0 -0
index 51ac6af..6ab29f5 100644
@@ -4,15 +4,22 @@ LICENSE = "BSD"

 SECTION = "system"
 PRIORITY = "optional"

recipes/ti/am-benchmarks_svn.bb +2 -2
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"

 PR = "r1+svnr${SRCPV}"

recipes/ti/am-benchmarks_svn.bb +7 -0
+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=''"

recipes/ti/am-benchmarks_svn.bb +1 -1
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/trunk/${ARCHITECTURE}"
Quoted 3 lines

 do_compile() {
       # don't build debug version
--

Acked-by on v2 1/1
#2 lore raw
In reply to Chase Maupin
Quoted 5 lines · Chase Maupin

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

Quoted 42 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +10 -3
index 51ac6af..6ab29f5 100644
@@ -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
Signature · 7 lines
1.7.0.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#3 lore raw
In reply to Chase Maupin

Dear Chase,

Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:

Quoted 5 lines

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

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.

Quoted 24 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +8 -2
index 51ac6af..6ab29f5 100644
@@ -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"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 10 lines
recipes/ti/am-benchmarks_svn.bb +2 -1
+
 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

#4 lore raw

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

Quoted 53 lines

Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:

Quoted 5 lines

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

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.

Quoted 24 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am-benchmarks_svn.bb +8 -2
index 51ac6af..6ab29f5 100644
@@ -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"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 10 lines
recipes/ti/am-benchmarks_svn.bb +2 -1
+
 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.

Quoted 7 lines

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

Quoted 1 line

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

#5 lore raw
Quoted 74 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Thursday, September 30, 2010 2:25 AM
To: [email protected]
Subject: Re: [oe] [PATCHv2] am-benchmarks: update to latest version

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

Quoted 15 lines

Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:

Quoted 5 lines

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

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.

Quoted 5 lines

recipes/ti/am-

Quoted 5 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am- renamed from recipes/ti/am-benchmarks_svn.bb +0 -0

benchmarks_svn.bb

Quoted 22 lines
Quoted 22 lines

index 51ac6af..6ab29f5 100644

recipes/ti/am-benchmarks_svn.bb +9 -2
@@ -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"
 
Quoted 1 line

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 20

Quoted 1 line
recipes/ti/am-benchmarks_svn.bb +0 -0
 SRC_URI =

"svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anon ymous;pswd=''"

Quoted 10 lines

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 6 lines
recipes/ti/am-benchmarks_svn.bb +1 -1
-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.

Quoted 7 lines

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:

Quoted 4 lines

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.

Quoted 8 lines

Thanks,

Paul

Quoted 1 line

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

#6 lore raw
In reply to Paul Menzel
Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Wednesday, September 29, 2010 6:43 PM
To: [email protected]
Subject: Re: [oe] [PATCHv2] am-benchmarks: update to latest version

Dear Chase,

Am Mittwoch, den 29.09.2010, 12:37 -0500 schrieb Chase Maupin:

Quoted 4 lines

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

Quoted 5 lines
Quoted 1 line

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

Quoted 4 lines

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.

Quoted 42 lines

recipes/ti/am-

Quoted 6 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am- renamed from recipes/ti/am-benchmarks_svn.bb +0 -0

benchmarks_svn.bb

Quoted 13 lines

index 51ac6af..6ab29f5 100644

recipes/ti/am-benchmarks_svn.bb +2 -2
@@ -4,15 +4,22 @@ LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"
 PR = "r1+svnr${SRCPV}"
 

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 20

Quoted 10 lines
recipes/ti/am-benchmarks_svn.bb +7 -0
+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=''"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 6 lines
recipes/ti/am-benchmarks_svn.bb +1 -1
-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.

Quoted 8 lines

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?

Quoted 7 lines

Thanks,

Paul

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

#7 lore raw

Am Donnerstag, den 30.09.2010, 08:13 -0500 schrieb Maupin, Chase:

Quoted 15 lines
Quoted 9 lines

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

Quoted 4 lines

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

Quoted 5 lines
Quoted 1 line

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

Quoted 6 lines

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.

[…]

Quoted 50 lines
Quoted 41 lines

recipes/ti/am-

Quoted 5 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am- renamed from recipes/ti/am-benchmarks_svn.bb +0 -0

benchmarks_svn.bb

Quoted 13 lines

index 51ac6af..6ab29f5 100644

recipes/ti/am-benchmarks_svn.bb +2 -2
@@ -4,15 +4,22 @@ LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"
 PR = "r1+svnr${SRCPV}"
 

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 20

Quoted 10 lines
recipes/ti/am-benchmarks_svn.bb +7 -0
+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=''"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 6 lines
recipes/ti/am-benchmarks_svn.bb +1 -1
-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.

Quoted 8 lines

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

Quoted 1 line

What device was this built for?

MACHINE = "beagleboard"

Quoted 1 line

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.

Quoted 1 line

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

# 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"

#8 lore raw

Am Donnerstag, den 30.09.2010, 15:33 +0200 schrieb Paul Menzel:

Quoted 100 lines

Am Donnerstag, den 30.09.2010, 08:13 -0500 schrieb Maupin, Chase:

Quoted 15 lines
Quoted 9 lines

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

Quoted 4 lines

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

Quoted 5 lines
Quoted 1 line

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

Quoted 6 lines

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.

[…]

Quoted 50 lines
Quoted 41 lines

recipes/ti/am-

Quoted 5 lines
---
 recipes/ti/am-benchmarks_svn.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes/ti/am- renamed from recipes/ti/am-benchmarks_svn.bb +0 -0

benchmarks_svn.bb

Quoted 13 lines

index 51ac6af..6ab29f5 100644

recipes/ti/am-benchmarks_svn.bb +2 -2
@@ -4,15 +4,22 @@ LICENSE = "BSD"
 SECTION = "system"
 PRIORITY = "optional"
 
-SRCREV = "33"
-PV = "1.0"
+SRCREV = "56"
+PV = "1.1"
 PR = "r1+svnr${SRCPV}"
 

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 20

Quoted 10 lines
recipes/ti/am-benchmarks_svn.bb +7 -0
+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=''"

recipes/ti/am-benchmarks_svn.bb LICENSE = "BSD" · line 25

Quoted 6 lines
recipes/ti/am-benchmarks_svn.bb +1 -1
-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.

Quoted 8 lines

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

Quoted 1 line

What device was this built for?

MACHINE = "beagleboard"

Quoted 1 line

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
Quoted 3 lines

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).

Quoted 14 lines
Quoted 1 line

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"

Quoted 5 lines

BB_NICE_LEVEL="19"

PREFERRED_UCLIBC_VERSION = "git"

I attached local.conf too.

Thanks,

Paul