attempting to cross-compile glibc-2.3.6 for the hppa2.0 target fails with an ICE when the host system is 64bit:
$ hppa2.0-unknown-linux-gnu-gcc -c seed48_r.i seed48_r.i: In function 'main': seed48_r.i:1: error: unrecognizable insn: (insn 9 8 10 1 (set (reg:DI 95) (plus:DI (reg:DI 96) (const_int -6547 [0xffffffffffffe66d]))) -1 (nil) (expr_list:REG_EQUAL (const_int 25214903917 [0x5deece66d]) (nil))) seed48_r.i:1: internal compiler error: in extract_insn, at recog.c:2084 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccMZqs3j.out file, please attach this to your bugreport. when the host is x86/ppc/sparc, this test passes ... when the host is amd64/ppc64, i get the above ICE -- Summary: [4.1 Regression] ICE when cross-compiling glibc for hppa on a 64bit host Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vapier at gentoo dot org GCC host triplet: x86_64-linux-gnu GCC target triplet: hppa2.0-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29114