ps aux gives me: Signal 8 (FPE) caught by ps (procps version 3.1.8) top says: Gleitkomma-Ausnahme Reproducible: Always Steps to Reproduce: 1. emerge procfs 2. ps * 3. top Actual Results: the program(s) exit with failures Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-wolk4.0s i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline aalib svga tcltk java X sdl gpm tcpd pam ssl perl python imlib oggvorbis gtk motif opengl mozilla dvd fbcon gtk2 gtkhtml jikes tiff xfs xinerama xml xosd -apm -arts -cups -kde -qt -esd -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="ccache sandbox distcc userpriv usersandbox"
Works here. Have glibc-2.3.2-r2 though (just commited).
too an update to gcc-2.3.2-r2 won't solve the problem
You mean glibc right ? Why do you say that ? Could you maybe include a strace of ps ?
sry. yes i meant glibc-2.3.2-r2 above. it is related to the hammer patch problem ...
Created attachment 12608 [details] strace top The result of "strace top". This bug could also break mysql emerge process as I get: bash $ emerge mysql-4.0.13 ... checking for ps... /bin/ps checking "how to check if pid exists"... configure: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual. !!! ERROR: dev-db/mysql-4.0.13 failed. !!! Function econf, Line 304, Exitcode 1 !!! econf failed
Rebuilding procps with CFLAGS="-march=pentium3 -02 -pipe" solves the procps problem for me. (pentium3 Coppermine) S
Rebuilding procps with CFLAGS="-march=pentium3 -02 -pipe" solves the procps problem for me. (pentium3 Coppermine) Sébastien
The problem is the funit-at-a-time flag. Compiling with "-O3 -fno-unit-at-a-time" or with "-O2 -finline-functions -fweb -funit-at-a-time -ftracer -funswitch-loops -frename-registers" (which are effectively the same, but the second instance is less ambiguous) allows compilation and usage with no problems here.
Resolving as FIXED, as the last two comments provide solutions. This is likely to have been fixed in later versions of procps.