Felix Fietkau wrote:

> 
> I've found a way to remove the need for a separate cris-elf toolchain 
> altogether. The way it is in svn right now, head.S and misc.c can be 
> compiled with the regular toolchain, and we tested it on a real system.
> 

Sounds great.
I've checked out fresh copy of SVN and tried to build the openwrt for etrax. 
Kernel compilation fails with:
...
  AR      arch/cris/arch-v10/lib/lib.a
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      vmlinux
  SYSMAP  System.map
  OBJCOPY arch/cris/boot/Image
  Kernel: arch/cris/boot/Image is ready
  GZIP    arch/cris/boot/compressed/piggy.gz
  LD      arch/cris/boot/compressed/decompress.o
cris-linux-uclibc-ld: unrecognised emulation mode: criself
Supported emulations: crislinux
make[7]: *** [arch/cris/boot/compressed/decompress.o] Error 1
make[6]: *** [arch/cris/boot/compressed/vmlinux] Error 2
make[5]: *** [zImage] Error 2
make[5]: Leaving directory 
`/work/stage/openwrt2/build_dir/linux-etrax/linux-2.6.25.4'
make[4]: *** [/work/stage/openwrt2/build_dir/linux-etrax/linux-2.6.25.4/.image] 
Error 2
make[4]: Leaving directory `/work/stage/openwrt2/target/linux/etrax'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/work/stage/openwrt2/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/work/stage/openwrt2'
make[1]: *** [/work/stage/openwrt2/staging_dir/cris/stamp/.target_install] 
Error 2
make[1]: Leaving directory `/work/stage/openwrt2'
make: *** [world] Error 2

Also:
 - Image is 3GB (-rw-r--r-- 1 hinkok hinkok 3222945098 Jun  9 10:32 Image)
 - cris linker fails with above errors

Did you test the uclibc toolchain or you used Axis precompiled toolchain?

Best regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to