Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88658 - Emerge Samba fails due to Floating Point Exception
Summary: Emerge Samba fails due to Floating Point Exception
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 17:40 UTC by Ray Gomez
Modified: 2005-04-10 20:55 UTC (History)
1 user (show)

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


Attachments
Preprocessed source file (ccX9YQx5.out,1.06 MB, text/plain)
2005-04-10 17:44 UTC, Ray Gomez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Gomez 2005-04-10 17:40:30 UTC
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}"
Comment 1 Ray Gomez 2005-04-10 17:44:00 UTC
Created attachment 55930 [details]
Preprocessed source file
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-10 17:49:06 UTC
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.
Comment 3 Ray Gomez 2005-04-10 20:55:01 UTC
Eek! Sorry for wasting your time... Sanity check on the flags, low and behold works like a charm, ain't that amazing....