AnsweredAssumed Answered

ltib error for mpc8308RDB

Question asked by joe wang on Oct 12, 2010
Latest reply on Feb 16, 2014 by Shaun James

when I use ltib.iso for mpc8308RDB, some error flowing:

 

 

+ make 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/' HOSTSTRIP=/usr/bin/strip CROSS_COMPILE= OPTFLAGS=-Os O=/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1 all
Generating include/autoconf.mk
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
Generating include/autoconf.mk.dep
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
make[1]: Entering directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/examples/api'
make -C tools all
make -C examples/standalone all
make -C examples/api all
make -C cpu/mpc83xx start.o
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
make[1]: Entering directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/examples/api'
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
make[1]: Entering directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/cpu/mpc83xx'
make[1]: Nothing to be done for `u-boot.lds'.
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/cpu/mpc83xx'
ccache /usr/bin/gcc -B/usr/bin/ -g -Wall -idirafter /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/include -idirafter /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/include2 -idirafter /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/include -I /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/libfdt -I /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/tools -DTEXT_BASE=0xFE000000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o fit_image.o /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/tools/fit_image.c
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/examples/api'
make[1]: *** [hello_world.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [ppc_longjmp.o] Error 1
make[1]: *** [sched.o] Error 1
idirafter /opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/include -I /opt/freescale/ltib-
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
make[1]: *** [ppc_setjmp.o] Error 1
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/examples/standalone'
make: *** [examples/standalone] Error 2
make: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option "-mrelocatable"
cc1: error: unrecognized command line option "-meabi"
cc1: warning: unknown register name: r2
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/cpu/mpc83xx'
make: *** [cpu/mpc83xx/start.o] Error 2
make: *** [u-boot.lds] Error 1
make[1]: Leaving directory `/opt/freescale/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/tools'
error: Bad exit status from /opt/freescale/ltib-mpc8308erdb-20100413/tmp/rpm-tmp.82003 (%build)
RPM build errors:
    Bad exit status from /opt/freescale/ltib-mpc8308erdb-20100413/tmp/rpm-tmp.82003 (%build)
Build time for u-boot-2009.11-rc1-mpc8308erdb: 7 seconds
Failed building u-boot-2009.11-rc1-mpc8308erdb
f_buildrpms() returned an error, exiting
traceback:
 main:560
Started: Fri Oct  8 02:10:08 2010
Ended:   Fri Oct  8 02:10:15 2010
Elapsed: 7 seconds
These packages failed to build:
u-boot-2009.11-rc1-mpc8308erdb 
Build Failed
Exiting on error or interrupt

 

 

 

the attachment is the full error log, It seems that built error with uboot, how can I handle this?

I'm new for ltib.

My host is debian lenny, and my board is mpc8308RDB version 2 from freescale official.

thanks.

Outcomes