* [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64
@ 2018-08-19 17:23 Khem Raj
2018-08-19 17:23 ` [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
` (8 more replies)
0 siblings, 9 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
This series fixes llvm build to support multilib configurations
Adds dos2unix bbclass to core from meta-oe
Fixes ppc security flags world builds
v2:
Upgrade binutils and gdb
Fix libidb2 cross build issue when build host == target host
The following changes since commit 007ef1f468110b2698a27ea9a6d43fed5a0a9fc2:
kernel-devsrc: restructure for out of tree (and on target) module builds (2018-08-19 16:33:41 +0100)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/master
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/master
Khem Raj (9):
mesa: Enable gallium-llvm on x86 and x86_64
powerpc: Remove pie flags from compiler cmdline
llvm: Point llvm-config to one built with llvm-native
dos2unix.bbclass: Move to oe-core
llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in
llvm-config
mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names
binutils: Update past 2.31.1 release
gdb: Upgrade to 8.1.1
libidn2: Fix libunistring detection
meta/classes/dos2unix.bbclass | 14 ++++++
meta/conf/distro/include/security_flags.inc | 7 +--
.../binutils/binutils-2.31.inc | 2 +-
.../gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 +-
...ian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0
.../{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0
.../gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0
...-llvm-allow-env-override-of-exe-path.patch | 47 ++++++++++++++++---
meta/recipes-devtools/llvm/llvm_git.bb | 4 +-
meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 ++
meta/recipes-graphics/cairo/cairo.inc | 3 +-
meta/recipes-graphics/mesa/mesa.inc | 4 ++
12 files changed, 72 insertions(+), 17 deletions(-)
create mode 100644 meta/classes/dos2unix.bbclass
rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%)
--
2.18.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-20 9:40 ` Richard Purdie
2018-08-19 17:23 ` [PATCH 2/9] powerpc: Remove pie flags from compiler cmdline Khem Raj
` (7 subsequent siblings)
8 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-graphics/cairo/cairo.inc | 3 ++-
meta/recipes-graphics/mesa/mesa.inc | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index 20e0d2c92a..7347f223ff 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
- ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}"
+ ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}"
PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 6aedeee9dc..2671d4de4d 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -47,6 +47,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
"
+PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
+PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
+
# "gbm" requires "dri", "opengl"
PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 2/9] powerpc: Remove pie flags from compiler cmdline
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
2018-08-19 17:23 ` [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-19 17:23 ` [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native Khem Raj
` (6 subsequent siblings)
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
Original approach to add -no-<pie> flags cause link time behavior changes
where packages start to lose the -fPIC -DPIC in compiler cmdline and this
list keeps growing as we build more and more packages,
Instead lets just remove the options we dont need from SECURITY_CFLAGS
this makes it more robust and less intrusive
This also means we do not need to re-add pic options as we started to do
for affected packages
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/conf/distro/include/security_flags.inc | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index 52e1e4ebc5..4e20a4d0f8 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -28,13 +28,10 @@ SECURITY_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro,-z,now"
SECURITY_X_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro"
# powerpc does not get on with pie for reasons not looked into as yet
-SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}"
-SECURITY_CFLAGS_pn-libgcc_powerpc = ""
-SECURITY_CFLAGS_append_powerpc_pn-libdrm = " -fPIC -DPIC"
-SECURITY_CFLAGS_append_powerpc_pn-libinput = " -fPIC -DPIC"
-SECURITY_CFLAGS_append_powerpc_pn-at-spi2-core = " -fPIC -DPIC"
GCCPIE_powerpc = ""
GLIBCPIE_powerpc = ""
+SECURITY_CFLAGS_remove_powerpc = "${SECURITY_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-libgcc_powerpc = ""
SECURITY_CFLAGS_pn-glibc = ""
SECURITY_CFLAGS_pn-glibc-initial = ""
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
2018-08-19 17:23 ` [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
2018-08-19 17:23 ` [PATCH 2/9] powerpc: Remove pie flags from compiler cmdline Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-19 17:23 ` [PATCH 4/9] dos2unix.bbclass: Move to oe-core Khem Raj
` (5 subsequent siblings)
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
If not defined, llvm build system tries to build one
which then confuses the OE QA system since its building
native tool and target packages in same package build
moreover it is not required since we already have it via
llvm-native
Fixes
ERROR: llvm-6.0-r0 do_package_qa: QA Issue: llvm: The compile log indicates that host include and/or library paths were used.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/llvm/llvm_git.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index bb83012231..d853d4151d 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -64,17 +64,19 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_ENABLE_FFI=ON \
-DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
-DLLVM_OPTIMIZED_TABLEGEN=ON \
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS}" \
+ -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
-G Ninja"
EXTRA_OECMAKE_append_class-target = "\
-DCMAKE_CROSSCOMPILING:BOOL=ON \
-DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
+ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
"
EXTRA_OECMAKE_append_class-nativesdk = "\
-DCMAKE_CROSSCOMPILING:BOOL=ON \
-DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
+ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
"
do_configure_prepend() {
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 4/9] dos2unix.bbclass: Move to oe-core
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (2 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-20 9:23 ` Martin Hundebøll
2018-08-19 17:23 ` [PATCH 5/9] llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in llvm-config Khem Raj
` (4 subsequent siblings)
8 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
- Import from meta-oe layer
- This is useful for many packages where CR-LF
needs to be adjusted, many recipes depend on it
e.g. meta-multimedia libebml and so on.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/classes/dos2unix.bbclass | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 meta/classes/dos2unix.bbclass
diff --git a/meta/classes/dos2unix.bbclass b/meta/classes/dos2unix.bbclass
new file mode 100644
index 0000000000..3fc17e2196
--- /dev/null
+++ b/meta/classes/dos2unix.bbclass
@@ -0,0 +1,14 @@
+# Class for use to convert all CRLF line terminators to LF
+# provided that some projects are being developed/maintained
+# on Windows so they have different line terminators(CRLF) vs
+# on Linux(LF), which can cause annoying patching errors during
+# git push/checkout processes.
+
+do_convert_crlf_to_lf[depends] += "dos2unix-native:do_populate_sysroot"
+
+# Convert CRLF line terminators to LF
+do_convert_crlf_to_lf () {
+ find ${S} -type f -exec dos2unix {} \;
+}
+
+addtask convert_crlf_to_lf after do_unpack before do_patch
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 5/9] llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in llvm-config
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (3 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 4/9] dos2unix.bbclass: Move to oe-core Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-19 17:23 ` [PATCH 6/9] mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names Khem Raj
` (3 subsequent siblings)
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
llvm-config is a tool on similar veins as pkg-config but provides a lot
more information and packages which use llvm e.g. mesa use this tool to
poke for llvm related informaiton e.g. version, libpath, includepaths
to name a few, this has few challanges in cross build environments where
llvm-config is supposed to be build for buildhost but provide information
about target llvm which is addressed by building native llvm-config along
with target llvm build, but this is frowned upon by OE build system since
it detects that host paths are being used so we have to build it as part
of llvm-native but then it means install paths for llvm and llvm-native
are different and wrong paths get reported when llvm-config is used.
This is solved by providing YOCTO_ALTERNATE_EXE_PATH variable to let
llvm-config use that path instead of self-relative path to report back
Second problem is when building multi-lib packages base_libdir is different
for target packages but native llvm-config does not know about it so
it reports non-multilibbed paths as libdir and packages can not find
llvm in sysroot. This is fixed by adding another environment variable
YOCTO_ALTERNATE_MULTILIB_NAME which can be set from recipes to set
proper multilib path
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
...-llvm-allow-env-override-of-exe-path.patch | 47 ++++++++++++++++---
1 file changed, 40 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
index 21d2f81b58..6a9283323c 100644
--- a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
+++ b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
@@ -1,4 +1,4 @@
-From 2f8ea767afdaa440c6368040630e1b3ea6a0977a Mon Sep 17 00:00:00 2001
+From aeccf16eaccdd80e4d5ecaa51673ce4b2bac1130 Mon Sep 17 00:00:00 2001
From: Martin Kelly <mkelly@xevo.com>
Date: Fri, 19 May 2017 00:22:57 -0700
Subject: [PATCH 2/2] llvm: allow env override of exe path
@@ -8,16 +8,19 @@ return the libraries, include directories, etc. from inside the sysroot rather
than from the native sysroot. Thus provide an env override for calling
llvm-config from a target sysroot.
+To let it work in multilib environment, we need to provide a knob to supply
+multilib dirname as well
+
+Upstream-Status: Inappropriate [OE-Specific]
+
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
-Upstream-Status: Pending
-
- tools/llvm-config/llvm-config.cpp | 7 +++++++
- 1 file changed, 7 insertions(+)
+ tools/llvm-config/llvm-config.cpp | 17 ++++++++++++++++-
+ 1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp
-index 08b096afb05..d8d7742744e 100644
+index 08b096afb05..360cc5abf4e 100644
--- a/tools/llvm-config/llvm-config.cpp
+++ b/tools/llvm-config/llvm-config.cpp
@@ -225,6 +225,13 @@ Typical components:\n\
@@ -34,6 +37,36 @@ index 08b096afb05..d8d7742744e 100644
// This just needs to be some symbol in the binary; C++ doesn't
// allow taking the address of ::main however.
void *P = (void *)(intptr_t)GetExecutablePath;
+@@ -306,12 +313,20 @@ int main(int argc, char **argv) {
+ std::string ActivePrefix, ActiveBinDir, ActiveIncludeDir, ActiveLibDir,
+ ActiveCMakeDir;
+ std::string ActiveIncludeOption;
++ // Hack for Yocto: we need to override the multilib path when we are using
++ // llvm-config from within a target sysroot.
++ std::string Multilibdir = std::getenv("YOCTO_ALTERNATE_MULTILIB_NAME");
++ if (Multilibdir.empty()) {
++ Multilibdir = "/lib" LLVM_LIBDIR_SUFFIX;
++ }
++
+ if (IsInDevelopmentTree) {
+ ActiveIncludeDir = std::string(LLVM_SRC_ROOT) + "/include";
+ ActivePrefix = CurrentExecPrefix;
+
+ // CMake organizes the products differently than a normal prefix style
+ // layout.
++
+ switch (DevelopmentTreeLayout) {
+ case CMakeStyle:
+ ActiveBinDir = ActiveObjRoot + "/bin";
+@@ -336,7 +351,7 @@ int main(int argc, char **argv) {
+ SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
+ sys::fs::make_absolute(ActivePrefix, path);
+ ActiveBinDir = path.str();
+- ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
++ ActiveLibDir = ActivePrefix + Multilibdir;
+ ActiveCMakeDir = ActiveLibDir + "/cmake/llvm";
+ ActiveIncludeOption = "-I" + ActiveIncludeDir;
+ }
--
-2.16.1
+2.18.0
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 6/9] mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (4 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 5/9] llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in llvm-config Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-19 17:23 ` [PATCH 7/9] binutils: Update past 2.31.1 release Khem Raj
` (2 subsequent siblings)
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-graphics/mesa/mesa.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 2671d4de4d..dd626d9f00 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -34,6 +34,7 @@ PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \
export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
+export YOCTO_ALTERNATE_MULTILIB_NAME = "${base_libdir}"
EXTRA_OECONF = "--enable-shared-glapi \
--disable-opencl \
--enable-glx-read-only-text \
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 7/9] binutils: Update past 2.31.1 release
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (5 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 6/9] mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-19 17:23 ` [PATCH 8/9] gdb: Upgrade to 8.1.1 Khem Raj
2018-08-19 17:23 ` [PATCH 9/9] libidn2: Fix libunistring detection Khem Raj
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
list of changes in this rev bump
* a69de9c7cf ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s
* 28a27bdbb9 x86: Properly add X86_ISA_1_NEEDED property
* d692290444 x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s
* d55c3e3609 x86: Properly merge GNU_PROPERTY_X86_ISA_1_USED
* 381c1eb6ec x86: Update assembler tests for non-ELF targets
* 9b075c7167 x32: Align the .note.gnu.property section to 4 bytes
* 4aa5eb02fd __tls_get_addr_opt stubs and tocsave optimization
* 95fbde6791 Re: PowerPC64 __tls_get_addr_opt stub .eh_frame fix
* 079a6882b5 PowerPC64 __tls_get_addr_opt stub .eh_frame fix
* 1d8f56a971 Updated Bulgarian translation for the ld/ directory
* b7991db94c Add --warn-drop-version option; by default, do not warn when discarding version info.
* dbf924a63a Fix type checking errors.
* 60b3b24ca1 Fix spurious check-ld failures on aarch64-elf
* feaed90494 [PATCH, LD, AArch64] Fix ifunc testisms
* 2069ccaf8d x86: don't mistakenly scale non-8-bit displacements
* 254ade2586 Fix unwind offset for call_info->start_symbol.
* 29153520a8 S/390: Set the htm flag on PPA
* 6737a6b34f x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed
* 01683b308a x86: Split vcvtps2{,u}qq and vcvttps2{,u}qq
* be8a252e18 Set the development flag back to true.
* 0860693812 (tag: binutils-2_31_1) Regenerate files and add changelog entries for 2.31.1 release
* 4afd6a72e3 Fix typo in src-release.sh script. Update French translation for gold and Spanish translation for ld.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/binutils/binutils-2.31.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/binutils/binutils-2.31.inc b/meta/recipes-devtools/binutils/binutils-2.31.inc
index 6603873ba2..bc951d73e4 100644
--- a/meta/recipes-devtools/binutils/binutils-2.31.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.31.inc
@@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}"
UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
-SRCREV ?= "f8b4d71490df766ca9c474f7ab9c82b3a8029a5a"
+SRCREV ?= "4568e49ff799192fea4f66063fe13e2b871ec75a"
BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git"
SRC_URI = "\
${BINUTILS_GIT_URI} \
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 8/9] gdb: Upgrade to 8.1.1
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (6 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 7/9] binutils: Update past 2.31.1 release Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
2018-08-20 2:23 ` ChenQi
2018-08-19 17:23 ` [PATCH 9/9] libidn2: Fix libunistring detection Khem Raj
8 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 ++--
...{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0
.../gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0
meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%)
rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%)
rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%)
diff --git a/meta/recipes-devtools/gdb/gdb-8.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
similarity index 89%
rename from meta/recipes-devtools/gdb/gdb-8.1.inc
rename to meta/recipes-devtools/gdb/gdb-8.1.1.inc
index 4d9faa2d4b..ad80dd3e4d 100644
--- a/meta/recipes-devtools/gdb/gdb-8.1.inc
+++ b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
@@ -18,6 +18,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
"
-SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105"
-SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34"
+SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
+SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross_8.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb_8.1.bb
rename to meta/recipes-devtools/gdb/gdb_8.1.1.bb
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 9/9] libidn2: Fix libunistring detection
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
` (7 preceding siblings ...)
2018-08-19 17:23 ` [PATCH 8/9] gdb: Upgrade to 8.1.1 Khem Raj
@ 2018-08-19 17:23 ` Khem Raj
8 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-19 17:23 UTC (permalink / raw)
To: openembedded-core
libunistring is one such library which many autotooled packages
mistake to use from build system if its installed on it. This
is specifically toxic when build host arch is same as target arch
since we only see the problem during runtime but thankfully OE
has build time QA which warns about it.
QA Issue: libidn2: The compile log indicates that host include and/or library paths were used.
Using --with-libunistring-prefix nudges the autoconf system for the
component to first look into target sysroot before going on to search
on the build host
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
index 0d7bddbc7f..0daf7a6877 100644
--- a/meta/recipes-extended/libidn/libidn2_2.0.5.bb
+++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
@@ -19,6 +19,10 @@ DEPENDS = "virtual/libiconv libunistring"
inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
+EXTRA_OECONF += "--disable-rpath \
+ --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
+ "
+
LICENSE_${PN} = "(GPLv2+ | LGPLv3)"
LICENSE_${PN}-bin = "GPLv3+"
--
2.18.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH 8/9] gdb: Upgrade to 8.1.1
2018-08-19 17:23 ` [PATCH 8/9] gdb: Upgrade to 8.1.1 Khem Raj
@ 2018-08-20 2:23 ` ChenQi
2018-08-20 2:41 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: ChenQi @ 2018-08-20 2:23 UTC (permalink / raw)
To: Khem Raj, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 6331 bytes --]
There's a build failure on autobuilder.
https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/700/steps/BuildImages/logs/stdio
| x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3
-mfpmath=sse
--sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot
-shared -fPIC -Wl,--soname=libinproctrace.so -Wl,--no-undefined -O2
-pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0=/usr/src/debug/gdb/8.1.1-r0
-fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot=
-fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot-native=
-fvisibility-inlines-hidden -I. -I../../../gdb-8.1.1/gdb/gdbserver
-I../../../gdb-8.1.1/gdb/gdbserver/../common
-I../../../gdb-8.1.1/gdb/gdbserver/../regformats
-I../../../gdb-8.1.1/gdb/gdbserver/..
-I../../../gdb-8.1.1/gdb/gdbserver/../../include
-I../../../gdb-8.1.1/gdb/gdbserver/../gnulib/import
-Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
-Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized
-DGDBSERVER \ | -static-libstdc++ -static-libgcc -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed
-Wl,--dynamic-list=../../../gdb-8.1.1/gdb/gdbserver/proc-service.list -o
libinproctrace.so ax-ipa.o common-utils-ipa.o errors-ipa.o format-ipa.o
print-utils-ipa.o regcache-ipa.o remote-utils-ipa.o rsp-low-ipa.o
tdesc-ipa.o tracepoint-ipa.o utils-ipa.o vec-ipaERROR: Task
(/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/meta/recipes-devtools/gdb/gdb_8.1.1.bb:do_compile)
failed with exit code '1' .o linux-amd64-ipa.o linux-x86-tdesc-ipa.o
arch/amd64-ipa.o -ldl -pthread |
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux-musl/../../libexec/x86_64-poky-linux-musl/gcc/x86_64-poky-linux-musl/8.2.0/ld:
common-utils-ipa.o: in function `is_regular_file(char const*, int*)': |
/usr/src/debug/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419:
undefined reference to `rpl_stat' | collect2: error: ld returned 1 exit
status | make[4]: *** [Makefile:414: libinproctrace.so] Error 1 |
make[4]: *** Waiting for unfinished jobs.... | make[4]: Leaving
directory
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb/gdbserver'
| make[3]: *** [Makefile:2027: subdir_do] Error 1 | make[3]: Leaving
directory
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb'
| make[2]: *** [Makefile:1621: all] Error 2 | make[2]: Leaving directory
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb'
| make[1]: *** [Makefile:8793: all-gdb] Error 2 | make[1]: Leaving
directory
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl'
| make: *** [Makefile:850: all] Error 2 | ERROR: oe_runmake failed
Best Regards,
Chen Qi
On 08/20/2018 01:23 AM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 ++--
> ...{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0
> .../gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0
> meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0
> 4 files changed, 2 insertions(+), 2 deletions(-)
> rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%)
> rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%)
> rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%)
> rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%)
>
> diff --git a/meta/recipes-devtools/gdb/gdb-8.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
> similarity index 89%
> rename from meta/recipes-devtools/gdb/gdb-8.1.inc
> rename to meta/recipes-devtools/gdb/gdb-8.1.1.inc
> index 4d9faa2d4b..ad80dd3e4d 100644
> --- a/meta/recipes-devtools/gdb/gdb-8.1.inc
> +++ b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
> @@ -18,6 +18,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
> file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
> file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
> "
> -SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105"
> -SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34"
> +SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
> +SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"
>
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb-cross_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
> diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb_8.1.1.bb
[-- Attachment #2: Type: text/html, Size: 7152 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 8/9] gdb: Upgrade to 8.1.1
2018-08-20 2:23 ` ChenQi
@ 2018-08-20 2:41 ` Khem Raj
2018-08-20 10:59 ` Richard Purdie
0 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-20 2:41 UTC (permalink / raw)
To: ChenQi; +Cc: Patches and discussions about the oe-core layer
On Sun, Aug 19, 2018 at 7:19 PM ChenQi <Qi.Chen@windriver.com> wrote:
>
> There's a build failure on autobuilder.
>
> https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/700/steps/BuildImages/logs/stdio
>
I pushed a patch to pull branch which should fix it
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=a05cc1ee8eb1cb05064164a9ae62db6dc78d022b
> | x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot -shared -fPIC -Wl,--soname=libinproctrace.so -Wl,--no-undefined -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0=/usr/src/debug/gdb/8.1.1-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -I. -I../../../gdb-8.1.1/gdb/gdbserver -I../../../gdb-8.1.1/gdb/gdbserver/../common -I../../../gdb-8.1.1/gdb/gdbserver/../regformats -I../../../gdb-8.1.1/gdb/gdbserver/.. -I../../../gdb-8.1.1/gdb/gdbserver/../../include -I../../../gdb-8.1.1/gdb/gdbserver/../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -DGDBSERVER \
> | -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--dynamic-list=../../../gdb-8.1.1/gdb/gdbserver/proc-service.list -o libinproctrace.so ax-ipa.o common-utils-ipa.o errors-ipa.o format-ipa.o print-utils-ipa.o regcache-ipa.o remote-utils-ipa.o rsp-low-ipa.o tdesc-ipa.o tracepoint-ipa.o utils-ipa.o vec-ipaERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/meta/recipes-devtools/gdb/gdb_8.1.1.bb:do_compile) failed with exit code '1'
> .o linux-amd64-ipa.o linux-x86-tdesc-ipa.o arch/amd64-ipa.o -ldl -pthread
> | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux-musl/../../libexec/x86_64-poky-linux-musl/gcc/x86_64-poky-linux-musl/8.2.0/ld: common-utils-ipa.o: in function `is_regular_file(char const*, int*)':
> | /usr/src/debug/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: undefined reference to `rpl_stat'
> | collect2: error: ld returned 1 exit status
> | make[4]: *** [Makefile:414: libinproctrace.so] Error 1
> | make[4]: *** Waiting for unfinished jobs....
> | make[4]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb/gdbserver'
> | make[3]: *** [Makefile:2027: subdir_do] Error 1
> | make[3]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb'
> | make[2]: *** [Makefile:1621: all] Error 2
> | make[2]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl/gdb'
> | make[1]: *** [Makefile:8793: all-gdb] Error 2
> | make[1]: Leaving directory '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl-x86-64/build/build/tmp/work/core2-64-poky-linux-musl/gdb/8.1.1-r0/build-x86_64-poky-linux-musl'
> | make: *** [Makefile:850: all] Error 2
> | ERROR: oe_runmake failed
>
>
> Best Regards,
> Chen Qi
>
> On 08/20/2018 01:23 AM, Khem Raj wrote:
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} | 4 ++--
> ...{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} | 0
> .../gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} | 0
> meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} | 0
> 4 files changed, 2 insertions(+), 2 deletions(-)
> rename meta/recipes-devtools/gdb/{gdb-8.1.inc => gdb-8.1.1.inc} (89%)
> rename meta/recipes-devtools/gdb/{gdb-cross-canadian_8.1.bb => gdb-cross-canadian_8.1.1.bb} (100%)
> rename meta/recipes-devtools/gdb/{gdb-cross_8.1.bb => gdb-cross_8.1.1.bb} (100%)
> rename meta/recipes-devtools/gdb/{gdb_8.1.bb => gdb_8.1.1.bb} (100%)
>
> diff --git a/meta/recipes-devtools/gdb/gdb-8.1.inc b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
> similarity index 89%
> rename from meta/recipes-devtools/gdb/gdb-8.1.inc
> rename to meta/recipes-devtools/gdb/gdb-8.1.1.inc
> index 4d9faa2d4b..ad80dd3e4d 100644
> --- a/meta/recipes-devtools/gdb/gdb-8.1.inc
> +++ b/meta/recipes-devtools/gdb/gdb-8.1.1.inc
> @@ -18,6 +18,6 @@ SRC_URI = "http://ftp.gnu.org/gnu/gdb/gdb-${PV}.tar.xz \
> file://package_devel_gdb_patches_120-sigprocmask-invalid-call.patch \
> file://gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch \
> "
> -SRC_URI[md5sum] = "f46487561f9a16916a8102316f7fd105"
> -SRC_URI[sha256sum] = "af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34"
> +SRC_URI[md5sum] = "372fa63a53adeee1bfbfd581d8da9e34"
> +SRC_URI[sha256sum] = "97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c"
>
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross-canadian_8.1.1.bb
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_8.1.bb b/meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb-cross_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross_8.1.1.bb
> diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.1.bb
> similarity index 100%
> rename from meta/recipes-devtools/gdb/gdb_8.1.bb
> rename to meta/recipes-devtools/gdb/gdb_8.1.1.bb
>
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/9] dos2unix.bbclass: Move to oe-core
2018-08-19 17:23 ` [PATCH 4/9] dos2unix.bbclass: Move to oe-core Khem Raj
@ 2018-08-20 9:23 ` Martin Hundebøll
2018-08-20 9:43 ` Richard Purdie
0 siblings, 1 reply; 21+ messages in thread
From: Martin Hundebøll @ 2018-08-20 9:23 UTC (permalink / raw)
To: Khem Raj, openembedded-core
Hi Khem,
On 19/08/2018 19.23, Khem Raj wrote:
> - Import from meta-oe layer
>
> - This is useful for many packages where CR-LF
> needs to be adjusted, many recipes depend on it
> e.g. meta-multimedia libebml and so on.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/classes/dos2unix.bbclass | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 meta/classes/dos2unix.bbclass
>
> diff --git a/meta/classes/dos2unix.bbclass b/meta/classes/dos2unix.bbclass
> new file mode 100644
> index 0000000000..3fc17e2196
> --- /dev/null
> +++ b/meta/classes/dos2unix.bbclass
> @@ -0,0 +1,14 @@
> +# Class for use to convert all CRLF line terminators to LF
> +# provided that some projects are being developed/maintained
> +# on Windows so they have different line terminators(CRLF) vs
> +# on Linux(LF), which can cause annoying patching errors during
> +# git push/checkout processes.
> +
> +do_convert_crlf_to_lf[depends] += "dos2unix-native:do_populate_sysroot"
Shouldn't the dos2unix recipe live in oe-core also, when a class depends
upon it?
// Martin
> +
> +# Convert CRLF line terminators to LF
> +do_convert_crlf_to_lf () {
> + find ${S} -type f -exec dos2unix {} \;
> +}
> +
> +addtask convert_crlf_to_lf after do_unpack before do_patch
>
--
Kind regards,
Martin Hundebøll
Embedded Linux Consultant
+45 61 65 54 61
martin@geanix.com
Geanix IVS
https://geanix.com
DK39600706
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64
2018-08-19 17:23 ` [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
@ 2018-08-20 9:40 ` Richard Purdie
2018-08-20 17:14 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2018-08-20 9:40 UTC (permalink / raw)
To: Khem Raj, openembedded-core
On Sun, 2018-08-19 at 10:23 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-graphics/cairo/cairo.inc | 3 ++-
> meta/recipes-graphics/mesa/mesa.inc | 3 +++
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-
> graphics/cairo/cairo.inc
> index 20e0d2c92a..7347f223ff 100644
> --- a/meta/recipes-graphics/cairo/cairo.inc
> +++ b/meta/recipes-graphics/cairo/cairo.inc
> @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender
> libxext"
> DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
>
> PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> 'x11 xcb', '', d)} \
> - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}"
> + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',
> 'opengl', '', d)}"
>
> PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --
> disable-xlib,${X11DEPENDS}"
> PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-
> graphics/mesa/mesa.inc
> index 6aedeee9dc..2671d4de4d 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -47,6 +47,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATU
> RES', 'wayland vulkan', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11
> vulkan', 'dri3', '', d)} \
> "
>
> +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
> +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
> +
> # "gbm" requires "dri", "opengl"
> PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
Adding this patch causes:
"oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash"
to fail. I've not looked into it in more detail other than to narrow it
down to this patch.
Cheers,
Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/9] dos2unix.bbclass: Move to oe-core
2018-08-20 9:23 ` Martin Hundebøll
@ 2018-08-20 9:43 ` Richard Purdie
2018-08-20 17:02 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2018-08-20 9:43 UTC (permalink / raw)
To: Martin Hundebøll, Khem Raj, openembedded-core
On Mon, 2018-08-20 at 11:23 +0200, Martin Hundebøll wrote:
> Hi Khem,
>
> On 19/08/2018 19.23, Khem Raj wrote:
> > - Import from meta-oe layer
> >
> > - This is useful for many packages where CR-LF
> > needs to be adjusted, many recipes depend on it
> > e.g. meta-multimedia libebml and so on.
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > meta/classes/dos2unix.bbclass | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> > create mode 100644 meta/classes/dos2unix.bbclass
> >
> > diff --git a/meta/classes/dos2unix.bbclass
> > b/meta/classes/dos2unix.bbclass
> > new file mode 100644
> > index 0000000000..3fc17e2196
> > --- /dev/null
> > +++ b/meta/classes/dos2unix.bbclass
> > @@ -0,0 +1,14 @@
> > +# Class for use to convert all CRLF line terminators to LF
> > +# provided that some projects are being developed/maintained
> > +# on Windows so they have different line terminators(CRLF) vs
> > +# on Linux(LF), which can cause annoying patching errors during
> > +# git push/checkout processes.
> > +
> > +do_convert_crlf_to_lf[depends] += "dos2unix-
> > native:do_populate_sysroot"
>
> Shouldn't the dos2unix recipe live in oe-core also, when a class
> depends upon it?
Not necessarily, we do have a number of core classes which aren't
directly used in OE-Core but are needed by many layers and having a
common copy makes sense.
I'd agree it is good to try and have something which tests them though.
Cheers,
Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 8/9] gdb: Upgrade to 8.1.1
2018-08-20 2:41 ` Khem Raj
@ 2018-08-20 10:59 ` Richard Purdie
2018-08-20 17:01 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2018-08-20 10:59 UTC (permalink / raw)
To: Khem Raj, ChenQi; +Cc: Patches and discussions about the oe-core layer
On Sun, 2018-08-19 at 19:41 -0700, Khem Raj wrote:
> On Sun, Aug 19, 2018 at 7:19 PM ChenQi <Qi.Chen@windriver.com> wrote:
> >
> > There's a build failure on autobuilder.
> >
> > https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/70
> > 0/steps/BuildImages/logs/stdio
> >
>
> I pushed a patch to pull branch which should fix it
> http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/
> master&id=a05cc1ee8eb1cb05064164a9ae62db6dc78d022b
I'm afraid not:
https://autobuilder.yocto.io/builders/nightly-musl/builds/1252/steps/Bu
ildImages/logs/stdio
https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/701/st
eps/BuildImages/logs/stdio
Cheers,
Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 8/9] gdb: Upgrade to 8.1.1
2018-08-20 10:59 ` Richard Purdie
@ 2018-08-20 17:01 ` Khem Raj
0 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-20 17:01 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
On Mon, Aug 20, 2018 at 3:59 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Sun, 2018-08-19 at 19:41 -0700, Khem Raj wrote:
> > On Sun, Aug 19, 2018 at 7:19 PM ChenQi <Qi.Chen@windriver.com> wrote:
> > >
> > > There's a build failure on autobuilder.
> > >
> > > https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/70
> > > 0/steps/BuildImages/logs/stdio
> > >
> >
> > I pushed a patch to pull branch which should fix it
> > http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/
> > master&id=a05cc1ee8eb1cb05064164a9ae62db6dc78d022b
>
> I'm afraid not:
>
> https://autobuilder.yocto.io/builders/nightly-musl/builds/1252/steps/Bu
> ildImages/logs/stdio
>
> https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/701/st
> eps/BuildImages/logs/stdio
>
yeah C++, how can I ignore that. Refreshed the patch to use CPPFLAGS instead
of CFLAGS, verified locally too. Give it a shot
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=dc5dd1be33265c28e0f029b12888183d554444f3
> Cheers,
>
> Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/9] dos2unix.bbclass: Move to oe-core
2018-08-20 9:43 ` Richard Purdie
@ 2018-08-20 17:02 ` Khem Raj
2018-08-20 17:22 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-20 17:02 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
On Mon, Aug 20, 2018 at 2:43 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Mon, 2018-08-20 at 11:23 +0200, Martin Hundebøll wrote:
> > Hi Khem,
> >
> > On 19/08/2018 19.23, Khem Raj wrote:
> > > - Import from meta-oe layer
> > >
> > > - This is useful for many packages where CR-LF
> > > needs to be adjusted, many recipes depend on it
> > > e.g. meta-multimedia libebml and so on.
> > >
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > > meta/classes/dos2unix.bbclass | 14 ++++++++++++++
> > > 1 file changed, 14 insertions(+)
> > > create mode 100644 meta/classes/dos2unix.bbclass
> > >
> > > diff --git a/meta/classes/dos2unix.bbclass
> > > b/meta/classes/dos2unix.bbclass
> > > new file mode 100644
> > > index 0000000000..3fc17e2196
> > > --- /dev/null
> > > +++ b/meta/classes/dos2unix.bbclass
> > > @@ -0,0 +1,14 @@
> > > +# Class for use to convert all CRLF line terminators to LF
> > > +# provided that some projects are being developed/maintained
> > > +# on Windows so they have different line terminators(CRLF) vs
> > > +# on Linux(LF), which can cause annoying patching errors during
> > > +# git push/checkout processes.
> > > +
> > > +do_convert_crlf_to_lf[depends] += "dos2unix-
> > > native:do_populate_sysroot"
> >
> > Shouldn't the dos2unix recipe live in oe-core also, when a class
> > depends upon it?
>
> Not necessarily, we do have a number of core classes which aren't
> directly used in OE-Core but are needed by many layers and having a
> common copy makes sense.
>
> I'd agree it is good to try and have something which tests them though.
>
in this case, I think it would make sense to bring in recipe as well, since the
motivation to bring this into core is to unlink dependency on meta-oe layer
> Cheers,
>
> Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64
2018-08-20 9:40 ` Richard Purdie
@ 2018-08-20 17:14 ` Khem Raj
2018-08-20 17:51 ` Khem Raj
0 siblings, 1 reply; 21+ messages in thread
From: Khem Raj @ 2018-08-20 17:14 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
On Mon, Aug 20, 2018 at 2:40 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Sun, 2018-08-19 at 10:23 -0700, Khem Raj wrote:
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> > meta/recipes-graphics/cairo/cairo.inc | 3 ++-
> > meta/recipes-graphics/mesa/mesa.inc | 3 +++
> > 2 files changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-
> > graphics/cairo/cairo.inc
> > index 20e0d2c92a..7347f223ff 100644
> > --- a/meta/recipes-graphics/cairo/cairo.inc
> > +++ b/meta/recipes-graphics/cairo/cairo.inc
> > @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender
> > libxext"
> > DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
> >
> > PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> > 'x11 xcb', '', d)} \
> > - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}"
> > + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',
> > 'opengl', '', d)}"
> >
> > PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --
> > disable-xlib,${X11DEPENDS}"
> > PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
> > diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-
> > graphics/mesa/mesa.inc
> > index 6aedeee9dc..2671d4de4d 100644
> > --- a/meta/recipes-graphics/mesa/mesa.inc
> > +++ b/meta/recipes-graphics/mesa/mesa.inc
> > @@ -47,6 +47,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATU
> > RES', 'wayland vulkan', d)} \
> > ${@bb.utils.contains('DISTRO_FEATURES', 'x11
> > vulkan', 'dri3', '', d)} \
> > "
> >
> > +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
> > +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
> > +
> > # "gbm" requires "dri", "opengl"
> > PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
>
> Adding this patch causes:
>
> "oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash"
>
> to fail. I've not looked into it in more detail other than to narrow it
> down to this patch.
>
my hunch is that its due to new env variables
probably we need to add them to exclude list...?
see
YOCTO_ALTERNATE_* vars
http://git.openembedded.org/openembedded-core/commit/?h=master-next&id=c5a27bd4d450911afa38846bc00ef762e4414eda
> Cheers,
>
> Richard
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/9] dos2unix.bbclass: Move to oe-core
2018-08-20 17:02 ` Khem Raj
@ 2018-08-20 17:22 ` Khem Raj
0 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-20 17:22 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
I updated this in pull branch to include recipe as well.
On Mon, Aug 20, 2018 at 10:02 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Aug 20, 2018 at 2:43 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > On Mon, 2018-08-20 at 11:23 +0200, Martin Hundebøll wrote:
> > > Hi Khem,
> > >
> > > On 19/08/2018 19.23, Khem Raj wrote:
> > > > - Import from meta-oe layer
> > > >
> > > > - This is useful for many packages where CR-LF
> > > > needs to be adjusted, many recipes depend on it
> > > > e.g. meta-multimedia libebml and so on.
> > > >
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > ---
> > > > meta/classes/dos2unix.bbclass | 14 ++++++++++++++
> > > > 1 file changed, 14 insertions(+)
> > > > create mode 100644 meta/classes/dos2unix.bbclass
> > > >
> > > > diff --git a/meta/classes/dos2unix.bbclass
> > > > b/meta/classes/dos2unix.bbclass
> > > > new file mode 100644
> > > > index 0000000000..3fc17e2196
> > > > --- /dev/null
> > > > +++ b/meta/classes/dos2unix.bbclass
> > > > @@ -0,0 +1,14 @@
> > > > +# Class for use to convert all CRLF line terminators to LF
> > > > +# provided that some projects are being developed/maintained
> > > > +# on Windows so they have different line terminators(CRLF) vs
> > > > +# on Linux(LF), which can cause annoying patching errors during
> > > > +# git push/checkout processes.
> > > > +
> > > > +do_convert_crlf_to_lf[depends] += "dos2unix-
> > > > native:do_populate_sysroot"
> > >
> > > Shouldn't the dos2unix recipe live in oe-core also, when a class
> > > depends upon it?
> >
> > Not necessarily, we do have a number of core classes which aren't
> > directly used in OE-Core but are needed by many layers and having a
> > common copy makes sense.
> >
> > I'd agree it is good to try and have something which tests them though.
> >
>
> in this case, I think it would make sense to bring in recipe as well, since the
> motivation to bring this into core is to unlink dependency on meta-oe layer
>
> > Cheers,
> >
> > Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64
2018-08-20 17:14 ` Khem Raj
@ 2018-08-20 17:51 ` Khem Raj
0 siblings, 0 replies; 21+ messages in thread
From: Khem Raj @ 2018-08-20 17:51 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
On Mon, Aug 20, 2018 at 10:14 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Aug 20, 2018 at 2:40 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > On Sun, 2018-08-19 at 10:23 -0700, Khem Raj wrote:
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > > meta/recipes-graphics/cairo/cairo.inc | 3 ++-
> > > meta/recipes-graphics/mesa/mesa.inc | 3 +++
> > > 2 files changed, 5 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-
> > > graphics/cairo/cairo.inc
> > > index 20e0d2c92a..7347f223ff 100644
> > > --- a/meta/recipes-graphics/cairo/cairo.inc
> > > +++ b/meta/recipes-graphics/cairo/cairo.inc
> > > @@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender
> > > libxext"
> > > DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
> > >
> > > PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> > > 'x11 xcb', '', d)} \
> > > - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}"
> > > + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
> > > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',
> > > 'opengl', '', d)}"
> > >
> > > PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --
> > > disable-xlib,${X11DEPENDS}"
> > > PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
> > > diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-
> > > graphics/mesa/mesa.inc
> > > index 6aedeee9dc..2671d4de4d 100644
> > > --- a/meta/recipes-graphics/mesa/mesa.inc
> > > +++ b/meta/recipes-graphics/mesa/mesa.inc
> > > @@ -47,6 +47,9 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATU
> > > RES', 'wayland vulkan', d)} \
> > > ${@bb.utils.contains('DISTRO_FEATURES', 'x11
> > > vulkan', 'dri3', '', d)} \
> > > "
> > >
> > > +PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
> > > +PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
> > > +
> > > # "gbm" requires "dri", "opengl"
> > > PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
> >
> > Adding this patch causes:
> >
> > "oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash"
> >
> > to fail. I've not looked into it in more detail other than to narrow it
> > down to this patch.
> >
>
> my hunch is that its due to new env variables
> probably we need to add them to exclude list...?
> see
> YOCTO_ALTERNATE_* vars
>
> http://git.openembedded.org/openembedded-core/commit/?h=master-next&id=c5a27bd4d450911afa38846bc00ef762e4414eda
>
I think I see the problem, its because of DLLVM_TARGETS_TO_BUILD being used
for native llvm. I am testting this fix
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=7cc195f4f8850ad314ef9b93535f874f05a6f9ed
> > Cheers,
> >
> > Richard
> >
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2018-08-20 17:51 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-19 17:23 [PATCH V2 0/9] Use llvmpile for mesa on x86/x86-64 Khem Raj
2018-08-19 17:23 ` [PATCH 1/9] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
2018-08-20 9:40 ` Richard Purdie
2018-08-20 17:14 ` Khem Raj
2018-08-20 17:51 ` Khem Raj
2018-08-19 17:23 ` [PATCH 2/9] powerpc: Remove pie flags from compiler cmdline Khem Raj
2018-08-19 17:23 ` [PATCH 3/9] llvm: Point llvm-config to one built with llvm-native Khem Raj
2018-08-19 17:23 ` [PATCH 4/9] dos2unix.bbclass: Move to oe-core Khem Raj
2018-08-20 9:23 ` Martin Hundebøll
2018-08-20 9:43 ` Richard Purdie
2018-08-20 17:02 ` Khem Raj
2018-08-20 17:22 ` Khem Raj
2018-08-19 17:23 ` [PATCH 5/9] llvm: Use YOCTO_ALTERNATE_MULTILIB_NAME environment variable in llvm-config Khem Raj
2018-08-19 17:23 ` [PATCH 6/9] mesa: Define YOCTO_ALTERNATE_MULTILIB_NAME to consider multilib names Khem Raj
2018-08-19 17:23 ` [PATCH 7/9] binutils: Update past 2.31.1 release Khem Raj
2018-08-19 17:23 ` [PATCH 8/9] gdb: Upgrade to 8.1.1 Khem Raj
2018-08-20 2:23 ` ChenQi
2018-08-20 2:41 ` Khem Raj
2018-08-20 10:59 ` Richard Purdie
2018-08-20 17:01 ` Khem Raj
2018-08-19 17:23 ` [PATCH 9/9] libidn2: Fix libunistring detection Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox