[meta-xilinx] Cross compilation error

Stephane Mancini stephane.mancini at univ-grenoble-alpes.fr
Tue Apr 25 02:33:37 PDT 2017


Hello,
It seems some work package are not compiled with the proper compiler and
a .so file produced in work/cortexa9hf-vfp-neon-xilinx-linux-gnueabi is
x86_64 instead of ARM
The error log is below.

I tried to follow the petalinux guide : 
http://www.wiki.xilinx.com/Getting+Started+With+Yocto+using+Repo+to
+build+RPM+Packages

but I have the following bug:


ERROR: objcopy failed with exit code 256 (cmd was
'arm-linux-gnueabihf-objcopy' --only-keep-debug
'/home/mancini/Zybo/XilPeta/build/tmp-glibc/work/cortexa9hf-vfp-neon-xilinx-linux-gnueabi/glibc-xilinx/rel-v2017.1-r1/package/usr/lib/plugin/libcc1plugin.so.0.0.0' '/home/mancini/Zybo/XilPeta/build/tmp-glibc/work/cortexa9hf-vfp-neon-xilinx-linux-gnueabi/glibc-xilinx/rel-v2017.1-r1/package/usr/lib/plugin/.debug/libcc1plugin.so.0.0.0'):
arm-linux-gnueabihf-objcopy:/home/mancini/Zybo/XilPeta/build/tmp-glibc/work/cortexa9hf-vfp-neon-xilinx-linux-gnueabi/glibc-xilinx/rel-v2017.1-r1/package/usr/lib/plugin/libcc1plugin.so.0.0.0: File format not recognized
ERROR: Function failed: split_and_strip_files


readelf -h on this file shows it is x86_64

I'm using the version

rel-v2017.1

Is there a tutorial that works ?

Best regards
Stéphane Mancini


-- 
|Stéphane Mancini   Maitre de Conférences 
| Grenoble-INP Ensimag/TIMA SLS
| Tel : +33 4 76 57 43 58
| TIMA Laboratory
| 46, Av Félix Viallet, 38031 Grenoble Cedex
| Email : stephane.mancini at grenoble-inp.fr
| http://tima.imag.fr
================================================
Join us for the DASIP Conference
Visit http://www.ecsi.org/dasip/
================================================




More information about the meta-xilinx mailing list