[OE-core] [PATCH 1/1] systemd: work around the boot problem on qemuarm64

Khem Raj raj.khem at gmail.com
Sat Jan 23 04:52:37 UTC 2016


On Thu, Jan 21, 2016 at 6:02 PM, Chen Qi <Qi.Chen at windriver.com> wrote:
> This is a workaround to make qemuarm64 boot for systemd systems.
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta/recipes-core/systemd/systemd_228.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb
> index aa2e846..3bc5927 100644
> --- a/meta/recipes-core/systemd/systemd_228.bb
> +++ b/meta/recipes-core/systemd/systemd_228.bb
> @@ -133,6 +133,7 @@ EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname --disable-sysusers"
>
>  # per the systemd README, define VALGRIND=1 to run under valgrind
>  CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '', d)}"
> +CFLAGS_append_qemuarm64 = " -O1"

This is general aarch64 problem, so make this across all aarch64
this is the original problem

https://github.com/systemd/systemd/pull/1190#issuecomment-166294683

>
>  # disable problematic GCC 5.2 optimizations [YOCTO #8291]
>  FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
> --
> 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