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.
Computer AMD Athlon XP 1600+ 512RAM Almost all software compiled with fine tuned CFLAGS
-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.
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 ;-)
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
cryptlib-3.1 (04 Nov 2004) added - hope it works for you. Please let me know if its ok.
but what about fix for gcc ? internal compiler error: Floating point exception still is not fixed ?!
fixing gcc is beyond my knowlege. Search the gcc lists for bugs.