gdm fails to compile with a higher number of parallel makes. Compiles fine if MAKEOPTS="-j2" but fails with -j3 or higher. Reproducible: Always Steps to Reproduce: 1. set MAKEOPTS="-j3" or higher 2. emerge gdm 3. Actual Results: gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o test-ve-config test-ve-config.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libjpeg.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/liblinc.so -lssl -lcrypto /usr/lib/libgthread-2.0.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions -lvicious /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lvicious collect2: ld returned 1 exit status distcc[20328] ERROR: compile on localhost failed with exit code 1 make[3]: *** [test-ve-config] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/gdm-2.4.1.3 failed. !!! Function src_compile, Line 64, Exitcode 2 !!! (no error message) Expected Results: completed the emerge root@zeus yak # emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4,2.3.2-r1) ================================================================= System uname: 2.4.21_rc8-gss i686 AMD Athlon(tm) XP 2700+ GENTOO_MIRRORS="ftp://kalypso/ ftp://artemis/ 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="" USE="x86 oss crypt cups encode foomaticdb gif java libg++ libwww mad mikmod motif nls pdflib quicktime slang spell xml2 zlib gdbm berkdb readline gpm tcpd pam ssl imlib oggvorbis qt 3dnow alsa apm -arts avi cdr dga dvd esd jpeg -kde gnome gtk mmx mozilla mpeg ncurses opengl perl png python samba sdl sse svga tcltk truetype usb xmms xv X" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j5" AUTOCLEAN="no" SYNC="rsync://kalypso/gentoo-portage" FEATURES="sandbox ccache distcc userpriv usersandbox"
works fine here with MAKEOPTS="-j3" (I've got a HT-capable P4). Perhaps the real problem here is due to distcc and the number of jobs?
Yea, you're right, without distcc it works fine on the XP2700+ here also. Don't know why I didn't think to disable distcc and try it again. The other distcc hosts are a K6-3/550 and a K6-3/400. I also emerged gdm on the K6-3/550 and it worked fine with distcc enabled and MAKEOPTS="-j5". Both computers are set up similarly, so it leads me to believe it is not only distcc and MAKEOPTS but also the speed difference between the distcc hosts.
not going to cap number of jobs for one ill-reproducable problem in combo with distcc. closing