gcc-3.3.3 from YDL4 problems?

Clemens Koller clemens.koller at anagramm.de
Mon Mar 7 21:45:35 EST 2005


Hello, Kumar!

> Has anyone else had any issues with building kernels (2.6.11) with 
> gcc-3.3.3 from YDL4.  Ran into a problem today were a 2.6.11 build for 
> MPC8540 ADS breaks with gcc-3.3.3 but works ok with a 3.4.3.

You know that I build the mpc8540_ads also.
I use the Denx ELDK 3.1 with gcc 3.3.3 and it breaks due to an unknown
rfci instruction:

$ make
   CHK     include/linux/version.h
   CC      scripts/mod/empty.o
   MKELF   scripts/mod/elfconfig.h
   HOSTCC  scripts/mod/file2alias.o
   HOSTCC  scripts/mod/modpost.o
   HOSTCC  scripts/mod/sumversion.o
   HOSTLD  scripts/mod/modpost
   CC      arch/ppc/kernel/asm-offsets.s
   CHK     include/asm-ppc/offsets.h
   CC      init/main.o
   CHK     include/linux/compile.h
   UPD     include/linux/compile.h
   CC      init/version.o
   CC      init/do_mounts.o
   CC      init/do_mounts_devfs.o
   CC      init/do_mounts_rd.o
   CC      init/do_mounts_initrd.o
   LD      init/mounts.o
   CC      init/initramfs.o
   CC      init/calibrate.o
   LD      init/built-in.o
   CHK     usr/initramfs_list
   AS      usr/initramfs_data.o
   LD      usr/built-in.o
   AS      arch/ppc/kernel/entry.o
arch/ppc/kernel/entry.S: Assembler messages:
arch/ppc/kernel/entry.S:800: Error: Unrecognized opcode: `rfci'
make[1]: *** [arch/ppc/kernel/entry.o] Error 1
make: *** [arch/ppc/kernel] Error 2

But if I use your powerpc-linux-gnuspe-* (cross-)toolchain it
builds fine. Maybe some compile options for 3.3.3 might be sufficient
to fix that... my way is to use 3.4.3.

Best greets,

Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19



More information about the Linuxppc-embedded mailing list