[meta-xilinx] Patch for building on a 32-bit machine
Matt Cross
mattc at harvestai.com
Wed Apr 30 19:30:04 PDT 2014
I am successfully building images on 64 bit machines, but some
coworkers of mine found that builds on 32-bit machines or VM's failed
with this error when building binutils-native:
| /home/mattc/bzr/trunk/yocto-build/build/tmp/work/i686-linux/binutils-native/2.23.2-r4/binutils-2.23.2/bfd/elf32-microblaze.c:
In function 'microblaze_elf_relax_section':
| /home/mattc/bzr/trunk/yocto-build/build/tmp/work/i686-linux/binutils-native/2.23.2-r4/binutils-2.23.2/bfd/elf32-microblaze.c:1885:21:
error: format '%lx' expects argument of type 'long unsigned int', but
argument 5 has type 'bfd_vma' [-Werror=format]
| /home/mattc/bzr/trunk/yocto-build/build/tmp/work/i686-linux/binutils-native/2.23.2-r4/binutils-2.23.2/bfd/elf32-microblaze.c:1970:4:
error: format '%lx' expects argument of type 'long unsigned int', but
argument 5 has type 'bfd_vma' [-Werror=format]
| cc1: all warnings being treated as errors
| make[4]: *** [elf32-microblaze.lo] Error 1
I am using the 'dora' branch, but it looks like the same problem
exists in master. I'm attaching a patch that I'm currently applying
using our custom layer that resolves this issue.
-Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-fix-microblaze-32bit-build.patch
Type: application/octet-stream
Size: 1316 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140430/9c6ff3a2/attachment.obj>
More information about the meta-xilinx
mailing list