Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30483 - crack attack 1.1.9 floating point error when compiled with -march=pentium3
Summary: crack attack 1.1.9 floating point error when compiled with -march=pentium3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 08:19 UTC by flo
Modified: 2003-10-13 17:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flo 2003-10-06 08:19:25 UTC
crack attack 1.1.9: floating point error (segfault) when compiled with
-march=pentium3 -O2 -pipe.
(new version stabled today or yesterday)

resolution: compiled here without -march settings, and the program works.
but left -O2 in place

Reproducible: Always
Steps to Reproduce:
recompiled it one time with the borked settings.



Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ac4)
=================================================================
System uname: 2.4.22-ac4 i686 Intel(R) Pentium(R) M processor 1500MHz
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
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 directfb
alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java
guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner acl
acpi apache2 artswrappersuid curl dga doc dv dvd emacs ethereal evo fbcon flash
freetds gb gd gps gtk2 gtkhtml imap innodb jack joystick justify kerberos krb4
ladcca lcms libgda lirc maildir mbox mcal modif mpi mule pcmcia pda plotutils
pnp ppds radeon samba sasl slp snmp socks5 sse tiff usb wmf Xaw3d xinerama xml zeo"

with this settings: it doesn't work.
just skip -march
Comment 1 SpanKY gentoo-dev 2003-10-06 08:51:57 UTC
works fine here with 3.3.1 and -march=pentium4 ...
does march=pentium2 work ?
Comment 2 flo 2003-10-06 09:14:16 UTC
i have gcc 3.2.3-r2:
it works with -march=pentium2 but not with pentium3 or pentium4.
you should consider stripping march-flag if error reports accumulate.

seems like a gcc problem here which could affect other packages too.
Comment 3 SpanKY gentoo-dev 2003-10-06 09:20:08 UTC
no, we would not strip flags we would replace pentium{3,4} with pentium2
if the user is using 3.2.3

i'll see if i can find another 3.2.3 user to confirm this
Comment 4 flo 2003-10-06 09:31:31 UTC
if it is really a gcc bug then other packages might aswell be affected which
is NOT good.
Comment 5 SpanKY gentoo-dev 2003-10-13 17:26:08 UTC
fixed in cvs