[oe] [meta-networking][PATCH] kea: replace -Og with -O

Adrian Bunk bunk at stusta.de
Mon Jun 10 13:35:29 UTC 2019


On Mon, Jun 10, 2019 at 12:13:10AM -0700, mingli.yu at windriver.com wrote:
> From: Mingli Yu <mingli.yu at windriver.com>
> 
> With below logic in local.conf:
> MACHINE ??= "qemumips64"
> MULTILIB_GLOBAL_VARIANTS_append = " libn32"
> MULTILIBS ?= "multilib:lib32 multilib:libn32"
> DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
> DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
> require conf/multilib.conf
> DEBUG_BUILD = "1"
>  $ bitbake lib32-kea
> [snip]
> {standard input}: Assembler messages:
> {standard input}:305030: Error: branch out of range
> {standard input}:305041: Error: branch out of range
> {standard input}:305432: Error: branch out of range
> {standard input}:305443: Error: branch out of range
> Makefile:707: recipe for target 'dhcp4_parser.lo' failed
> make[6]: *** [dhcp4_parser.lo] Error 1
> [snip]
> 
> When DEBUG_BUILD enabled, -Og pass to compiler,
> replace -Og with -O to fix the above compile error.
>...

This sounds like a toolchain bug in gcc or binutils that should
be fixed there.

I've opened #13387 in bugzilla so that this doesn't get lost.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-devel mailing list