... gcc -I. -I.. -I../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o mem_clr.o mem_clr.c mem_clr.c: In function `OPENSSL_cleanse': mem_clr.c:75: internal compiler error: Floating point exception Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/openssl-0.9.7b-r2/temp/cc1dViEO.out file, please attach this to your bugreport make[1]: *** [mem_clr.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.7b-r2/work/openssl-0.9.7b/crypto' make: *** [sub_all] Error 1 !!! ERROR: dev-libs/openssl-0.9.7b-r2 failed. !!! Function src_compile, Line 82, Exitcode 2 !!! (no error message) # emerge info Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5) ================================================================= System uname: 2.6.0-test5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox strict ccache userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode gif gpm jpeg libg++ mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml slang readline arts tetex bonobo svga java guile mysql X sdl tcpd pam libwww ssl perl imlib oggvorbis gtk qt kde opengl acpi alsa apache2 artswrappersuid bindist cdr curl directfb dnd doc dvd emacs ethereal faad fbcon fbdev gd gtk2 hbci imagemagick innodb jikes md5sum mozilla moznocompose moznoirc mozsvg mozxmlterm music nas offensive parse-clocks pda php pic radeon S3TC snmp sse stroke tiff transcode type1 usb xft xml xosd -oss -3dnow -apm -foomaticdb -gnome -nls -gdbm -berkdb -python -esd -motif" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 17898 [details] file that error message told me to attach (the compiler made me do it)...
Note: (setenv CFLAGS "" ; emerge openssl) works...
The "-fprefetch-loop-arrays" compiler directive is what is raising all the ruckus. The ebuild currently filters that flag if you're gcc fullversion == 3.3. This needs to be updated to recognize 3.3.1 as well, as it is still broken.
The above is not a your/you're mixup. I am encouraging you to be one with your compiler. I just thought I should set the record straight.
We understand. No more pre-fetching loop arrays for openssl.. Thanks!
Created attachment 17933 [details] Preprocessed source file Here is another preprocessed source file, if it is any help...
*** Bug 29051 has been marked as a duplicate of this bug. ***
*** Bug 29078 has been marked as a duplicate of this bug. ***
*** Bug 29052 has been marked as a duplicate of this bug. ***
------- Additional Comments From daniel.radeck@gmx.net 2003-18-09 08:25 EST ------- i just uncommented 2 lines in the ebuild (the if-lines): # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7b-r2.ebuild,v 1.3 2003/09/18 01:04:43 avenj Exp $ inherit eutils flag-o-matic gcc #if [ "$( gcc-fullversion )" == "3.3" ]; then filter-flags "-fprefetch-loop-arrays" #fi OLD_096_P="${PN}-0.9.6j" ------------------------------------------------------------------- now it compiled without problems. does someone see any problems in doing it this way??
Fixed, now using "gcc-version" to catch all gcc 3.3 versions.
*** Bug 31628 has been marked as a duplicate of this bug. ***
*** Bug 31712 has been marked as a duplicate of this bug. ***
Same problem on 3.2.3. Filtering helps. (7c-r1) [While updating openssl from stage3-pentium3-20030910.tar.bz2]
*** Bug 36379 has been marked as a duplicate of this bug. ***