Trying to emerge samba 3.0.10, fails consistently due to Floating Point Exception. Emerge output: Compiling dynconfig.c creating /var/tmp/portage/samba-3.0.10/work/samba-3.0.10/source/utils/ntlm_auth_proto.h Compiling param/loadparm.c Compiling param/params.c param/loadparm.c: In function `init_copymap': param/loadparm.c:3063: 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. Compiling smbd/files.c Compiling smbd/chgpasswd.c Preprocessed source stored into /var/tmp/portage/samba-3.0.10/temp/ccX9YQx5.out file, please attach this to your bugreport. make: *** [param/loadparm.o] Error 1 make: *** Waiting for unfinished jobs.... Compiler Flags: CHOST="i686-pc-linux-gnu" 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" CXXFLAGS="${CFLAGS}"
Created attachment 55930 [details] Preprocessed source file
Ray, I'm sorry, but if you're going to be compiling your system with the insane CFLAGS you've listed, then samba's compile is the least of your worries. Your list of CFLAGS disqualifies this bug as being a valid one against samba, and falls straight into "you do at your risk" territory. Since you took the risk, you have to either untake it or deal with it :) If, however, you find that samba still fails when you use sane CFLAGS/CXXFLAGS then please feel free to re-open this bug. In the meantime, it is being closed as RESOLVED: INVALID.
Eek! Sorry for wasting your time... Sanity check on the flags, low and behold works like a charm, ain't that amazing....