All of lore.kernel.org
 help / color / mirror / Atom feed
* Linaro and CS ABI compatibility
@ 2012-08-21  7:45 jakes2
  2012-08-21  8:40 ` Koen Kooi
  2012-08-21 18:09 ` Denys Dmytriyenko
  0 siblings, 2 replies; 7+ messages in thread
From: jakes2 @ 2012-08-21  7:45 UTC (permalink / raw)
  To: meta-ti@yoctoproject.org

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

Hello all,

As we all know, the Graphics SDK from TI is done with CodeSourcery's toolchain and Yoctoproject prefers to use Linaro. So, here's the question:
If I copy binaries from Imagination or TI's SDKs to my Yoctoproject - will the binary libs a)work or b)is there some known restriction not to use 'em c)we don't know - try it out.

As it turns out I'm already doing option 'c' but it takes some 4hrs to compile my Yoctoproject with meta-ti from scratch on this computer....

thanks, Jarko


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

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

* Re: Linaro and CS ABI compatibility
  2012-08-21  7:45 Linaro and CS ABI compatibility jakes2
@ 2012-08-21  8:40 ` Koen Kooi
  2012-08-21 18:09 ` Denys Dmytriyenko
  1 sibling, 0 replies; 7+ messages in thread
From: Koen Kooi @ 2012-08-21  8:40 UTC (permalink / raw)
  To: jakes2; +Cc: meta-ti@yoctoproject.org

Op 21 aug. 2012, om 09:45 heeft jakes2@ovi.com het volgende geschreven:

> Hello all,
> 
> As we all know, the Graphics SDK from TI is done with CodeSourcery's toolchain

I wouldn't be so sure about that


> and Yoctoproject prefers to use Linaro.

Same for the above.

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

* Re: Linaro and CS ABI compatibility
  2012-08-21  7:45 Linaro and CS ABI compatibility jakes2
  2012-08-21  8:40 ` Koen Kooi
@ 2012-08-21 18:09 ` Denys Dmytriyenko
  2012-08-21 18:39   ` Khem Raj
  1 sibling, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2012-08-21 18:09 UTC (permalink / raw)
  To: jakes2; +Cc: meta-ti@yoctoproject.org

On Tue, Aug 21, 2012 at 12:45:27AM -0700, jakes2@ovi.com wrote:
> Hello all,
> 
> As we all know, the Graphics SDK from TI is done with CodeSourcery's 
> toolchain and Yoctoproject prefers to use Linaro. So, here's the question:

It depends on the version - recent Graphics SDKs were built using so called 
"Arago" toolchain, which is a gcc-4.5.3 based toolchain with Linaro patches 
applied and made form Classic-OE/Arago.

BTW, Yocto Project prefers self-built toolchain, although you can easily add 
Linaro toolchain with meta-linaro layer.


> If I copy binaries from Imagination or TI's SDKs to my Yoctoproject - will 
> the binary libs a)work or b)is there some known restriction not to use 'em 
> c)we don't know - try it out.

As long as you use the same ABI, things should just work for the most part.

-- 
Denys


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

* Re: Linaro and CS ABI compatibility
  2012-08-21 18:09 ` Denys Dmytriyenko
@ 2012-08-21 18:39   ` Khem Raj
  2012-08-21 19:54     ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-08-21 18:39 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti@yoctoproject.org

On Tue, Aug 21, 2012 at 11:09 AM, Denys Dmytriyenko <denys@ti.com> wrote:
>
> BTW, Yocto Project prefers self-built toolchain, although you can easily add
> Linaro toolchain with meta-linaro layer.

There are no ABI differences even though its built separately.


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

* Re: Linaro and CS ABI compatibility
  2012-08-21 18:39   ` Khem Raj
@ 2012-08-21 19:54     ` Denys Dmytriyenko
  2012-08-21 20:54       ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2012-08-21 19:54 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-ti@yoctoproject.org

On Tue, Aug 21, 2012 at 11:39:07AM -0700, Khem Raj wrote:
> On Tue, Aug 21, 2012 at 11:09 AM, Denys Dmytriyenko <denys@ti.com> wrote:
> >
> > BTW, Yocto Project prefers self-built toolchain, although you can easily add
> > Linaro toolchain with meta-linaro layer.
> 
> There are no ABI differences even though its built separately.

Linaro's external (i.e. pre-built) toolchain now defaults to hardfp, so still 
need to pay attention to possible ABI mismatch...

-- 
Denys


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

* Re: Linaro and CS ABI compatibility
  2012-08-21 19:54     ` Denys Dmytriyenko
@ 2012-08-21 20:54       ` Khem Raj
  2012-08-21 21:11         ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-08-21 20:54 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti@yoctoproject.org

On Tue, Aug 21, 2012 at 12:54 PM, Denys Dmytriyenko <denys@ti.com> wrote:
> On Tue, Aug 21, 2012 at 11:39:07AM -0700, Khem Raj wrote:
>> On Tue, Aug 21, 2012 at 11:09 AM, Denys Dmytriyenko <denys@ti.com> wrote:
>> >
>> > BTW, Yocto Project prefers self-built toolchain, although you can easily add
>> > Linaro toolchain with meta-linaro layer.
>>
>> There are no ABI differences even though its built separately.
>
> Linaro's external (i.e. pre-built) toolchain now defaults to hardfp, so still
> need to pay attention to possible ABI mismatch...

you would use callconvention-hard TUNE_FEATURE in such a case which
would configure
internal toolchain to do hardfp call convention. But yes when it comes
to prebuilt
toolchains a bit of extra care is always good.

>
> --
> Denys


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

* Re: Linaro and CS ABI compatibility
  2012-08-21 20:54       ` Khem Raj
@ 2012-08-21 21:11         ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2012-08-21 21:11 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-ti@yoctoproject.org

On Tue, Aug 21, 2012 at 01:54:28PM -0700, Khem Raj wrote:
> On Tue, Aug 21, 2012 at 12:54 PM, Denys Dmytriyenko <denys@ti.com> wrote:
> > On Tue, Aug 21, 2012 at 11:39:07AM -0700, Khem Raj wrote:
> >> On Tue, Aug 21, 2012 at 11:09 AM, Denys Dmytriyenko <denys@ti.com> wrote:
> >> >
> >> > BTW, Yocto Project prefers self-built toolchain, although you can easily add
> >> > Linaro toolchain with meta-linaro layer.
> >>
> >> There are no ABI differences even though its built separately.
> >
> > Linaro's external (i.e. pre-built) toolchain now defaults to hardfp, so still
> > need to pay attention to possible ABI mismatch...
> 
> you would use callconvention-hard TUNE_FEATURE in such a case which
> would configure
> internal toolchain to do hardfp call convention. But yes when it comes
> to prebuilt
> toolchains a bit of extra care is always good.

Regardless, Graphics SDK comes pre-built and the hard-fp version wasn't yet 
released, AFAIK.

-- 
Denys


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

end of thread, other threads:[~2012-08-21 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21  7:45 Linaro and CS ABI compatibility jakes2
2012-08-21  8:40 ` Koen Kooi
2012-08-21 18:09 ` Denys Dmytriyenko
2012-08-21 18:39   ` Khem Raj
2012-08-21 19:54     ` Denys Dmytriyenko
2012-08-21 20:54       ` Khem Raj
2012-08-21 21:11         ` Denys Dmytriyenko

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.