Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28997 - compiler internal error (fpe) emerging dev-libs/openssl-0.9.7b-r2
Summary: compiler internal error (fpe) emerging dev-libs/openssl-0.9.7b-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 29051 29052 29078 31628 31712 36379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-17 11:39 UTC by Carl A. Dunham
Modified: 2003-12-23 15:28 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
file that error message told me to attach (the compiler made me do it)... (cc1dViEO.out,52 bytes, text/plain)
2003-09-17 11:40 UTC, Carl A. Dunham
Details
Preprocessed source file (ccjqbDXs.out,54.53 KB, text/plain)
2003-09-17 20:03 UTC, James Lacey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl A. Dunham 2003-09-17 11:39:32 UTC
... 
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.
Comment 1 Carl A. Dunham 2003-09-17 11:40:51 UTC
Created attachment 17898 [details]
file that error message told me to attach (the compiler made me do it)...
Comment 2 Carl A. Dunham 2003-09-17 13:35:31 UTC
Note: (setenv CFLAGS "" ; emerge openssl) works... 
Comment 3 scott 2003-09-17 15:38:18 UTC
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.
Comment 4 scott 2003-09-17 15:40:31 UTC
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.
Comment 5 Carl A. Dunham 2003-09-17 18:05:51 UTC
We understand. No more pre-fetching loop arrays for openssl.. 
 
Thanks! 
Comment 6 James Lacey 2003-09-17 20:03:56 UTC
Created attachment 17933 [details]
Preprocessed source file

Here is another preprocessed source file, if it is any help...
Comment 7 SpanKY gentoo-dev 2003-09-19 03:06:32 UTC
*** Bug 29051 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2003-09-19 03:06:36 UTC
*** Bug 29078 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2003-09-19 03:07:29 UTC
*** Bug 29052 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2003-09-19 03:41:00 UTC
------- 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??
Comment 11 Daniel Ahlberg (RETIRED) gentoo-dev 2003-09-19 06:41:27 UTC
Fixed, now using "gcc-version" to catch all gcc 3.3 versions. 
Comment 12 SpanKY gentoo-dev 2003-10-20 15:13:06 UTC
*** Bug 31628 has been marked as a duplicate of this bug. ***
Comment 13 Markus Nigbur (RETIRED) gentoo-dev 2003-10-21 15:37:26 UTC
*** Bug 31712 has been marked as a duplicate of this bug. ***
Comment 14 Philipp Kern 2003-11-15 05:07:20 UTC
Same problem on 3.2.3. Filtering helps. (7c-r1)
[While updating openssl from stage3-pentium3-20030910.tar.bz2]
Comment 15 SpanKY gentoo-dev 2003-12-23 15:28:26 UTC
*** Bug 36379 has been marked as a duplicate of this bug. ***