This was created by a toolchain for cris architecture: gcc-4.2.3, uClibc-0.9.29, binutils-2.17 compiling openssl-0.9.8h.
[EMAIL PROTECTED] /work/stage/openwrt2/build_dir/cris/openssl-0.9.8h/crypto/cast $ cris-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/work/stage/openwrt2/staging_dir/cris/usr/include -I/work/stage/openwrt2/staging_dir/cris/include -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIO -Os -fhonour-copts -fomit-frame-pointer -Wall -c -o c_skey.o c_skey.c -v -save-temps Using built-in specs. Target: cris-linux-uclibc Configured with: /work/stage/openwrt-trunk/build_dir/toolchain-cris_gcc4.2.3/gcc-4.2.3/configure --prefix=/work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3 --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=cris-linux-uclibc --enable-languages=c --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-libmudflap --disable-multilib Thread model: posix gcc version 4.2.3 /work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/libexec/gcc/cris-linux-uclibc/4.2.3/cc1 -E -quiet -v -I.. -I../.. -I../../include -I/work/stage/openwrt2/staging_dir/cris/usr/include -I/work/stage/openwrt2/staging_dir/cris/include -D__arch_v10 -D__CRIS_arch_version=10 -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIO c_skey.c -march=v10 -Wall -fPIC -fhonour-copts -fomit-frame-pointer -Os -fpch-preprocess -o c_skey.i ignoring nonexistent directory "/work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/lib/gcc/cris-linux-uclibc/4.2.3/../../../../cris-linux-uclibc/include" #include "..." search starts here: #include <...> search starts here: .. ../.. ../../include /work/stage/openwrt2/staging_dir/cris/usr/include /work/stage/openwrt2/staging_dir/cris/include /work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/lib/gcc/cris-linux-uclibc/4.2.3/include /work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/lib/gcc/cris-linux-uclibc/4.2.3/../../../../cris-linux-uclibc/sys-include End of search list. /work/stage/openwrt-trunk/staging_dir/toolchain-cris_gcc4.2.3/libexec/gcc/cris-linux-uclibc/4.2.3/cc1 -fpreprocessed c_skey.i -march=v10 -quiet -dumpbase c_skey.c -auxbase-strip c_skey.o -Os -Wall -version -fPIC -fhonour-copts -fomit-frame-pointer -o c_skey.s GNU C version 4.2.3 (cris-linux-uclibc) compiled by GNU C version 4.1.2 (Gentoo 4.1.2 p1.1). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 410ae2227399308839bfc41a0a91c8c4 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. -- Summary: cris gcc 4.2.3 -Os causes internal compiler error (-O0 works) Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hinko dot kocevar at cetrtapot dot si GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: cris-linux-uclibc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36482