sys-devel/distcc-2.18.3-r7 fails to build with -Wl,--as-needed in LDFLAGS. Patches on the way.
Created attachment 83786 [details, diff] Fix library ordering in Makefile.in
Created attachment 83787 [details, diff] Patch to ebuild
Can you post emerge info too please and where the build fails.
Further(In reply to comment #1) > Created an attachment (id=83786) [edit] > Fix library ordering in Makefile.in > What exactly does this patch do? How/In what way does it solve the problem?
See http://www.gentoo.org/proj/en/qa/asneeded.xml. In particular, the section titled "The importance of linking order". The patch just moves the distcc monitor object files *before* the libraries they link with. When --as-needed is used, failure to do so will cause "missing symbol" errors. But, the link I posted explains it better than I do.
This patch is only needed when the gnome useflag is in use
Sorry it took so long, I was waiting on feedback from another dev. Fixed in CVS.