Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58478 - perl-5.8.4 make: *** [lib/Config.pm] Floating point exception
Summary: perl-5.8.4 make: *** [lib/Config.pm] Floating point exception
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 16:41 UTC by Brad Allen
Modified: 2005-06-05 06:48 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 Brad Allen 2004-07-26 16:41:54 UTC
make: *** [lib/Config.pm] Floating point exception during emerge perl

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge world

or just emerge perl

Actual Results:  
make[2]: *** [lib/Config.pm] Floating point exception
make[2]: Leaving directory `/tmp/portage/perl-5.8.4/work/perl-5.8.4'
make[1]: [minitest] Error 2 (ignored)

You may see some irrelevant test failures if you have been unable
to build lib/Config.pm or lib/lib.pm.

cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
        &&  ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.
t uni/*.t </dev/tty
make[1]: [minitest] Error 136 (ignored)
make[1]: Leaving directory `/tmp/portage/perl-5.8.4/work/perl-5.8.4'
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
make: *** [lib/Config.pm] Floating point exception

!!! ERROR: dev-lang/perl-5.8.4 failed.
!!! Function src_compile, Line 197, Exitcode 2
!!! Unable to make

Expected Results:  
emerge succeeded successfully.

USE="mmx alsa cjk icc-pgo ipv6 lirc -mbox mozilla mule mysql ppds perl samba dga
directfb dvd dvdr fbcon gphoto2 java maildir nas snmp sse tetex tiff unicode usb
xface xinerama x86 -oss kde gnome evms2 crypt nvidia nls xv bidi truetype
wxwindows imlib matroska faad png icc X dvb xvid theora svga zlib tcpd oggvorbis
aac aalib async cap chroot cdr curl divx4linux dv esd fam ffmpeg flac
imagemagick imap jack javascript jikes libcaca live md5sum mpeg4 nptl pthreads
sox speex transcode usagi v4l2 v4l videos xfs xine zvbi"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -fomit-frame-pointer -march=pentium4 -pipe -ftracer
-frename-registers -fprefetch-loop-arrays -funroll-loops -fforce-addr -w -mmmx
-msse2 -ffast-math"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
FEATURES="ccache"
Comment 1 Forza 2004-08-01 07:13:32 UTC
I had about the same problem. It seem as it is trying to use libbind (/usr/lib/libbind.*) which is the cause of the segfault. Remove those files (make a backup) and emerge perl again.

This probably is a big in bind/libbind and not in gcc or perl.
Comment 2 Brad Allen 2004-08-01 09:42:46 UTC
Same problem with dev-lang/perl-5.8.4-r1 too.  Trying solution person with bind had.  All I have is /usr/lib/libbind.a.  Hiding; re-emerging; that worked.  What's wrong with /usr/lib/libbind.a?
Comment 3 Brad Allen 2004-08-01 09:46:26 UTC
P.S., my bind version is 9.2.3-r1.  I remember there was a problem with bind that the version Gentoo supported was too old since it didn't have fast response anti-fraud (e.g., Verisign) features I depend on; I'm not sure what version that was, though.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-06-05 06:48:37 UTC
The problems associated with the bind libraries *should* all be resolved by 
now, so I'm closing this bug out. Please feel free to reopen if needed.