All of lore.kernel.org
 help / color / mirror / Atom feed
* gcc in meta-toolchain-qt5 (master) is not hard float by default
@ 2014-10-18 10:12 Alfonso Tamés
  2014-10-20  2:08 ` Alfonso Tamés
  0 siblings, 1 reply; 4+ messages in thread
From: Alfonso Tamés @ 2014-10-18 10:12 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi,

I bitbaked a meta-toolchain-qt5 and tried to compile a simple hello 
world C program using arm-poky-linux-gnueabi-gcc. The compiler fails 
with a 'fatal error: gnu/stubs-soft.h: No such file or directory'.

If I pass the -mfloat-abi=hard to the compiler it works fine.

Where can I modify the meta-toolchain-qt5 recipe so it defaults to hard 
float just like Daisy?

Thanks,

Alfonso


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc in meta-toolchain-qt5 (master) is not hard float by default
  2014-10-18 10:12 gcc in meta-toolchain-qt5 (master) is not hard float by default Alfonso Tamés
@ 2014-10-20  2:08 ` Alfonso Tamés
  2014-10-21  2:13   ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Alfonso Tamés @ 2014-10-20  2:08 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Running the meta-toolchain's arm-poky-linux-gnueabi-gcc -v from Daisy 
gives --with-float=hard as a configured option. On the other hand, the 
compiler generated in Master does not report having this option configured.

Can someone point me to the place where I can enable --with-float=hard 
for the meta-toolchain compiler?

thanks


On 18/10/14 05:12, Alfonso Tamés wrote:
> Hi,
>
> I bitbaked a meta-toolchain-qt5 and tried to compile a simple hello 
> world C program using arm-poky-linux-gnueabi-gcc. The compiler fails 
> with a 'fatal error: gnu/stubs-soft.h: No such file or directory'.
>
> If I pass the -mfloat-abi=hard to the compiler it works fine.
>
> Where can I modify the meta-toolchain-qt5 recipe so it defaults to 
> hard float just like Daisy?
>
> Thanks,
>
> Alfonso



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc in meta-toolchain-qt5 (master) is not hard float by default
  2014-10-20  2:08 ` Alfonso Tamés
@ 2014-10-21  2:13   ` Otavio Salvador
  2014-10-21 17:58     ` Alfonso Tamés
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2014-10-21  2:13 UTC (permalink / raw)
  To: Alfonso Tamés; +Cc: meta-freescale@yoctoproject.org

On Mon, Oct 20, 2014 at 12:08 AM, Alfonso Tamés <alfonso@tames.com> wrote:
> Running the meta-toolchain's arm-poky-linux-gnueabi-gcc -v from Daisy gives
> --with-float=hard as a configured option. On the other hand, the compiler
> generated in Master does not report having this option configured.
>
> Can someone point me to the place where I can enable --with-float=hard for
> the meta-toolchain compiler?

I sent two fixes for the SDK to meta-qt5 today; the first one I
believe fixes this issue. Please try.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc in meta-toolchain-qt5 (master) is not hard float by default
  2014-10-21  2:13   ` Otavio Salvador
@ 2014-10-21 17:58     ` Alfonso Tamés
  0 siblings, 0 replies; 4+ messages in thread
From: Alfonso Tamés @ 2014-10-21 17:58 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

Thanks Otavio!


> On 20/10/2014, at 21:13, Otavio Salvador <otavio@ossystems.com.br> wrote:
> 
>> On Mon, Oct 20, 2014 at 12:08 AM, Alfonso Tamés <alfonso@tames.com> wrote:
>> Running the meta-toolchain's arm-poky-linux-gnueabi-gcc -v from Daisy gives
>> --with-float=hard as a configured option. On the other hand, the compiler
>> generated in Master does not report having this option configured.
>> 
>> Can someone point me to the place where I can enable --with-float=hard for
>> the meta-toolchain compiler?
> 
> I sent two fixes for the SDK to meta-qt5 today; the first one I
> believe fixes this issue. Please try.
> 
> -- 
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

[-- Attachment #2: Type: text/html, Size: 2005 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-21 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-18 10:12 gcc in meta-toolchain-qt5 (master) is not hard float by default Alfonso Tamés
2014-10-20  2:08 ` Alfonso Tamés
2014-10-21  2:13   ` Otavio Salvador
2014-10-21 17:58     ` Alfonso Tamés

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.