| Summary: | Incremental and forceful configure of gcc package is failing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | venkata ramana g <venkatarg> | ||||
| Component: | layers | Assignee: | venkata ramana g <venkatarg> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, richard.purdie, sanil.kumar | ||||
| Version: | 1.2 | ||||||
| Target Milestone: | 1.2 M4 | ||||||
| Hardware: | x86 | ||||||
| OS: | x86 | ||||||
| See Also: | https://bugzilla.yoctoproject.org/show_bug.cgi?id=2194 | ||||||
| Whiteboard: | (1.2) Patche merged into master | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2194 | ||||||
| Attachments: |
|
||||||
|
Description
venkata ramana g
2012-04-11 11:02:28 UTC
Created attachment 459 [details]
The poky generated config log detailing the error
The poky Config log generated when execute "bitbake gcc -c configure -f" is as follows.
The Error in log.Configure, "bitbake gcc -c configure -f" is as follows
However log.configure generated when "bitbake gcc", does not have this error.
---------------ERROR------Log.Configure.(Detailed Log Attached)-------------
checking where to find the target ar... pre-installed in /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/sysroots/i686-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4
checking where to find the target as... preNOTE: Checking autotools environment for common misconfiguration
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 '/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/work/i586-poky-linux/gcc-4.6.3+svnr184847-r24/gcc-4_6-branch/build.i586-poky-linux.i586-poky-linux/gcc'
ERROR: Function failed: do_qa_configure
-installed in /home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/sysroots/i686-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4
-------------------------LOG-END--------------------------------
ANALYSIS: When I try to debug "do_qa_configure" function, the reason for the ERROR found as, "config.log" generated during compilation has "unsafe for cross-compilation" string.
------/tmp/work/i586-poky-linux/gcc-4.6.3+svn184847-r24/gcc-4_6-branch/build.i586-poky-linux.586-pky-linux/gcc/config.log--------------------
configure:8664: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/sysroots/qemux86 -o conftest -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib/cmplrs/cc2.11 -lmld >&5
/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/sysroots/i686-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: warning: library search path "/usr/lib/cmplrs/cc2.11" is unsafe for cross-compilation
/home/yocto/Yocto-builds-test/poky-1.2_M4.rc2/sato-sdk-2194/tmp/sysroots/i686-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.4/ld: cannot find -lmld
collect2: ld returned 1 exit status
configure:8664: $? = 1
------------------------------LOG-END----------------------------
I think this analysis will help in narrowing the problem.
There is a patch merged into master for this issue: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2ddf7d3e8326e8cb07101ddb2d6e5dc6866371e2 |