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

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 10 15:15:08 UTC 2014


On Fri, 2014-01-10 at 15:48 +0100, David Nyström wrote:
> The reverted commit seems to introduce some problems for the toolchain tarball
> for powerpc.
> I see this both in master and on dora.
> 
> 1. Looks like the relocation scripts fails for environments:
> 
> ~/tests/poky [master]
> $ cat /opt/oel/2014-01-01/environment-setup-ppce500v2-oel-linux | grep "#"
> export SDKTARGETSYSROOT=##SDKTARGETSYSROOT##
> 
> ~/tests/poky [master]
> $ cat /opt/oel/2014-01-01/environment-setup-ppce500v2-oel-linux-gnuspe | grep "#"
> 
> 2. nativeSDK gnuspe compiler does not allow -mabi=spe
> ABIEXTENSION is zeroed both for linux-gnuspe and linux
> 
> 3. Compiler can't create executables.
> I think this is due to libgcc_s.so from the SDK target sysroot is in mabi=spe.
> 
> 4. -mspe is included in CC var for both linux and gnuspe.
> cat /opt/oel/2014-01-01/environment-setup-ppce500v2-oel-linux | grep mabi
> export CC="powerpc-oel-linux-gcc  -m32 -mcpu=8548 -mabi=spe -mspe ....
> export CXX="powerpc-oel-linux-g++  -m32 -mcpu=8548 -mabi=spe -mspe ....
> export CPP="powerpc-oel-linux-gcc -E  -m32 -mcpu=8548 -mabi=spe -mspe ....
> 
> With the commit reverted, I can successfully build target code with the canadian compiler 
> from the SDK tarball. Only the gnuspe environment file is generated.

Ok, so how do you propose we fix the issues the patch was added to
address?

Cheers,

Richard




More information about the Openembedded-core mailing list