Hi Khem,
                  After patching both gcc-4.7.2 and gcc-4.8.0, I get the 
following error. This looks like a common error, and I was wondering if there 
is something that needs to be additionally taken into consideration, in the 
poky gcc recipes (gcc-configure-*.inc) to get it to work for the microblaze 
processor?

The output log is from the gcc-4.8.0 build, but the same message persists with 
the gcc-4.7.2 adapted build with the microblaze patches:

| checking for microblaze-poky-linux-gcc...  
/tool/yocto/poky/build/tmp/work/microblaze-poky-linux/gcc-cross-initial/4.8.0-r01/gcc-4.8.0/build.x86_64-linux.microblaze-poky-linux/./gcc/xgcc
 
-B/tool/yocto/poky/build/tmp/work/microblaze-poky-linux/gcc-cross-initial/4.8.0-r01/gcc-4.8.0/build.x86_64-linux.microblaze-poky-linux/./gcc/
 -m32   
-isystem/tool/yocto/poky/build/tmp/sysroots/spartan-6-sp601-microblaze/usr/include
 
-B/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/microblaze-poky-linux/bin/
 
-B/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/microblaze-poky-linux/lib/
 -isystem 
/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/microblaze-poky-linux/include
 -isystem 
/tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/microblaze-poky-linux/sys-include
 
--sysroot=/tool/yocto/poky/build/tmp/work/microblaze-poky-linux/gcc-cross-initial/4.8.0-r01/gcc-4.8.0/build.x86_64-linux.microblaze-poky-linux/tmpsysroot
| checking for suffix of object files... configure: error: in 
`/tool/yocto/poky/build/tmp/work/microblaze-poky-linux/gcc-cross-initial/4.8.0-r01/gcc-4.8.0/build.x86_64-linux.microblaze-poky-linux/microblaze-poky-linux/libgcc':
| configure: error: cannot compute suffix of object files: cannot compile
| See `config.log' for more details.
| make: *** [configure-target-libgcc] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
/tool/yocto/poky/build/tmp/work/microblaze-poky-linux/gcc-cross-initial/4.8.0-r01/temp/log.do_compile.32684
 for further information)

Best regards,

Elvis Dowson
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to