[oe] [PATCHv2] am-benchmarks: update to latest version
Paul Menzel
paulepanter at users.sourceforge.net
Thu Sep 30 14:53:00 UTC 2010
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100930/d1fdf6a4/attachment-0002.sig>
More information about the Openembedded-devel
mailing list