Skip to contentSkip to conversation

Internal assembler error for instruction icbt

DISCUSSION wael showair 3 participants 3 messages Jan 15, 2009 – Feb 2, 2009

lore
Share & tools
lore
#0 lore raw

hi All,
i have LTIB version 6.2.2 with which i have built linux kernel 2.6.19-rc5 for my board where its processor is MPC8555.i built the kernel Image successfuly without any problems
But Now i want to upgrade the linux kernel to 2.6.27 but unfortunately i got the following error:

************************************************************************
Using /home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27 as source for kernel

  GEN     /home/test/ltib-6.2.2-sv/rpm/BUILD/kbuild/mpc8555amc/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h

CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/systbl_chk.sh
CC arch/powerpc/kernel/prom_init.o
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/prom_init_check.sh
BOOTCC arch/powerpc/boot/4xx.o
Assembler messages:
Error: Internal assembler error for instruction icbt
Internal error, aborting at /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c line 1300 in ppc_setup_opcodes
Please report this bug.
make[2]: *** [arch/powerpc/boot/4xx.o] Error 2
make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
error: Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042 (%build)

RPM build errors:

    Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042 (%build)

Failed building kernel-2.6.27-mpc8555amc
************************************************************************

i think that i have to upgrade the cross toolchain that i m using, actually it is version 3.4.3?
is there a certain version of toolchain that i have to use to build linux kernel 2.6.27?

My last question is how can i upgrade the toolchain i m using?

thanks in advance for ur help

Signature · 2 lines
View this message in context: http://www.nabble.com/Internal-assembler-error-for-instruction-icbt-tp21479519p21479519.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
#1 lore raw
Quoted 42 lines · wael showair

hi All,
i have LTIB version 6.2.2 with which i have built linux kernel 2.6.19-rc5 for my board where its processor is MPC8555.i built the kernel Image successfuly without any problems
But Now i want to upgrade the linux kernel to 2.6.27 but unfortunately i got the following error:

************************************************************************
Using /home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27 as source for kernel

 GEN     /home/test/ltib-6.2.2-sv/rpm/BUILD/kbuild/mpc8555amc/Makefile
 CHK     include/linux/version.h
 CHK     include/linux/utsrelease.h

CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/systbl_chk.sh
CC arch/powerpc/kernel/prom_init.o
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/prom_init_check.sh
BOOTCC arch/powerpc/boot/4xx.o
Assembler messages:
Error: Internal assembler error for instruction icbt
Internal error, aborting at /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c line 1300 in ppc_setup_opcodes
Please report this bug.
make[2]: *** [arch/powerpc/boot/4xx.o] Error 2
make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
error: Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042 (%build)

RPM build errors:

   Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042  

(%build)
Failed building kernel-2.6.27-mpc8555amc
************************************************************************

Quoted 6 lines

i think that i have to upgrade the cross toolchain that i m using, actually it is version 3.4.3?
is there a certain version of toolchain that i have to use to build linux kernel 2.6.27?

My last question is how can i upgrade the toolchain i m using?

Newer ltib versions have newer toolchains (like gcc 4.2.x)

- k

#2 lore raw
In reply to wael showair
Quoted 43 lines · wael showair

hi All,
i have LTIB version 6.2.2 with which i have built linux kernel 2.6.19-rc5 for my board where its processor is MPC8555.i built the kernel Image successfuly without any problems
But Now i want to upgrade the linux kernel to 2.6.27 but unfortunately i got the following error:

************************************************************************
Using /home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27 as source for
kernel

  GEN     /home/test/ltib-6.2.2-sv/rpm/BUILD/kbuild/mpc8555amc/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h

CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/systbl_chk.sh
CC arch/powerpc/kernel/prom_init.o
CALL
/home/test/ltib-6.2.2-sv/rpm/BUILD/linux-2.6.27/arch/powerpc/kernel/prom_init_check.sh
BOOTCC arch/powerpc/boot/4xx.o
Assembler messages:
Error: Internal assembler error for instruction icbt
Internal error, aborting at /usr/src/RPM/BUILD/crosstool/source/binutils-2.15/gas/config/tc-ppc.c line 1300 in ppc_setup_opcodes
Please report this bug.
make[2]: *** [arch/powerpc/boot/4xx.o] Error 2
make[1]: *** [zImage] Error 2
make: *** [sub-make] Error 2
error: Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042 (%build)

RPM build errors:

    Bad exit status from /home/test/ltib-6.2.2-sv/tmp/rpm-tmp.81042

(%build)
Failed building kernel-2.6.27-mpc8555amc
************************************************************************

Quoted 9 lines

i think that i have to upgrade the cross toolchain that i m using, actually it is version 3.4.3?
is there a certain version of toolchain that i have to use to build linux kernel 2.6.27?

My last question is how can i upgrade the toolchain i m using?

thanks in advance for ur help

HI there

Did you ever find out how to update the toolchain that you are using

I'm trying to crosscompile for the powerpc and get the same error, I also need to update to an newer toolchain,
I'm currently using Suse11.1. Any advise will be wellcome, thanks...

Signature · 2 lines
View this message in context: http://www.nabble.com/Internal-assembler-error-for-instruction-icbt-tp21479519p21789373.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.