Hello! I am new to this list, so if this is already known, I am sorry to feed that dead horse again.
For some time now (since gcc-4.2.0, I run into this ICE which should propably be fixed on openssl's side. This is not specific to my embedded platform, but specific to PowerPC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31979 I built openssl (part of my distro's build script) with a vanilla gcc-4.2.1 for embedded PowerPC: $ gcc -v Using built-in specs. Target: powerpc-unknown-linux-gnu Configured with: ../gcc-4.2.1/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-cpu=8540 --with-tune=8540 --with-float=soft --with-long-double-128 --disable-multilib --enable-e500_double Thread model: posix gcc version 4.2.1 (ckcore) And did: cd openssl-0.9.8e patch -p1 -i $SRC/CVE-2007-3108.patch patch -p0 -d ssl -i $SRC/CVE-2007-5135.patch patch -p1 -i $SRC/openssl-0.9.8b-parallel-build.patch ./config --prefix=/usr --openssldir=/etc/ssl shared make make INSTALL_PREFIX=$PKG MANDIR=/usr/man MANSUFFIX=ssl install find $PKG -name "*fips*" -exec rm -f {} \; chmod -R +w $PKG install -D -m 755 ../mksslcert.sh $PKG/usr/bin/mksslcert And end up with: gcc -DMONOLITH -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -O3 -c -o ocsp.o ocsp.c 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. make[1]: *** [ocsp.o] Error 1 make[1]: Leaving directory `/usr/ports/core/openssl/work/src/openssl-0.9.8e/apps' make: *** [build_apps] Error 1 Can some of you please have a look and see to get it fixed for newer gcc's? If you need more information / debug output, feel free to contact me. Thank you, regards, -- Clemens Koller __________________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Straße 45/1 Linhof Werksgelände D-81379 München Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
