From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ocean.emcraft.com (ocean.emcraft.com [213.221.7.182]) by mx1.pokylinux.org (Postfix) with ESMTP id 9F3F04C80FAD for ; Wed, 19 Jan 2011 20:11:09 -0600 (CST) Received: from localhost ([127.0.0.1] helo=[IPv6:::1]) by ocean.emcraft.com with esmtp (Exim 4.69) (envelope-from ) id 1PfjzO-0008Lt-TU; Thu, 20 Jan 2011 05:11:07 +0300 Message-ID: <4D3799C1.7000108@emcraft.com> Date: Thu, 20 Jan 2011 05:11:13 +0300 From: Ilya Yanok User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: Adrian Alonso References: <1295296178-18590-1-git-send-email-aalonso@secretlab.ca> <1295296178-18590-3-git-send-email-aalonso@secretlab.ca> In-Reply-To: Cc: poky@pokylinux.org Subject: Re: [PATCH 03/25] gcc: crosssdk unset TARGET_FPU X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 02:11:10 -0000 Content-Type: multipart/alternative; boundary="------------030001060305060503000205" --------------030001060305060503000205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > wrote: > > Hi Adrian, > > Adrian Alonso 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@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky > > > > > -- > Saludos > Adrian Alonso > http://aalonso.wordpress.com > --------------030001060305060503000205 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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@emcraft.com> wrote:
Hi Adrian,

Adrian Alonso <aalonso@...> 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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky



--
Saludos
Adrian Alonso
http://aalonso.wordpress.com


--------------030001060305060503000205--