Re: [OE-core] [PULL] [PATCH 1/1] openssh: Install header + lib files

2022-09-23 Thread Khem Raj
On Fri, Sep 23, 2022 at 12:56 PM Willy Tu wrote: > friendly ping (again), but this time with plain text only. > I think it should be done with packageconfig which is at recipe scope and then in your own distro you could enable it via bbappend or via other global knob if you wish so Secondly

Re: [OE-core] [PATCH v2] gcompat: Add __getauxval wrapper needed on aarch64

2022-09-21 Thread Khem Raj
On Wed, Sep 21, 2022 at 9:38 AM Richard Purdie wrote: > > On Tue, 2022-09-20 at 19:23 -0700, Khem Raj wrote: > > Update SRCREV to bring in few bug fixes > > Install a .so symlink which could be used during linking > > > > Signed-off-by: Khem Raj > &

[OE-core] [PATCH v3] gcompat: Add __getauxval wrapper needed on aarch64

2022-09-21 Thread Khem Raj
Update SRCREV to bring in few bug fixes Install a .so symlink which could be used during linking install libdir to create if not existing Signed-off-by: Khem Raj --- v2: Symlink should point to base_libdir not libdir v3: Create libdir as it might not be created always .../musl/gcompat/0001

Re: [OE-core] [PATCH] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-21 Thread Khem Raj
On Wed, Sep 21, 2022 at 1:31 AM kai wrote: > From: Kai Kang > > 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not > required by target mesa any more. But it still fails to compile > mesa-native with DEBUG_BUILD enabled on Ubuntu 18.04 with gcc 7.5.0 > without this patch:

Re: [OE-core] [PATCH] gcompat: Add __getauxval wrapper needed on aarch64

2022-09-20 Thread Khem Raj
On 9/20/22 5:39 AM, Richard Purdie wrote: On Sat, 2022-09-17 at 14:13 -0700, Khem Raj wrote: Update SRCREV to bring in few bug fixes Install a .so symlink which could be used during linking Signed-off-by: Khem Raj --- .../musl/gcompat/0001-auxv-new-module.patch | 59

[OE-core] [PATCH v2] gcompat: Add __getauxval wrapper needed on aarch64

2022-09-20 Thread Khem Raj
Update SRCREV to bring in few bug fixes Install a .so symlink which could be used during linking Signed-off-by: Khem Raj --- v2: Symlink should point to base_libdir not libdir .../musl/gcompat/0001-auxv-new-module.patch | 59 +++ meta/recipes-core/musl/gcompat_git.bb

Re: [OE-core] [PATCH 0/9] kernel-yocto: consolidated pull request

2022-09-19 Thread Khem Raj
-yocto/5.19: update to v5.19.5 > linux-yocto/5.19: update to v5.19.7 > linux-yocto/5.15: update to v5.15.65 > kern-tools: fix queue processing in relative TOPDIR configurations > kern-tools: allow 'y' or 'm' to avoid config audit warnings > linux-yocto/5.19: update to v5.19.9 &

[OE-core] [PATCH] gcompat: Add __getauxval wrapper needed on aarch64

2022-09-17 Thread Khem Raj
Update SRCREV to bring in few bug fixes Install a .so symlink which could be used during linking Signed-off-by: Khem Raj --- .../musl/gcompat/0001-auxv-new-module.patch | 59 +++ meta/recipes-core/musl/gcompat_git.bb | 6 +- 2 files changed, 63 insertions(+), 2

Re: [OE-core] [RFC][PATCH 0/1] mesa: clover | Microsoft/Intel CLC: fix building OpenCL programs

2022-09-17 Thread Khem Raj
On Sat, Sep 17, 2022 at 4:56 AM Andrey Konovalov wrote: > > This fixes the errors like: > > -8<- > dragonboard-845c:~$ clinfo > >Max work group size 1024 > === CL_PROGRAM_BUILD_LOG === > :1:10: fatal error: 'opencl-c.h' file not found >Preferred work

[OE-core] [PATCH] apt: Fix type mismatches and ptest builds

2022-09-17 Thread Khem Raj
These issues are found with clang15 Signed-off-by: Khem Raj --- ...me_t-and-suseconds_t-from-std-chrono.patch | 64 +++ ...tive-helper-Undefine-_FORTIFY_SOURCE.patch | 27 meta/recipes-devtools/apt/apt_2.4.5.bb| 2 + 3 files changed, 93 insertions(+) create

[OE-core] [PATCH] grub: Apply backports to fix build with clang on x86

2022-09-16 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-obsoleted-malign-jumps-loops-functi.patch | 48 +++ ...for-falign-jumps-1-beside-falign-loo.patch | 59 +++ meta/recipes-bsp/grub/grub2.inc | 2 + 3 files changed, 109 insertions(+) create mode 100644 meta/recipes-bsp

Re: [OE-core] [PATCH 2/2] gcc-cross-canadian: add default plugin linker

2022-09-16 Thread Khem Raj
On Fri, Sep 16, 2022 at 12:41 AM Samuli Piippo wrote: > > Fix multilib sdk issue where gcc is unable to find linker. Previous > fix was in cdd86896c8d29135f937968e9aa07f919cf543d3 using real-ld > symlink, but that prevented switching between bfd and gold linkers. > > Running compiler with debug

Re: [OE-core] [kirkstone] glibc : stable 2.35 branch updates.

2022-09-15 Thread Khem Raj
On Thu, Sep 15, 2022 at 4:20 AM Sundeep KOKKONDA wrote: > > Regression test are performed and below is test summary. > > Test summary after glibc updates: > 204 FAIL > 4341 PASS > 41 UNSUPPORTED > 12 XFAIL > 6 XPASS > > Test summary before glibc updates: > 200 FAIL > 4343 PASS > 41 UNSUPPORTED >

[OE-core] [PATCH] curl: Add missing perl modules in ptest rdepends

2022-09-14 Thread Khem Raj
These modules outside of perl-modules are necessary to run curl-ptests Signed-off-by: Khem Raj --- meta/recipes-support/curl/curl_7.85.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/curl/curl_7.85.0.bb b/meta/recipes-support/curl/curl_7.85.0.bb

Re: [OE-core] [PATCH] opkg: enable zstd support

2022-09-14 Thread Khem Raj
ire code changes to support a different > > compressor. BSD > > > tar and GNU tar both can easily accept compressors that they > > have no > > > idea about (via -I option) because all of them provide a > > unified > >

Re: [OE-core] [PATCH v3] webkitgtk: Fix build on 32bit arm

2022-09-13 Thread Khem Raj
tandard attributes in middle of decl-specifiers > 38 | static alignas(16) short s_FELightingConstantsForNeon[] = { >|^~~ > What is your -j value ? please give 4GB per core of memory for webkitgtk to build. > Thanks, > > On 9/9/22 05:45, Khem Raj wrote: &

[OE-core] [PATCH v2] elfutils: Enable ptests on musl targets

2022-09-13 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Install libeu.a into ptest package .../elfutils/elfutils_0.187.bb| 4 +- ...Add-libeu-to-tests-needing-error-API.patch | 147 ++ 2 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools

Re: [OE-core] [PATCH] opkg: enable zstd support

2022-09-13 Thread Khem Raj
a different compressor. BSD tar and GNU tar > both can easily accept compressors that they have no idea about (via -I > option) because all of them provide a unified command line interface for use > in pipes. If this were done similar to tar, we could have used any compressor > we

Re: [OE-core] [PATCH] opkg: enable zstd support

2022-09-13 Thread Khem Raj
On Tue, Sep 13, 2022 at 12:19 PM Alex Stewart wrote: > > ACK from me - apart from enabling zstd by default. > > On 9/13/22 07:37, Etienne Cordonnier via lists.openembedded.org wrote: > > This allows the use of zstd for opkg packages by using OPKGBUILDCMD: > > OPKGBUILDCMD = "opkg-build -Z zstd" >

Re: [OE-core] [kirkstone] binutils: stable 2.38 branch updates

2022-09-13 Thread Khem Raj
On Tue, Sep 13, 2022 at 11:42 AM Randy MacLeod wrote: > > On 2022-09-13 12:59, Khem Raj wrote: > > On 9/13/22 2:43 AM, Sundeep KOKKONDA wrote: > >> Hello, > >> I am planning to take the gcc, glibc & binutils updates to Kirkstone. > >> I found only th

Re: [OE-core] [kirkstone] binutils: stable 2.38 branch updates

2022-09-13 Thread Khem Raj
On 9/13/22 2:43 AM, Sundeep KOKKONDA wrote: Hello, I am planning to take the gcc, glibc & binutils updates to Kirkstone. I found only the glibc-2.35 branch is having a few updates (given below). /f8ad66a4ca nscd: Fix netlink cache invalidation if epoll is used [BZ #29415]/ /9e960717e1 Apply

[OE-core] [PATCH] elfutils: Enable ptests on musl targets

2022-09-13 Thread Khem Raj
Signed-off-by: Khem Raj --- .../elfutils/elfutils_0.187.bb| 2 +- ...Add-libeu-to-tests-needing-error-API.patch | 147 ++ 2 files changed, 148 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/elfutils/files/0001-tests-Add-libeu-to-tests

Re: [OE-core] OE-core CVE metrics for master on Sun 11 Sep 2022 04:00:01 AM HST

2022-09-12 Thread Khem Raj
On 9/11/22 7:02 AM, Steve Sakoman wrote: Branch: master New this week: 10 CVEs CVE-2020-35538 (CVSS3: 5.5 MEDIUM): libjpeg-turbo:libjpeg-turbo-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35538 * CVE-2022-1354 (CVSS3: 5.5 MEDIUM): tiff

[OE-core] [PATCH] inetutils: Fix remote DoS vulnerability in inetutils-telnetd

2022-09-12 Thread Khem Raj
Signed-off-by: Khem Raj --- .../inetutils/inetutils/CVE-2022-39028.patch | 54 +++ .../inetutils/inetutils_2.3.bb| 1 + 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2022-39028.patch diff --git a/meta

[OE-core] [PATCH 2/2] binutils: Ignore CVE-2022-38126 CVE-2022-38127

2022-09-12 Thread Khem Raj
They are already part of backports to 2_36 branch as noted Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.39.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils-2.39.inc b/meta/recipes-devtools/binutils/binutils-2.39.inc

[OE-core] [PATCH 1/2] glibc: Upgrade to tip of 2.36 branch

2022-09-12 Thread Khem Raj
vDSO dependency is printed with LD_TRACE_LOADED_OBJECTS (BZ #29539) * 3c791f2031 Apply asm redirections in wchar.h before first use * 924e4f3eaa elf: Call __libc_early_init for reused namespaces (bug 29528) * b0e7888d1f syslog: Fix large messages (BZ#29536) Signed-off-by: Khem Raj --- meta

Re: [OE-core] [PATCH 1/1] watchdog: Remove unneeded tirpc dependency

2022-09-12 Thread Khem Raj
On Mon, Sep 12, 2022 at 12:08 PM Paulo Neves wrote: > > it should as there is no rpc code in the project as far as i scanned. I > built it with musl successfully. OK thanks for confirming. > > Paulo Neves > > On 9/12/22 17:06, Khem Raj wrote: > > On Mon, Sep 12,

Re: [OE-core] [PATCH 1/1] watchdog: Remove unneeded tirpc dependency

2022-09-12 Thread Khem Raj
On Mon, Sep 12, 2022 at 2:21 AM Paulo Neves wrote: > > watchdog code does not have any dependency on rpc code, > therefore the dependency and flags to try to use it are > removed. > > Signed-off-by: Paulo Neves > --- > meta/recipes-extended/watchdog/watchdog_5.16.bb | 4 > 1 file changed,

[OE-core] [PATCH v4] rust: Use libc++ runtime when using clang with llvm runtime

2022-09-12 Thread Khem Raj
such a setting is used. Signed-off-by: Khem Raj --- v2: Rebase now that 1.63 is in v3: Use renamed variable RUNTIME -> TC_CXX_RUNTIME v4: Remove True from d.getVar meta/recipes-devtools/rust/rust.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/reci

[OE-core] [PATCH v3] rust: Use libc++ runtime when using clang with llvm runtime

2022-09-11 Thread Khem Raj
such a setting is used. Signed-off-by: Khem Raj --- v2: Rebase now that 1.63 is in v3: Use renamed variable RUNTIME -> TC_CXX_RUNTIME meta/recipes-devtools/rust/rust.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc in

Re: [OE-core] [PATCH v3] bitbake.conf: Define TC_CXX_RUNTIME

2022-09-09 Thread Khem Raj
On Fri, Sep 9, 2022 at 12:51 PM Andre McCurdy wrote: > On Fri, Sep 9, 2022 at 9:52 AM Khem Raj wrote: > > > > This variable is used to denote the C/C++ compiler runtime to use. > > Right now there are few alternatives out of the core which could > > use this varia

[OE-core] [PATCH v3] bitbake.conf: Define TC_CXX_RUNTIME

2022-09-09 Thread Khem Raj
. Default settings is to use gnu which is current silent default also. Signed-off-by: Khem Raj --- v2: Document the variable v3: Rename to TC_CXX_RUNTIME documentation/ref-manual/variables.rst | 6 ++ meta/conf/bitbake.conf | 1 + 2 files changed, 7 insertions(+) diff --git

[OE-core] [PATCH v2] bitbake.conf: Define TCXXRUNTIME

2022-09-09 Thread Khem Raj
. Default settings is to use gnu which is current silent default also. Signed-off-by: Khem Raj --- v2: Document the variable documentation/ref-manual/variables.rst | 6 ++ meta/conf/bitbake.conf | 1 + 2 files changed, 7 insertions(+) diff --git a/documentation/ref-manual

[OE-core] [PATCH] bitbake.conf: Define TCXXRUNTIME

2022-09-09 Thread Khem Raj
. Default settings is to use gnu which is current silent default also. Signed-off-by: Khem Raj --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 52a36d788b..e88dc2b5bf 100644 --- a/meta/conf/bitbake.conf +++ b/meta

[OE-core] [PATCH v3] webkitgtk: Fix build on 32bit arm

2022-09-08 Thread Khem Raj
Signed-off-by: Khem Raj Cc: Mingli Yu --- v2: Fix commit msg format v3: Apply suggestion from https://github.com/WebKit/WebKit/pull/1233#discussion_r915217428 ...44e17d258106617b0e6d783d073b188a2548.patch | 296 ++ meta/recipes-sato/webkit/webkitgtk_2.36.7.bb | 1 + 2 files

[OE-core] [PATCH] gobject-introspection: Do not hardcode objdump name

2022-09-08 Thread Khem Raj
Use OBJDUMP variable in the script, this helps in using the lddwrapper with recipes which maybe using different objdump tools e.g.l llvm-objdump or vice-versa Signed-off-by: Khem Raj --- .../gobject-introspection/gobject-introspection_1.72.0.bb | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH 1/2] binutils-cross-canadian: Do not package gprofng.rc

2022-09-08 Thread Khem Raj
ll list here: > https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4203 > > On 07/09/2022 16:14:16-0700, Khem Raj wrote: > > This file is already packaged via nativesdk-gprofng and can cause > > populate SDK conflicts > > > > Signed-off-by: Khem Raj > > --- >

[OE-core] [PATCH v2] binutils-cross-canadian: Do not package gprofng.rc

2022-09-08 Thread Khem Raj
This file is already packaged via nativesdk-gprofng and can cause populate SDK conflicts Also delete the etc directory if its empty it can still cause packaging QA errors Signed-off-by: Khem Raj --- v2: Delete empty etc dir as well meta/recipes-devtools/binutils/binutils-cross-canadian.inc

Re: [OE-core] [PATCH] linux-yocto: Enable mdio for qemu

2022-09-08 Thread Khem Raj
ders/45/builds/5847/steps/11/logs/stdio > > > > Technically not an error, only an error in the eyes of the stricter testing. > > Khem: Let me queue the patch here, and I'll add a mask for that > warning, since in this case =y is as good as =m > > Bruce > > > On 07/09/20

[OE-core] [PATCH] boost: Refrain bjam from poking into host includes

2022-09-08 Thread Khem Raj
ile.v2 after 'Xlocale' section if you seek further information Signed-off-by: Khem Raj --- meta/recipes-support/boost/boost.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 402f1592cf..4263e645de 100644 ---

[OE-core] [PATCH v2] rust: Use variable to specify extra tools to install

2022-09-08 Thread Khem Raj
All architectures may not support same set of tools, therefore use a variable to specify this. E.g. on riscv32 rustfmt is not buildable right now. Signed-off-by: Khem Raj --- v2: fix typo and only exclude rustfmt on rv32 since thats what does not build meta/recipes-devtools/rust

[OE-core] [PATCH] rust: Use variable to specify extra tools to install

2022-09-08 Thread Khem Raj
All architectures may not support same set of tools, therefore use a variable to specify this. E.g. on riscv32 only cargo-clippy is buildable right now. Signed-off-by: Khem Raj --- meta/recipes-devtools/rust/rust_1.63.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2] webkitgtk: Fix build on 32bit arm

2022-09-07 Thread Khem Raj
Signed-off-by: Khem Raj Cc: Mingli Yu --- v2: Fix commit msg format ...44e17d258106617b0e6d783d073b188a2548.patch | 311 ++ meta/recipes-sato/webkit/webkitgtk_2.36.7.bb | 1 + 2 files changed, 312 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk

Re: [OE-core] [PATCH] webkitgtk: Update to 2.6.37

2022-09-07 Thread Khem Raj
https://patchwork.yoctoproject.org/project/oe-core/patch/20220908021846.2245323-1-raj.k...@gmail.com/ On Wed, Sep 7, 2022 at 9:16 PM Yu, Mingli wrote: > > Hi Khem, > > On 9/8/22 10:19, Khem Raj wrote: > > [Please note: This e-mail is from an EXTERNAL e-mail address] > >

Re: [OE-core] [PATCH] webkitgtk: Update to 2.6.37

2022-09-07 Thread Khem Raj
ile you are at it. Please test that patch out and report if the issue is solved. > Thanks, > > On 9/3/22 17:21, Khem Raj wrote: > > [Please note: This e-mail is from an EXTERNAL e-mail address] > > > > Signed-off-by: Khem Raj > > --- > > .../webkit/{we

[OE-core] [PATCH] Fix build on 32bit arm

2022-09-07 Thread Khem Raj
Signed-off-by: Khem Raj Cc: Mingli Yu --- ...44e17d258106617b0e6d783d073b188a2548.patch | 311 ++ meta/recipes-sato/webkit/webkitgtk_2.36.7.bb | 1 + 2 files changed, 312 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk

[OE-core] [PATCH 1/2] binutils-cross-canadian: Do not package gprofng.rc

2022-09-07 Thread Khem Raj
This file is already packaged via nativesdk-gprofng and can cause populate SDK conflicts Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/binutils/binutils-cross

[OE-core] [PATCH 2/2] vala: Update to 0.56.3 bugfix release

2022-09-07 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/vala/vala_0.56.2.bb | 3 --- meta/recipes-devtools/vala/vala_0.56.3.bb | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 meta/recipes-devtools/vala/vala_0.56.2.bb create mode 100644 meta/recipes-devtools/vala

[OE-core] [PATCH] linux-yocto: Enable mdio for qemu

2022-09-07 Thread Khem Raj
There are package like mdio-netlink in meta-oe which need this feature to be available, it has started to fail with 5.19 Signed-off-by: Khem Raj Cc: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto_5.19.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes

Re: [OE-core] [PATCH 3/3] gcc: remove obsolete 0012-export-CPP.patch

2022-09-07 Thread Khem Raj
tools/gcc/gcc/0012-export-CPP.patch > deleted file mode 100644 > index 7e1ebef463a..000 > --- a/meta/recipes-devtools/gcc/gcc/0012-export-CPP.patch > +++ /dev/null > @@ -1,50 +0,0 @@ > -From 20afebc61199cd74481b0b831c1b56465cd37fa0 Mon Sep 17 00:00:00 2001 > -Fr

Re: [OE-core] [PATCH] python3-lxml: Add recipe

2022-09-04 Thread Khem Raj
On Sat, Sep 3, 2022 at 11:57 PM Khem Raj wrote: > > On Sat, Sep 3, 2022 at 9:44 PM Alexander Kanavin > wrote: > > > > But why move the recipe to core? Why not meta-oe? > > We could do that as well, don't see a big difference. I briefly looked > at vu

Re: [OE-core] [PATCH] python3-lxml: Add recipe

2022-09-04 Thread Khem Raj
ld use it but it's optional as of now. So perhaps keeping it in meta-oe is fine for now. > > Alex > > On Sat 3. Sep 2022 at 19.46, Khem Raj wrote: >> >> Import this recipe from meta-python, as it is needed by many recipes >> from different layers e.g. wireplumber fr

Re: [oe-core][PATCH] squashfs-tools: build with lzo support

2022-09-04 Thread Khem Raj
On Sat, Sep 3, 2022 at 10:30 PM Markus Volk wrote: > > This is e.g. needed to be able to install snaps. > I thought lzo was something we wanted to remove like lzop so is it a hard dependency for snaps ? > Signed-off-by: Markus Volk > --- >

[OE-core] [PATCH] python3-lxml: Add recipe

2022-09-03 Thread Khem Raj
, and meta-oe can not depend on meta-python Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-lxml_4.9.1.bb | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-lxml_4.9.1

[OE-core] [PATCH] webkitgtk: Update to 2.6.37

2022-09-03 Thread Khem Raj
Signed-off-by: Khem Raj --- .../webkit/{webkitgtk_2.36.6.bb => webkitgtk_2.36.7.bb}| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta/recipes-sato/webkit/{webkitgtk_2.36.6.bb => webkitgtk_2.36.7.bb} (98%) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.36.6

Re: [OE-core] [PATCH 1/1] ltp: Update list of tests not buildable on musl

2022-09-02 Thread Khem Raj
On Fri, Sep 2, 2022 at 3:31 PM Petr Vorel wrote: > > From: Petr Vorel > > These tests are working on musl, thus not deleted: > > * getcontext01.c > fixed for musl during conversion to the new API in 20220527 > (commit 0f519d0da) > > * ebizzy-0.3 > fixed in 20200930 (commit 967612c45) > lgtm >

[OE-core] [PATCH] autoconf: Update K & R stype functions

2022-09-02 Thread Khem Raj
This replaces the proposed patch with a backport of what got accepted upstream Signed-off-by: Khem Raj --- ...ilers-that-moan-about-K-R-func-decls.patch | 138 ++ ...totype-for-functions-with-no-paramet.patch | 64 .../autoconf/autoconf_2.71.bb | 2

Re: [OE-core] [PATCH] gcc-multilib-config: Fix i686 toolchain relocation issues

2022-09-02 Thread Khem Raj
On Fri, Sep 2, 2022 at 7:41 AM Richard Purdie wrote: > > This code wasn't changing the linux.h on i686. Make the entry match that > for i586 which was correct. > > This fixes problems where the wrong dynamic loader path was used by > nativesdk-gcc on i686 SDK targets by ensuring SYSTEMLIBS_DIR is

Re: [OE-core] [PATCH v2] rust: Use libc++ runtime when using clang with llvm runtime

2022-09-01 Thread Khem Raj
On Thu, Sep 1, 2022 at 2:56 PM Richard Purdie wrote: > > On Thu, 2022-09-01 at 13:32 -0700, Khem Raj wrote: > > meta-clang has options when it comes to C++ runtime, default is to use > > gnu runtime, other options are llvm runtime and android runtime. This > > patch help

[OE-core] [PATCH v2] rust: Use libc++ runtime when using clang with llvm runtime

2022-09-01 Thread Khem Raj
such a setting is used. Signed-off-by: Khem Raj --- v2: Rebase now that 1.63 is in meta/recipes-devtools/rust/rust.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 284347dedc..3a7b993ee8 100644 --- a/meta/recipes

Re: [OE-core] [PATCH] vim: Upgrade 9.0.0242 -> 9.0.0341

2022-08-31 Thread Khem Raj
On 8/31/22 9:21 AM, Richard Purdie wrote: On Wed, 2022-08-31 at 18:17 +0200, Alexander Kanavin wrote: I have to wonder, what is really going on there? :-) This never ending stream of CVEs makes vim formally the most insecure item in core. Does anyone know? Personally I suspect some kind of

Re: [OE-core] [PATCH] ncurses: Fix configure tests for exit and mbstate_t

2022-08-31 Thread Khem Raj
On Tue, Aug 30, 2022 at 11:08 PM Alexander Kanavin wrote: > > On Wed, 31 Aug 2022 at 00:58, Khem Raj wrote: > > +Add needed headers for including mbstate_t and exit() > > + > > +Upstream-Status: Inappropriate [Reconfigure will solve it] > > +Signed-off-by: Khem Ra

[OE-core] [PATCH] ncurses: Fix configure tests for exit and mbstate_t

2022-08-30 Thread Khem Raj
These tests do not include needed headers which results in warnings and as errors when using -Werror or latest clang e.g. Signed-off-by: Khem Raj --- .../ncurses/files/exit_prototype.patch| 22 +++ .../ncurses/ncurses_6.3+20220423.bb | 1 + 2 files changed, 23

[OE-core] [PATCH] rsync: Turn on -pedantic-errors at the end of 'configure'

2022-08-29 Thread Khem Raj
This helps in building rsync without autoconf patch, since it will be a while that the round trip is made, better to apply this patch here until next release of autoconf. Signed-off-by: Khem Raj --- ...-prototypes-to-function-declarations.patch | 31 +++-- ...antic-errors-at-the-end

Re: [OE-core] [PATCH 1/2] ntirpc: Add ntirpc recipe

2022-08-29 Thread Khem Raj
l to replace libtirpc in due course > Paulo Neves > > On 8/29/22 20:01, Alexander Kanavin wrote: > > I think the rationale is that the implementation it replaces is not > > anymore maintained? > > > > Alex > > > > On Mon, 29 Aug 2022 at 19:48, Khem Raj

Re: [OE-core] [PATCH 1/2] ntirpc: Add ntirpc recipe

2022-08-29 Thread Khem Raj
On 8/28/22 10:40 AM, Paulo Neves wrote: Hello Alexander, Thank you for your review I updated the commit message for v2 to contain the following text: We cannot completely  remove libtirpc due to arising circular dependencies where ntirpc depends on libnsl2, which  in turn depends on an RPC

[OE-core] [PATCH] librepo: Fix build on musl

2022-08-27 Thread Khem Raj
Add missing header file Signed-off-by: Khem Raj --- ...ownloader-Include-unistd.h-for-lseek.patch | 34 +++ .../librepo/librepo_1.14.4.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-devtools/librepo/librepo/0001-metadata_downloader

[OE-core] [PATCH v2] apr: Cache configure tests which use AC_TRY_RUN

2022-08-26 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: - Fix build issues due to /dev/zero check being disabled unconditionally in cross compile - Define ac_cv_sizeof_struct_iovec properly ...-runtime-test-for-mmap-that-can-map-.patch | 62 +++ meta/recipes-support/apr/apr_1.7.0.bb | 15 - 2

[OE-core] [PATCH] ltp: Remove -mfpmath=sse on x86-64 too

2022-08-25 Thread Khem Raj
Fixes build errors seen with clang/musl like on x86 error: the 'sse' unit is not supported with this instruction set Signed-off-by: Khem Raj --- meta/recipes-extended/ltp/ltp_20220527.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/ltp/ltp_20220527.bb b/meta

Re: [OE-core] [PATCH 1/3] rust: Fix crossbeam-utils for arches without atomics

2022-08-25 Thread Khem Raj
On Thu, Aug 25, 2022 at 12:11 PM Randy MacLeod wrote: > > On 2022-08-25 07:53, Richard Purdie wrote: > > On Thu, 2022-08-25 at 13:04 +0200, Alexander Kanavin wrote: > >> On Thu, 25 Aug 2022 at 12:59, Richard Purdie > >> wrote: > >>> The usptreamable version of the patch would probably be

Re: [OE-core] [PATCH 3/3] rust-target-config: Fix qemuppc target cpu option

2022-08-25 Thread Khem Raj
On Thu, Aug 25, 2022 at 3:49 AM Richard Purdie wrote: > > We see a lot of warnings about incorrect processor types on qemuppc, drowning > out anything else. Fix the option. > > Signed-off-by: Richard Purdie > --- > meta/classes-recipe/rust-target-config.bbclass | 2 +- > 1 file changed, 1

Re: [OE-core] [PATCH] apr: Cache configure tests which use AC_TRY_RUN

2022-08-25 Thread Khem Raj
On Thu, Aug 25, 2022 at 1:35 PM Luca Ceresoli wrote: > > Hi Khem, > > On Thu, 25 Aug 2022 00:21:03 -0700 > "Khem Raj" wrote: > > > AC_TRY_RUN macro means the test needs to run to find the result and we > > are cross compiling so this wil

Re: [OE-core] [PATCH 3/3] ccache: Upgrade to 4.6.2

2022-08-25 Thread Khem Raj
On Thu, Aug 25, 2022 at 3:02 AM Luca Ceresoli wrote: > > Hi Khem, > > On Wed, 24 Aug 2022 09:57:13 -0700 > "Khem Raj" wrote: > > > On Wed, Aug 24, 2022 at 9:52 AM Luca Ceresoli > > wrote: > > > > > > Hi Khem, > > &g

[OE-core] [PATCH] apr: Cache configure tests which use AC_TRY_RUN

2022-08-25 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-support/apr/apr_1.7.0.bb | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb index 07bf61545e..1fbdeddeb2 100644 --- a/meta/recipes-support/apr/apr_1.7.0.bb +++ b/meta

Re: [OE-core] [PATCH 3/3] ccache: Upgrade to 4.6.2

2022-08-24 Thread Khem Raj
On Wed, Aug 24, 2022 at 9:57 AM Khem Raj wrote: > > On Wed, Aug 24, 2022 at 9:52 AM Luca Ceresoli > wrote: > > > > Hi Khem, > > > > On Tue, 23 Aug 2022 11:01:51 -0700 > > "Khem Raj" wrote: > > > > > Fix build with musl >

Re: [OE-core] [PATCH 3/3] ccache: Upgrade to 4.6.2

2022-08-24 Thread Khem Raj
On Wed, Aug 24, 2022 at 9:52 AM Luca Ceresoli wrote: > > Hi Khem, > > On Tue, 23 Aug 2022 11:01:51 -0700 > "Khem Raj" wrote: > > > Fix build with musl > > > > Signed-off-by: Khem Raj > > AB testing with these 3 patches I got an error in t

[OE-core] [PATCH] glibc: Update to latest on 2.36

2022-08-24 Thread Khem Raj
lengths before advancing pointer in CMSG_NXTHDR * 8b139cd4f1 alpha: Fix generic brk system call emulation in __brk_call (bug 29490) * e982657073 Linux: Terminate subprocess on late failure in tst-pidfd (bug 29485) Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc-version.inc | 2 +- 1

Re: [OE-core] [PATCH 4/7] enable _XOPEN_SOURCE on musl for wchar usage in curses

2022-08-24 Thread Khem Raj
On Wed, Aug 24, 2022 at 2:44 AM Luca Ceresoli wrote: > > Hi Mhem, > > On Tue, 23 Aug 2022 23:34:40 -0700 > "Khem Raj" wrote: > > > This is defined for glibc automatically with _GNU_SOURCE but not for > > musl > > > > Signed-off-by: Khem R

[OE-core] [PATCH 7/7] ltp: Adjust types to match create_fifo_thread return

2022-08-24 Thread Khem Raj
Fixes build on musl Signed-off-by: Khem Raj --- ...nt-instead-of-pthread_t-for-thread-I.patch | 36 +++ meta/recipes-extended/ltp/ltp_20220527.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-extended/ltp/ltp/0001-rt-migrate-Use-int-instead

[OE-core] [PATCH 6/7] gcr: Define _GNU_SOURCE

2022-08-24 Thread Khem Raj
This ensures that definitions of functions e.g. getpass() are correctly sourced from system headers, since it depends on feature test macros Signed-off-by: Khem Raj --- meta/recipes-gnome/gcr/gcr_3.40.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-gnome/gcr/gcr_3.40.0

[OE-core] [PATCH 5/7] apr: Use correct strerror_r implementation based on libc type

2022-08-24 Thread Khem Raj
to make it possible to cache the needed configure variable. Signed-off-by: Khem Raj --- ...CHE_CHECK-for-strerror_r-return-type.patch | 52 +++ meta/recipes-support/apr/apr_1.7.0.bb | 4 ++ 2 files changed, 56 insertions(+) create mode 100644 meta/recipes-support/apr

[OE-core] [PATCH 4/7] enable _XOPEN_SOURCE on musl for wchar usage in curses

2022-08-24 Thread Khem Raj
This is defined for glibc automatically with _GNU_SOURCE but not for musl Signed-off-by: Khem Raj --- meta/recipes-support/pinentry/pinentry_1.2.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/pinentry/pinentry_1.2.0.bb b/meta/recipes-support/pinentry

[OE-core] [PATCH 3/7] libcgroup: Use GNU strerror_r only when its available

2022-08-24 Thread Khem Raj
This patch ensures that a fallback to use XSI compliant strerror_r when GNU extention is not implemented, which fixes the case when building with musl Signed-off-by: Khem Raj --- ...pi-Use-GNU-strerror_r-when-available.patch | 55 +++ .../recipes-core/libcgroup/libcgroup_3.0.0

[OE-core] [PATCH 2/7] watchdog: Include needed system header for function decls

2022-08-24 Thread Khem Raj
These headers are needed on musl too. Signed-off-by: Khem Raj --- ...guard-sys-quota.h-sys-swap.h-and-sys.patch | 37 +++ .../watchdog/watchdog_5.16.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-extended/watchdog/watchdog/0001

[OE-core] [PATCH 1/7] xinetd: Pass missing -D_GNU_SOURCE

2022-08-24 Thread Khem Raj
We do not get proper function definitions otherwise e.g. fcvt() Signed-off-by: Khem Raj --- meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb

Re: [OE-core] [PATCH 2/2] meson: Avoid encoding llvm-native ldflags in mesa

2022-08-23 Thread Khem Raj
On Tue, Aug 23, 2022 at 7:16 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Add a patch to meson to avoid encoding llvm-native paths into target > binaries > which cause reproducibility failures. > I think this should be solved if we turn llvm-config into a wrapper script which

[OE-core] [PATCH] alsa-plugins: Include missing string.h

2022-08-23 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-arcam_av.c-Include-missing-string.h.patch | 25 +++ .../alsa/alsa-plugins_1.2.7.1.bb | 4 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam_av.c-Include

[OE-core] [PATCH 3/3] ccache: Upgrade to 4.6.2

2022-08-23 Thread Khem Raj
Fix build with musl Signed-off-by: Khem Raj --- .../{ccache_4.6.1.bb => ccache_4.6.2.bb} | 3 ++- .../0001-Include-time.h-for-time_t.patch | 12 - .../0001-xxhash.h-Fix-build-with-gcc-12.patch | 6 ++--- ...ude-sys-types.h-for-mode_t-defintion.patch |

[OE-core] [PATCH 1/3] ccache: Update the patch status

2022-08-23 Thread Khem Raj
Signed-off-by: Khem Raj --- .../ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix

[OE-core] [PATCH 2/3] ccache: Fix build with gcc12 on musl

2022-08-23 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/ccache/ccache_4.6.1.bb | 1 + .../0001-Include-time.h-for-time_t.patch | 31 +++ 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-devtools/ccache/files/0001-Include-time.h-for-time_t.patch diff --git

Re: [OE-core] [PATCH] gcc: Upgrade to 12.2.0

2022-08-23 Thread Khem Raj
thanks Luca I will take a look today On Tue, Aug 23, 2022 at 7:49 AM Luca Ceresoli wrote: > > Hi Khem, > > On Sat, 20 Aug 2022 09:39:03 -0700 > "Khem Raj" wrote: > > > GCC 12.2 is the first bug-fix release from the GCC 12 branch containing > > importan

[OE-core] [PATCH v2] rng-tools: Remove depndencies on hwrng

2022-08-22 Thread Khem Raj
rng.device After=dev-hwrng.device Signed-off-by: Khem Raj --- v2: Break the sysinit.target dep cycle meta/recipes-support/rng-tools/rng-tools/rng-tools.service | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/rng-tools/rng-tools/rng-tools.service b/me

Re: [OE-core] [PATCH] rust: Use libc++ runtime when using clang with llvm runtime

2022-08-22 Thread Khem Raj
On Mon, Aug 22, 2022 at 2:51 PM Richard Purdie wrote: > > On Mon, 2022-08-22 at 14:10 -0700, Khem Raj wrote: > > meta-clang has options when it comes to C++ runtime, default is to use > > gnu runtime, other options are llvm runtime and android runtime. This > > patch help

[OE-core] [PATCH] rust: Use libc++ runtime when using clang with llvm runtime

2022-08-22 Thread Khem Raj
such a setting is used. Signed-off-by: Khem Raj --- meta/recipes-devtools/rust/rust.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc index 284347dedc..c288903c9b 100644 --- a/meta/recipes-devtools/rust/rust.inc +++ b/meta

[OE-core] [master-next][PATCH] rust-llvm: Update to matching LLVM_VERSION from rust-source

2022-08-21 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/rust/rust-llvm_1.63.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb index 5b94e22f7b..396f741953 100644 --- a/meta/recipes

[OE-core] [PATCH] gcc: Upgrade to 12.2.0

2022-08-20 Thread Khem Raj
libsanitizers with glibc 2.36, its already present in 12.2 [1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED=FIXED_milestone=12.2 Signed-off-by: Khem Raj --- meta/conf/distro/include/maintainers.inc | 2 +- .../gcc/{gcc-12.1.inc => gcc-12.2.inc}| 7 ++- ...ian_12.1.bb =&g

[OE-core] [PATCH v2] rust: Fix build failure on riscv32

2022-08-20 Thread Khem Raj
Latest rust has started using ENOTSUP define, which is not available in the older libc that current release of compiler is using therefore backport the needed patch. Eventually when vendored version of libc bumps to 1.33+ we should not need this patch. Signed-off-by: Khem Raj --- v2: Rebase

Re: [OE-core] [PATCH] rust: Fix build failure on riscv

2022-08-20 Thread Khem Raj
. > On 19/08/2022 11:58:20-0700, Khem Raj wrote: > > Latest rust has started using ENOTSUP define, which is not available in > > the older libc that current release of compiler is using therefore > > backport the needed patches. Eventually when vendored version of libc > >

[OE-core] [PATCH] cargo_common.bbclass: Add missing space in shell conditional code

2022-08-20 Thread Khem Raj
Fixes cofigure errors in rust recipes e.g. tmp/work/riscv32-yoe-linux-musl/rust/1.62.1-r0/temp/run.setup_cargo_environment.3047487: line 215: [: missing `]' Signed-off-by: Khem Raj --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] binutils: Upgrade to latest on 2.39 release branch

2022-08-19 Thread Khem Raj
in relocate, at powerpc.cc:10796 * e8cf7321518 gas/Dwarf: properly skip zero-size functions * 9284b63ea39 ld: fix NEWS typos Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.39.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/binutils

<    6   7   8   9   10   11   12   13   14   15   >