I emerged glibc with nptl enabled, and now, when I run perl I get this: # perl Floating point exception # If I reemerge glibc without nptl, everything works fine. Maybe it is related to bug 41770 and bug 53409? I also tried to reemerge perl, and it fails with the following output: # emerge perl ... Try to use long doubles if available? [n] Checking for optional libraries... What libraries to use? [-lpthread -lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc] What optimizer/debugger flag should be used? [-O2 -march=pentium3 -mmmx -pipe -fstack-protector] Any additional cc flags? [-fno-strict-aliasing] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... Configure: line 4962: 20146 Floating point exception$sh -c "$run ./try" >>try.msg 2>&1 I've tried to compile and run the following simple program: #include <stdio.h> int main() { printf("Ok\n"); return(0); } I used the command: gcc -o try -O2 -march=pentium3 -mmmx -pipe -fstack-protector -fno-strict-aliasing -L/usr/local/lib try.c -lpthread -lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc ./try and I got the following output: The program compiled OK, but exited with status 136. You have a problem. Shall I abort Configure [y] Ok. Stopping Configure. !!! ERROR: dev-lang/perl-5.8.2-r1 failed. !!! Function src_compile, Line 186, Exitcode 1 !!! Unable to configure Reproducible: Always Steps to Reproduce: 1. add nptl to use flags 2. emerge glibc 3. type perl Actual Results: I get the message: Floating point exception Expected Results: I would expect perl not to give any exception and wait for input. Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3.20040420-r0, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=pentium3 -mmmx -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium3 -mmmx -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc nostrip sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 acpi acpi4linux amd apache2 apm arts artswrappersuid autofs avi berkdb cdr composite crypt cups debug directfb dnd doc dvd encode esd fbcon foomaticdb gd gd-external gdbm gif gpm imagemagick imlib java jbig jpeg kde lcms libg++ libwww mad mikmod motif mozilla mozsvg mpeg music mysql ncurses nls nptl oci8 odbc oggvorbis opengl optional-tasks oss pam pdflib perl php pic png postgres python qt quicktime radeon rage128 readline samba sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows x86 xml2 xmms xv xvid zlib" This machine is a dual pentium III so I have smp enabled on my kernel. I enabled nptl on my laptop, another pentium III and it works fine. Maybe it is related to smp?
I don't have this issue anymore. I have no idea what fixed it, but it does not happen anymore.
great, let us know if the problem reappears