Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69219 - Floating point exception on dev-libs/cryptlib-3.1_beta05: gcc ICE
Summary: Floating point exception on dev-libs/cryptlib-3.1_beta05: gcc ICE
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 23:36 UTC by Alexey Maximov
Modified: 2004-11-15 13:11 UTC (History)
0 users

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


Attachments
emerge screen log (111,3.39 KB, text/plain)
2004-10-28 01:35 UTC, Alexey Maximov
Details
/var/tmp/portage/cryptlib-3.1_beta05/temp/ccp3i46T.out (ccp3i46T.out,65.49 KB, text/plain)
2004-10-28 01:37 UTC, Alexey Maximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2004-10-27 23:36:02 UTC
CFLAGS=
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays

cc -fPIC -c -D__UNIX__ -DNDEBUG -I. -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -DDATA_LITTLEENDIAN  -DOSVERSION=2 -DUSE_ASM  -fomit-frame-pointer -O3 -mcpu=pentium -D_REENTRANT bn/bn_add.c -o ./shared-obj/bn_add.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
bn/bn_add.c: In function `BN_usub':
bn/bn_add.c:263: 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/cryptlib-3.1_beta05/temp/ccdCokWA.out file, please attach this to your bugreport.
make[2]: *** [shared-obj/bn_add.o] ?????? 1
make[2]: Leaving directory `/var/tmp/portage/cryptlib-3.1_beta05/work'
make[1]: *** [Linux] ?????? 2
make[1]: Leaving directory `/var/tmp/portage/cryptlib-3.1_beta05/work'
make: *** [shared] ?????? 2

!!! ERROR: dev-libs/cryptlib-3.1_beta05 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! emake shared failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alexey Maximov 2004-10-27 23:39:13 UTC
Computer AMD Athlon XP 1600+ 512RAM
Almost all software compiled with fine tuned CFLAGS
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-10-28 00:55:12 UTC
-march=athlon-xp and -mcpu=pentium might conflict. Attach emerge info please. If you can narrow down which part of your highly optimised flags cause this to fail we may be able to help.
Comment 3 Alexey Maximov 2004-10-28 01:35:24 UTC
Created attachment 42751 [details]
emerge screen log

my CFLASG only IS

CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-point
er -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-maccumulate-outgoing
-args -ffast-math -fprefetch-loop-arrays"

AND

-mcpu=pentium is not MY flag ;-)
Comment 4 Alexey Maximov 2004-10-28 01:37:02 UTC
Created attachment 42752 [details]
/var/tmp/portage/cryptlib-3.1_beta05/temp/ccp3i46T.out

it is Preprocessed source from bugreport.
my gcc is:
amazing ~ # emerge -pv gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.2-r3	-bootstrap -boundschecking -build
-debug -f77 -gcj +gtk -hardened -multilib -n32 -n64 +nls -nocxx -objc -static
(-uclibc) 27,508 kB
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-11-09 00:40:03 UTC
cryptlib-3.1 (04 Nov 2004) added - hope it works for you. Please let me know if its ok.
Comment 6 Alexey Maximov 2004-11-09 01:22:32 UTC
but what about fix for gcc ?
internal compiler error: Floating point exception still is not fixed ?!
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-11-15 13:11:45 UTC
fixing gcc is beyond my knowlege. Search the gcc lists for bugs.