diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2019-02-23 01:03:50 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2019-02-23 01:05:07 +0300 |
commit | 1548c07ccf17a3a7a4fad7f31fb62d117bcb674f (patch) | |
tree | dc38b5d3eba36dab80ecd70556e05f4fae917c12 /meta-openembedded/meta-initramfs | |
parent | 8704effb21a9aac3e4c97d234149887b6acfa941 (diff) | |
download | openbmc-1548c07ccf17a3a7a4fad7f31fb62d117bcb674f.tar.xz |
meta-openembedded: refresh thud: cca27b5ea7..6ef9657068
Update meta-openembedded to thud HEAD.
Alexander Kanavin (2):
packagegroup-meta-oe: drop ptest packages that do not exist
packagegroup-meta-oe: rename the group that contains ptest packages
Andrea Adami (4):
klibc: fix build for mipsel and mips64el with security flags enabled
waf-cross-answers: Add cross-answers-mips64el.txt
kexec-tools-klibc: fix build for mipsel and mips64el
samba: fix build on qemumips64 with musl
Andreas Müller (1):
libgit2: Fix install for multilib
Armin Kuster (1):
wireshark: update to 2.6.6
Craig McQueen (1):
python3-multidict: Workaround for broken make clean
Eduardas Meile (1):
toybox: fix to use "usrmerge" distro feature properly
Haiqing Bai (1):
ptpd: fixed the issue of ptpd2 daemon takes 100% CPU
Hong Liu (1):
wireshark: upgrade to 2.6.5
Hongxu Jia (1):
python-pyparted/python3-pyparted: drop incorrect and redundant PV
Kai Kang (1):
net-snmp: inherit ptest
Khem Raj (16):
xscreensaver: Define consistent app-defaults dir
a2jmidid: Define own do_configure
bpftool: don't build under musl
packagegroup-meta-oe: Remove arch specific packages as needed
packagegroup-meta-oe: Remove packages which don't build for musl
modemmanager: Fix build with clang
klibc: Fix build with clang
srecord: GPL-3.0 and LGPL-3.0 is correct license
packagegroup-meta-oe: Exclude unbuildable packages on mips64
packagegroup-meta-oe: Exclude android-tools breakpad on ppc
packagegroup-meta-oe: Remove unbuildable packages on risc-v from rdep
mpv: Disable lua on mips/aarch64
luajit: Disable for mips n64/n32 hosts
licenses: Add Arphic-Public-License text
nmap: Fix build with clang8/musl/libc++
mozjs: Fix symbol visibility with clang/libc++
Marc Ferland (1):
networkmanager: fix QA issue when using modemmanager and ppp in PACKAGECONFIG
Martin Jansa (1):
open-vm-tools: fix indentation and drop FILES_${PN}-dbg
Mingli Yu (1):
vim: improve reproducibility
Niko Mauno (7):
python-pygobject: Fix invalid install path
python-pygobject: Drop redundant PYTHON* refs
python-pygobject: Drop redundant dependencies
python-pygobject: Only check for even upstream versions
python-pygobject: Remove duplication in inherit
python-pygobject: Fix style issue
python-pygobject: Tune remove operation
Otavio Salvador (2):
mozjs: Avoid use of X11 from host when X11 is disabled
postgresql: Allow successful run of postgresql-setup
Primoz Fiser (1):
sedutil: fix compile errors on big endian architectures
Scott Ellis (2):
nmap: Fix typo in pcre PACKAGECONFIG
nmap: Include additional FILES path for certs
leimaohui (2):
mraa: To file do_package error in multilib.
makedumpfile: Add aarch64 into COMPATIBLE_HOST.
thc (1):
fix networkmanager apppend
Change-Id: I979f5ccefeec364f27df10888ae6258923a30659
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-openembedded/meta-initramfs')
3 files changed, 56 insertions, 0 deletions
diff --git a/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch b/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch new file mode 100644 index 000000000..eee144dc4 --- /dev/null +++ b/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch @@ -0,0 +1,49 @@ +From 241f423a015279cb29b7ad1a34386ef1c32007fc Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sun, 9 Dec 2018 16:47:16 -0800 +Subject: [PATCH] Define ulocked_{fgets|fread|fwrite} aliases + +latest clang converts the normal calls to the unlocked variant +equivalents + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Cc: Andrea Adami <andrea.adami@gmail.com> +--- + usr/klibc/fgets.c | 2 ++ + usr/klibc/fread2.c | 2 ++ + usr/klibc/fwrite2.c | 2 ++ + 3 files changed, 6 insertions(+) + +diff --git a/usr/klibc/fgets.c b/usr/klibc/fgets.c +index dbf742c6..2e9fcb65 100644 +--- a/usr/klibc/fgets.c ++++ b/usr/klibc/fgets.c +@@ -25,3 +25,5 @@ char *fgets(char *s, int n, FILE *f) + + return s; + } ++char *fgets_unlocked(char *s, int n, FILE *f) ++ __alias("fgets"); +diff --git a/usr/klibc/fread2.c b/usr/klibc/fread2.c +index 7dca56b1..5c234766 100644 +--- a/usr/klibc/fread2.c ++++ b/usr/klibc/fread2.c +@@ -11,3 +11,5 @@ size_t fread(void *ptr, size_t size, size_t nmemb, FILE * f) + { + return _fread(ptr, size * nmemb, f) / size; + } ++size_t fread_unlocked(void *ptr, size_t size, size_t nmemb, FILE *f) ++ __alias("fread"); +diff --git a/usr/klibc/fwrite2.c b/usr/klibc/fwrite2.c +index cebc017c..3e0bb57d 100644 +--- a/usr/klibc/fwrite2.c ++++ b/usr/klibc/fwrite2.c +@@ -11,3 +11,5 @@ size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE * f) + { + return _fwrite(ptr, size * nmemb, f) / size; + } ++size_t fwrite_unlocked(void *ptr, size_t size, size_t nmemb, FILE *f) ++ __alias("fwrite"); +-- +2.19.2 + diff --git a/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc.inc index be01c2f58..ec52e9734 100644 --- a/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-openembedded/meta-initramfs/recipes-devtools/klibc/klibc.inc @@ -24,6 +24,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git \ file://0001-klibc_2.0.4-add-kexec_file_load-syscall.patch \ file://0001-klibc-add-getrandom-syscall.patch \ file://0001-klibc-Kbuild-Accept-EXTRA_KLIBCAFLAGS.patch \ + file://0001-Define-ulocked_-fgets-fread-fwrite-aliases.patch \ " ARMPATCHES ?= "" @@ -69,6 +70,7 @@ KLIBC_ARCH = "${TARGET_ARCH}" KLIBC_ARCH_aarch64 = "arm64" KLIBC_ARCH_armeb = "arm" KLIBC_ARCH_mipsel = "mips" +KLIBC_ARCH_mips64el = "mips64" KLIBC_ARCH_x86 = "i386" KLIBC_ARCH_x86-64 = "x86_64" KLIBC_ARCH_powerpc = "ppc" @@ -78,4 +80,6 @@ THIS_LIBKLIBC = "libklibc (= ${PV}-${PR})" GCCPIE ?= "" SECURITY_LDFLAGS = "${@'-z relro -z now -pie' if '${GCCPIE}' else ''}" SECURITY_LDFLAGS_mips = "" +SECURITY_LDFLAGS_mipsel = "" SECURITY_LDFLAGS_mips64 = "" +SECURITY_LDFLAGS_mips64el = "" diff --git a/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 25f5da48d..cc1c5518b 100644 --- a/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb @@ -66,9 +66,12 @@ CFLAGS_x86-64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/i CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" +CFLAGS_mipsel_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" +CFLAGS_mips64el_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" CFLAGS_powerpc_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" + do_compile_prepend() { # Remove the prepackaged config.h from the source tree as it overrides # the same file generated by configure and placed in the build tree |