Skip to contentSkip to conversation

cris build fixes

DISCUSSION Jan Dittmer 2 participants 2 messages Nov 19, 2007 – Nov 20, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I saw that you merged a lot of cris bug fixes into 2.6.24-rc3. Is the cris arch supposed to build again now? If yes which binutils and gcc version is needed? I'm getting the following error [1]:

None -> 2.6.24-rc3-git1
Unpacking linux-2.6.23.tar.bz2
Applying patch-2.6.24-rc3.bz2
Applying patch-2.6.24-rc3-git1.bz2
rm -f timage vmlinux.bin decompress.bin rescue.bin cramfs.img
rm -rf .tmp
## make HOSTCC=gcc-4.0 ARCH=cris CROSS_COMPILE=cris-linux- CROSS32_COMPILE= O=/tmp/tmp.XaDaD27156/out/cris defconfig

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  GEN     /tmp/tmp.XaDaD27156/out/cris/Makefile
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o

SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -d arch/cris/Kconfig
arch/cris/Kconfig:161: can't open file "arch/cris/arch/drivers/Kconfig"
make[2]: *** [defconfig] Error 1
make[1]: *** [defconfig] Error 2
make: *** [sub-make] Error 2
## make HOSTCC=gcc-4.0 ARCH=cris CROSS_COMPILE=cris-linux- CROSS32_COMPILE= O=/tmp/tmp.XaDaD27156/out/cris
GEN /tmp/tmp.XaDaD27156/out/cris/Makefile
scripts/kconfig/conf -s arch/cris/Kconfig
arch/cris/Kconfig:161: can't open file "arch/cris/arch/drivers/Kconfig"
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
Making include/asm-cris/arch -> include/asm-cris/arch-v10 symlink
make[1]: *** No rule to make target include/config/auto.conf', needed by include/config/kernel.release'. Stop.
make: *** [sub-make] Error 2

Thanks,

Jan

[1] http://l4x.org/k/?36622

#1 lore raw
Quoted 5 lines · Jan Dittmer

Hi,

I saw that you merged a lot of cris bug fixes into 2.6.24-rc3. Is the cris arch supposed to build again now? If yes which binutils and gcc version is needed? I'm getting the following error [1]:

Yep, unfortunately, it does not build right out of the box due to some problem with the architecture links.

Issuing a second "make" command will work, allowing the compile to continue.

I'm looking at ways to fix this, but I need to be minimal in my changes to avoid causing problems for our internal development.

Best regards,

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]