From: Peter Urbanec <openembedded-devel@urbanec.net>
To: openembedded-devel@lists.openembedded.org
Subject: mozjs fails with autoconf related QA errors
Date: Wed, 01 Oct 2014 13:37:25 +1000 [thread overview]
Message-ID: <542B76F5.80100@urbanec.net> (raw)
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
reply other threads:[~2014-10-01 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=542B76F5.80100@urbanec.net \
--to=openembedded-devel@urbanec.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox