[poky] [PATCH 03/25] gcc: crosssdk unset TARGET_FPU

Ilya Yanok yanok at emcraft.com
Wed Jan 19 18:11:13 PST 2011


Hi Adrian,

I'm sorry, I was wrong in my previous postings.
I was confused by the gcc-crosssdk recipe name.
Now I think your solution is perfectly legal, but I still think that 
comment is misleading:
it's not powerpc arch that does not sipport --with-float=soft, it's 
x86_64 (in my case)!

I think we should just reset TARGET_FPU from crosssdk.bbclass, what do 
you think about it?

Regards, Ilya.

On 18.01.2011 03:59, Adrian Alonso wrote:
> Hi Ilya,
>
> I will also look for the proper solution,
> However un-setting TARGET_FPU only affects the target machines
> in meta-xilinx layer bsp, so other Powerpc targets are not been affected
> with this patch.
>
> Regards
>
> On Mon, Jan 17, 2011 at 5:55 PM, Ilya Yanok <yanok at emcraft.com 
> <mailto:yanok at emcraft.com>> wrote:
>
>     Hi Adrian,
>
>     Adrian Alonso <aalonso at ...> writes:
>
>     >
>     > * Configure fails due that --with-float=soft
>     >   flag isn't supportted by powerpc arch
>
>     That's not true. PowerPC support soft-float (and we actually need
>     this for
>     MPC8308 which has e300c3 core without FPU).
>
>     For me, configure fails with the same message but that's not
>     because PowerPC
>     lacks support for soft-float but cause gcc-crosssdk recipe passes
>     wrong
>     --target= option to the configure script (for me it's
>     x86_86-pokysdk-linux, I'm
>     building on the x86_64 host).
>
>     > * Unsetting TARGET_FPU this flag to not try to use
>     >   this flag
>
>     So please do NOT unset TARGET_FPU, some targets really need it.
>     I'm looking
>     forward to see a correct solution for this issue.
>
>     Regards, Ilya.
>
>
>     _______________________________________________
>     poky mailing list
>     poky at yoctoproject.org <mailto:poky at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/poky
>
>
>
>
> -- 
> Saludos
> Adrian Alonso
> http://aalonso.wordpress.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110120/2acf60ca/attachment.html>


More information about the poky mailing list