Wind River Support Network


LIN7-4580 : sdk-toolchain-power.conf sets -mcpu=ppc603e instead of the correct -mcpu=603e

Created: Aug 20, 2015    Updated: Sep 8, 2018
Resolved Date: Aug 31, 2015
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain


I was asked to provide a MPC8360 BSP for a customer evaluation (i know, it is not officially supported). The kernel does have native support for that board, and even a device tree and defconfig, so adding support seemed easy to do, which is what i did.

The MPC8360E is using an e300c1 core, which i think will use the PPC603e tuning, which is what i used in the BSP.

Now, zlib (and other packages) failed during the build, complaining about a bad gcc option -mcpu=ppc603e, which seem to be -mcpu=603e only. This was probably a change which happened in the toolchain, since the last time we officially supported a ppc603e family of processors.

I found out that applying the attached patch to layers/wr-sdk-toolchain/conf/sdk-toolchain-power.conf fixes this. I tried to enable the fix in my bsp layer, but apparently the variable in my BSP has less precedence than the variable in sdk-toolchain-power.conf , so it best to fix it there.


apply the attached patch to the wr-sdk-toolchain layer

Steps to Reproduce

use the attached BSP layer and configure a platform with it:;

$ .../WindRiver/wrlinux-7/wrlinux/configure --with-layer=../fsl-pq2pro --enable-board=fsl-pq2pro --enable-rootfs=glibc-small --enable-kernel=standard 

build it:

$ make

Other Downloads

Live chat