Skip to contentSkip to conversation

Linaro and CS ABI compatibility

DISCUSSION [email protected] 4 participants 7 messages Aug 21, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Op 21 aug. 2012, om 09:45 heeft [email protected] het volgende geschreven:

Quoted 3 lines

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

Quoted 1 line

and Yoctoproject prefers to use Linaro.

Same for the above.

#2 lore raw
In reply to [email protected]
Quoted 4 lines · On Tue, Aug 21, 2012 at 12:45:27AM -0700, [email protected] 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.

Quoted 3 lines

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.

Signature · 1 line
Denys
#3 lore raw
Quoted 3 lines · Denys Dmytriyenko

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.

#4 lore raw
Quoted 6 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

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...

Signature · 1 line
Denys
#5 lore raw
Quoted 10 lines · Denys Dmytriyenko
Quoted 6 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

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.

Quoted 3 lines

--
Denys

#6 lore raw
Quoted 9 lines · Khem Raj
Quoted 8 lines · Denys Dmytriyenko
Quoted 6 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

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.

Quoted 8 lines
Quoted 2 lines

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.

Signature · 1 line
Denys