The host machine is a mpc8540 embedded PowerPC (e500 core) $ uname -a Linux ecam.anagramm.de 2.6.21-rc5-g9a5ee4cc #4 Mon Apr 2 21:31:53 CEST 2007 ppc e500 GNU/Linux
Sources (just in case): http://www.openssl.org/source/openssl-0.9.8e.tar.gz It fails when compiling the file: openssl-0.9.8e/apps/ocsp.c: .../openssl-0.9.8e/apps$ gcc -v -save-temps -DMONOLITH -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -O3 -Wall -c -o ocsp.o ocsp.c Using built-in specs. Target: powerpc-unknown-linux-gnu Configured with: ../gcc-4.2.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-float=soft --with-cpu=8540 --with-tune=8540 Thread model: posix gcc version 4.2.0 (ckcore) /usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/cc1 -E -quiet -v -I.. -I../include -imultilib nof -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix -DMONOLITH -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO ocsp.c -mcpu=8540 -mtune=8540 -msoft-float -Wall -fPIC -O3 -fpch-preprocess -o ocsp.i ignoring nonexistent directory "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/../../../../powerpc-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: .. ../include /usr/local/include /usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/include /usr/include End of search list. /usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/cc1 -fpreprocessed ocsp.i -quiet -dumpbase ocsp.c -mcpu=8540 -mtune=8540 -msoft-float -auxbase-strip ocsp.o -O3 -Wall -version -fPIC -o ocsp.s GNU C version 4.2.0 (ckcore) (powerpc-unknown-linux-gnu) compiled by GNU C version 4.2.0 (ckcore). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32042 Compiler executable checksum: 87cebe7f7b6dc266a133424cd4477d64 ocsp.c: In function 'ocsp_main': ocsp.c:579: warning: function called through a non-compatible type ocsp.c:579: note: if this code is reached, the program will abort ocsp.c:680: warning: function called through a non-compatible type ocsp.c:680: note: if this code is reached, the program will abort ocsp.c:761: warning: function called through a non-compatible type ocsp.c:761: note: if this code is reached, the program will abort ocsp.c:786: warning: function called through a non-compatible type ocsp.c:786: note: if this code is reached, the program will abort ocsp.c: In function 'do_responder': ocsp.c:1207: warning: function called through a non-compatible type ocsp.c:1207: note: if this code is reached, the program will abort ocsp.c: In function 'send_ocsp_response': ocsp.c:1229: warning: function called through a non-compatible type ocsp.c:1229: note: if this code is reached, the program will abort ocsp.c: In function 'ocsp_main': ocsp.c:904: internal compiler error: in move_insn, at haifa-sched.c:1963 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. .../openssl-0.9.8e/apps$ Well, the preprocesed source is unfortunately very huge... But I ran out of time to strip that unknown code down. I will try to attach it... -- Summary: ICE compiling openssl-0.9.8e/apps/ocsp.c Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: clemens dot koller at anagramm dot de GCC build triplet: ppc e500 GNU/Linux GCC host triplet: ppc e500 GNU/Linux GCC target triplet: ppc e500 GNU/Linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31979