Skip to contentSkip to conversation

Martin Jansa : Revert "add support for opendataplane"

oe-commits Yao Zhao 2 participants 2 messages Aug 11, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Yao Zhao

author
#1 lore raw

Hi,

I had noticed this problem so I sent an email before to hold on merging this recipe. Please ignore it until I fix it.

thanks,
yao

------------------------------------------------------------------------

*From:* [email protected]
*Sent:* Sunday, August 10, 2014 10:17AM
*To:* [email protected]
*Subject:* [oe-commits] Martin Jansa : Revert "add support for opendataplane"

Module: meta-openembedded.git
Branch: master-next
Commit: 638603cd28bf2fb95278e1239c9e0ca1c73fbc92
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=638603cd28bf2fb95278e1239c9e0ca1c73fbc92
Author: Martin Jansa <[email protected]>
Date:   Fri Aug  8 15:59:02 2014 +0200

Revert "add support for opendataplane"

doesn't build for qemuarm

| arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm -DHAVE_CONFIG_H -I. -pthread -DODP_DEBUG_PRINT=1 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/include -I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/include/api -I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/include -O2 -pipe -g -feliminate-unused-debug-types -c /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/odp_packet.c -o odp_packet.o

| {standard input}: Assembler messages:
| {standard input}:40: Error: selected processor does not support ARM mode `dmb st'
| {standard input}:72: Error: selected processor does not support ARM mode `dmb st'
| make[2]: *** [odp_barrier.lo] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/build/platform/linux-generic' | make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/build/platform'

| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/temp/log.do_compile.12211)
NOTE: recipe opendataplane-0.2+gitAUTOINC+68a45b11e5-r0: task do_compile: Failed
ERROR: Task 12545 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-networking/recipes-support/opendataplane/opendataplane_git.bb, do_compile) failed with exit code '1'

This reverts commit e30d6d13f8108a1e3b9bcd8e39b87526e1097f06.

---

 ...inux-dpdk-remove-unnecessary-include-path.patch | 29 ----------------------
 .../opendataplane/opendataplane.inc                | 21 ----------------
 .../opendataplane/opendataplane_0.2.bb             | 25 -------------------
 .../opendataplane/opendataplane_git.bb             | 14 -----------
 4 files changed, 89 deletions(-)
meta-networking/recipes-support/opendataplane/files/0001-linux-dpdk-remove-unnecessary-include-path.patch deleted +0 -29
deleted file mode 100644
index a0ef7ce..0000000
@@ -1,29 +0,0 @@
-From 72b8eacc2985f054cadc5d0b48351a658998b8d6 Mon Sep 17 00:00:00 2001
-From: Yao Zhao <[email protected]>
-Date: Wed, 30 Jul 2014 16:02:14 -0400
-Subject: [PATCH] linux-dpdk: remove unnecessary include path
-
-for dpdk include/arch and include/exec-env is only included
-by generic rte_xxx.h header, can't be included directly.
-
-Signed-off-by: Yao Zhao <[email protected]>
----
- platform/linux-dpdk/Makefile.am | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am
-index 4aa568f..dfcaadb 100644
---- a/platform/linux-dpdk/Makefile.am
-+++ b/platform/linux-dpdk/Makefile.am
-@@ -12,8 +12,6 @@ PLAT_CFLAGS  = -msse4.2
- if SDK_INSTALL_PATH_
- PLAT_CFLAGS += -include $(SDK_INSTALL_PATH)/include/rte_config.h
- PLAT_CFLAGS += -I$(SDK_INSTALL_PATH)/include
--PLAT_CFLAGS += -I$(SDK_INSTALL_PATH)/include/arch
--PLAT_CFLAGS += -I$(SDK_INSTALL_PATH)/include/exec-env
-
- AM_LDFLAGS  += -L$(SDK_INSTALL_PATH)/lib
- endif
---
-1.9.1
-
meta-networking/recipes-support/opendataplane/opendataplane.inc deleted +0 -21
deleted file mode 100644
index c4b184e..0000000
@@ -1,21 +0,0 @@
-SUMMARY = "Cross platform OpenDataPlane application APIs"
-
-DESCRIPTION = "The OpenDataPlane project has been established to \
-produce an open-source, cross-platform set of application \
-programming interfaces (APIs) for the networking data plane."
-
-HOMEPAGE = "http://www.opendataplane.org"
-SECTION = "networking"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4ccfa994aa96974cfcd39a59faee20a2"
-
-SRC_URI = "git://git.linaro.org/lng/odp.git"
-
-COMPATIBLE_HOST = "^((?!mips).*)$"
-
-PACKAGECONFIG ??= "platform_linux_generic"
-PACKAGECONFIG[netmap] = "--enable-netmap,,,"
-PACKAGECONFIG[platform_linux_generic] = "--with-platform=linux-generic,,,"
-
-S = "${WORKDIR}/git"
-
meta-networking/recipes-support/opendataplane/opendataplane_0.2.bb deleted +0 -25
deleted file mode 100644
index 6f7f601..0000000
@@ -1,25 +0,0 @@
-require ${BPN}.inc
-
-#odp-0.2 tag
-SRCREV  = "6007d8833a6880abedf98f792586c0cfb9f10de0"
-PV = "0.2"
-
-#0.2 still using pure Makefile
-
-#override the Makefile DESTDIR
-export DESTDIR="${D}${exec_prefix}"
-
-do_install () {
-    oe_runmake install
-
-    #move DESTDIR/share/odp/odp_x usr/bin
-    install -d ${D}${bindir}
-    for i in ${DESTDIR}/share/odp/*; do
-        filename=`basename $i`
-        mv ${DESTDIR}/share/odp/${filename} ${D}${bindir}/${filename}
-    done
-    rm -rf ${DESTDIR}/share
-}
-
-#non standard doc install location
-FILES_${PN}-doc += "${exec_prefix}/doc/*"
meta-networking/recipes-support/opendataplane/opendataplane_git.bb deleted +0 -14
deleted file mode 100644
index e569daa..0000000
@@ -1,14 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI += "file://0001-linux-dpdk-remove-unnecessary-include-path.patch"
-
-SRCREV  = "68a45b11e52dbf835a7087c15d503c6b0e5d91ed"
-#8f4f080625e2db810da3f13770ba418c72b08ede will support --with-sdk-install-path
-PV = "0.2+git${SRCPV}"
-
-PACKAGECONFIG[platform_linux_generic] = "--with-platform=linux-generic,,openssl,libcrypto"
-#need meta-intel layer's common/recipes-extended/dpdk/dpdk recipe
-PACKAGECONFIG[platform_linux_dpdk] = '--with-platform=linux-dpdk --with-sdk-install-path="${STAGING_EXECPREFIXDIR}",,dpdk,'
-PACKAGECONFIG[platform_linux_keystone2] = "--with-platform=linux-keystone2,,,"
-
-inherit autotools
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yao Zhao schreef op 11-08-14 15:57:

Quoted 4 lines

Hi,

I had noticed this problem so I sent an email before to hold on merging this recipe. Please ignore it until I fix it.

I would *strongly* advice against adding any ODP relates recipes and patches to meta-oe and oe-core. One of the reasons is that it's very much work in progress, the other is that the people involved have a roundtrip time measured in *months* when it comes to review comments.

regards,

Koen

(The code also makes your eyes bleed)

Quoted 36 lines

thanks, yao

------------------------------------------------------------------------

*From:* [email protected] *Sent:*
Sunday, August 10, 2014 10:17AM *To:* [email protected] *Subject:* [oe-commits] Martin Jansa : Revert "add support for opendataplane"

Module: meta-openembedded.git Branch: master-next Commit:
638603cd28bf2fb95278e1239c9e0ca1c73fbc92 URL:
http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=638603cd28bf2fb95278e1239c9e0ca1c73fbc92

Author: Martin Jansa
<[email protected]> Date: Fri Aug
8 15:59:02 2014 +0200

Revert "add support for opendataplane"

doesn't build for qemuarm

| arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc

(quoted diff) +0 -6
-march=armv5te -marm -mthumb-interwork 
--sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm 
-DHAVE_CONFIG_H -I. -pthread -DODP_DEBUG_PRINT=1 -W -Wall -Werror 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs 
-Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings

Review

Quoted 10 lines
(quoted diff) +0 -3
 
-I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/include
 
 
 
-I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/include/api
 
 
 
-I/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/include

- -O2 -pipe -g

Quoted 5 lines

-feliminate-unused-debug-types -c /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/git/platform/linux-generic/odp_packet.c

- -o

Quoted 9 lines

odp_packet.o | {standard input}: Assembler messages: | {standard
input}:40: Error: selected processor does not support ARM mode `dmb st'
| {standard input}:72: Error: selected processor does not support ARM
mode `dmb st' | make[2]: *** [odp_barrier.lo] Error 1 | make[2]: ***
Waiting for unfinished jobs.... | make[2]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/build/platform/linux-generic'

| make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory

Quoted 4 lines

`/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/build/platform'

| make: *** [all-recursive] Error 1 | ERROR: oe_runmake failed |
> WARNING: exit code 1 from a shell command. | ERROR: Function failed: 
Quoted 5 lines

do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/opendataplane/0.2+gitAUTOINC+68a45b11e5-r0/temp/log.do_compile.12211)

NOTE: recipe opendataplane-0.2+gitAUTOINC+68a45b11e5-r0: task

Quoted 5 lines

do_compile: Failed ERROR: Task 12545 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-networking/recipes-support/opendataplane/opendataplane_git.bb,

do_compile) failed

Quoted 6 lines

with exit code '1'

This reverts commit e30d6d13f8108a1e3b9bcd8e39b87526e1097f06.

---

Quoted 11 lines

...inux-dpdk-remove-unnecessary-include-path.patch | 29 ---------------------- .../opendataplane/opendataplane.inc | 21 ---------------- .../opendataplane/opendataplane_0.2.bb | 25 ------------------- .../opendataplane/opendataplane_git.bb | 14 ----------- 4 files changed, 89 deletions(-)

(quoted diff) +0 -0

a/meta-networking/recipes-support/opendataplane/files/0001-linux-dpdk-remove-unnecessary-include-path.patch

b/meta-networking/recipes-support/opendataplane/files/0001-linux-dpdk-remove-unnecessary-include-path.patch

Quoted 6 lines

deleted file mode 100644 index a0ef7ce..0000000 --- a/meta-networking/recipes-support/opendataplane/files/0001-linux-dpdk-remove-unnecessary-include-path.patch

+++ /dev/null @@ -1,29 +0,0 @@ -From

Quoted 60 lines

72b8eacc2985f054cadc5d0b48351a658998b8d6 Mon Sep 17 00:00:00 2001 -From:
Yao Zhao <[email protected]> -Date: Wed,
30 Jul 2014 16:02:14 -0400 -Subject: [PATCH] linux-dpdk: remove unnecessary include path - -for dpdk include/arch and include/exec-env is only included -by generic rte_xxx.h header, can't be included directly. - -Signed-off-by: Yao Zhao
<[email protected]> ---- - platform/linux-dpdk/Makefile.am | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am -index 4aa568f..dfcaadb 100644 ---- a/platform/linux-dpdk/Makefile.am -+++ b/platform/linux-dpdk/Makefile.am
-@@ -12,8 +12,6 @@ PLAT_CFLAGS = -msse4.2 - if SDK_INSTALL_PATH_ -
PLAT_CFLAGS += -include $(SDK_INSTALL_PATH)/include/rte_config.h - PLAT_CFLAGS += -I$(SDK_INSTALL_PATH)/include --PLAT_CFLAGS +=

(quoted diff) +0 -3
-I$(SDK_INSTALL_PATH)/include/arch --PLAT_CFLAGS += 
-I$(SDK_INSTALL_PATH)/include/exec-env - - AM_LDFLAGS  += 
-L$(SDK_INSTALL_PATH)/lib - endif --- -1.9.1 - diff --git 

a/meta-networking/recipes-support/opendataplane/opendataplane.inc b/meta-networking/recipes-support/opendataplane/opendataplane.inc deleted file mode 100644 index c4b184e..0000000 --- a/meta-networking/recipes-support/opendataplane/opendataplane.inc +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Cross platform OpenDataPlane application APIs" - -DESCRIPTION = "The OpenDataPlane project has been established to \ -produce an open-source, cross-platform set of application \ -programming interfaces (APIs) for the networking data plane." - -HOMEPAGE = "http://www.opendataplane.org" -SECTION = "networking" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4ccfa994aa96974cfcd39a59faee20a2" - -SRC_URI = "git://git.linaro.org/lng/odp.git" - -COMPATIBLE_HOST = "^((?!mips).*)$"
- -PACKAGECONFIG ??= "platform_linux_generic" -PACKAGECONFIG[netmap] =
"--enable-netmap,,," -PACKAGECONFIG[platform_linux_generic] = "--with-platform=linux-generic,,," - -S = "${WORKDIR}/git" - diff --git a/meta-networking/recipes-support/opendataplane/opendataplane_0.2.bb b/meta-networking/recipes-support/opendataplane/opendataplane_0.2.bb deleted file mode 100644 index 6f7f601..0000000 --- a/meta-networking/recipes-support/opendataplane/opendataplane_0.2.bb +++ /dev/null @@ -1,25 +0,0 @@ -require ${BPN}.inc - -#odp-0.2 tag -SRCREV = "6007d8833a6880abedf98f792586c0cfb9f10de0" -PV = "0.2" - -#0.2 still using pure Makefile - -#override the Makefile DESTDIR -export
DESTDIR="${D}${exec_prefix}" - -do_install () { - oe_runmake install -

(quoted diff) +0 -2
-    #move DESTDIR/share/odp/odp_x usr/bin -    install -d ${D}${bindir}
-    for i in ${DESTDIR}/share/odp/*; do - filename=`basename $i` -

mv ${DESTDIR}/share/odp/${filename} ${D}${bindir}/${filename} - done -
rm -rf ${DESTDIR}/share -} - -#non standard doc install location -FILES_${PN}-doc += "${exec_prefix}/doc/*" diff --git a/meta-networking/recipes-support/opendataplane/opendataplane_git.bb b/meta-networking/recipes-support/opendataplane/opendataplane_git.bb deleted file mode 100644 index e569daa..0000000 --- a/meta-networking/recipes-support/opendataplane/opendataplane_git.bb +++ /dev/null @@ -1,14 +0,0 @@ -require ${BPN}.inc - -SRC_URI += "file://0001-linux-dpdk-remove-unnecessary-include-path.patch" - -SRCREV = "68a45b11e52dbf835a7087c15d503c6b0e5d91ed"

(quoted diff) +0 -3
-#8f4f080625e2db810da3f13770ba418c72b08ede will support 
--with-sdk-install-path -PV = "0.2+git${SRCPV}" - 
-PACKAGECONFIG[platform_linux_generic] = 

"--with-platform=linux-generic,,openssl,libcrypto" -#need meta-intel layer's common/recipes-extended/dpdk/dpdk recipe

(quoted diff) +0 -3
-PACKAGECONFIG[platform_linux_dpdk] = '--with-platform=linux-dpdk 
--with-sdk-install-path="${STAGING_EXECPREFIXDIR}",,dpdk,' 
-PACKAGECONFIG[platform_linux_keystone2] = 
Quoted 4 lines

"--with-platform=linux-keystone2,,," - -inherit autotools

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFT6NAnMkyGM64RGpERAhVkAKCDIAg+KpvnVhPONuPQI/uftg9nwwCaAsjB FSQG79Wx5QZF3iWZG7802z4=
=3im7
-----END PGP SIGNATURE-----