[linux-yocto] [yocto-kernel-cache yocto-5.2/master][PATCH] arm-versatile-926ejs: Optimize for performance -O2 to fix runtime error

Bruce Ashfield bruce.ashfield at gmail.com
Sun Nov 17 19:21:09 PST 2019


On Wed, Nov 13, 2019 at 1:22 AM <zhe.he at windriver.com> wrote:
>
> From: He Zhe <zhe.he at windriver.com>
>
> arm-versatile-926ejs systems hang at random places when
> CONFIG_CC_OPTIMIZE_FOR_SIZE is enabled.
> standard.scc -> arm.scc -> arm.cfg -> CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> Use CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE instead before we find the root cause.
>

This is fine with me .. I'd rather have the boot work while we keep looking.

merged

Bruce

> Signed-off-by: He Zhe <zhe.he at windriver.com>
> ---
>  bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg b/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
> index e3fa6e4c..99f8aeb7 100644
> --- a/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
> +++ b/bsp/arm-versatile-926ejs/arm-versatile-926ejs.cfg
> @@ -73,3 +73,5 @@ CONFIG_FRAME_POINTER=y
>
>  # CONFIG_NO_HZ is not set
>  # CONFIG_HIGH_RES_TIMERS is not set
> +
> +CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
> --
> 2.17.1
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the linux-yocto mailing list