[oe] mozjs fails with autoconf related QA errors
Peter Urbanec
openembedded-devel at urbanec.net
Wed Oct 1 03:37:25 UTC 2014
This one has me stumped, I wonder if anyone can figure it out and even
better, explain how to go about tracking down the source of the problem.
I can see that it boils down to gcc being given |"-L/usr/lib|" , but I
can't figure out how it gets there.
$ bitbake -b mozjs_17 -c configure
results in:
ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was
'/T3/builds/beyonwiz/inihdx/tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/build'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
/T3/builds/beyonwiz/inihdx/tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/temp/log.do_configure.9412
ERROR: Task 3
(/T3/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb,
do_configure) failed with exit code '1'
I am using meta-oe master:e997f028f7076fbac9c741ec77bfda0b65257d10
Digging through the logs, this seems like the most likely cause
(found in
tmp-glibc/work/mips32el-oe-linux/mozjs/mozjs-17.0.0-r0/build/config.log)
configure:5494: checking for IceConnectionNumber in -lICE
configure:5513: mipsel-oe-linux-gcc -mel -mabi=32 -mhard-float
-march=mips32
--sysroot=/T3/builds/beyonwiz/inihdx/tmp-glibc/sysroots/inihdx -o
conftest -Os -pipe -g -feliminate-unused-debug-types -Wl,-O1
-Wl,--as-needed -L/usr/lib conftest.c -lICE 1>&5
/T3/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld:
warning: library search path "/usr/lib" is unsafe for cross-compilation
/T3/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld:
skipping incompatible /usr/lib/libICE.so when searching for -lICE
/T3/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld:
skipping incompatible /usr/lib/libc.so when searching for -lc
/T3/builds/beyonwiz/inihdx/tmp-glibc/sysroots/i686-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/4.9.1/ld:
skipping incompatible /usr/lib/libc.a when searching for -lc
Help with this would be very much appreciated.
Best regards,
Peter Urbanec
More information about the Openembedded-devel
mailing list