Bug 2478 - guile fails to build on mips
Summary: guile fails to build on mips
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M2
Assignee: Bogdan Marinescu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-05-21 16:42 UTC by Saul Wold
Modified: 2012-07-10 19:08 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2012-05-21 16:42:37 UTC
Seems the guild image is segfaulting as seen below, guile is not part of any normal target, but this causes the "world" target to fail.

Partial log included.


| GUILE_AUTO_COMPILE=0                  \
|       ../meta/uninstalled-env                 \
|       guild compile --target="mips-poky-linux-gnu" -Wunbound-variable -Warity-mismatch -Wformat       \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module" -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module"         \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/guile-readline"                    \
|         -o "ice-9/occam-channel.go" "ice-9/occam-channel.scm"
| wrote `ice-9/null.go'
| GUILE_AUTO_COMPILE=0                  \
|       ../meta/uninstalled-env                 \
|       guild compile --target="mips-poky-linux-gnu" -Wunbound-variable -Warity-mismatch -Wformat       \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module" -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module"         \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/guile-readline"                    \
|         -o "ice-9/optargs.go" "ice-9/optargs.scm"
| wrote `ice-9/mapping.go'
-get-handle'
| ice-9/mapping.scm:94:48: warning: possibly unbound variable `hashx-create-handle'
| GUILE_AUTO_COMPILE=0                  \
|       ../meta/uninstalled-env                 \
|       guild compile --target="mips-poky-linux-gnu" -Wunbound-variable -Warity-mismatch -Wformat       \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module" -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module"         \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/guile-readline"                    \
|         -o "ice-9/poe.go" "ice-9/poe.scm"
| wrote `ice-9/i18n.go'
| GUILE_AUTO_COMPILE=0                  \
|       ../meta/uninstalled-env                 \
|       guild compile --target="mips-poky-linux-gnu" -Wunbound-variable -Warity-mismatch -Wformat       \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module" -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module"         \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/guile-readline"                    \
|         -o "ice-9/poll.go" "ice-9/poll.scm"
| wrote `ice-9/networking.go'
| GUILE_AUTO_COMPILE=0                  \
|       ../meta/uninstalled-env                 \
|       guild compile --target="mips-poky-linux-gnu" -Wunbound-variable -Warity-mismatch -Wformat       \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module" -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/module"         \
|         -L "/intel/poky/builds/world/tmp/work/mips32-poky-linux/guile-2.0.5-r0/guile-2.0.5/guile-readline"                    \
|         -o "ice-9/popen.go" "ice-9/popen.scm"
| make[2]: *** [ice-9/occam-channel.go] Segmentation fault
| make[2]: *** Waiting for unfinished jobs....
Comment 1 Saul Wold 2012-05-23 18:16:01 UTC
Also fails for ppc
Comment 2 Bogdan Marinescu 2012-06-07 11:03:22 UTC
I was unable to fix this issue in a reasonable amount of time, so I sent a bug report upstream. Nitin suggested that I should simply disable guile compilation on target and let only the native version build.
Comment 3 Bogdan Marinescu 2012-06-22 13:37:40 UTC
Fix merged in oe-core.
Comment 4 Laurentiu Serban 2012-07-10 19:08:11 UTC
Verified with revision 06348fe76474a20e0fc2f2938919f782c3e5ae28