[OE-core] [PATCH] Revert "cross-canadian: Handle powerpc linux verses linux-gnuspe"

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jan 18 11:20:07 UTC 2014


On Fri, 2014-01-17 at 14:43 +0000, alexandru.sardan at freescale.com wrote:
> e500v1/v2 uses SPE to handle floating point operations
> using general purpose regs.
> So using the non-SPE compiler with SPE libraries won't work.
> However the soft-fp libraries are compatible with the e500 
> ABI (with a considerable performance penalty).
> 
> From what I can see, eglibc is built with SPE. So GCC should 
> be built also for SPE (target powerpc-poky-linux-gnuspe).

The key question is this:

Can one gcc binary generate code for both non-SPE and SPE targets,
assuming its pointed at an appropriate sysroot containing appropriate
libraries?

If we can have one such binary, how do we configure it? If we can't, we
need to redo the way gcc-cross-canadian is working on powerpc.

The change there was to have one gcc for each different target
architecture rather than each "tune" since that was horribly
inefficient.

Cheers,

Richard






More information about the Openembedded-core mailing list