Re: [OE-core] [PATCH] kernel: Don't fail if Modules.symvers doesn't exist

2023-08-02 Thread Joel Stanley
On Wed, 2 Aug 2023 at 12:45, Frédéric Martinsons wrote: > > > > On Wed, 2 Aug 2023 at 13:47, Joel Stanley wrote: >> >> The one liner tests using `[ ] && action` need to have || true after the >> action, >> otherwise the line returns false and the reci

[OE-core] [PATCH] kernel: Don't fail if Modules.symvers doesn't exist

2023-08-02 Thread Joel Stanley
The one liner tests using `[ ] && action` need to have || true after the action, otherwise the line returns false and the recipie fails. Signed-off-by: Joel Stanley --- meta/classes-recipe/kernel.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classe

Re: [OE-core] [PATCHv2] qemu: Fix building with latest glibc 2.36

2023-02-22 Thread Joel Stanley
On Thu, 23 Feb 2023 at 00:11, Martin Jansa wrote: > > On Thu, Feb 23, 2023 at 1:08 AM Joel Stanley wrote: >> >> On Wed, 22 Feb 2023 at 15:28, Martin Jansa wrote: >> > >> > Hi, >> > >> > I've seen this build issue on my gentoo builder t

Re: [OE-core] [PATCHv2] qemu: Fix building with latest glibc 2.36

2023-02-22 Thread Joel Stanley
6.1 I can build qemu-native again even without this patch). > > Joel: Should I send v3 with updated commit message or will you do it? Thanks for picking this one up. Please continue the good work. Cheers, Joel > > Regards, > > On Wed, Feb 22, 2023 at 4:00 PM Martin Jansa via l

Re: [OE-core] [PATCH] qemu: Fix building with latest glibc 2.36

2023-02-19 Thread Joel Stanley
On Sun, 19 Feb 2023 at 09:48, Joel Stanley wrote: > > When building native qemu with glibc 2.36 (including latest changes from > the glibc stable branch), qemu fails to build: > > In file included from /usr/include/linux/btrfs.h:29, > from ../qemu-7.2.0/linux-

[OE-core] [PATCH] qemu: Fix building with latest glibc 2.36

2023-02-19 Thread Joel Stanley
file_clone_range. Patches from https://lore.kernel.org/qemu-devel/20230110174901.2580297-1-berra...@redhat.com/ Signed-off-by: Joel Stanley --- meta/recipes-devtools/qemu/qemu.inc | 3 + ...er-add-more-compat-ioctl-definitions.patch | 69 ...r-fix-compat-with-glibc

[OE-core] [PATCH] perf: Depend on setuptools

2022-10-04 Thread Joel Stanley
Linux 6.0 requires setuptools for building the perf Python bindings. Signed-off-by: Joel Stanley --- meta/recipes-kernel/perf/perf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index edb133515423

[OE-core] [PATCH] conf/machine-sdk: Add ppc64le SDK machine

2021-02-21 Thread Joel Stanley
.com/yocto@lists.yoctoproject.org/msg04364.html Signed-off-by: Joel Stanley --- meta/conf/machine-sdk/ppc64le.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 meta/conf/machine-sdk/ppc64le.conf diff --git a/meta/conf/machine-sdk/ppc64le.conf b/meta/conf/machine-sdk/ppc64le.conf new

Re: [OE-core] [PATCH] perf: Additional fixes for 5.5+

2020-02-02 Thread Joel Stanley
On Mon, 3 Feb 2020 at 06:45, Mittal, Anuj wrote: > > On Mon, 2020-02-03 at 17:04 +1030, Joel Stanley wrote: > > # use /usr/bin/env instead of version specific python > > -for s in `find ${S}/tools/perf/ -name '*.py'`; do > > -sed -i 's,/usr/bin/python,/us

[OE-core] [PATCH] perf: Additional fixes for 5.5+

2020-02-02 Thread Joel Stanley
6/sysconfig.py", line 421, in _init_posix _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0) ModuleNotFoundError: No module named '_sysconfigdata' Change-Id: I8d0011908c87d5fbcf1c3aefb362fe6beb64d22e Signed-off-by: Joel Stanley --- Found when attempting to use 5.5 with Open

[OE-core] [PATCH v2 0/2] GCC 7.3 fixes

2018-07-29 Thread Joel Stanley
. Joel Stanley (2): gcc-7.3: Fix build on ppc64le hosts gcc-7.3: Backport fixes for std::pair high memory usage meta/recipes-devtools/gcc/gcc-7.3.inc | 2 + ...c64le-build-Partial-backport-r256656.patch | 36 ...-PR-c-80290-memory-hog-with-std-pair.patch | 57

[OE-core] [PATCH v2 1/2] gcc-7.3: Fix build on ppc64le hosts

2018-07-29 Thread Joel Stanley
When building on ppc64le hosts that have GCC 8 (such as Ubuntu 18.10) the GCC build bootstrap fails. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162 This is a fix that was applied to the upstream GCC 7 branch. Change-Id: I7796d2a999ec420805dd1c6cf0a1ecba1de5a897 Signed-off-by: Joel Stanley

[OE-core] [PATCH v2 2/2] gcc-7.3: Backport fixes for std::pair high memory usage

2018-07-29 Thread Joel Stanley
C++ applications that contain a specfic use of std::pair with tempates cause the build to require many gigabytes of RAM to build. This is a fix that was applied to the upstream GCC 7 branch. Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8 Signed-off-by: Joel Stanley --- meta/recipes

[OE-core] [PATCH 1/2] gcc-7.3: Fix build on ppc64le hosts

2018-07-29 Thread Joel Stanley
When building on ppc64le hosts that have GCC 8 (such as Ubuntu 18.10) the GCC build bootstrap fails. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162 This is a fix that was applied to the upstream GCC 7 branch. Change-Id: I7796d2a999ec420805dd1c6cf0a1ecba1de5a897 Signed-off-by: Joel Stanley

[OE-core] [PATCH 0/2] GCC 7.3 fixes

2018-07-29 Thread Joel Stanley
This series has a pair of patches that we have been using in OpenBMC's Yocto tree for a few weeks. The build fix is required to compile from our ppc64le build machines. The std::pair fix reduces memory requirements from many gigabytes down to something reasonable. Joel Stanley (2): gcc-7.3

[OE-core] [PATCH 2/2] gcc-7.3: Backport fixes for std::pair high memory usage

2018-07-29 Thread Joel Stanley
C++ applications that contain a specfic use of std::pair with tempates cause the build to require many gigabytes of RAM to build. This is a fix that was applied to the upstream GCC 7 branch. Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8 Signed-off-by: Joel Stanley --- meta/recipes