When i tried to compile ant-1.5.2 on gentoo/alpha i kept segfaulting on various files. Searching the web i came across a message exchange(link lost) about similar problems on debian/alpha wich recommended a patch by Richard Henderson at redhat which fixed problems with signal handling in rtsigaction.S on alpha. I tried it and ant compile went from hanging on every compile attempt with segfaults to so far compiling twice without hang. Debian ships their glibc with that patch so i propose that the patch also be included in gentoo since it solves a problem for at least me. Problem is probably fixed in newer glibcs. Reproducible: Always Steps to Reproduce: 1. compile glibc-2.3.2-r12 without earlier mentioned patch 2. emerge compaq-jdk 3. keyword ant-1.5.2 for alpha 4. emerge ant Actual Results: watch it die with segfault and leave defunct process Expected Results: emerge ant correctly which it does with patch Portage 2.0.51-r2 (default-alpha-2004.0, gcc-3.3.2, glibc-2.3.2-r12, 2.4.27 alpha) ================================================================= System uname: 2.4.27 alpha EV6 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.23 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CFLAGS="-mcpu=ev6 -O3 -pipe -mieee " CHOST="alphaev6-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ev6 -O3 -pipe -mieee " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="X alpha arts avi berkdb bitmap-fonts crypt cups encode ev6 f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xprint xv zlib"
Created attachment 42619 [details, diff] Patch mentioned in bugreport Patch by Richard Henderson (rth@redhat.com) that fixes problems with signal handling if i understood it correctly. Patches rtsigaction.S.
Does this still happen with glibc 2.3.4.20041102-r1? You might need the patch described in: http://marc.theaimsgroup.com/?l=gentoo-alpha&m=112103704626260&w=2
There is a discussion about glibc leaving defunct threads here: http://bugs.gentoo.org/show_bug.cgi?id=100259 You may want to try upgrading to a 2.6 kernel and recompiling glibc with nptl.
New glibc stroke Alpha stable branch few time ago and seems to haven't got this issues. Christian can we marked this as fixed?
(In reply to comment #4) > New glibc stroke Alpha stable branch few time ago and seems to haven't got this > issues. > > Christian can we marked this as fixed? > My alpha machine is still on a shelf since a cooling problem involving water getting close to it but i will get it back online sometime next week and test if the problem is solved
i would say that the issue is resolved since i didn't experience the same problem in any of 7 consecutive runs of emerge ant-core
Thanks Christian, closing ...