Hi, I've been trying out cris cross compilation tools under openWRT. Creating a toolchain and compilation of several packages (linux, busybox, uClibc, ..) went OK. Later on when openSSL is building toolchain fails with:
making all in crypto/cast... make[6]: Entering directory `/work/stage/openwrt-trunk/build_dir/cris/openssl-0.9.8e/crypto/cast' cris-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/work/stage/openwrt-trunk/staging_dir/cris/usr/include -I/work/stage/openwrt-trunk/staging_dir/cris/include -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIO -Os -pipe -funit-at-a-time -fhonour-copts -fomit-frame-pointer -Wall -c -o c_skey.o c_skey.c c_skey.c: In function 'CAST_set_key': c_skey.c:165: error: insn does not satisfy its constraints: (insn 2072 1053 2073 10 (set (reg:SI 9 r9) (zero_extend:SI (reg:HI 17 mof))) 53 {zero_extendhisi2} (nil) (expr_list:REG_DEAD (reg:HI 17 mof) (nil))) c_skey.c:165: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1613 Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://dev.openwrt.org/> for instructions. make[6]: *** [c_skey.o] Error 1 make[6]: Leaving directory `/work/stage/openwrt-trunk/build_dir/cris/openssl-0.9.8e/crypto/cast' make[5]: *** [subdirs] Error 1 make[5]: Leaving directory `/work/stage/openwrt-trunk/build_dir/cris/openssl-0.9.8e/crypto' make[4]: *** [build_crypto] Error 1 make[4]: Leaving directory `/work/stage/openwrt-trunk/build_dir/cris/openssl-0.9.8e' make[3]: *** [/work/stage/openwrt-trunk/build_dir/cris/openssl-0.9.8e/.built] Error 2 make[3]: Leaving directory `/work/stage/openwrt-trunk/package/openssl' make[2]: *** [package/openssl/compile] Error 2 make[2]: Leaving directory `/work/stage/openwrt-trunk' make[1]: *** [/work/stage/openwrt-trunk/staging_dir/cris/stamp/.package_compile] Error 2 make[1]: Leaving directory `/work/stage/openwrt-trunk' make: *** [world] Error 2 Toolchain info: gcc 4.2.3 uClibc 0.9.29 binutils 2.18 ARCH cris -- Č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