[oe-commits] [openembedded-core] 09/40: systemd: workaround login failure on qemumips64 when 'pam' is enabled

git at git.openembedded.org git at git.openembedded.org
Fri Jul 21 11:37:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 35403ba3707c3c8dd94bcc557eef6f7c66696bc5
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Mon Jul 17 14:30:26 2017 +0800

    systemd: workaround login failure on qemumips64 when 'pam' is enabled
    
    Append " -fno-tree-switch-conversion -fno-tree-tail-merge" to
    FULL_OPTIMIZATION to workaround login problem on qemumips64. Otherwise,
    user cannot login onto the target even username and password are
    provided.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/systemd/systemd_232.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb
index 9c533ea..a59ee74 100644
--- a/meta/recipes-core/systemd/systemd_232.bb
+++ b/meta/recipes-core/systemd/systemd_232.bb
@@ -159,6 +159,9 @@ CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', ''
 # disable problematic GCC 5.2 optimizations [YOCTO #8291]
 FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
 
+# Avoid login failure on qemumips64 when pam is enabled
+FULL_OPTIMIZATION_append_mips64 = " -fno-tree-switch-conversion -fno-tree-tail-merge"
+
 COMPILER_NM ?= "${HOST_PREFIX}gcc-nm"
 COMPILER_AR ?= "${HOST_PREFIX}gcc-ar"
 COMPILER_RANLIB ?= "${HOST_PREFIX}gcc-ranlib"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list