Bug 2478

Summary: guile fails to build on mips
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Saul Wold <sgw>
Component: devtools / tool chainAssignee: Bogdan Marinescu <bogdan.a.marinescu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: laurentiu.serban, meta.mr.watcher, meta.watcher
Version: 1.3   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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