Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39928

Summary: dev-lang/python-2.3.3 failed to compile (Floating point exception)
Product: Gentoo Linux Reporter: Patrick Hsieh <pahud>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Hsieh 2004-01-30 18:13:09 UTC
When I try to emerge dev-lang/python-2.3.3, I get internal error about Objects/obmalloc.c.



Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge python
3.

Actual Results:  
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -march=pentium3 -mcpu=pentium3 -
O3 -pipe -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/moduleobject.o 
Objects/moduleobject.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -march=pentium3 -mcpu=pentium3 -
O3 -pipe -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/object.o 
Objects/object.c
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -march=pentium3 -mcpu=pentium3 -
O3 -pipe -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o 
Objects/obmalloc.c
Objects/obmalloc.c: In function `PyObject_Malloc':
Objects/obmalloc.c:694: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make: *** [Objects/obmalloc.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-lang/python-2.3.3 failed.
!!! Function src_compile, Line 123, Exitcode 2
!!! Parallel make failed



# emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-
r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/co
nfig /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qm
ail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.ezplay.tv/Linux/gentoo/ http://ftp.gentoo.or.kr/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org.tw/gentoo-portage"
USE="XFS apache2 apm arts avi berkdb cdr crypt curl encode esd foomaticdb 
freetype gd gdbm gif gpm gtk2 imap imlib jpeg kde ldap libg++ libwww mad mikmod 
motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python 
quicktime readline sdl slang spell ssl svga tcpd truetype x86 xfs xml2 xmms xv 
zlib"

# qpkg -I -v | grep -E "gcc|glibc"
sys-devel/gcc-3.2.3-r3 *
sys-devel/gcc-config-1.3.4 *
sys-libs/glibc-2.3.2-r9 *

# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/configure --
prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --
includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --
datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-
data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-
gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-
gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-
threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --
enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-
libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-
gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --
enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)


# uname -a
Linux cpqraid 2.4.22-gentoo-r4 #1 SMP Mon Jan 19 11:42:50 CST 2004 i686 Pentium 
III (Coppermine) GenuineIntel GNU/Linux

 # less /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 731.124
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips        : 1458.17

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 731.124
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips        : 1461.45
Comment 1 Patrick Hsieh 2004-01-30 18:30:30 UTC
This is weird. I killed my setiathome processes and emerge python again. It was compiled with no error.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-01-31 07:43:21 UTC
maybe a hardware problem or bad memory? when it says internal error, tis means a problem with your GCC, maybe try merging gcc with lower optimisations. but this bug is pretty much invalid.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-01-31 07:43:40 UTC
try again
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-01-31 07:43:57 UTC
i mean invalid