[meta-xilinx] Cross compilation error

Manjukumar Harthikote Matha manjukumar.harthikote-matha at xilinx.com
Tue Apr 25 08:38:22 PDT 2017



> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Stephane Mancini
> Sent: Tuesday, April 25, 2017 2:34 AM
> To: meta-xilinx at yoctoproject.org
> Subject: [meta-xilinx] Cross compilation error
>
> 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
>
Hi Stephane,

2017.1 release is not out yet. We will be using this manifest for the release
https://github.com/Xilinx/yocto-manifests/tree/rel-v2017.1

Thanks
Manju

> 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/
> ================================================
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



More information about the meta-xilinx mailing list