Skip to content

do_compile error in mozjs_60.9.0.bb #271

Description

When I do "bitbake mozjs", i get errors in do_compile only for first time in clean build.

Please find the attached logfile for complete error.

log.do_compile.47127.zip

Find the below partial error message :

firefox-60.9.0/js/src/vm/JSCompartment.h:22,
from /home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/gc/WeakMap.h:18,
from /home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/Debugger.h:20,
from /home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/vm/Xdr.cpp:15,
from /home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/build/js/src/Unified_cpp_js_src40.cpp:2:
/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/wasm/WasmTypes.h:1397:8: warning: 'memory.js::wasm::Limits::initial' may be used uninitialized in this function [-Wmaybe-uninitialized]
1397 | struct Limits {
| ^~~~~~
In file included from /home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/build/js/src/Unified_cpp_js_src40.cpp:38:
/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/js/src/wasm/WasmBinaryToAST.cpp:1729:17: note: 'memory.js::wasm::Limits::initial' was declared here
1729 | Maybe memory;
| ^~~~~~
make[3]: Leaving directory '/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/build/js/src'
/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/recurse.mk:73: recipe for target 'js/src/target' failed
make[2]: *** [js/src/target] Error 2
make[2]: Leaving directory '/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/build'
/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/recurse.mk:32: recipe for target 'compile' failed
make[1]: *** [compile] Error 2
make[1]: Leaving directory '/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/build'
/home/ramakrishna/fsl-community-bsp/firewalld_build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/mozjs/60.9.0-r0/firefox-60.9.0/config/rules.mk:442: recipe for target 'default' failed
make: *** [default] Error 2
WARNING: exit code 1 from a shell command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions