mpc854x support in master


Heiko Schocher <hs@...>
 

Hi all,

I just tried to build u-boot for machine p1020rdb with current master branches

$ bitbake u-boot
Loading cache: 100% |
| ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100%
|########################################################################################################################################################|
Time: 0:00:19
Parsing of 2535 .bb files complete (0 cached, 2535 parsed). 3927 targets, 491 skipped, 0 masked, 0
errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.53.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "powerpc-poky-linux"
MACHINE = "p1020rdb"
DISTRO = "poky"
DISTRO_VERSION = "3.4+snapshot-8d0e8ee0da0c670b073ef844682275e9668b2bb9"
TUNE_FEATURES = "m32 ppce500v2 bigendian"
TARGET_FPU = ""
meta-freescale = "master:3c344467b28bc6e256755c8bf45f306fee70ea02"
meta-networking
meta-oe
meta-python = "master:912b3475a35fa414f51a22c1e088c39a164c2857"
meta
meta-poky
meta-yocto-bsp = "master:8d0e8ee0da0c670b073ef844682275e9668b2bb9"


and this fails with Error:

ERROR: libgcc-initial-11.2.0-r0 do_compile: oe_runmake failed
ERROR: libgcc-initial-11.2.0-r0 do_compile:
ExecutionError('/work/big/hs/temp/abb/build/tmp/work/ppce500v2-poky-linux/libgcc-initial/11.2.0-r0/temp/run.do_compile.46030',
1, None, None)
ERROR: Logfile of failure stored in:
/work/big/hs/temp/abb/build/tmp/work/ppce500v2-poky-linux/libgcc-initial/11.2.0-r0/temp/log.do_compile.46030
Log data follows:
[...]
/../../../../work-shared/gcc-11.2.0-r0/gcc-11.2.0/libgcc/../include -o crtendS.o -MT crtendS.o -MD
-MP -MF crtendS.dep -msdata=none -O2 -fno-asynchronous-unwind-tables -fPIC -c
../../../../../../../work-shared/gcc-11.2.0-r0/gcc-11.2.0/libgcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O
| make: *** [../../../../../../../work-shared/gcc-11.2.0-r0/gcc-11.2.0/libgcc/static-object.mk:17:
unwind-c.o] Error 1
| make: *** Waiting for unfinished jobs....
| {standard input}: Assembler messages:
| {standard input}:108: Error: unrecognized opcode: `isel'
| {standard input}:111: Error: unrecognized opcode: `isel'
| {standard input}:472: Error: unrecognized opcode: `isel'
| {standard input}: Assembler messages:
| {standard input}:745: Error: unrecognized opcode: `isel'
| {standard input}:3809: Error: unrecognized opcode: `isel'
| make: *** [../../../../../../../work-shared/gcc-11.2.0-r0/gcc-11.2.0/libgcc/static-object.mk:17:
unwind-dw2-fde-dip.o] Error 1
| {standard input}:2683: Error: unrecognized opcode: `isel'
| {standard input}:2698: Error: unrecognized opcode: `isel'
| {standard input}:2717: Error: unrecognized opcode: `isel'
| {standard input}:2732: Error: unrecognized opcode: `isel'
| {standard input}:2851: Error: unrecognized opcode: `isel'
| {standard input}:2869: Error: unrecognized opcode: `isel'
| {standard input}:3590: Error: unrecognized opcode: `isel'
| {standard input}:3755: Error: unrecognized opcode: `isel'
| {standard input}:8368: Error: unrecognized opcode: `isel'
| make: *** [../../../../../../../work-shared/gcc-11.2.0-r0/gcc-11.2.0/libgcc/static-object.mk:17:
unwind-dw2.o] Error 1
| ERROR: oe_runmake failed

Compiling this with "dunfell" checkout meta layers works fine,
may as dunfell uses gcc9.3.0 ?

Are mpc854x builds supported with master, or are they deprecated?

May I miss some layer?

Thanks for any hints!

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@...