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"
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.
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?
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.
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.