* [meta-multimedia][PATCH 02/12] liboil: Fix build on risc-v
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 03/12] msgpack-c: Upgrade to 3.1.1 Khem Raj
` (9 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../fix_riscv_unaligned_access.patch | 15 +++++++++++++++
.../recipes-support/liboil/liboil_0.3.17.bb | 1 +
2 files changed, 16 insertions(+)
create mode 100644 meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch
diff --git a/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch b/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch
new file mode 100644
index 0000000000..448bde73fc
--- /dev/null
+++ b/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch
@@ -0,0 +1,15 @@
+RISC-V supports unaligned accesses, therefore enable it
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/m4/as-unaligned-access.m4
++++ b/m4/as-unaligned-access.m4
+@@ -5,7 +5,7 @@ AC_DEFUN([AS_UNALIGNED_ACCESS], [
+ AC_MSG_CHECKING([if unaligned memory access works correctly])
+ if test x"$as_cv_unaligned_access" = x ; then
+ case $host in
+- alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
++ alpha*|arm*|hp*|mips*|riscv*|sh*|sparc*|ia64*)
+ _AS_ECHO_N([(blacklisted) ])
+ as_cv_unaligned_access=no
+ ;;
diff --git a/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb b/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb
index 7e8aa1572a..654ee1e883 100644
--- a/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb
+++ b/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb
@@ -18,6 +18,7 @@ SRC_URI = "http://liboil.freedesktop.org/download/${BPN}-${PV}.tar.gz \
file://0001-Fix-enable-vfp-flag.patch \
file://liboil_fix_for_x32.patch \
file://0001-math_vfp_asm.S-Convert-fldmia-fstmia-instructions-to.patch \
+ file://fix_riscv_unaligned_access.patch \
"
SRC_URI[md5sum] = "47dc734f82faeb2964d97771cfd2e701"
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-oe][PATCH 03/12] msgpack-c: Upgrade to 3.1.1
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
2019-03-06 5:45 ` [meta-multimedia][PATCH 02/12] liboil: Fix build on risc-v Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-python][PATCH 04/12] python-greenlet: Upgrade to 0.4.15 Khem Raj
` (8 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Drop upstreamed patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../0001-Fix-Werror-class-memaccess.patch | 35 -------------------
...{msgpack-c_2.1.5.bb => msgpack-c_3.1.1.bb} | 4 +--
2 files changed, 2 insertions(+), 37 deletions(-)
delete mode 100644 meta-oe/recipes-devtools/msgpack/msgpack-c/0001-Fix-Werror-class-memaccess.patch
rename meta-oe/recipes-devtools/msgpack/{msgpack-c_2.1.5.bb => msgpack-c_3.1.1.bb} (84%)
diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c/0001-Fix-Werror-class-memaccess.patch b/meta-oe/recipes-devtools/msgpack/msgpack-c/0001-Fix-Werror-class-memaccess.patch
deleted file mode 100644
index b0d772d937..0000000000
--- a/meta-oe/recipes-devtools/msgpack/msgpack-c/0001-Fix-Werror-class-memaccess.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From a05d92ae85024d0648f69f95307a1d3e8e51109c Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 1 Apr 2018 19:55:38 -0700
-Subject: [PATCH] Fix -Werror=class-memaccess
-
-Casting to void* make gcc happy since its upset about
-object types and rightly so
-
-Fixes
-
-'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'struct msgpack::v2::object' from an array of 'const msgpack_object' {aka 'const struct msgpack_object'} [-Werror=class-memaccess]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Submitted [https://github.com/msgpack/msgpack-c/pull/659]
-
- include/msgpack/v1/object.hpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/msgpack/v1/object.hpp b/include/msgpack/v1/object.hpp
-index 64da8c53..9721f705 100644
---- a/include/msgpack/v1/object.hpp
-+++ b/include/msgpack/v1/object.hpp
-@@ -661,7 +661,7 @@ inline object::object(const msgpack_object& o)
- inline void operator<< (msgpack::object& o, const msgpack_object& v)
- {
- // FIXME beter way?
-- std::memcpy(&o, &v, sizeof(v));
-+ std::memcpy(static_cast<void*>(&o), &v, sizeof(v));
- }
-
- inline object::operator msgpack_object() const
---
-2.16.3
-
diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb b/meta-oe/recipes-devtools/msgpack/msgpack-c_3.1.1.bb
similarity index 84%
rename from meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
rename to meta-oe/recipes-devtools/msgpack/msgpack-c_3.1.1.bb
index 690a7f444b..90fd44e607 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-c_3.1.1.bb
@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
PV .= "+git${SRCPV}"
SRC_URI = "git://github.com/msgpack/msgpack-c \
- file://0001-Fix-Werror-class-memaccess.patch \
"
-SRCREV = "208595b2620cf6260ce3d6d4cf8543f13b206449"
+# cpp-3.1.1
+SRCREV = "83a82e3eb512b18d4149cabb7eb43c7e8bc081af"
S = "${WORKDIR}/git"
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-python][PATCH 04/12] python-greenlet: Upgrade to 0.4.15
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
2019-03-06 5:45 ` [meta-multimedia][PATCH 02/12] liboil: Fix build on risc-v Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 03/12] msgpack-c: Upgrade to 3.1.1 Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-python][PATCH 05/12] python-grpcio: Upgrade to 1.19.0 Khem Raj
` (7 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-python/recipes-devtools/python/python-greenlet.inc | 4 ++--
.../{python-greenlet_0.4.14.bb => python-greenlet_0.4.15.bb} | 0
...{python3-greenlet_0.4.14.bb => python3-greenlet_0.4.15.bb} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python-greenlet_0.4.14.bb => python-greenlet_0.4.15.bb} (100%)
rename meta-python/recipes-devtools/python/{python3-greenlet_0.4.14.bb => python3-greenlet_0.4.15.bb} (100%)
diff --git a/meta-python/recipes-devtools/python/python-greenlet.inc b/meta-python/recipes-devtools/python/python-greenlet.inc
index fcd81f6c3e..c7c656c84a 100644
--- a/meta-python/recipes-devtools/python/python-greenlet.inc
+++ b/meta-python/recipes-devtools/python/python-greenlet.inc
@@ -3,7 +3,7 @@ LICENSE = "MIT & PSF"
LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \
file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
-SRC_URI[md5sum] = "a87b6028c3b742b210bf5973939db595"
-SRC_URI[sha256sum] = "f1cc268a15ade58d9a0c04569fe6613e19b8b0345b64453064e2c3c6d79051af"
+SRC_URI[md5sum] = "10fa304f673fc18b28fa6d8c6658cb80"
+SRC_URI[sha256sum] = "9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc"
inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb b/meta-python/recipes-devtools/python/python-greenlet_0.4.15.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb
rename to meta-python/recipes-devtools/python/python-greenlet_0.4.15.bb
diff --git a/meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb b/meta-python/recipes-devtools/python/python3-greenlet_0.4.15.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb
rename to meta-python/recipes-devtools/python/python3-greenlet_0.4.15.bb
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-python][PATCH 05/12] python-grpcio: Upgrade to 1.19.0
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (2 preceding siblings ...)
2019-03-06 5:45 ` [meta-python][PATCH 04/12] python-greenlet: Upgrade to 0.4.15 Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V Khem Raj
` (6 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Refresh patch to apply cleanly
Fix build for RISC-V
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../recipes-devtools/python/python-grpcio.inc | 6 ++++--
....py-Do-not-mix-C-and-C-compiler-options.patch | 12 +++++-------
.../python/python-grpcio/riscv64_support.patch | 16 ++++++++++++++++
...-grpcio_1.17.1.bb => python-grpcio_1.19.0.bb} | 0
...grpcio_1.17.1.bb => python3-grpcio_1.19.0.bb} | 0
5 files changed, 25 insertions(+), 9 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch
rename meta-python/recipes-devtools/python/{python-grpcio_1.17.1.bb => python-grpcio_1.19.0.bb} (100%)
rename meta-python/recipes-devtools/python/{python3-grpcio_1.17.1.bb => python3-grpcio_1.19.0.bb} (100%)
diff --git a/meta-python/recipes-devtools/python/python-grpcio.inc b/meta-python/recipes-devtools/python/python-grpcio.inc
index 0cef0dda02..fd341f5de7 100644
--- a/meta-python/recipes-devtools/python/python-grpcio.inc
+++ b/meta-python/recipes-devtools/python/python-grpcio.inc
@@ -8,6 +8,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/python-grpcio:"
SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
file://ppc-boringssl-support.patch \
+ file://riscv64_support.patch \
"
RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
@@ -19,8 +20,9 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
inherit pypi
-SRC_URI[md5sum] = "dd46d7270dfce713c03f45fae999cae3"
-SRC_URI[sha256sum] = "fd6774bbb6c717f725b39394757445ead4f69c471118364933aadb81a4f16961"
+
+SRC_URI[md5sum] = "188565f150f34d1927b87e014f0f4b73"
+SRC_URI[sha256sum] = "2ddbca16c2e7b3f2ffc6e34c7cfa6886fb01de9f156ad3f77b72ad652d632097"
CLEANBROKEN = "1"
diff --git a/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
index 996597b146..f17f048de8 100644
--- a/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
+++ b/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
@@ -18,11 +18,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: grpcio-1.14.1/setup.py
-===================================================================
---- grpcio-1.14.1.orig/setup.py
-+++ grpcio-1.14.1/setup.py
-@@ -123,7 +123,7 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.
+--- a/setup.py
++++ b/setup.py
+@@ -145,7 +145,7 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.
EXTRA_ENV_COMPILE_ARGS = os.environ.get('GRPC_PYTHON_CFLAGS', None)
EXTRA_ENV_LINK_ARGS = os.environ.get('GRPC_PYTHON_LDFLAGS', None)
if EXTRA_ENV_COMPILE_ARGS is None:
@@ -31,7 +29,7 @@ Index: grpcio-1.14.1/setup.py
if 'win32' in sys.platform and sys.version_info < (3, 5):
EXTRA_ENV_COMPILE_ARGS += ' -D_hypot=hypot'
# We use define flags here and don't directly add to DEFINE_MACROS below to
-@@ -135,7 +135,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
+@@ -157,7 +157,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
else:
EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime64 -D_timeb=__timeb64'
elif "linux" in sys.platform:
@@ -39,4 +37,4 @@ Index: grpcio-1.14.1/setup.py
+ EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions'
elif "darwin" in sys.platform:
EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions'
- EXTRA_ENV_COMPILE_ARGS += ' -DPB_FIELD_16BIT'
+ EXTRA_ENV_COMPILE_ARGS += ' -DPB_FIELD_32BIT'
diff --git a/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch b/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch
new file mode 100644
index 0000000000..fef7d9e757
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio/riscv64_support.patch
@@ -0,0 +1,16 @@
+Add RISC-V 64bit support
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/third_party/boringssl/include/openssl/base.h
++++ b/third_party/boringssl/include/openssl/base.h
+@@ -104,6 +104,9 @@ extern "C" {
+ #elif defined(__mips__) && defined(__LP64__)
+ #define OPENSSL_64_BIT
+ #define OPENSSL_MIPS64
++#elif defined(__riscv) && defined(__riscv_xlen)
++#define OPENSSL_64_BIT
++#define OPENSSL_RISCV64
+ #elif defined(__pnacl__)
+ #define OPENSSL_32_BIT
+ #define OPENSSL_PNACL
diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb b/meta-python/recipes-devtools/python/python-grpcio_1.19.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb
rename to meta-python/recipes-devtools/python/python-grpcio_1.19.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.19.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb
rename to meta-python/recipes-devtools/python/python3-grpcio_1.19.0.bb
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (3 preceding siblings ...)
2019-03-06 5:45 ` [meta-python][PATCH 05/12] python-grpcio: Upgrade to 1.19.0 Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-07 17:23 ` Adrian Bunk
2019-03-06 5:45 ` [meta-oe][PATCH 07/12] nmap: " Khem Raj
` (5 subsequent siblings)
10 siblings, 1 reply; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
index a27dbae2e6..453f485d1c 100644
--- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
@@ -54,6 +54,8 @@ EXTRA_OECONF_append_libc-musl = " --disable-rsh --disable-rcp --disable-rlogin "
do_configure_prepend () {
export HELP2MAN='true'
cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
rm -f ${S}/glob/configure*
}
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-06 5:45 ` [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V Khem Raj
@ 2019-03-07 17:23 ` Adrian Bunk
2019-03-07 17:25 ` Khem Raj
0 siblings, 1 reply; 17+ messages in thread
From: Adrian Bunk @ 2019-03-07 17:23 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-devel
On Tue, Mar 05, 2019 at 09:45:42PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
>...
This recipe moved to OE-core.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-07 17:23 ` Adrian Bunk
@ 2019-03-07 17:25 ` Khem Raj
2019-03-07 20:48 ` Tom Rini
0 siblings, 1 reply; 17+ messages in thread
From: Khem Raj @ 2019-03-07 17:25 UTC (permalink / raw)
To: Adrian Bunk; +Cc: openembeded-devel
On Thu, Mar 7, 2019 at 9:23 AM Adrian Bunk <bunk@stusta.de> wrote:
>
> On Tue, Mar 05, 2019 at 09:45:42PM -0800, Khem Raj wrote:
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > .../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
> >...
>
> This recipe moved to OE-core.
>
thansk of reminder, yeah it was in transition. I hoping Tom will send a
patch to delete these recipes from meta-oe repo.
> cu
> Adrian
>
> --
>
> "Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
> "Only a promise," Lao Er said.
> Pearl S. Buck - Dragon Seed
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-07 17:25 ` Khem Raj
@ 2019-03-07 20:48 ` Tom Rini
2019-03-07 20:53 ` Khem Raj
0 siblings, 1 reply; 17+ messages in thread
From: Tom Rini @ 2019-03-07 20:48 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel, Adrian Bunk
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
On Thu, Mar 07, 2019 at 09:25:33AM -0800, Khem Raj wrote:
> On Thu, Mar 7, 2019 at 9:23 AM Adrian Bunk <bunk@stusta.de> wrote:
> >
> > On Tue, Mar 05, 2019 at 09:45:42PM -0800, Khem Raj wrote:
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > > .../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
> > >...
> >
> > This recipe moved to OE-core.
> >
>
> thansk of reminder, yeah it was in transition. I hoping Tom will send a
> patch to delete these recipes from meta-oe repo.
Yes, I sent one last week :) Do you need me to rebase them?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-07 20:48 ` Tom Rini
@ 2019-03-07 20:53 ` Khem Raj
2019-03-07 21:01 ` Tom Rini
0 siblings, 1 reply; 17+ messages in thread
From: Khem Raj @ 2019-03-07 20:53 UTC (permalink / raw)
To: Tom Rini; +Cc: openembeded-devel, Adrian Bunk
On Thu, Mar 7, 2019 at 12:48 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Mar 07, 2019 at 09:25:33AM -0800, Khem Raj wrote:
> > On Thu, Mar 7, 2019 at 9:23 AM Adrian Bunk <bunk@stusta.de> wrote:
> > >
> > > On Tue, Mar 05, 2019 at 09:45:42PM -0800, Khem Raj wrote:
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > ---
> > > > .../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
> > > >...
> > >
> > > This recipe moved to OE-core.
> > >
> >
> > thansk of reminder, yeah it was in transition. I hoping Tom will send a
> > patch to delete these recipes from meta-oe repo.
>
> Yes, I sent one last week :) Do you need me to rebase them?
>
its not in my inbox, maybe I missed it, please point me to it. In
anycase I have pushed a patch into master-next
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=26e11bd62d066dfdb7034c981f6fca04411c95f2
> --
> Tom
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V
2019-03-07 20:53 ` Khem Raj
@ 2019-03-07 21:01 ` Tom Rini
0 siblings, 0 replies; 17+ messages in thread
From: Tom Rini @ 2019-03-07 21:01 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel, Adrian Bunk
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
On Thu, Mar 07, 2019 at 12:53:40PM -0800, Khem Raj wrote:
> On Thu, Mar 7, 2019 at 12:48 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Thu, Mar 07, 2019 at 09:25:33AM -0800, Khem Raj wrote:
> > > On Thu, Mar 7, 2019 at 9:23 AM Adrian Bunk <bunk@stusta.de> wrote:
> > > >
> > > > On Tue, Mar 05, 2019 at 09:45:42PM -0800, Khem Raj wrote:
> > > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > > ---
> > > > > .../recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++
> > > > >...
> > > >
> > > > This recipe moved to OE-core.
> > > >
> > >
> > > thansk of reminder, yeah it was in transition. I hoping Tom will send a
> > > patch to delete these recipes from meta-oe repo.
> >
> > Yes, I sent one last week :) Do you need me to rebase them?
> >
>
> its not in my inbox, maybe I missed it, please point me to it. In
> anycase I have pushed a patch into master-next
Lemme just wipe the egg off my face for sending it to the wrong list,
rebase it anyhow and send it properly. Sorry about that!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [meta-oe][PATCH 07/12] nmap: Fix build on RISC-V
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (4 preceding siblings ...)
2019-03-06 5:45 ` [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-webserver][PATCH 08/12] netdata: Link with libpthread Khem Raj
` (4 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-security/nmap/nmap_7.70.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-security/nmap/nmap_7.70.bb b/meta-oe/recipes-security/nmap/nmap_7.70.bb
index e878038266..b1b150a7d0 100644
--- a/meta-oe/recipes-security/nmap/nmap_7.70.bb
+++ b/meta-oe/recipes-security/nmap/nmap_7.70.bb
@@ -42,6 +42,8 @@ export PYTHON_SITEPACKAGES_DIR
do_configure() {
autoconf
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
oe_runconf
}
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-webserver][PATCH 08/12] netdata: Link with libpthread
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (5 preceding siblings ...)
2019-03-06 5:45 ` [meta-oe][PATCH 07/12] nmap: " Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-multimedia][PATCH 09/12] webrtc-audio-processing: Add support for risc-v Khem Raj
` (3 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Fixes
global_statistics.c:90: undefined reference to `__atomic_fetch_add_2'
| collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index b0f1602528..390fa4ba9b 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -27,6 +27,8 @@ DEPENDS += "zlib util-linux"
inherit pkgconfig autotools useradd systemd
+LDFLAGS += "-pthread"
+
#systemd
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "netdata.service"
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-multimedia][PATCH 09/12] webrtc-audio-processing: Add support for risc-v
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (6 preceding siblings ...)
2019-03-06 5:45 ` [meta-webserver][PATCH 08/12] netdata: Link with libpthread Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 10/12] openocd: Fix build " Khem Raj
` (2 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../riscv_support.patch | 33 +++++++++++++++++++
.../webrtc-audio-processing_0.3.bb | 1 +
2 files changed, 34 insertions(+)
create mode 100644 meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/riscv_support.patch
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/riscv_support.patch b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/riscv_support.patch
new file mode 100644
index 0000000000..576b9860a8
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/riscv_support.patch
@@ -0,0 +1,33 @@
+Add support for RISC-V
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/webrtc/base/basictypes.h
++++ b/webrtc/base/basictypes.h
+@@ -29,6 +29,10 @@
+ #define CPU_ARM 1
+ #endif
+
++#if defined(__riscv) || defined(_M_RISCV)
++#define CPU_RISCV 1
++#endif
++
+ #if defined(CPU_X86) && defined(CPU_ARM)
+ #error CPU_X86 and CPU_ARM both defined.
+ #endif
+--- a/webrtc/typedefs.h
++++ b/webrtc/typedefs.h
+@@ -56,6 +56,13 @@
+ #elif defined(__powerpc__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_BIG_ENDIAN
++#elif defined(__riscv)
++#if __riscv_xlen == 64
++# define WEBRTC_ARCH_64_BITS
++#else
++# define WEBRTC_ARCH_32_BITS
++#endif
++#define WEBRTC_ARCH_LITTLE_ENDIAN
+ #elif defined(__pnacl__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing_0.3.bb b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing_0.3.bb
index 2b0f7c6840..dbba2f488c 100644
--- a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing_0.3.bb
+++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing_0.3.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${
file://0004-typedefs.h-add-support-for-64-bit-and-big-endian-MIP.patch \
file://0005-typedefs.h-add-support-for-PowerPC.patch \
file://0006-common_audio-implement-endianness-conversion-in-wav-.patch \
+ file://riscv_support.patch \
"
SRC_URI[md5sum] = "336ae032f608e65808ac577cde0ab72c"
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-oe][PATCH 10/12] openocd: Fix build for risc-v
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (7 preceding siblings ...)
2019-03-06 5:45 ` [meta-multimedia][PATCH 09/12] webrtc-audio-processing: Add support for risc-v Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 11/12] rabbitmq-c: Upgrade to 0.9.0 Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 12/12] libmxml: Upgrade to 3.0 release Khem Raj
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-devtools/openocd/openocd_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb
index 21a86de390..4377e88e47 100644
--- a/meta-oe/recipes-devtools/openocd/openocd_git.bb
+++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb
@@ -29,6 +29,8 @@ EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html"
do_configure() {
./bootstrap nosubmodule
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/jimtcl/autosetup
oe_runconf ${EXTRA_OECONF}
}
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-oe][PATCH 11/12] rabbitmq-c: Upgrade to 0.9.0
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (8 preceding siblings ...)
2019-03-06 5:45 ` [meta-oe][PATCH 10/12] openocd: Fix build " Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
2019-03-06 5:45 ` [meta-oe][PATCH 12/12] libmxml: Upgrade to 3.0 release Khem Raj
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
Switch to Cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{rabbitmq-c_0.7.0.bb => rabbitmq-c_0.9.0.bb} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
rename meta-oe/recipes-connectivity/rabbitmq-c/{rabbitmq-c_0.7.0.bb => rabbitmq-c_0.9.0.bb} (67%)
diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.7.0.bb b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.9.0.bb
similarity index 67%
rename from meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.7.0.bb
rename to meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.9.0.bb
index e9846fdea5..5096d6cd3a 100644
--- a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.7.0.bb
+++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.9.0.bb
@@ -4,15 +4,16 @@ LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53"
LICENSE = "MIT"
SRC_URI = "git://github.com/alanxz/rabbitmq-c.git"
-SRCREV = "4dde30ce8d984edda540349f57eb7995a87ba9de"
+# v0.9.0-master
+SRCREV = "7e693a23f7fb7120f85995d3c922814495be30db"
S = "${WORKDIR}/git"
DEPENDS = "popt openssl"
-EXTRA_OECONF = "--disable-examples --enable-tools --disable-docs"
+EXTRA_OECMAKE = "-DBUILD_EXAMPLES=OFF -DBUILD_TOOLS=ON -DBUILD_TOOLS_DOCS=OFF -DBUILD_API_DOCS=OFF"
-inherit autotools pkgconfig
+inherit cmake pkgconfig
PACKAGE_BEFORE_PN += "${PN}-tools"
FILES_${PN}-tools = "${bindir}"
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread* [meta-oe][PATCH 12/12] libmxml: Upgrade to 3.0 release
2019-03-06 5:45 [meta-oe][PATCH 01/12] poco: Backport riscv support patch Khem Raj
` (9 preceding siblings ...)
2019-03-06 5:45 ` [meta-oe][PATCH 11/12] rabbitmq-c: Upgrade to 0.9.0 Khem Raj
@ 2019-03-06 5:45 ` Khem Raj
10 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2019-03-06 5:45 UTC (permalink / raw)
To: openembedded-devel
License-Update: Switch to Apache-2.0 as upstream has switched
https://github.com/michaelrsweet/mxml/commit/f166ad1977f2f13295689772a5d9e442f73d46f1#diff-9879d6db96fd29134fc802214163b95a
Fix build on risc-v
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-support/libmxml/libmxml_git.bb | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-support/libmxml/libmxml_git.bb b/meta-oe/recipes-support/libmxml/libmxml_git.bb
index 542fe81575..b17fc67e0a 100644
--- a/meta-oe/recipes-support/libmxml/libmxml_git.bb
+++ b/meta-oe/recipes-support/libmxml/libmxml_git.bb
@@ -1,13 +1,14 @@
DESCRIPTION = "Tiny XML Library"
-LICENSE = "Mini-XML-License"
-LIC_FILES_CHKSUM = "file://COPYING;md5=a6ba38606d63bb042c5d8cfee182e120"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
HOMEPAGE = "https://www.msweet.org/mxml/"
BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues"
SRC_URI = "git://github.com/michaelrsweet/mxml.git"
-SRCREV = "ba3cca82e15a88a9cc6afb60f059288a99afc703"
+SRCREV = "c7755b6992a2afdd34dde47fc9be97f1237cfded"
S = "${WORKDIR}/git"
-PV = "2.12+git${SRCPV}"
+# v3.0
+PV = "3.0"
CONFIGUREOPTS = " --prefix=${prefix} \
--bindir=${bindir} \
@@ -28,6 +29,8 @@ CONFIGUREOPTS = " --prefix=${prefix} \
"
do_configure() {
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
./configure ${CONFIGUREOPTS} --enable-shared
}
--
2.21.0
^ permalink raw reply related [flat|nested] 17+ messages in thread