Skip to contentSkip to conversation

gcc-3.3.3 from YDL4 problems?

DISCUSSION Kumar Gala 2 participants 3 messages Mar 5, 2005 – Mar 7, 2005

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

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.

- kumar

#1 lore raw

Hello, Kumar!

Quoted 1 line

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

author
#2 lore raw

Thanks,

The problem I'm having is that it builds fine, when running it fails.

- kumar

Quoted 10 lines · Clemens Koller

Hello, Kumar!

Quoted 2 lines

Has anyone else had any issues with building kernels (2.6.11) with gcc-3.3.3 from YDL4.=A0 Ran into a problem today were a 2.6.11 build=20=

for

Quoted 1 line

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

Quoted 50 lines

rfci instruction:

$ make
 =A0=A0 CHK=A0=A0=A0=A0 include/linux/version.h
=A0=A0 CC=A0=A0=A0=A0=A0 scripts/mod/empty.o
=A0=A0 MKELF=A0=A0 scripts/mod/elfconfig.h
=A0=A0 HOSTCC=A0 scripts/mod/file2alias.o
=A0=A0 HOSTCC=A0 scripts/mod/modpost.o
=A0=A0 HOSTCC=A0 scripts/mod/sumversion.o
=A0=A0 HOSTLD=A0 scripts/mod/modpost
=A0=A0 CC=A0=A0=A0=A0=A0 arch/ppc/kernel/asm-offsets.s
 =A0=A0 CHK=A0=A0=A0=A0 include/asm-ppc/offsets.h
 =A0=A0 CC=A0=A0=A0=A0=A0 init/main.o
 =A0=A0 CHK=A0=A0=A0=A0 include/linux/compile.h
=A0=A0 UPD=A0=A0=A0=A0 include/linux/compile.h
=A0=A0 CC=A0=A0=A0=A0=A0 init/version.o
 =A0=A0 CC=A0=A0=A0=A0=A0 init/do_mounts.o
=A0=A0 CC=A0=A0=A0=A0=A0 init/do_mounts_devfs.o
=A0=A0 CC=A0=A0=A0=A0=A0 init/do_mounts_rd.o
=A0=A0 CC=A0=A0=A0=A0=A0 init/do_mounts_initrd.o
=A0=A0 LD=A0=A0=A0=A0=A0 init/mounts.o
 =A0=A0 CC=A0=A0=A0=A0=A0 init/initramfs.o
 =A0=A0 CC=A0=A0=A0=A0=A0 init/calibrate.o
 =A0=A0 LD=A0=A0=A0=A0=A0 init/built-in.o
 =A0=A0 CHK=A0=A0=A0=A0 usr/initramfs_list
=A0=A0 AS=A0=A0=A0=A0=A0 usr/initramfs_data.o
=A0=A0 LD=A0=A0=A0=A0=A0 usr/built-in.o
 =A0=A0 AS=A0=A0=A0=A0=A0 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