Files
meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc
Mingli Yu b3ae42d56e python-lxml: replace -Og with -O for mips64-32
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-python-lxml
[snip]
| {standard input}: Assembler messages:
| {standard input}:1488805: Error: branch out of range
| Compile failed: command 'mips-pokymllib32-linux-gcc' failed with exit status 1
| creating tmp
| cc -I/yocto/builds//tmp/work/mips-pokymllib32-linux/lib32-python-lxml/4.3.4-r0/lib32-recipe-sysroot/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitPZiWuM.c -o tmp/xmlXPathInitPZiWuM.o
| unable to execute 'cc': No such file or directory
[snip]

When DEBUG_BUILD enabled, -Og pass to compiler,
replace -Og with -O to fix the above compile error.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-21 06:22:19 -07:00

2.5 KiB