Hi all,

I've compiled these modules using my own toolchain with success with the 
default compiler flags(--with-fpu=vfpv3 --with-float=hard --with-mode=thumb)

But I had a little trouble, when I tried to compile  the LPM utilities 
(lpmON/lpmOFF), since doesn't support thumb and hard float.

I would like to know if I continue working with my default compiler flag, I'm 
going to have issues when compiling.

Error Message:
/usr/local/xtools/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.7.4/../../../../arm-none-linux-gnueabi/bin/ld.bfd:
 error: bin/ti_platforms_evm3530/linux/debug/lpmON.xv5T uses VFP register 
arguments, 
/usr/local/xtools/arm-none-linux-gnueabi/dsp/local_power_manager_linux_1_24_02_09/packages/ti/bios/power/lib/debug/lpm.av5T(lpm_api.ov5T)
 does not
/usr/local/xtools/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.7.4/../../../../arm-none-linux-gnueabi/bin/ld.bfd:
 failed to merge target specific data of file /usr/local/xtools/arm-none-linux-


Changed compiler flag hardfloat to softfp also used multiarch Distro Feature 
but  faced same issue "USes VFP regsiter arguments".

can someone suggest me if it compiled successfully.


Regards
Meena



From: [email protected] [[email protected]] on 
behalf of Denys Dmytriyenko [[email protected]]
Sent: Friday, May 22, 2015 11:28 PM
To: Jacob Stiffler
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] ti-cgt6x: Fix installation for native and 
nativesdk classes.

On Fri, May 08, 2015 at 08:33:57AM -0400, Jacob Stiffler wrote:
> * Many RTOS packages assume that the entire cgt is installed in a
>   single directory as opposed to standard install paths.
>
> Signed-off-by: Jacob Stiffler <[email protected]>
> ---
>  recipes-ti/devtools/ti-cgt6x_8.0.0.bb |    8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/recipes-ti/devtools/ti-cgt6x_8.0.0.bb 
> b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
> index 69c6d60..2353ebd 100644
> --- a/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
> +++ b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
> @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = 
> "file://ti-cgt-c6000_${PV}/LICENSE.txt;md5=b6311962635a4f1563
>  LIC_FILES_CHKSUM_class-target = 
> "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
>
>  PE = "1"
> +PR = "r1"
>
>  require ../includes/ti-unpack.inc
>
> @@ -49,6 +50,11 @@ do_install() {
>          install -m 755 ${binfile} ${D}${bindir}
>      done
>
> +    install -d ${D}${datadir}/ti/cgt-c6x/bin
> +    for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do
> +        install -m 755 ${binfile} ${D}${datadir}/ti/cgt-c6x/bin
> +    done

Would have symlinks worked here as well, instead of duplicating binaries?


>      install -d ${D}${datadir}/ti/cgt-c6x/include
>      for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do
>          install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include
> @@ -102,4 +108,6 @@ do_install_class-target() {
>
>  FILES_${PN} += "${datadir}/ti/*"
>
> +FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
> +
>  BBCLASSEXTEND = "native nativesdk"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-ti
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to