[OE-core] [PATCH 1/1] systemd: avoid boot failures for mips64

Khem Raj raj.khem at gmail.com
Sun Oct 16 23:03:47 UTC 2016


On Sun, Oct 9, 2016 at 2:23 AM, Chen Qi <Qi.Chen at windriver.com> wrote:
> If we start a systemd based qemumips64 target with 'pam' enabled in
> DISTRO_FEATURES, we could not login in successfully. After you provide
> username and password to the login prompt, the login prompt just comes up
> again. Besides, there are other boot failures.
>
> Append '-O0' flag for mips64 target as a workaround to this problem.
>
> [YOCTO #10250]
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta/recipes-core/systemd/systemd.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc
> index f800f42..db588e7 100644
> --- a/meta/recipes-core/systemd/systemd.inc
> +++ b/meta/recipes-core/systemd/systemd.inc
> @@ -23,3 +23,4 @@ PV = "230+git${SRCPV}"
>  S = "${WORKDIR}/git"
>
>  LDFLAGS_append_libc-uclibc = " -lrt -lssp_nonshared -lssp "
> +CFLAGS_append_mips64 = " -O0"

can you instead explore a bit more e.g. disabling lto etc.
CFLAGS_append_mips64 = " -fno-lto"

and also consider little endian

> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list