Re: [OE-core] [PATCH 15/26] dpkg: update 1.20.9 -> 1.21.1

2021-12-16 Thread Alexey Brodkin via lists.openembedded.org
Hi Alexander, > From: Alexander Kanavin > Sent: Thursday, December 16, 2021 1:40 AM > To: openembedded-core@lists.openembedded.org > > Cc: Alexander Kanavin ; Alexey Brodkin > > Subject: [PATCH 15/26] dpkg: update 1.20.9 -> 1.21.1 >   > Signed-off-by: Al

[OE-core] [PATCH] openssl: Use linux-latomic target for ARC

2021-12-07 Thread Alexey Brodkin via lists.openembedded.org
s exactly what's needed. See [1] and [2] for more details on the matter. [1] https://github.com/openssl/openssl/commit/cdf2986a70d92668d882eb29737225f1aaafd0f1 [2] https://github.com/openssl/openssl/pull/15640 Signed-off-by: Alexey Brodkin --- Please pardon that re-send as initially I erroneously sen

[OE-core] [PATCH v2] dhcpcd: add ARC support

2021-07-04 Thread Alexey Brodkin via lists.openembedded.org
This retrofits ARC support from upstream [1]. Should be a part of the next release of "dhcpcd". https://github.com/NetworkConfiguration/dhcpcd/commit/82386110e67cf75c224e9817fce55e6b0f143266 Signed-off-by: Alexey Brodkin Cc: Alexandre Belloni --- Changes in v2: * Added "Upstr

Re: [OE-core] [PATCH] dhcpcd: add ARC support

2021-07-04 Thread Alexey Brodkin via lists.openembedded.org
it/82386110e67cf75c224e9817fce55e6b0f143266] + Signed-off-by: Fabrice Fontaine +Signed-off-by: Alexey Brodkin --->8-- So thanks a lot for spotting that, will send a re-spin in a moment! -Alexey -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

[OE-core] [PATCH] dhcpcd: add ARC support

2021-07-02 Thread Alexey Brodkin via lists.openembedded.org
This retrofits ARC support from upstream [1]. Should be a part of the next release of "dhcpcd". https://github.com/NetworkConfiguration/dhcpcd/commit/82386110e67cf75c224e9817fce55e6b0f143266 Signed-off-by: Alexey Brodkin --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb |

[OE-core] [PATCH] dpkg: Add ARC support

2021-06-25 Thread Alexey Brodkin via lists.openembedded.org
This back-ports ARC support which was added after the most recent tag 1.20.9 was cut. So on the next version bump this change to be reverted. Signed-off-by: Alexey Brodkin --- .../dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch | 68 ++ meta/recipes-devtools/dpkg/dpkg_1.20.9

[OE-core] [PATCH] default-distrovars.inc: Remove seccomp for ARC

2021-06-24 Thread Alexey Brodkin via lists.openembedded.org
libseccomp needs too be ported to ARC first Signed-off-by: Alexey Brodkin Cc: Khem Raj --- meta/conf/distro/include/default-distrovars.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc

[OE-core] [PATCH] gcc: Apply multilib fix to ARC as well

2021-06-20 Thread Alexey Brodkin via lists.openembedded.org
x". In fact this header "bits/c++config.h" is located in "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux" on target. Signed-off-by: Alexey Brodkin --- .../gcc/gcc/0004-64-bit-multilib-hack.patch| 23 +++--- 1 file changed,

[OE-core] [PATCH] gdb: Add native GDB support for ARC

2021-06-15 Thread Alexey Brodkin via lists.openembedded.org
b76d3084337823d02362 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6 Thanks a bunch to Anton & Shahab who made it possible! Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/gdb/gdb-10.2.inc | 4 + .../0012-arc-Add-suppo

[OE-core] [PATCH] gcc: Fixes for ARC

2021-06-11 Thread Alexey Brodkin via lists.openembedded.org
- 3. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a9b6a004f89fdd95b0470e1324dc4dee8c41d24 Precautious fix for rare corner cases which we don't wnat to really end-up in. Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/gcc/gcc-11.1.inc | 3 + ...0038-arc-Update-

[OE-core] [PATCH] busybox: Enable domain search list support

2019-04-05 Thread Alexey Brodkin
-->8--- option domain-search "internal.company.com"; >8------- Signed-off-by: Alexey Brodkin --- meta/recipes-core/busybox/busybox/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-co

Re: [OE-core] [PATCH] fixup! qemu: backport patches to fix cves

2019-03-20 Thread Alexey Brodkin
Hi Kai, > -Original Message- > From: Kang Kai > Sent: Thursday, March 21, 2019 6:27 AM > To: Alexey Brodkin > Cc: openembedded-core@lists.openembedded.org; > richard.pur...@linuxfoundation.org > Subject: Re: [PATCH] fixup! qemu: backport patches to fix cves >

Re: [OE-core] [PATCH] fixup! qemu: backport patches to fix cves

2019-03-20 Thread Alexey Brodkin
Hi Kai Kang, > -Original Message- > From: kai.k...@windriver.com > Sent: Wednesday, March 20, 2019 4:16 PM > To: richard.pur...@linuxfoundation.org > Cc: alexey.brod...@synopsys.com; openembedded-core@lists.openembedded.org > Subject: [PATCH] fixup! qemu: backport patches to fix cves

Re: [OE-core] qemu: backport patches to fix cves breaks qemu-system-native

2019-03-20 Thread Alexey Brodkin
Hi Richard, > -Original Message- > From: richard.pur...@linuxfoundation.org > Sent: Wednesday, March 20, 2019 3:04 PM > To: Alexey Brodkin ; Kai Kang > > Cc: Patches and discussions about the oe-core layer > > Subject: Re: qemu: backport patches to fix cves b

Re: [OE-core] qemu: backport patches to fix cves breaks qemu-system-native

2019-03-20 Thread Alexey Brodkin
Hi Richard, [snip] > > > > > We're not seeing this on the autobuilder, is this gated by some > > > non- > > > default config option? > > > > Maybe. > > > > But if you grep by qemu sources you may notice that indeed > > VENDOR_ERR_INV_NUM_SGE is not defined anywhere. So regardless of my > > setup

[OE-core] qemu: backport patches to fix cves breaks qemu-system-native

2019-03-20 Thread Alexey Brodkin
Hello Kai Kang, You recent changes in QEMU [1] lead to build failure: -->8- # bitbake qemu-system-native ... | .../build/tmp-glibc/work/x86_64-linux/qemu-system-native/3.1.0-r0/qemu-3.1.0/hw/rdma/rdma_backend.c:316:42:

Re: [OE-core] [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Alexey Brodkin
Hi Khem, > -Original Message- > From: Khem Raj > Sent: Friday, February 8, 2019 8:28 PM > To: Alexey Brodkin > Cc: Patches and discussions about the oe-core layer > ; Ross > Burton ; linux-snps-...@lists.infradead.org; Bruce > Ashfield > > Subject

[OE-core] [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Alexey Brodkin
As of now in case of ARC there's no in-kernel implementation of basic libgcc functions used for millicode, multiplication, division etc instead we simply link with libgcc.a which provides everything used by the compiler. Signed-off-by: Alexey Brodkin --- meta/recipes-kernel/linux/linux

Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1

2019-02-07 Thread Alexey Brodkin
Hi Andrea, > -Original Message- > From: Andrea Adami > Sent: Thursday, February 7, 2019 5:26 PM > To: Alexey Brodkin > Cc: Leon Woestenberg ; Patches and discussions about the > oe-core layer > > Subject: Re: [OE-core] Always install initramfs-framework-base i

Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1

2019-02-06 Thread Alexey Brodkin
Hi Leon, > -Original Message- > From: Leon Woestenberg > Sent: Friday, February 1, 2019 12:18 AM > To: Alexey Brodkin > Cc: Patches and discussions about the oe-core layer > > Subject: Re: [OE-core] Always install initramfs-framework-base in c

[OE-core] Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1

2019-01-29 Thread Alexey Brodkin
Hello, I'd like to get more educated opinions before sending silly patches. I'm building a uImage with built-in initramfs. If I build any vanilla kernel (i.e. with no OE/Yocto patches) all work well but if I switch to linux-yocto I'm getting a panic saying:

[OE-core] [PATCH] wic: sdimage-bootpart: Use mmcblk0 drive instead of bogus mmcblk

2019-01-16 Thread Alexey Brodkin
mode. Press Enter for maintenance -->8- Fix it with use of "mmcblk0" device name. [1] https://lists.yoctoproject.org/pipermail/meta-freescale/2018-February/022156.html Signed-off-by: Alexey Brodkin Cc: Maciej Borzecki Cc: Maciek Borzecki Cc: Richard Purdie

Re: [OE-core] [PATCH] webkitgtk: Enable building for ARC architecture

2019-01-14 Thread Alexey Brodkin
Hi Khem, > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Friday, January 11, 2019 6:32 PM > To: Alexey Brodkin > Cc: Patches and discussions about the oe-core layer > ; > Richard Purdie ; Ross Burton > ; linux-snps- > a...@lis

[OE-core] [PATCH] webkitgtk: Enable building for ARC architecture

2019-01-11 Thread Alexey Brodkin
For that we need 2 things: 1. Disable JIT in JS as it's not supported for ARC. 2. Compile with "-mlong-calls" so relocations with offsets larger than 25 bits are used, otherwise linker fails to link final binaries. Signed-off-by: Alexey Brodkin Cc: Alexander Kanavin Cc:

[OE-core] [PATCH] gdb: Remove long ago upstreamed patch

2018-12-04 Thread Alexey Brodkin
This fix was upstreamed a long ago, see [1]. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=37ce4055fe907b9edd25498dcda7a133dbd19784 Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/gdb/gdb-8.2.inc | 1 - .../gdb/0001-include-sys-types.h

Re: [OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Alexey Brodkin
Hi Otavio, On Tue, 2018-11-27 at 17:52 -0200, Otavio Salvador wrote: > On Tue, Nov 27, 2018 at 5:30 PM Otavio Salvador > wrote: > > On Tue, Nov 27, 2018 at 5:13 PM Alexey Brodkin > > wrote: > > > Even though we're not going to build here real U-Boot binary

[OE-core] [PATCH] u-boot-tools: Improve build preparation

2018-11-27 Thread Alexey Brodkin
s dependencies let's create super minimalistic configuration which is good enough to allow us to run "make tools". [1] http://errors.yoctoproject.org/Errors/Details/202185/ [2] http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a4958a71017fb142542f977c843c5fce769fc6ea Signed-off-by: Alex

Re: [OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-26 Thread Alexey Brodkin
Hi Tom, On Mon, 2018-11-26 at 19:51 -0500, Tom Rini wrote: > On Mon, Nov 26, 2018 at 09:07:37PM -0200, Otavio Salvador wrote: > > Hello Alexey, > > > > On Mon, Nov 26, 2018 at 7:30 PM Alexey Brodkin > > wrote: > > > On Sat, 2018-11-24 at 06:57

Re: [OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-26 Thread Alexey Brodkin
Hi Khem, On Sat, 2018-11-24 at 06:57 -0800, Khem Raj wrote: > > http://errors.yoctoproject.org/Errors/Details/202185/ Looking at the target name "u-boot-tools-1_2018.11-r0 do_compile" I think it might have something to do with bump of U-Boot to v2018.11 and the error message in question was

[OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
-tools_2014.04.bb Given there're quite some U-Boot tools that we may want to add later this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools" still for compatibility we provide "u-boot-mkimage" with help of PROVIDES as well as proposed "u-boot-

[OE-core] [PATCH] arc: Disable LTTng

2018-11-22 Thread Alexey Brodkin
LTTng depends on liburcu which is not yet ported to ARC so disable LTTng on ARC for now. Signed-off-by: Alexey Brodkin --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 3 +++ meta/recipes-devtools/gdb/gdb-common.inc | 1 + meta/recipes-kernel

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
Hi, Richard, Otavio, On Thu, 2018-11-22 at 11:28 +0300, Alexey Brodkin wrote: > This utility is used for creation of images containing > usable in run-time U-Boot environment. > > As of today this utility is added per-board like here [1] > for Intel Edison board. &

[OE-core] [PATCH] gcc: Select proper ARC CPU when build for target

2018-11-22 Thread Alexey Brodkin
essors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L4 [2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L34 Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/gcc/gcc-target.inc | 1 + 1 file changed, 1 i

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
Hi Otavio, On Thu, 2018-11-22 at 07:30 -0200, Otavio Salvador wrote: > Hello Alexey, > > On Thu, Nov 22, 2018 at 6:28 AM Alexey Brodkin > wrote: > > This utility is used for creation of images containing > > usable in run-time U-Boot environment. > > > > A

[OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
-tools_2014.04.bb Given there're quite some U-Boot tools that we may want to add later this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools" still for compatibility we provide "u-boot-mkimage" with help of PROVIDES as well as proposed "u-boot-

[OE-core] [PATCH v5] u-boot: Add mkenvimage tool

2018-11-21 Thread Alexey Brodkin
-tools_2014.04.bb Given there're quite some U-Boot tools that we may want to add later this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools" still for compatibility we provide "u-boot-mkimage" with help of PROVIDES as well as proposed "u-boot-

Re: [OE-core] [PATCH v4] u-boot: Add mkenvimage tool

2018-11-20 Thread Alexey Brodkin
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, November 20, 2018 11:23 PM > To: Alexey Brodkin ; > openembedded-core@lists.openembedded.org > Cc: Ross Burton ; Khem Raj ; > linux-snps-...@lists.infradead.org; Richard Purdi

[OE-core] [PATCH v4] u-boot: Add mkenvimage tool

2018-11-20 Thread Alexey Brodkin
-tools_2014.04.bb Given there're quite some U-Boot tools that we may want to add later this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools" still for compatibility we provide "u-boot-mkimage" with help of PROVIDES as well as proposed "u-boot-

Re: [OE-core] [PATCH v3] u-boot: Add mkenvimage tool

2018-11-20 Thread Alexey Brodkin
Hi Otavio, > -Original Message- > From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] > Sent: Tuesday, November 20, 2018 6:49 PM > To: Burton, Ross > Cc: Peter Kjellerstedt ; Marek Vasut > ; Tom Rini ; Otavio > Salvador ; Alexey Brodkin > ; Patch

Re: [OE-core] [PATCH v3] u-boot: Add mkenvimage tool

2018-11-19 Thread Alexey Brodkin
Hi Otavio, Tom, all, On Mon, 2018-11-19 at 17:22 -0200, Otavio Salvador wrote: > On Mon, Nov 19, 2018 at 5:08 PM Tom Rini wrote: > > On Mon, Nov 19, 2018 at 01:51:41PM +0100, Marek Vasut wrote: > > > On 11/19/2018 11:04 AM, Alexey Brodkin wrote: > > > > Thi

[OE-core] [PATCH v3] u-boot: Add mkenvimage tool

2018-11-19 Thread Alexey Brodkin
-tools_2014.04.bb Given there're quite some U-Boot tools that we may want to add later this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools" still for compatibility we provide "u-boot-mkimage" with help of PROVIDES as well as proposed "u-boot-

[OE-core] [PATCH v2] u-boot: Add mkenvimage tool

2018-11-15 Thread Alexey Brodkin
ere [1] for Intel Edison board. [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-bsp/recipes-bsp/u-boot/u-boot-tools_2014.04.bb Signed-off-by: Alexey Brodkin Cc: Richard Purdie Cc: Otavio Salvador Cc: Martin Jansa Cc: Ross Burton Cc: Marek Vasut ---

Re: [OE-core] [PATCH] u-boot: Add mkenvimage tool

2018-11-15 Thread Alexey Brodkin
Hi Martin, On Thu, 2018-11-15 at 10:27 +0100, Martin Jansa wrote: > On Thu, Nov 15, 2018 at 05:15:03AM +0000, Alexey Brodkin wrote: > > Hi Marek, [snip] > > > Reviewed-by: Marek Vasut > > > > > > That said, could the recipe for mkimage and mken

Re: [OE-core] [PATCH] u-boot: Add mkenvimage tool

2018-11-14 Thread Alexey Brodkin
Hi Marek, On Thu, 2018-11-15 at 06:03 +0100, Marek Vasut wrote: > On 11/15/2018 05:57 AM, Khem Raj wrote: > > On Wed, Nov 14, 2018 at 8:00 PM Alexey Brodkin > > wrote: > > > This utility is used for creation of images containing > > > usab

Re: [OE-core] [PATCH] u-boot: Add mkenvimage tool

2018-11-14 Thread Alexey Brodkin
Hi Khem, On Wed, 2018-11-14 at 20:57 -0800, Khem Raj wrote: > On Wed, Nov 14, 2018 at 8:00 PM Alexey Brodkin > wrote: > > This utility is used for creation of images containing > > usable in run-time U-Boot environment. > > > > As of today this utility i

[OE-core] [PATCH] u-boot: Add mkenvimage tool

2018-11-14 Thread Alexey Brodkin
package it for each and everyone. [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-bsp/recipes-bsp/u-boot/u-boot-tools_2014.04.bb [2] https://github.com/kraj/meta-altera/blob/master/recipes-bsp/u-boot/u-boot-mkenvimage_v2016.11.bb Signed-off-by: Alexey Brodkin

Re: [OE-core] [PATCH] locale: Allow usage of cross-localedef for ARC

2018-11-13 Thread Alexey Brodkin
Hi Vineet, On Mon, 2018-11-12 at 23:22 +, Vineet Gupta wrote: > > On 11/12/18 2:44 PM, Alexey Brodkin wrote: > > With this it's possible to build locale data for ARC > > and not do it instead on the first boot. > > > > Signed-off-by: Alexey Brodkin

[OE-core] [PATCH] locale: Allow usage of cross-localedef for ARC

2018-11-12 Thread Alexey Brodkin
With this it's possible to build locale data for ARC and not do it instead on the first boot. Signed-off-by: Alexey Brodkin --- meta/classes/libc-package.bbclass| 2 ++ meta/lib/oe/package_manager.py | 2 ++ meta/recipes-core/glibc/glibc-locale.inc | 2 +- 3 files changed, 5

[OE-core] [PATCH] tcf-agent: Disable architecture-specific features for ARC

2018-11-12 Thread Alexey Brodkin
There's no support of architecture-specific features for ARC in tcf-agent, so disable non-generic stuff for now. Signed-off-by: Alexey Brodkin Cc: Richard Purdie Cc: Khem Raj --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes

[OE-core] [PATCH] packagegroup-core-sdk: Disable SANITIZERS for ARC

2018-11-12 Thread Alexey Brodkin
Sanitizers are not yet supported on ARC. Signed-off-by: Alexey Brodkin --- meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core

[OE-core] [PATCH] perf: Disable libunwind for ARC & RISCV64

2018-10-31 Thread Alexey Brodkin
gned-off-by: Alexey Brodkin Cc: Khem Raj --- meta/recipes-kernel/perf/perf.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index af099043e1..bae4948751 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-ke

[OE-core] [PATCH] packagegroup-core-tools-profile: disable valgrind on arc

2018-10-18 Thread Alexey Brodkin
As of today there's no port of Valgrind for ARC so disabling it. Signed-off-by: Alexey Brodkin --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta

[OE-core] [PATCH] mpfr: Fix compilation for ARC

2018-10-18 Thread Alexey Brodkin
0, %2, %3" \ |^~~ Signed-off-by: Alexey Brodkin --- .../0001-Fix-obsolete-ARC-asm-constraints.patch| 45 ++ meta/recipes-support/mpfr/mpfr_4.0.1.bb| 3 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support

[OE-core] [PATCH v4] libgpg-error: Add ARC support

2018-10-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v3 -> v4: * Fixed breakage for i586 This was due to not replaced i686-pc-linux-gnu with i686-unknown-linux-gnu Build-tested for MACHINE = "qemux86" Changes v2 -> v3: * Use proper [recently upstreamed] fix for ARC Glibc

[OE-core] ARC: machine dictionary - ARCompact vs ARCv2

2018-09-25 Thread Alexey Brodkin
Hello, While upstreaming ARC bits in OE core I faced one interesting challenge. As of today we have 2 binary-incompatible 32-bit ISAs (Instruction Set Arch): 1. ARCompact (AKA ARCv1) and 2. ARCv2 In Binutils they have 2 separate machine numbers: EM_ARC_COMPACT=93 for ARCompact, see [1] and

[OE-core] [PATCH v3 7/9] gcc: Disable libitm for ARC

2018-09-21 Thread Alexey Brodkin
The libitm is not supported on ARC, so disable it Signed-off-by: Alexey Brodkin --- No changes in v3. No changes in v2. meta/recipes-devtools/gcc/gcc-runtime.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc

[OE-core] [PATCH v3 9/9] gcc: Fix specs generation for ARC

2018-09-21 Thread Alexey Brodkin
+ +Now if that spec is really used by LD then it fails inevitably +saying that it doesn't know option "--eh-frame-hdr--hash-style=sysv". + +2018-09-17 Alexey Brodkin + + * config/arc/linux.h (LINK_EH_SPEC): Add missing space. + +git-svn-id: svn+ssh://gcc.gnu

[OE-core] [PATCH v3 8/9] binutils: Fix Glibc building for ARC

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v3. Changes v1 -> v2: * Added upstream status meta/recipes-devtools/binutils/binutils-2.31.inc | 4 + ...location-where-GOT-information-is-collect.patch | 201 + ...bustness.-Return-FALSE-in-case-of-NULL-po.patch |

[OE-core] [PATCH v3 6/9] icu: Add ARC support

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v3. Changes v1 -> v2: * Added upstream status .../icu/icu/0002-Add-ARC-support.patch | 27 ++ meta/recipes-support/icu/icu_62.1.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 m

[OE-core] [PATCH v3 3/9] openssl: Add support for ARC

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v3. No changes in v2. meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb | 2 +- meta/recipes-connectivity/openssl/openssl_1.1.1.bb| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/openssl

[OE-core] [PATCH v3 5/9] libgpg-error: Add ARC support

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Cc: Ross Burton Cc: Werner Koch --- Changes v2 -> v3: * Use proper [recently upstreamed] fix for ARC Glibc toolchain * Fix compilation for x86_64 due to renamed header Changes v1 -> v2: * Added upstream status ...port-ARC-CPUs-and-simplify-al

[OE-core] [PATCH v3 2/9] kernel-arch.bbclass: Add ARC to kernel arch map

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v3. No changes in v2. meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 09793fc9c2..2b52a63c64 100644 --- a/meta/classes/kernel

[OE-core] [PATCH v3 4/9] nspr: Add ARC support

2018-09-21 Thread Alexey Brodkin
From: Antoine Tenart [Alexey: Rebased on top of other patches like RiscV, NIOS2 etc] Signed-off-by: Antoine Tenart Signed-off-by: Alexey Brodkin --- No changes in v3. Changes v1 -> v2: * Added upstream status .../nspr/nspr/0004-Add-ARC-support.patch |

[OE-core] [PATCH v3 0/9] Introduce ARC port of OpenEmbedded

2018-09-21 Thread Alexey Brodkin
ot; branch): https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys Changes v2 -> v3: * libgpg-error: Use proper upstream fix for ARC Glibc tools * libgpg-error: Fix header name for x86_64 Changes v1 -> v2: * Added upstream status for all patches * Rebased on today's master A

[OE-core] [PATCH v3 1/9] siteinfo: Define data for ARC

2018-09-21 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v3. Changes v1 -> v2: * Merged changes in meta/classes/siteinfo.bbclass & meta/site/arc-common meta/classes/siteinfo.bbclass | 2 ++ meta/site/arc-common | 11 +++ 2 files changed, 13 insertions(+) create mode 1006

Re: [OE-core] [PATCH v2 5/9] libgpg-error: Add ARC support

2018-09-21 Thread Alexey Brodkin
Hi Ross, On Fri, 2018-09-21 at 13:53 +0100, Burton, Ross wrote: > Can you check that v3 works with x86-64 targets? > > ERROR: libgpg-error-1.32-r0 do_compile: Function failed: do_compile > (log file is located at >

Re: [OE-core] [PATCH v2 5/9] libgpg-error: Add ARC support

2018-09-21 Thread Alexey Brodkin
Hi Ross, On Fri, 2018-09-21 at 14:31 +0300, Alexey Brodkin wrote: > Hi Ross, > > On Fri, 2018-09-21 at 11:43 +0100, Burton, Ross wrote: > > On Thu, 20 Sep 2018 at 21:44, Alexey Brodkin > > wrote: > > > > > case ${TARGET_ARCH} in > > >

Re: [OE-core] [PATCH v2 8/9] binutils: Fix Glibc building for ARC

2018-09-21 Thread Alexey Brodkin
Hi Ross, On Fri, 2018-09-21 at 11:55 +0100, Burton, Ross wrote: > I don't like accumulating pending patches for something as key as > binutils, are these actually working their way upstream now? Sure they are! Our team development is very upstream targeted, i.e. we try to submit all our changes

Re: [OE-core] [PATCH v2 5/9] libgpg-error: Add ARC support

2018-09-21 Thread Alexey Brodkin
Hi Ross, On Fri, 2018-09-21 at 11:43 +0100, Burton, Ross wrote: > On Thu, 20 Sep 2018 at 21:44, Alexey Brodkin > wrote: > > > case ${TARGET_ARCH} in > > aarch64_be) TUPLE=aarch64-unknown-linux-gnu ;; > > + arc)TUPLE=i686-unknown-lin

[OE-core] [PATCH v2 4/9] nspr: Add ARC support

2018-09-20 Thread Alexey Brodkin
From: Antoine Tenart [Alexey: Rebased on top of other patches like RiscV, NIOS2 etc] Signed-off-by: Antoine Tenart Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status .../nspr/nspr/0004-Add-ARC-support.patch | 88 ++ meta/reci

[OE-core] [PATCH v2 8/9] binutils: Fix Glibc building for ARC

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status meta/recipes-devtools/binutils/binutils-2.31.inc | 4 + ...location-where-GOT-information-is-collect.patch | 201 + ...bustness.-Return-FALSE-in-case-of-NULL-po.patch | 38 ...lo

[OE-core] [PATCH v2 9/9] gcc: Fix specs generation for ARC

2018-09-20 Thread Alexey Brodkin
+ +Now if that spec is really used by LD then it fails inevitably +saying that it doesn't know option "--eh-frame-hdr--hash-style=sysv". + +2018-09-17 Alexey Brodkin + + * config/arc/linux.h (LINK_EH_SPEC): Add missing space. + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2643

[OE-core] [PATCH v2 5/9] libgpg-error: Add ARC support

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status ...port-ARC-CPUs-and-simplify-aliasing-table.patch | 298 + .../libgpg-error/libgpg-error_1.32.bb | 2 + 2 files changed, 300 insertions(+) create mode 100644 meta/recipes-supp

[OE-core] [PATCH v2 6/9] icu: Add ARC support

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status .../icu/icu/0002-Add-ARC-support.patch | 27 ++ meta/recipes-support/icu/icu_62.1.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-supp

[OE-core] [PATCH v2 7/9] gcc: Disable libitm for ARC

2018-09-20 Thread Alexey Brodkin
The libitm is not supported on ARC, so disable it Signed-off-by: Alexey Brodkin --- No changes in v2 meta/recipes-devtools/gcc/gcc-runtime.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index

[OE-core] [PATCH v2 1/9] siteinfo: Define data for ARC

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Merged changes in meta/classes/siteinfo.bbclass & meta/site/arc-common meta/classes/siteinfo.bbclass | 2 ++ meta/site/arc-common | 11 +++ 2 files changed, 13 insertions(+) create mode 100644 meta/site/arc

[OE-core] [PATCH v2 3/9] openssl: Add support for ARC

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v2 meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb | 2 +- meta/recipes-connectivity/openssl/openssl_1.1.1.bb| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb b

[OE-core] [PATCH v2 2/9] kernel-arch.bbclass: Add ARC to kernel arch map

2018-09-20 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- No changes in v2 meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 09793fc9c2..2b52a63c64 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta

[OE-core] [PATCH v2 0/9] Introduce ARC port of OpenEmbedded

2018-09-20 Thread Alexey Brodkin
ot; branch): https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys Changes v1 -> v2: * Added upstream status for all patches * Rebased on today's master Alexey Brodkin (8): siteinfo: Define data for ARC kernel-arch.bbclass: Add ARC to kernel arch map openssl: Add support for

[OE-core] [PATCH 10/10] gcc: Fix specs generation for ARC

2018-09-17 Thread Alexey Brodkin
y +saying that it doesn't know option "--eh-frame-hdr--hash-style=sysv". + +2018-09-17 Alexey Brodkin + + * config/arc/linux.h (LINK_EH_SPEC): Add missing space. + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264361 138bc75d-0d04-0410-961f-82ee72b054a4 +--- + gcc/config/arc

[OE-core] [PATCH 06/10] libgpg-error: Add ARC support

2018-09-17 Thread Alexey Brodkin
From: Mylene Josserand Signed-off-by: Mylene Josserand Signed-off-by: Alexey Brodkin --- .../0001-syscfg-Add-an-arc-architecture.patch | 75 ++ .../libgpg-error/libgpg-error_1.32.bb | 1 + 2 files changed, 76 insertions(+) create mode 100644 meta

[OE-core] [PATCH 02/10] site: Add ARC linux

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- meta/site/arc-linux | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 meta/site/arc-linux diff --git a/meta/site/arc-linux b/meta/site/arc-linux new file mode 100644 index 000..d3c721a --- /dev/null +++ b/meta/site/arc-linux @@ -0,0

[OE-core] [PATCH 05/10] nspr: Add ARC support

2018-09-17 Thread Alexey Brodkin
From: Antoine Tenart [Alexey: Rebased on top of other patches like RiscV, NIOS2 etc] Signed-off-by: Antoine Tenart Signed-off-by: Alexey Brodkin --- .../nspr/nspr/0004-Add-ARC-support.patch | 86 ++ meta/recipes-support/nspr/nspr_4.19.bb | 1 + 2

[OE-core] [PATCH 09/10] binutils: Fix Glibc building for ARC

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/binutils/binutils-2.31.inc | 4 + ...location-where-GOT-information-is-collect.patch | 198 + ...bustness.-Return-FALSE-in-case-of-NULL-po.patch | 35 ...lobal-symbol-is-not-an-indirect-or-warnin.patch | 43

[OE-core] [PATCH 08/10] gcc: Disable libitm for ARC

2018-09-17 Thread Alexey Brodkin
The libitm is not supported on ARC, so disable it Signed-off-by: Alexey Brodkin --- meta/recipes-devtools/gcc/gcc-runtime.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 72b8081..9e7e7c5 100644

[OE-core] [PATCH 07/10] icu: Add ARC support

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- .../icu/icu/0002-Add-ARC-support.patch | 25 ++ meta/recipes-support/icu/icu_62.1.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta/recipes-support/icu/icu/0002-Add-ARC-support.patch diff --git

[OE-core] [PATCH 01/10] siteinfo: Define data for ARC

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- meta/classes/siteinfo.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 86bb853b..dccf122 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -20,6

[OE-core] [PATCH 00/10] Introduce ARC port of OpenEmbedded

2018-09-17 Thread Alexey Brodkin
ot; branch): https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys Alexey Brodkin (8): siteinfo: Define data for ARC site: Add ARC linux kernel-arch.bbclass: Add ARC to kernel arch map openssl: Add support for ARC icu: Add ARC support gcc: Disable libitm for ARC binutils:

[OE-core] [PATCH 03/10] kernel-arch.bbclass: Add ARC to kernel arch map

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 09793fc..2b52a63 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass

[OE-core] [PATCH 04/10] openssl: Add support for ARC

2018-09-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb | 2 +- meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb b/meta/recipes

[OE-core] [PATCH v2] linux-libc-headers: Don't do useless configuration

2018-09-12 Thread Alexey Brodkin
as well, see [2]. And while at it convert empty do_compile to noexec as well. [1] https://lkml.org/lkml/2018/9/12/486 [2] https://git.buildroot.org/buildroot/tree/package/linux-headers/linux-headers.mk#n106 Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Use noexec approach for do_config

Re: [OE-core] [PATCH] linux-libc-headers: Don't do useless configuration

2018-09-12 Thread Alexey Brodkin
Hi Khem, On Wed, 2018-09-12 at 09:29 -0700, Khem Raj wrote: > On Wed, Sep 12, 2018 at 9:03 AM Alexey Brodkin > wrote: > > > > There's no point in configuring Linux kernel before > > headers installation. > > > > At one point the headers install did not

[OE-core] [PATCH] linux-libc-headers: Don't do useless configuration

2018-09-12 Thread Alexey Brodkin
as well, see [2]. [1] https://lkml.org/lkml/2018/9/12/486 [2] https://git.buildroot.org/buildroot/tree/package/linux-headers/linux-headers.mk#n106 Signed-off-by: Alexey Brodkin --- meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/meta