Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 28809
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jani Kotakoski <jkkoski@iki.fi>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 28809 depends on: Show dependency tree
Bug 28809 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-15 11:09 0000
I had octave compiled with CFLAGS option "-ffast-math" in two gentoo boxes.
I got "segmentation fault" when trying to start octave. I then compiled both
leaving "-ffast-math" option out and octave is working now.

box 1:

 CFLAGS="-Os -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer -mmmx
-msse -mfpmath=sse,387 -ffast-math"

box 2:

 CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math -mmmx
-m3dnow -msse -mfpmath=sse,387"

I tried both versions 2.1.40 and 2.1.49 of octave.

Reproducible: Always
Steps to Reproduce:
1. Put "-ffast-math" in your CFLAGS in /etc/make.conf
2. emerge octave
3. run octave

Actual Results:  
segmentation fault

Expected Results:  
octave should have started

emerge info:

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5-mm1)
=================================================================
System uname: 2.6.0-test5-mm1 i686 Mobile Intel(R) Celeron(R) CPU 2.00GHz
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer -mmmx
-msse -mfpmath=sse,387 -ffast-math"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer -mmmx
-msse -mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs distcc cchache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex bonobo svga tcltk java guile X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla
gphoto2 cdr scanner acpi acpi4linux dga doc dvd evo gtk2 moznocomposer moznoirc
moznomail plotutils radeon samba smooth tiff xml"

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-09-16 15:07:57 0000 -------
nice catch, fixed in cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug