]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoyocto-uninative: Update to 3.1 which includes a patchelf fix
Richard Purdie [Fri, 30 Apr 2021 17:03:44 +0000 (18:03 +0100)]
yocto-uninative: Update to 3.1 which includes a patchelf fix

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Upgrade to GCC 11
Khem Raj [Tue, 30 Mar 2021 21:30:18 +0000 (14:30 -0700)]
gcc: Upgrade to GCC 11

Drop already upstream/backported patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agolibgcc-initial: Do not build fp128 to decimal ppc functions
Khem Raj [Tue, 30 Mar 2021 21:30:19 +0000 (14:30 -0700)]
libgcc-initial: Do not build fp128 to decimal ppc functions

These functions depend on glibc headers e.g.
stdlib.h/fenv.h/string.h/stdio.h which do not exist when building
lbgcc-initial, and these functions are not needed during glibc build
so we are fine to disable them

introdcued with [1]
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=781183595acba67a37c66f59a0c1d9b5fee7e248

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Update patch status
Khem Raj [Sun, 2 May 2021 20:16:31 +0000 (13:16 -0700)]
webkitgtk: Update patch status

These patches are accepted in webkit master ( 2.34+ )

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Fix reproducibility in minibrowser
Khem Raj [Sun, 2 May 2021 20:16:30 +0000 (13:16 -0700)]
webkitgtk: Fix reproducibility in minibrowser

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: Enable long options for enabled applets
Khem Raj [Fri, 30 Apr 2021 02:45:59 +0000 (19:45 -0700)]
busybox: Enable long options for enabled applets

certain applets are enabled but the long options are not enabled for
them, it results in subtle failures in ptests where its expecting these
options e.g. gzip --best is commonly used in many package tests e.g.

root@qemux86-64:/usr/lib# grep -r "\-\-best" *
acl/ptest/Makefile:GZIP_ENV = --best
attr/ptest/Makefile:GZIP_ENV = --best
coreutils/ptest/Makefile:GZIP_ENV = --best
ethtool/ptest/Makefile:GZIP_ENV = --best
libxml2/ptest/Makefile:GZIP_ENV = --best
lttng-tools/ptest/Makefile:GZIP_ENV = --best
opkg/ptest/Makefile:GZIP_ENV = --best
perl/ptest/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm:    COMPRESS     ('gzip --best')
python3.9/test/test_gzip.py:        for compress_level in ('--fast', '--best'):
...

this ensures that these options are enabled by default, which makes them more
compatible than now with coreutils provided utilities

busybox size grows by 4K which perhaps is acceptable

--rwxr-xr-x root       root           817704 ./bin/busybox.nosuid
+-rwxr-xr-x root       root           821800 ./bin/busybox.nosuid

This makes autopoint-3/gettext pass

This patch add all the long options to this fragment. The long options
for a tool will only get enabled if the corresponding tool/feature is
enabled in main defconfig, otherwise it will be ignored in final .config

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocml1.bbclass: Return sorted list of cfg files
Khem Raj [Mon, 3 May 2021 06:36:00 +0000 (23:36 -0700)]
cml1.bbclass: Return sorted list of cfg files

Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowireless-regdb: upgrade 2020.11.20 -> 2021.04.21 uninative-3.1
zhengruoqin [Thu, 29 Apr 2021 12:43:43 +0000 (20:43 +0800)]
wireless-regdb: upgrade 2020.11.20 -> 2021.04.21

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.20.1 -> 1.20.2
zhengruoqin [Thu, 29 Apr 2021 12:43:10 +0000 (20:43 +0800)]
python3-numpy: upgrade 1.20.1 -> 1.20.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibmicrohttpd: upgrade 0.9.72 -> 0.9.73
zhengruoqin [Thu, 29 Apr 2021 12:42:53 +0000 (20:42 +0800)]
libmicrohttpd: upgrade 0.9.72 -> 0.9.73

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs.py: find .ko.gz and .ko.xz kernel modules as well
Christophe Chapuis [Thu, 29 Apr 2021 13:41:27 +0000 (15:41 +0200)]
rootfs.py: find .ko.gz and .ko.xz kernel modules as well

* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
  the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
  NOTE: No Kernel Modules found, not running depmod

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: fix CVE-2021-3472
Stefan Ghinea [Thu, 29 Apr 2021 17:15:33 +0000 (20:15 +0300)]
xserver-xorg: fix CVE-2021-3472

Insufficient checks on the lengths of the XInput extension
ChangeFeedbackControl request can lead to out of bounds memory accesses
in the X server.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-3472

Upstream patches:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/7aaf54a1884f71dc363f0b884e57bcb67407a6cd

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agort-tests: Update rt-tests
Zqiang [Fri, 30 Apr 2021 06:59:46 +0000 (14:59 +0800)]
rt-tests: Update rt-tests

When run cyclictest, the parameter enable NUMA. but in some BSP
which not support NUMA, will causes the test program to exit
directly and does not carry out subsequent operations, the
latest changes have fixed this problem. so update to the
latest branch to resolve.

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpam: Provide needed env for tst-pam_start_confdir ptest
Khem Raj [Fri, 30 Apr 2021 04:18:08 +0000 (21:18 -0700)]
libpam: Provide needed env for tst-pam_start_confdir ptest

tst-pam_start_confdir needs a file called confdir and it should reside
in directory pointed by srcdir env variable, therefore copy confdir into
ptest package and export srcdir before running the ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobash: Include files needed for run-heredoc ptest
Khem Raj [Fri, 30 Apr 2021 04:18:07 +0000 (21:18 -0700)]
bash: Include files needed for run-heredoc ptest

These files are used by this ptest case

103,108d102
< cat: ../y.tab.c: No such file or directory
< cmp: ../y.tab.c: No such file or directory
< cat: /usr/lib/bash/ptest/config.h: No such file or directory
< cmp: /usr/lib/bash/ptest/config.h: No such file or directory
< cat: /usr/lib/bash/ptest/version.h: No such file or directory
< cmp: /usr/lib/bash/ptest/version.h: No such file or directory
FAIL: run-heredoc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopybootchart/draw: Avoid divide by zero error
Richard Purdie [Sat, 1 May 2021 11:25:55 +0000 (12:25 +0100)]
pybootchart/draw: Avoid divide by zero error

When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.

[YOCTO #14360]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofindutils: Do not use SIGSTKSZ
Khem Raj [Sat, 1 May 2021 17:46:56 +0000 (10:46 -0700)]
findutils: Do not use SIGSTKSZ

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Disable leak_cpp_interior test
Khem Raj [Sat, 1 May 2021 17:46:58 +0000 (10:46 -0700)]
valgrind: Disable leak_cpp_interior test

This test is known to fail and especially is prominent with GCC-11
where stdc++17 is enabled by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez: Fix shadowing of pause function from libc
Khem Raj [Sat, 1 May 2021 17:46:57 +0000 (10:46 -0700)]
bluez: Fix shadowing of pause function from libc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agom4: Do not use SIGSTKSZ
Khem Raj [Sat, 1 May 2021 17:46:55 +0000 (10:46 -0700)]
m4: Do not use SIGSTKSZ

Fixes
../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopkgconfig: Fix nativesdk builds for mingw sdk hosts
Khem Raj [Sat, 1 May 2021 21:12:21 +0000 (14:12 -0700)]
pkgconfig: Fix nativesdk builds for mingw sdk hosts

pkgconfig uses a vendored version of ancient glib-2.0, which does not
have many of fixes that current glib-2.0 will have, we enable this
internal version for nativesdk/native recipe, which on mingw hosts does
not work well, as its missing necessary mingw support. This patch
backports couple of fixes which makes GCC11 happy

but its going to be a constant source of pain as long as we support mingw

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: Fix alignment patch
Richard Purdie [Sun, 2 May 2021 11:11:20 +0000 (12:11 +0100)]
patchelf: Fix alignment patch

The previous fix was in the right direction but needed to account
for the section alignment of the current section. Tweak the patch
to handle this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: fix CVE-2021-3392
Minjae Kim [Tue, 27 Apr 2021 08:03:45 +0000 (17:03 +0900)]
qemu: fix CVE-2021-3392

scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjitterentropy: upgrade 3.0.1 -> 3.0.2
wangmy [Wed, 28 Apr 2021 09:02:48 +0000 (17:02 +0800)]
libjitterentropy: upgrade 3.0.1 -> 3.0.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibhandy: upgrade 1.2.1 -> 1.2.2
wangmy [Wed, 28 Apr 2021 09:02:47 +0000 (17:02 +0800)]
libhandy: upgrade 1.2.1 -> 1.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohdparm: upgrade 9.60 -> 9.61
wangmy [Wed, 28 Apr 2021 08:59:32 +0000 (16:59 +0800)]
hdparm: upgrade 9.60 -> 9.61

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglslang: upgrade 11.2.0 -> 11.4.0
wangmy [Wed, 28 Apr 2021 08:59:31 +0000 (16:59 +0800)]
glslang: upgrade 11.2.0 -> 11.4.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-networking: upgrade 2.66.0 -> 2.68.1
wangmy [Wed, 28 Apr 2021 08:59:30 +0000 (16:59 +0800)]
glib-networking: upgrade 2.66.0 -> 2.68.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdb: upgrade 10.1 -> 10.2
wangmy [Wed, 28 Apr 2021 08:59:29 +0000 (16:59 +0800)]
gdb: upgrade 10.1 -> 10.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoprservice: Use new connect API
Paul Barker [Wed, 28 Apr 2021 09:51:32 +0000 (10:51 +0100)]
prservice: Use new connect API

The new prserv connect() function decouples the code in oe-core from the
exact classes and implementation details used within bitbake. This
allows us to more easily switch over to a new asyncrpc based prservice.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoreproducible_build.bbclass: Enable -Wdate-time
Khem Raj [Wed, 28 Apr 2021 20:38:13 +0000 (13:38 -0700)]
reproducible_build.bbclass: Enable -Wdate-time

This will help identifying packages using __TIME__, __DATE__ and
__TIMESTAMP__ macros in code, its a warning from the compiler and the
packages which use -Werror will break the build with this and where they
don't we will atleast have a warning in the build logs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-runtime: Fix __FILE__ related reproducablity issues
Khem Raj [Wed, 28 Apr 2021 20:14:40 +0000 (13:14 -0700)]
gcc-runtime: Fix __FILE__ related reproducablity issues

libstdc++ uses assertion macros which use __FILE__ macros and

  if (__builtin_expect(!bool(_Condition), false))                      \
    std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
                              #_Condition)

This ends up using absolute paths into build tree for the cases where
the charconv header is used, therefore replace the file prefix paths
with on-target paths to make them build dir independent

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Filter out -ffile-prefix-map
Khem Raj [Wed, 28 Apr 2021 22:41:09 +0000 (15:41 -0700)]
ltp: Filter out -ffile-prefix-map

ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: Filter out -ffile-prefix-map as well
Khem Raj [Wed, 28 Apr 2021 22:41:10 +0000 (15:41 -0700)]
openssl: Filter out -ffile-prefix-map as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibid3tag: Filter -ffile-prefix-map too
Khem Raj [Thu, 29 Apr 2021 02:50:56 +0000 (19:50 -0700)]
libid3tag: Filter -ffile-prefix-map too

helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjpeg-turbo: Use --reproducible option for nasm
Khem Raj [Thu, 29 Apr 2021 02:50:57 +0000 (19:50 -0700)]
libjpeg-turbo: Use --reproducible option for nasm

This ensures that nasm version and timestamps do but appear in build
outputs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Replace musl patches with do_patch[postfuncs]
Petr Vorel [Wed, 28 Apr 2021 19:17:36 +0000 (21:17 +0200)]
ltp: Replace musl patches with do_patch[postfuncs]

MUSL related build fixes are not going to be upstreamed.  They just not
compile broken files, thus replace them with upstream solution for CI:
just deleting files for musl (easier to maintain).

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.0.2 -> 21.0.3
wangmy [Thu, 29 Apr 2021 01:58:13 +0000 (09:58 +0800)]
mesa: upgrade 21.0.2 -> 21.0.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: Fix note section alignment issues
Richard Purdie [Sat, 1 May 2021 16:10:21 +0000 (17:10 +0100)]
patchelf: Fix note section alignment issues

Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.

This fixes patchelf failures on the autobuilder, particularly to ccache-native.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: Update to 4.4.19 release and fix symbol version issues
Richard Purdie [Fri, 30 Apr 2021 09:35:02 +0000 (10:35 +0100)]
libxcrypt: Update to 4.4.19 release and fix symbol version issues

This patch upgrades to the 4.4.19 release and replaces a configure patch
from "libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat" with
a fix to avoid leading spaces in CFLAGS causing failures.

The license changed a few filenames listed in the license but the overall
license remains unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuildstats.bbclass: collect data in the same file.
Sakib Sajal [Tue, 27 Apr 2021 21:19:08 +0000 (17:19 -0400)]
buildstats.bbclass: collect data in the same file.

Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.

Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocore-image-multilib-example: base on weston, and not sato
Alexander Kanavin [Fri, 23 Apr 2021 18:02:52 +0000 (20:02 +0200)]
core-image-multilib-example: base on weston, and not sato

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest: transition to weston images
Alexander Kanavin [Fri, 23 Apr 2021 18:02:51 +0000 (20:02 +0200)]
oeqa/selftest: transition to weston images

For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/core/tests/test_data.py: use weston image instead of sato
Alexander Kanavin [Fri, 23 Apr 2021 18:02:50 +0000 (20:02 +0200)]
oeqa/core/tests/test_data.py: use weston image instead of sato

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocore-image-weston: add sdk/ptest images
Alexander Kanavin [Fri, 23 Apr 2021 18:02:48 +0000 (20:02 +0200)]
core-image-weston: add sdk/ptest images

This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.

The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.

I believe YP should be defaulting to Wayland and not X11.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolicense_image.bbclass: Fix symlink to generic license files
Reto Schneider [Mon, 26 Apr 2021 21:27:57 +0000 (23:27 +0200)]
license_image.bbclass: Fix symlink to generic license files

Link to the canonical filename of a license as only this one exists.

Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolicense_image.bbclass: Detect broken symlinks
Reto Schneider [Mon, 26 Apr 2021 21:27:56 +0000 (23:27 +0200)]
license_image.bbclass: Detect broken symlinks

Find and report symlinks which point to a non-existing file.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-time-dd-test.sh: collect cooker log when timeout is exceeded
Sakib Sajal [Mon, 26 Apr 2021 19:51:59 +0000 (15:51 -0400)]
oe-time-dd-test.sh: collect cooker log when timeout is exceeded

Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: Point to staging area for finding seccomp libs and includes
Khem Raj [Mon, 26 Apr 2021 18:06:15 +0000 (11:06 -0700)]
gnutls: Point to staging area for finding seccomp libs and includes

This ensures that if libseccomp is installed on build host then it does
not resort to use it.

Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemurunner: Add support for qmp commands
Saul Wold [Mon, 26 Apr 2021 14:45:10 +0000 (07:45 -0700)]
qemurunner: Add support for qmp commands

This adds support for the Qemu Machine Protocol [0] extending
the current dump process for Host and Target. The commands are
added in the testimage.bbclass.

Currently, we setup qemu to stall until qmp gets connected and
sends the initialization and continue commands, this works
correctly. If the UNIX Socket does not exist, we wait an timeout
to ensure to socket file is created.

With this version, the monitor_dumper is created in OEQemuTarget
but then set in OESSHTarget as that's where we get the SSH failure
happens. Python's @property is used to create a setter/getter type
of setup in OESSHTarget to get overridden by OEQemuTarget.

By default the data is currently dumped to files for each command in
TMPDIR/log/runtime-hostdump/<date>_qmp/unknown_<seq>_qemu_monitor as
this is the naming convenstion in the dump.py code.

We use the qmp.py from qemu, which needs to get installed in the
recipe-sysroot-native of the target image.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu-system-native: install qmp python module
Saul Wold [Mon, 26 Apr 2021 14:45:09 +0000 (07:45 -0700)]
qemu-system-native: install qmp python module

The qmp python module supports the Qemu Machine Protocol [0].
This module needs to be installed in a known location so the
qemurunner python script can find the qmp module.

This change causes it to be installed in the recipe-sysroot-native
of the target image and that directory can be added to the python
sys.path that needs to use the qmp.py module.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-cross-canadian: Install LTO linker plugin to BFD searchable location
Khem Raj [Sun, 25 Apr 2021 19:08:28 +0000 (12:08 -0700)]
gcc-cross-canadian: Install LTO linker plugin to BFD searchable location

This helps binutils provided tools ar/ranlib/nm to find the LTO linker
plugin automatically as well which makes it equivalent to gcc-ar/gcc-nm/gcc-ranlib

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-cross: Install linker LTO plugin for binutils tools
Khem Raj [Sun, 25 Apr 2021 19:08:29 +0000 (12:08 -0700)]
gcc-cross: Install linker LTO plugin for binutils tools

This will ensure that ar/ranlib/nm can load the lto linker plugin like
gcc-ar, gcc-nm, gcc-ranlib does, this will let the behaviour match
between gcc wrappers for these tools, this should help LTO builds for
packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Use gcc-nm as default NM
Khem Raj [Sun, 25 Apr 2021 19:08:27 +0000 (12:08 -0700)]
bitbake.conf: Use gcc-nm as default NM

This ensures linker LTO plugin is loaded correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-target: Create a LTO plugin symlink in bfd-plugins directory
Khem Raj [Sun, 25 Apr 2021 19:08:26 +0000 (12:08 -0700)]
gcc-target: Create a LTO plugin symlink in bfd-plugins directory

This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default

This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodefault-distrovars.inc: Remove seccomp for riscv32
Khem Raj [Mon, 26 Apr 2021 01:20:22 +0000 (18:20 -0700)]
default-distrovars.inc: Remove seccomp for riscv32

libseccomp needs too be ported to rv32 first

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: fix CVE-2020-14387
Chen Qi [Sun, 25 Apr 2021 05:32:52 +0000 (13:32 +0800)]
rsync: fix CVE-2020-14387

Backport patch to fix CVE-2020-14387.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodefault-distrovars.inc: Add seccomp to DISTRO_FEATURES_DEFAULT
Armin Kuster [Sat, 24 Apr 2021 15:56:39 +0000 (15:56 +0000)]
default-distrovars.inc: Add seccomp to DISTRO_FEATURES_DEFAULT

Since xattr is included, seccomp should be too

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Fix build on musl when seccomp is enabled
Khem Raj [Sun, 25 Apr 2021 16:01:00 +0000 (09:01 -0700)]
apt: Fix build on musl when seccomp is enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Disable libseccomp
Richard Purdie [Sun, 25 Apr 2021 16:55:19 +0000 (17:55 +0100)]
apt: Disable libseccomp

This isn't in DEPENDS and isn't configured. It can detect the library when
pulled in via other dependencies meaning the build isn't deterministic.

Ultimately this could become a PACKAGECONFIG. It doesn't build on musl
so disable it for now until someone fixes and sorts this out properly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: Enable seccomp if FEATURE is set
Armin Kuster [Sat, 24 Apr 2021 15:56:35 +0000 (15:56 +0000)]
qemu: Enable seccomp if FEATURE is set

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: Enable seccomp if FEATURE is set
Armin Kuster [Sat, 24 Apr 2021 15:56:37 +0000 (15:56 +0000)]
systemd: Enable seccomp if FEATURE is set

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: Enable seccomp if FEATURE is set
Armin Kuster [Sat, 24 Apr 2021 15:56:36 +0000 (15:56 +0000)]
gnutls: Enable seccomp if FEATURE is set

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibseccomp: Fix reproducibility issue
Richard Purdie [Sun, 25 Apr 2021 16:55:03 +0000 (17:55 +0100)]
libseccomp: Fix reproducibility issue

Rather than installing libtool wrapper scripts which won't work on target
and aren't reproducible, use the real binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibseccomp: Add MAINTAINERS entry and HOMEPAGE
Richard Purdie [Sat, 24 Apr 2021 16:56:04 +0000 (17:56 +0100)]
libseccomp: Add MAINTAINERS entry and HOMEPAGE

Add entries for the migrated recipe to passify the various checks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibseccomp: move recipe from meta-security to core
Armin Kuster [Sat, 24 Apr 2021 15:56:34 +0000 (15:56 +0000)]
libseccomp: move recipe from meta-security to core

ptest results:
Regression Test Summary
 tests run: 1404
 tests skipped: 369
 tests passed: 1402
 tests failed: 2
 tests errored: 154

Add feature_check so that the other recipes who can take
advantage of this funtionality can enable it.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: Package RSI 911x WiFi firmware
Marek Vasut [Fri, 12 Mar 2021 20:57:36 +0000 (21:57 +0100)]
linux-firmware: Package RSI 911x WiFi firmware

The RSI 911x WiFi firmware is already part of the linux-firmware
repository, package it to make it easily available.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoyocto-check-layer: Avoid bug when iterating and autoadding dependencies
Richard Purdie [Sat, 24 Apr 2021 14:23:54 +0000 (15:23 +0100)]
yocto-check-layer: Avoid bug when iterating and autoadding dependencies

If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.

Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.

This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibssh2: fix build failure with option no-ecdsa
Stefan Ghinea [Fri, 23 Apr 2021 17:18:26 +0000 (20:18 +0300)]
libssh2: fix build failure with option no-ecdsa

libssh2 fails at do_compile if
DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe:

../src/.libs/libssh2.so: undefined reference to
`LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

References:
https://github.com/libssh2/libssh2/issues/549

Upstream patches:
https://github.com/libssh2/libssh2/commit/1f76151c92e1b52e9c24ebf06adc77fbd6c062bc

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopyyaml: Add missing HOMEPAGE
Richard Purdie [Sat, 24 Apr 2021 13:50:57 +0000 (14:50 +0100)]
pyyaml: Add missing HOMEPAGE

Add a HOMEPAGE to the new recipe to avoid sanity test failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pyyaml: Add recipe
Khem Raj [Fri, 23 Apr 2021 20:03:59 +0000 (13:03 -0700)]
python3-pyyaml: Add recipe

This is migrated from meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-jinja2: Enable ptests
Khem Raj [Fri, 23 Apr 2021 20:03:58 +0000 (13:03 -0700)]
python3-jinja2: Enable ptests

Needed dependencies on toml and pytest and unixadmin
are in core now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-markupsafe: Enable ptests
Khem Raj [Fri, 23 Apr 2021 20:03:57 +0000 (13:03 -0700)]
python3-markupsafe: Enable ptests

pytest is now in OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-docutils: Upgrade to 0.17.1
Khem Raj [Fri, 23 Apr 2021 20:03:56 +0000 (13:03 -0700)]
python3-docutils: Upgrade to 0.17.1

This was in meta-python for a while so merge the changes here
and  upgrade, once applied, delete from meta-python

License-Change: Deleted legacy stylesheets from LICENSE [1]
                Updated URI for BSD-2 [2]

[1] https://sourceforge.net/p/docutils/code/8487/
[2] https://sourceforge.net/p/docutils/code/8554/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: fix one parallel build failure
Changqing Li [Fri, 23 Apr 2021 09:43:07 +0000 (17:43 +0800)]
gcr: fix one parallel build failure

ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing
dependency, following error occurred intermittently during doing parallel
build:

 -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c
../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory
   32 | #include "gcr/gcr-marshal.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agounzip: use optimization from bitbake
Mikko Rapeli [Thu, 22 Apr 2021 14:41:14 +0000 (17:41 +0300)]
unzip: use optimization from bitbake

Build with bitbake default optimizations, e.g. O2,
instead of custom O3. Reduces unzip binary package
size from 304401 to 283921 bytes, and enables building
with Os to even further reduce binary size if needed
and configured for the whole system.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2021-20257
Sakib Sajal [Fri, 23 Apr 2021 04:45:05 +0000 (00:45 -0400)]
qemu: fix CVE-2021-20257

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2021-3416
Sakib Sajal [Fri, 23 Apr 2021 04:45:04 +0000 (00:45 -0400)]
qemu: fix CVE-2021-3416

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2021-3409
Sakib Sajal [Fri, 23 Apr 2021 04:45:03 +0000 (00:45 -0400)]
qemu: fix CVE-2021-3409

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2021-20221
Sakib Sajal [Fri, 23 Apr 2021 04:45:02 +0000 (00:45 -0400)]
qemu: fix CVE-2021-20221

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-29443
Sakib Sajal [Fri, 23 Apr 2021 04:45:01 +0000 (00:45 -0400)]
qemu: fix CVE-2020-29443

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2021-20181
Sakib Sajal [Fri, 23 Apr 2021 04:45:00 +0000 (00:45 -0400)]
qemu: fix CVE-2021-20181

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
Kai Kang [Fri, 23 Apr 2021 03:29:04 +0000 (11:29 +0800)]
kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout

It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake.bbclass: remove ${B} before cmake_do_configure
Kai Kang [Fri, 23 Apr 2021 03:29:03 +0000 (11:29 +0800)]
cmake.bbclass: remove ${B} before cmake_do_configure

It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolz4: use CFLAGS from bitbake
Mikko Rapeli [Thu, 22 Apr 2021 14:41:52 +0000 (17:41 +0300)]
lz4: use CFLAGS from bitbake

Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: fix startperl configuration option for perl-native
Paulo Cesar Zaneti [Mon, 19 Apr 2021 13:55:55 +0000 (10:55 -0300)]
perl: fix startperl configuration option for perl-native

Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".

This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.

It also changes do_install_append_class-native task to comply with
cpan_do_install task.

Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: Upgrade to LLVM 12 release
Khem Raj [Thu, 22 Apr 2021 16:04:32 +0000 (09:04 -0700)]
llvm: Upgrade to LLVM 12 release

Drop backported patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpebackend-fdo: upgrade 1.8.2 -> 1.8.3
wangmy [Thu, 22 Apr 2021 07:59:10 +0000 (15:59 +0800)]
wpebackend-fdo: upgrade 1.8.2 -> 1.8.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoboost: upgrade 1.75.0 -> 1.76.0
wangmy [Thu, 22 Apr 2021 07:58:24 +0000 (15:58 +0800)]
boost: upgrade 1.75.0 -> 1.76.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotiff: upgrade 4.2.0 -> 4.3.0
wangmy [Thu, 22 Apr 2021 07:54:06 +0000 (15:54 +0800)]
tiff: upgrade 4.2.0 -> 4.3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-cython: upgrade 0.29.22 -> 0.29.23
wangmy [Thu, 22 Apr 2021 07:54:05 +0000 (15:54 +0800)]
python3-cython: upgrade 0.29.22 -> 0.29.23

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomtools: upgrade 4.0.26 -> 4.0.27
wangmy [Thu, 22 Apr 2021 07:54:03 +0000 (15:54 +0800)]
mtools: upgrade 4.0.26 -> 4.0.27

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: upgrade 8.5p1 -> 8.6p1
wangmy [Thu, 22 Apr 2021 07:54:04 +0000 (15:54 +0800)]
openssh: upgrade 8.5p1 -> 8.6p1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsolv: upgrade 0.7.18 -> 0.7.19
zhengruoqin [Thu, 22 Apr 2021 16:01:45 +0000 (00:01 +0800)]
libsolv: upgrade 0.7.18 -> 0.7.19

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibical: upgrade 3.0.9 -> 3.0.10
zhengruoqin [Thu, 22 Apr 2021 16:01:28 +0000 (00:01 +0800)]
libical: upgrade 3.0.9 -> 3.0.10

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: upgrade 1.2.0 -> 1.2.1
zhengruoqin [Thu, 22 Apr 2021 16:00:47 +0000 (00:00 +0800)]
libhandy: upgrade 1.2.0 -> 1.2.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibedit: upgrade 20210216-3.1 -> 20210419-3.1
zhengruoqin [Thu, 22 Apr 2021 16:00:18 +0000 (00:00 +0800)]
libedit: upgrade 20210216-3.1 -> 20210419-3.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Update to latest master
Khem Raj [Thu, 22 Apr 2021 05:43:49 +0000 (22:43 -0700)]
musl: Update to latest master

changelog [1]

aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS
0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support
95a540e1 mallocng/aligned_alloc: check for malloc failure
2c00f95c make epoll_[p]wait a cancellation point
521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec
122002f0 remove no-longer-needed special case handling in popen
8ef9d46f use internal malloc for posix_spawn file actions objects
cfdfd5ea don't fail to map library/executable with zero-length segment maps
e48e99c1 suppress isascii() macro for C++
b129cd86 guard against compilers failing to handle setjmp specially by default
3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10
44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10
42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8
b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8
87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10
19239cde sys/prctl.h: add MTE related constants from linux v5.10
8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10
d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10
a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
54ca1cc7 sys/membarrier.h: add new constants from linux v5.10
fd285f9d bits/syscall.h: add process_madvise from linux v5.10
49b6df3d fix error return value for cuserid
cc577d0e fix misuse of getpwuid_r in cuserid
a75283d7 cuserid: don't return truncated results
ef137da6 cuserid: support invocation with a null pointer argument

[1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Enable drd/tests/bar_bad* ptest
Yi Fan Yu [Tue, 20 Apr 2021 23:13:15 +0000 (16:13 -0700)]
valgrind: Enable drd/tests/bar_bad* ptest

Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd

Was not able to reproduce the reported non-deterministic failure.
(ran 20 times on qemux86-64 on a relatively isolated machine)
it might be related to the AB-INT issues,
but it seems to only affect ARM builders now.

Also no action taken by upstream valgrind to fix
https://bugs.kde.org/show_bug.cgi?id=430321

Let it run on AB to see if failure was fixed by uprev to 3.17.0.
if not, we can gather more data from the AB failure.

[YOCTO #14051]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agore2c: Upgrade 2.0.3 -> 2.1.1
Yi Fan Yu [Tue, 20 Apr 2021 21:50:26 +0000 (17:50 -0400)]
re2c: Upgrade 2.0.3 -> 2.1.1

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>