Re: [OE-core] [thud][PATCH] ghostscript: Fix CVE-2018-19134 and CVE-2018-19478

2019-01-12 Thread akuster808
On 1/8/19 4:57 AM, Ovidiu Panait wrote: > In Artifex Ghostscript through 9.25, the setpattern operator did not properly > validate certain types. A specially crafted PostScript document could exploit > this to crash Ghostscript or, possibly, execute arbitrary code in the context > of the Ghostscr

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 11:18 AM Richard Purdie wrote: > > On Sat, 2019-01-12 at 10:31 -0800, Khem Raj wrote: > > On Sat, Jan 12, 2019 at 8:22 AM Richard Purdie > > wrote: > > > On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: > > > > Richard Purdie wrote: > > > > > On Sat, 2019-01-12 at

Re: [OE-core] [PATCH 1/3] linux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 10:45 AM Bruce Ashfield wrote: > > On 2019-01-12 1:34 p.m., Khem Raj wrote: > > On Sat, Jan 12, 2019 at 10:14 AM Bruce Ashfield > > wrote: > >> > >> Incorporating the BSP definitions for two new qemu targets. > >> > >> Signed-off-by: Alistair Francis > >> Signed-off-by: J

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Serhey Popovych
Richard Purdie wrote: > On Sat, 2019-01-12 at 10:31 -0800, Khem Raj wrote: >> On Sat, Jan 12, 2019 at 8:22 AM Richard Purdie >> wrote: >>> On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: Richard Purdie wrote: > On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: >> In

Re: [OE-core] [PATCH v2 2/2] buildhistory: support generating sha256 checksums of regular files

2019-01-12 Thread Jacob Kroon
On Wed, Jan 9, 2019 at 9:31 PM Jacob Kroon wrote: > > Introduce 'sha256' in BUILDHISTORY_FEATURES and enable it by default > when doing reproducible builds. > > When enabled this will additionally create: > > files-in-package-sha256.txt > files-in-image-sha256.txt > files-in-sdk-sha256.txt >

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Richard Purdie
On Sat, 2019-01-12 at 10:31 -0800, Khem Raj wrote: > On Sat, Jan 12, 2019 at 8:22 AM Richard Purdie > wrote: > > On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: > > > Richard Purdie wrote: > > > > On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: > > > > > In Ubuntu 16.04 LTS use

Re: [OE-core] [PATCH 1/3] linux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions

2019-01-12 Thread Bruce Ashfield
On 2019-01-12 1:34 p.m., Khem Raj wrote: On Sat, Jan 12, 2019 at 10:14 AM Bruce Ashfield wrote: Incorporating the BSP definitions for two new qemu targets. Signed-off-by: Alistair Francis Signed-off-by: Jon Mason Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_

Re: [OE-core] [PATCH 1/3] linux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 10:14 AM Bruce Ashfield wrote: > > Incorporating the BSP definitions for two new qemu targets. > > Signed-off-by: Alistair Francis > Signed-off-by: Jon Mason > Signed-off-by: Bruce Ashfield > --- > meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb | 4 ++-- > meta/rec

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 8:22 AM Richard Purdie wrote: > > On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: > > Richard Purdie wrote: > > > On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: > > > > In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while > > > > kernel > > >

Re: [OE-core] [OE-Core][PATCH 4/4] valgrind: Mark powerpc64 with musl as incompatible

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 8:53 AM Serhey Popovych wrote: > > Khem Raj wrote: > > On Sat, Jan 12, 2019 at 1:23 AM Serhey Popovych > > wrote: > >> > >> Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519 > >> ("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is >

[OE-core] [PATCH] oeqa: Recognise svlogd as another logger

2019-01-12 Thread Khem Raj
This is provided by runit Signed-off-by: Khem Raj --- meta/lib/oeqa/runtime/cases/oe_syslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index a92a1f2bcb..ad023fb363 100644 --- a/meta/l

[OE-core] [PATCH 3/3] linux-yocto-dev: bump to v5.0-rc

2019-01-12 Thread Bruce Ashfield
Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 23cb355b5ce7..ae8c34300836 100644 --- a/meta/recipe

[OE-core] [PATCH 1/3] linux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions

2019-01-12 Thread Bruce Ashfield
Incorporating the BSP definitions for two new qemu targets. Signed-off-by: Alistair Francis Signed-off-by: Jon Mason Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb | 6 +++--- meta/recipes-kern

[OE-core] [PATCH 0/3] linux-yocto: consolidated pull request

2019-01-12 Thread Bruce Ashfield
Hi all, Here's the next batch of kernel updates. Nothing particular of note, but we do gain new BSP descriptions for qemuarma15 and qemuriscv64. Although the full machine definitions are not in oe-core yet, this sets the table for them to be made widely available. Other than that, I bumped the -d

[OE-core] [PATCH 2/3] linux-yocto/4.19: update to v4.19.14

2019-01-12 Thread Bruce Ashfield
Integrating the korg -stable updates that comprise the following commits: f630d3cc771e Linux 4.19.14 a4a929aa46b4 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y feb0be15ee8b spi: bcm2835: Unbreak the build of esoteric configs 62977aad0a52 tpm: tpm_i2c_nuvoton: use correc

Re: [OE-core] [OE-Core][PATCH 4/4] valgrind: Mark powerpc64 with musl as incompatible

2019-01-12 Thread Serhey Popovych
Khem Raj wrote: > On Sat, Jan 12, 2019 at 1:23 AM Serhey Popovych > wrote: >> >> Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519 >> ("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is >> not compatible with valgrind. >> >> Signed-off-by: Serhey Popovych

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Serhey Popovych
Richard Purdie wrote: > On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: >> Richard Purdie wrote: >>> On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while kernel selected by the installer depending on Power

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Richard Purdie
On Sat, 2019-01-12 at 17:56 +0200, Serhey Popovych wrote: > Richard Purdie wrote: > > On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: > > > In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while > > > kernel > > > selected by the installer depending on PowerPC machine type: > > >

Re: [OE-core] [PATCH 1/1] [RFC/RFT] sstate: Shorten file names in sstate-cache

2019-01-12 Thread Richard Purdie
Hi Paul, On Fri, 2019-01-11 at 16:44 +, Paul Barker wrote: > With the recent move to using sha256 checksums in sstate, the lengths > of some file names can now exceed the 255 char limit seen in most > Linux filesystems. When this occurs, bitbake crashes as it is unable > to create the sstate a

[OE-core] [PATCH] lib/sstatesig: Update to longer sha256 hash length

2019-01-12 Thread Richard Purdie
Update the code to match the recent switch to sha256 hashes Signed-off-by: Richard Purdie --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 059e165c7ab..e0eb87e29f0 100644 --- a/meta/lib/oe/s

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Serhey Popovych
Richard Purdie wrote: > On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: >> In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while >> kernel >> selected by the installer depending on PowerPC machine type: >> >> * 32-bit for PowerMac G4 (ppc7400) and below >> * 64-bit for Power

Re: [OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Richard Purdie
On Sat, 2019-01-12 at 12:11 +0200, Serhey Popovych wrote: > In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while > kernel > selected by the installer depending on PowerPC machine type: > > * 32-bit for PowerMac G4 (ppc7400) and below > * 64-bit for PowerMac G5 and above > > Thus un

Re: [OE-core] [PATCH] [PATCH] python3-pbr:Upgrade to 5.1.1

2019-01-12 Thread Khem Raj
i am getting http://errors.yoctoproject.org/Errors/Details/216093/ On Tue, Jan 8, 2019 at 5:52 PM Hong Liu wrote: > > Upgrade python3-pbr from 4.2.0 to 5.1.1. > > Signed-off-by: Hong Liu > --- > meta/recipes-devtools/python/python-pbr.inc | 4 ++-- > .../python/{python3-pbr_4.

Re: [OE-core] [OE-Core][PATCH 2/4] systemd: Use arch overrides instead of machine

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 1:23 AM Serhey Popovych wrote: > > With custom BSP and build with musl we still affected by undefined > reference to stack-protector specific functions. > > Use arch overrides instead of machine to ensure fix applied to entire > architecture instead of custom machine like q

Re: [OE-core] [OE-Core][PATCH 4/4] valgrind: Mark powerpc64 with musl as incompatible

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 1:23 AM Serhey Popovych wrote: > > Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519 > ("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is > not compatible with valgrind. > > Signed-off-by: Serhey Popovych > --- > meta/recipes-devt

Re: [OE-core] [OE-Core][PATCH 2/2] binutils: Speed up and fix native builds

2019-01-12 Thread Khem Raj
On Sat, Jan 12, 2019 at 2:12 AM Serhey Popovych wrote: > > We need only libbfd, libiberty and libopcodes from binutils native. > To get them we build entire binutils with --enable-targets=all to > include all possible output targets support and then remove all but > these three libs. > > This has

Re: [OE-core] [OE-Core][PATCH 0/2] multilib: Fix and improve support in musl and glibc

2019-01-12 Thread Serhey Popovych
Serhey Popovych wrote: Does anyone have time to look at this? Reviews wanted! Thanks, Serhey > Both changes target ldd helper handling in packages: > > 1) For musl this fixes do_install error where ldd provided in both > main target and multilib packages. > > 2) For glibc make behavio

[OE-core] [OE-Core][PATCH 1/2] libgpg-error: Support build for native on ppc host

2019-01-12 Thread Serhey Popovych
In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while kernel selected by the installer depending on PowerPC machine type: * 32-bit for PowerMac G4 (ppc7400) and below * 64-bit for PowerMac G5 and above Thus uname(2) returns ppc64 for 64-bit kernels and 32-bit userspace making build

[OE-core] [OE-Core][PATCH 2/2] binutils: Speed up and fix native builds

2019-01-12 Thread Serhey Popovych
We need only libbfd, libiberty and libopcodes from binutils native. To get them we build entire binutils with --enable-targets=all to include all possible output targets support and then remove all but these three libs. This has two side effects: 1) it wastes build time 2) may cause errors ca

[OE-core] [OE-Core][PATCH 0/2] ppc/native: Fix native builds with PowerPC 32-bit host system

2019-01-12 Thread Serhey Popovych
In some specific environments on PowerPC native builds failing due to: a) libgpg-error requires TARGET_ARCH tuple mapping to supported tuple b) binutils fails to build with --enable-targets=all due to small bss and data relocation failures. To fix a) is trivial: we need to add tuple mapp

[OE-core] [OE-Core][PATCH 2/4] systemd: Use arch overrides instead of machine

2019-01-12 Thread Serhey Popovych
With custom BSP and build with musl we still affected by undefined reference to stack-protector specific functions. Use arch overrides instead of machine to ensure fix applied to entire architecture instead of custom machine like qemux86 and qemuppc. Signed-off-by: Serhey Popovych --- meta/reci

[OE-core] [OE-Core][PATCH 3/4] mpfr: Disable float128 when building with musl as libc

2019-01-12 Thread Serhey Popovych
Since it does not support float128 type. Signed-off-by: Serhey Popovych --- meta/recipes-support/mpfr/mpfr_4.0.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/mpfr/mpfr_4.0.1.bb b/meta/recipes-support/mpfr/mpfr_4.0.1.bb index 2eee76a..ccf7fdc 100644 --- a/meta/re

[OE-core] [OE-Core][PATCH 1/4] systemd: Correctly check ENABLE_GSHADOW with if/endif

2019-01-12 Thread Serhey Popovych
Use commit 4f07ffa8f5ab ("Use #if instead of #ifdef for ENABLE_GSHADOW") from upstream to check ENABLE_GSHADOW correctly that is defined as 0 in case of musl. While there replace specific patch with one from upstream that does exactly the same commit 66a5b5ce9b99 ("basic/user-util: properly protec

[OE-core] [OE-Core][PATCH 4/4] valgrind: Mark powerpc64 with musl as incompatible

2019-01-12 Thread Serhey Popovych
Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519 ("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is not compatible with valgrind. Signed-off-by: Serhey Popovych --- meta/recipes-devtools/valgrind/valgrind_3.14.0.bb | 3 +++ 1 file changed, 3 insertions(

[OE-core] [OE-Core][PATCH 0/4] ppc/musl: Improve support

2019-01-12 Thread Serhey Popovych
This is followup set of improvements for recently merged musl on PowerPC fixes. It fixes more issues discovered later after first series merged. See individual commit message for details on each change presented. Build tested following images with musl as libc: core-image-sato-dev core-image

[OE-core] [PATCH] sdl2: fix sdl2.pc include paths

2019-01-12 Thread Samuli Piippo
SDL2 dumps all cflags to the sdl2.pc, which might then contain paths to the recipe sysroot include dirs. Signed-off-by: Samuli Piippo --- meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb b/meta/